pio support for esp01 512k
This commit is contained in:
parent
5c794f428a
commit
868cedeed2
@ -27,7 +27,7 @@ cache:
|
|||||||
directories:
|
directories:
|
||||||
- "~/.platformio"
|
- "~/.platformio"
|
||||||
env:
|
env:
|
||||||
- PLATFORMIO_CI_SRC=wled00 PLATFORMIO_BUILD_FLAGS="-D DEBUG=0"
|
- PLATFORMIO_CI_SRC=wled00
|
||||||
install:
|
install:
|
||||||
- pip install -U platformio
|
- pip install -U platformio
|
||||||
- platformio update
|
- platformio update
|
||||||
|
@ -11,36 +11,15 @@ env_default = esp01
|
|||||||
; env_default = d1_mini
|
; env_default = d1_mini
|
||||||
; env_default = esp32dev
|
; env_default = esp32dev
|
||||||
|
|
||||||
[common]
|
|
||||||
build_flags =
|
|
||||||
-D VERSION=0.9.0-dev
|
|
||||||
-D DEBUG=1
|
|
||||||
framework = arduino
|
|
||||||
monitor_speed = 115200
|
|
||||||
board_build.flash_mode = dout
|
|
||||||
upload_speed = 921600
|
|
||||||
upload_resetmethod = nodemcu
|
|
||||||
lib_deps_external =
|
|
||||||
# TODO replace libs in /lib with managed libs in here if possible
|
|
||||||
#Blynk@0.5.4
|
|
||||||
#E131@1.0.0
|
|
||||||
#webserver
|
|
||||||
FastLED@3.2.1
|
|
||||||
NeoPixelBus@2.3.4
|
|
||||||
#PubSubClient@2.7
|
|
||||||
#Time@1.5
|
|
||||||
#Timezone@1.2.1
|
|
||||||
#WS2812FX@1.1.2
|
|
||||||
|
|
||||||
[common]
|
[common]
|
||||||
build_flags =
|
|
||||||
-D VERSION=0.9.0-dev
|
|
||||||
-D DEBUG=1
|
|
||||||
framework = arduino
|
framework = arduino
|
||||||
monitor_speed = 115200
|
monitor_speed = 115200
|
||||||
board_build.flash_mode = dout
|
board_build.flash_mode = dout
|
||||||
upload_speed = 921600
|
upload_speed = 921600
|
||||||
upload_resetmethod = nodemcu
|
build_flags =
|
||||||
|
; -D VERSION=0.9.0-dev
|
||||||
|
; -D DEBUG
|
||||||
# TODO replace libs in /lib with managed libs in here if possible.
|
# TODO replace libs in /lib with managed libs in here if possible.
|
||||||
# If they are not changed it's just a metter of setting the correfct version and change the import statement
|
# If they are not changed it's just a metter of setting the correfct version and change the import statement
|
||||||
lib_deps_external =
|
lib_deps_external =
|
||||||
@ -54,80 +33,85 @@ lib_deps_external =
|
|||||||
#Timezone@1.2.1
|
#Timezone@1.2.1
|
||||||
#WS2812FX@1.1.2
|
#WS2812FX@1.1.2
|
||||||
|
|
||||||
[common:esp32]
|
[common:esp8266]
|
||||||
|
platform = espressif8266@1.8.0
|
||||||
build_flags =
|
build_flags =
|
||||||
-DARDUINO_ARCH_ESP32
|
-D PIO_FRAMEWORK_ARDUINO_LWIP2_HIGHER_BANDWIDTH
|
||||||
-DWORKAROUND_ESP32_BITBANG
|
|
||||||
|
|
||||||
[common:512k]
|
[common:esp8266_512k]
|
||||||
|
platform = espressif8266@1.7.0
|
||||||
build_flags =
|
build_flags =
|
||||||
|
-D PIO_FRAMEWORK_ARDUINO_LWIP2_HIGHER_BANDWIDTH_LOW_FLASH
|
||||||
-D WLED_DISABLE_MOBILE_UI
|
-D WLED_DISABLE_MOBILE_UI
|
||||||
-D WLED_DISABLE_OTA
|
-D WLED_DISABLE_OTA
|
||||||
-D WLED_DISABLE_ALEXA
|
-D WLED_DISABLE_ALEXA
|
||||||
-DWLED_DISABLE_BLYNK
|
; -D WLED_DISABLE_BLYNK
|
||||||
-DWLED_DISABLE_CRONIXIE
|
; -D WLED_DISABLE_CRONIXIE
|
||||||
-DWLED_DISABLE_HUESYNC
|
; -D WLED_DISABLE_HUESYNC
|
||||||
|
|
||||||
|
[common:esp32]
|
||||||
|
platform = espressif32@1.5.0
|
||||||
|
build_flags =
|
||||||
|
-D PIO_FRAMEWORK_ARDUINO_LWIP2_HIGHER_BANDWIDTH
|
||||||
|
-D ARDUINO_ARCH_ESP32
|
||||||
|
-D WORKAROUND_ESP32_BITBANG
|
||||||
|
|
||||||
|
|
||||||
# see: http://docs.platformio.org/en/latest/platforms/espressif8266.html
|
# see: http://docs.platformio.org/en/latest/platforms/espressif8266.html
|
||||||
[env:nodemcuv2]
|
[env:nodemcuv2]
|
||||||
platform = espressif8266
|
|
||||||
board = nodemcuv2
|
board = nodemcuv2
|
||||||
|
platform = ${common:esp8266.platform}
|
||||||
monitor_speed = ${common.monitor_speed}
|
monitor_speed = ${common.monitor_speed}
|
||||||
upload_speed = ${common.upload_speed}
|
upload_speed = ${common.upload_speed}
|
||||||
upload_resetmethod = ${common.upload_resetmethod}
|
|
||||||
framework = ${common.framework}
|
framework = ${common.framework}
|
||||||
build_flags =
|
build_flags =
|
||||||
${common.build_flags}
|
${common.build_flags}
|
||||||
-D PIO_FRAMEWORK_ARDUINO_LWIP2_HIGHER_BANDWIDTH
|
${common:esp8266.build_flags}
|
||||||
-Teagle.flash.4m.ld
|
|
||||||
lib_deps =
|
lib_deps =
|
||||||
${common.lib_deps_external}
|
${common.lib_deps_external}
|
||||||
|
|
||||||
[env:d1_mini]
|
[env:d1_mini]
|
||||||
platform = espressif8266
|
|
||||||
board = d1_mini
|
board = d1_mini
|
||||||
|
platform = ${common:esp8266.platform}
|
||||||
monitor_speed = ${common.monitor_speed}
|
monitor_speed = ${common.monitor_speed}
|
||||||
upload_speed = ${common.upload_speed}
|
upload_speed = ${common.upload_speed}
|
||||||
upload_resetmethod = ${common.upload_resetmethod}
|
|
||||||
framework = ${common.framework}
|
framework = ${common.framework}
|
||||||
build_flags =
|
build_flags =
|
||||||
${common.build_flags}
|
${common.build_flags}
|
||||||
|
${common:esp8266.build_flags}
|
||||||
lib_deps =
|
lib_deps =
|
||||||
${common.lib_deps_external}
|
${common.lib_deps_external}
|
||||||
|
|
||||||
[env:esp01_1m]
|
[env:esp01_1m]
|
||||||
platform = espressif8266
|
|
||||||
board = esp01_1m
|
board = esp01_1m
|
||||||
|
platform = ${common:esp8266.platform}
|
||||||
monitor_speed = ${common.monitor_speed}
|
monitor_speed = ${common.monitor_speed}
|
||||||
upload_speed = ${common.upload_speed}
|
upload_speed = ${common.upload_speed}
|
||||||
upload_resetmethod = ${common.upload_resetmethod}
|
|
||||||
framework = ${common.framework}
|
framework = ${common.framework}
|
||||||
build_flags =
|
build_flags =
|
||||||
${common.build_flags}
|
${common.build_flags}
|
||||||
|
${common:esp8266.build_flags}
|
||||||
lib_deps =
|
lib_deps =
|
||||||
${common.lib_deps_external}
|
${common.lib_deps_external}
|
||||||
|
|
||||||
[env:esp01]
|
[env:esp01]
|
||||||
platform = espressif8266
|
|
||||||
board = esp01
|
board = esp01
|
||||||
|
platform = ${common:esp8266_512k.platform}
|
||||||
monitor_speed = ${common.monitor_speed}
|
monitor_speed = ${common.monitor_speed}
|
||||||
upload_speed = ${common.upload_speed}
|
upload_speed = ${common.upload_speed}
|
||||||
upload_resetmethod = ${common.upload_resetmethod}
|
|
||||||
framework = ${common.framework}
|
framework = ${common.framework}
|
||||||
build_flags =
|
build_flags =
|
||||||
${common.build_flags}
|
${common.build_flags}
|
||||||
${common:512k.build_flags}
|
${common:esp8266_512k.build_flags}
|
||||||
lib_deps =
|
lib_deps =
|
||||||
${common.lib_deps_external}
|
${common.lib_deps_external}
|
||||||
|
|
||||||
# see: http://docs.platformio.org/en/latest/platforms/espressif32.html
|
# see: http://docs.platformio.org/en/latest/platforms/espressif32.html
|
||||||
[env:esp32dev]
|
[env:esp32dev]
|
||||||
platform = espressif32
|
|
||||||
board = esp32dev
|
board = esp32dev
|
||||||
|
platform = ${common:esp32.platform}
|
||||||
monitor_speed = ${common.monitor_speed}
|
monitor_speed = ${common.monitor_speed}
|
||||||
upload_speed = ${common.upload_speed}
|
upload_speed = ${common.upload_speed}
|
||||||
upload_resetmethod = ${common.upload_resetmethod}
|
|
||||||
framework = ${common.framework}
|
framework = ${common.framework}
|
||||||
build_flags =
|
build_flags =
|
||||||
${common.build_flags}
|
${common.build_flags}
|
||||||
|
Loading…
Reference in New Issue
Block a user