Skip to content

Commit

Permalink
fix build config
Browse files Browse the repository at this point in the history
  • Loading branch information
sidoh committed Dec 24, 2017
1 parent 4190406 commit 0784090
Showing 1 changed file with 10 additions and 12 deletions.
22 changes: 10 additions & 12 deletions platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -20,38 +20,36 @@ lib_deps =
https://github.com/sidoh/WiFiManager#async_support
https://github.com/sidoh/WebServer_tng
PubSubClient
; https://github.com/marvinroger/async-mqtt-client
ESP Async WebServer
[email protected]
; env_default = esp07
extra_scripts =
lib_ldf_mode = deep
build_flags = !python .get_version.py -DMQTT_DEBUG

[env:nodemcuv2]
platform = ${common.platform}
board = nodemcuv2
framework = arduino
upload_speed = 460800
extra_scripts = ${common.extra_scripts}
build_flags = ${common.build_flags} -D FIRMWARE_VARIANT=nodemcuv2-4mb
lib_deps =
${common.lib_deps}

[env:esp07]
platform = ${common.platform}
board = esp07
framework = arduino
build_flags = -Wl,-Tesp8266.flash.1m64.ld
lib_deps =
${common.lib_deps}

[env:esp12f]
platform = ${common.platform}
board = esp12e
framework = arduino
build_flags = -Wl,-Tesp8266.flash.4m1m.ld
build_flags = ${common.build_flags} -D FIRMWARE_VARIANT=esp07-1mb
extra_scripts = ${common.extra_scripts}
lib_deps =
${common.lib_deps}

[env:esp01]
platform = ${common.platform}
board = esp01
framework = arduino
build_flags = ${common.build_flags} -D FIRMWARE_VARIANT=esp01-512kb
extra_scripts = ${common.extra_scripts}
lib_deps =
${common.lib_deps}
${common.lib_deps}

0 comments on commit 0784090

Please sign in to comment.