mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-08 00:39:50 +03:00
cleanup and use release as default target
This commit is contained in:
@@ -3,10 +3,8 @@
|
||||
;
|
||||
|
||||
[platformio]
|
||||
;default_envs = release
|
||||
default_envs = debug
|
||||
;default_envs = crash
|
||||
;default_envs = tests
|
||||
default_envs = release
|
||||
;default_envs = debug
|
||||
|
||||
[common]
|
||||
; custom build options are:
|
||||
@@ -45,33 +43,13 @@ monitor_speed = 115200
|
||||
;upload_port = /dev/cu.wchusbserial14403
|
||||
;upload_port = /dev/cu.usbserial-1440
|
||||
|
||||
; uncomment next 2 lines for OTA
|
||||
;upload_protocol = espota
|
||||
;upload_port = ems-esp.local
|
||||
|
||||
[env:clean]
|
||||
extra_scripts = pre:scripts/clean_fw.py
|
||||
|
||||
[env:buildweb]
|
||||
extra_scripts = pre:scripts/buildweb.py
|
||||
|
||||
[env:tests]
|
||||
build_type = debug
|
||||
build_flags = ${common.general_flags} ${common.custom_flags} -DTESTS
|
||||
extra_scripts =
|
||||
pre:scripts/rename_fw.py
|
||||
pre:scripts/buildweb.py
|
||||
|
||||
[env:crash]
|
||||
build_type = debug
|
||||
build_flags = ${common.general_flags} ${common.custom_flags} -DCRASH
|
||||
extra_scripts =
|
||||
pre:scripts/rename_fw.py
|
||||
pre:scripts/buildweb.py
|
||||
; comment next 2 lines is not using OTA
|
||||
upload_protocol = espota
|
||||
upload_port = ems-esp.local
|
||||
|
||||
[env:debug]
|
||||
build_type = debug
|
||||
build_flags = ${common.general_flags} ${common.custom_flags}
|
||||
build_flags = ${common.general_flags} ${common.custom_flags} -DTESTS
|
||||
extra_scripts =
|
||||
pre:scripts/rename_fw.py
|
||||
pre:scripts/buildweb.py
|
||||
|
||||
Reference in New Issue
Block a user