|
@ -41,6 +41,7 @@ debug_flags = -DDEBUG_ESP_CORE -DDEBUG_ESP_SSL -DDEBUG_ESP_WIFI -DDEBUG_ESP_HTTP |
|
|
build_flags = -g -w -DMQTT_MAX_PACKET_SIZE=400 -DNO_GLOBAL_EEPROM ${sysenv.ESPURNA_FLAGS} -DPIO_FRAMEWORK_ARDUINO_LWIP_HIGHER_BANDWIDTH |
|
|
build_flags = -g -w -DMQTT_MAX_PACKET_SIZE=400 -DNO_GLOBAL_EEPROM ${sysenv.ESPURNA_FLAGS} -DPIO_FRAMEWORK_ARDUINO_LWIP_HIGHER_BANDWIDTH |
|
|
build_flags_512k = ${common.build_flags} -Wl,-Teagle.flash.512k0m1s.ld |
|
|
build_flags_512k = ${common.build_flags} -Wl,-Teagle.flash.512k0m1s.ld |
|
|
build_flags_1m0m = ${common.build_flags} -Wl,-Teagle.flash.1m0m1s.ld |
|
|
build_flags_1m0m = ${common.build_flags} -Wl,-Teagle.flash.1m0m1s.ld |
|
|
|
|
|
build_flags_2m1m = ${common.build_flags} -Wl,-Teagle.flash.2m1m4s.ld |
|
|
build_flags_4m1m = ${common.build_flags} -Wl,-Teagle.flash.4m1m4s.ld |
|
|
build_flags_4m1m = ${common.build_flags} -Wl,-Teagle.flash.4m1m4s.ld |
|
|
build_flags_4m3m = ${common.build_flags} -Wl,-Teagle.flash.4m3m4s.ld |
|
|
build_flags_4m3m = ${common.build_flags} -Wl,-Teagle.flash.4m3m4s.ld |
|
|
|
|
|
|
|
@ -55,6 +56,7 @@ upload_flags = --auth="${sysenv.ESPURNA_AUTH}" |
|
|
# ------------------------------------------------------------------------------ |
|
|
# ------------------------------------------------------------------------------ |
|
|
framework = arduino |
|
|
framework = arduino |
|
|
board_1m = esp01_1m |
|
|
board_1m = esp01_1m |
|
|
|
|
|
board_2m = esp_wroom_02 |
|
|
board_4m = esp12e |
|
|
board_4m = esp12e |
|
|
flash_mode = dout |
|
|
flash_mode = dout |
|
|
monitor_speed = 115200 |
|
|
monitor_speed = 115200 |
|
@ -108,6 +110,17 @@ build_flags = ${common.build_flags_1m0m} -DESPURNA_CORE |
|
|
monitor_speed = ${common.monitor_speed} |
|
|
monitor_speed = ${common.monitor_speed} |
|
|
extra_scripts = ${common.extra_scripts} |
|
|
extra_scripts = ${common.extra_scripts} |
|
|
|
|
|
|
|
|
|
|
|
[env:espurna-core-2MB] |
|
|
|
|
|
platform = ${common.platform} |
|
|
|
|
|
framework = ${common.framework} |
|
|
|
|
|
board = ${common.board_2m} |
|
|
|
|
|
board_build.flash_mode = ${common.flash_mode} |
|
|
|
|
|
lib_deps = ${common.lib_deps} |
|
|
|
|
|
lib_ignore = ${common.lib_ignore} |
|
|
|
|
|
build_flags = ${common.build_flags_2m1m} -DESPURNA_CORE |
|
|
|
|
|
monitor_speed = ${common.monitor_speed} |
|
|
|
|
|
extra_scripts = ${common.extra_scripts} |
|
|
|
|
|
|
|
|
[env:espurna-core-4MB] |
|
|
[env:espurna-core-4MB] |
|
|
platform = ${common.platform} |
|
|
platform = ${common.platform} |
|
|
framework = ${common.framework} |
|
|
framework = ${common.framework} |
|
@ -136,6 +149,19 @@ upload_port = ${common.upload_port} |
|
|
upload_flags = ${common.upload_flags} |
|
|
upload_flags = ${common.upload_flags} |
|
|
extra_scripts = ${common.extra_scripts} |
|
|
extra_scripts = ${common.extra_scripts} |
|
|
|
|
|
|
|
|
|
|
|
[env:esp8266-2m-ota] |
|
|
|
|
|
platform = ${common.platform} |
|
|
|
|
|
framework = ${common.framework} |
|
|
|
|
|
board = ${common.board_2m} |
|
|
|
|
|
board_build.flash_mode = ${common.flash_mode} |
|
|
|
|
|
lib_deps = ${common.lib_deps} |
|
|
|
|
|
lib_ignore = ${common.lib_ignore} |
|
|
|
|
|
build_flags = ${common.build_flags_2m1m} -D${sysenv.ESPURNA_BOARD} |
|
|
|
|
|
upload_speed = ${common.upload_speed} |
|
|
|
|
|
upload_port = ${common.upload_port} |
|
|
|
|
|
upload_flags = ${common.upload_flags} |
|
|
|
|
|
extra_scripts = ${common.extra_scripts} |
|
|
|
|
|
|
|
|
[env:esp8266-4m-ota] |
|
|
[env:esp8266-4m-ota] |
|
|
platform = ${common.platform} |
|
|
platform = ${common.platform} |
|
|
framework = ${common.framework} |
|
|
framework = ${common.framework} |
|
@ -2529,7 +2555,7 @@ board = ${common.board_1m} |
|
|
board_build.flash_mode = ${common.flash_mode} |
|
|
board_build.flash_mode = ${common.flash_mode} |
|
|
lib_deps = ${common.lib_deps} |
|
|
lib_deps = ${common.lib_deps} |
|
|
lib_ignore = ${common.lib_ignore} |
|
|
lib_ignore = ${common.lib_ignore} |
|
|
build_flags = ${common.build_flags_1m0m} -DALLTERCO_SHELLY1 |
|
|
|
|
|
|
|
|
build_flags = ${common.build_flags_2m1m} -DALLTERCO_SHELLY1 |
|
|
monitor_speed = ${common.monitor_speed} |
|
|
monitor_speed = ${common.monitor_speed} |
|
|
extra_scripts = ${common.extra_scripts} |
|
|
extra_scripts = ${common.extra_scripts} |
|
|
|
|
|
|
|
@ -2540,7 +2566,7 @@ board = ${common.board_1m} |
|
|
board_build.flash_mode = ${common.flash_mode} |
|
|
board_build.flash_mode = ${common.flash_mode} |
|
|
lib_deps = ${common.lib_deps} |
|
|
lib_deps = ${common.lib_deps} |
|
|
lib_ignore = ${common.lib_ignore} |
|
|
lib_ignore = ${common.lib_ignore} |
|
|
build_flags = ${common.build_flags_1m0m} -DALLTERCO_SHELLY1 |
|
|
|
|
|
|
|
|
build_flags = ${common.build_flags_2m1m} -DALLTERCO_SHELLY1 |
|
|
upload_speed = ${common.upload_speed} |
|
|
upload_speed = ${common.upload_speed} |
|
|
upload_port = ${common.upload_port} |
|
|
upload_port = ${common.upload_port} |
|
|
upload_flags = ${common.upload_flags} |
|
|
upload_flags = ${common.upload_flags} |
|
|