Platformio ini improvments
no need of min spiffs for esp32 env not using ble add extra configs ini file to enable the creation of a prod_env.ini and tests files if needed
This commit is contained in:
1 parent
c04e44c753
commit
7d6c746ede
1 file changed
+5
-6
+5
-6
@@ -10,6 +10,11 @@
|
|||||||
|
|
||||||
[platformio]
|
[platformio]
|
||||||
src_dir = main
|
src_dir = main
|
||||||
|
|
||||||
|
extra_configs =
|
||||||
|
tests/*_env.ini
|
||||||
|
*_env.ini
|
||||||
|
|
||||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
; ENVIRONMENT CHOICE ;
|
; ENVIRONMENT CHOICE ;
|
||||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
@@ -170,7 +175,6 @@ build_flags =
|
|||||||
[env:esp32dev-rf]
|
[env:esp32dev-rf]
|
||||||
platform = ${com.esp32_platform}
|
platform = ${com.esp32_platform}
|
||||||
board = esp32dev
|
board = esp32dev
|
||||||
board_build.partitions = min_spiffs.csv
|
|
||||||
lib_deps =
|
lib_deps =
|
||||||
${com-esp.lib_deps}
|
${com-esp.lib_deps}
|
||||||
${libraries.rc-switch}
|
${libraries.rc-switch}
|
||||||
@@ -182,7 +186,6 @@ build_flags =
|
|||||||
[env:esp32dev-ir]
|
[env:esp32dev-ir]
|
||||||
platform = ${com.esp32_platform}
|
platform = ${com.esp32_platform}
|
||||||
board = esp32dev
|
board = esp32dev
|
||||||
board_build.partitions = min_spiffs.csv
|
|
||||||
lib_deps =
|
lib_deps =
|
||||||
${com-esp.lib_deps}
|
${com-esp.lib_deps}
|
||||||
${libraries.irremoteesp}
|
${libraries.irremoteesp}
|
||||||
@@ -206,7 +209,6 @@ build_flags =
|
|||||||
[env:ttgo-lora32-v1]
|
[env:ttgo-lora32-v1]
|
||||||
platform = ${com.esp32_platform}
|
platform = ${com.esp32_platform}
|
||||||
board = ttgo-lora32-v1
|
board = ttgo-lora32-v1
|
||||||
board_build.partitions = min_spiffs.csv
|
|
||||||
lib_deps =
|
lib_deps =
|
||||||
${com-esp.lib_deps}
|
${com-esp.lib_deps}
|
||||||
${libraries.lora}
|
${libraries.lora}
|
||||||
@@ -357,6 +359,3 @@ build_flags =
|
|||||||
${com-arduino-low-memory.build_flags}
|
${com-arduino-low-memory.build_flags}
|
||||||
'-DGateway_Name="OpenMQTTGateway_UNO_RF"'
|
'-DGateway_Name="OpenMQTTGateway_UNO_RF"'
|
||||||
'-DZactuatorFASTLED="FASTLED"'
|
'-DZactuatorFASTLED="FASTLED"'
|
||||||
|
|
||||||
;extra_configs =
|
|
||||||
; tests/*_env.ini
|
|
||||||
Reference in new issue
Block a user