removed warnings from release

This commit is contained in:
proddy
2019-06-18 14:12:20 +02:00
parent 6cfa03af7d
commit 32ca320afe

View File

@@ -8,8 +8,9 @@
default_envs = debug
[common]
debug_flags = -Wall -Wextra -Werror -Wno-missing-field-initializers -Wno-unused-parameter -Wno-unused-variable -DTESTS -DCRASH
general_flags = -g -w -DNO_GLOBAL_EEPROM
debug_flags = -Wall -DTESTS -DCRASH
release_flags = -w
general_flags = -g -DNO_GLOBAL_EEPROM
arduino_core_2_3_0 = espressif8266@1.5.0
arduino_core_2_4_0 = espressif8266@1.6.0
@@ -49,9 +50,9 @@ extra_scripts = pre:scripts/rename_fw.py
extra_scripts = pre:scripts/clean_fw.py
[env:release]
build_flags = ${common.general_flags}
build_flags = ${common.general_flags} ${common.release_flags}
extra_scripts = pre:scripts/rename_fw.py
[env:checkcode]
build_flags = ${common.general_flags}
build_flags = ${common.general_flags} ${common.debug_flags}
extra_scripts = scripts/checkcode.py