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