|
|
@ -20,22 +20,28 @@ extra_configs = |
|
|
|
# ------------------------------------------------------------------------------ |
|
|
|
# PLATFORM: |
|
|
|
# !! DO NOT confuse platformio's ESP8266 development platform with Arduino core for ESP8266 |
|
|
|
# We use Arduino Core 2.3.0 (platformIO 1.5.0) as default |
|
|
|
# |
|
|
|
# arduino core 2.3.0 = platformIO 1.5.0 |
|
|
|
# arduino core 2.4.0 = platformIO 1.6.0 (not supported) |
|
|
|
# arduino core 2.4.1 = platformIO 1.7.3 (not supported) |
|
|
|
# arduino core 2.4.2 = platformIO 1.8.0 (not supported) |
|
|
|
# arduino core 2.5.0 = platformIO 2.0.4 (not supported) |
|
|
|
# arduino core 2.5.1 = platformIO 2.1.1 (not supported) |
|
|
|
# arduino core 2.5.2 = platformIO 2.2.3 (not supported) |
|
|
|
# arduino core 2.6.1 = platformIO 2.3.0 (not supported) |
|
|
|
# arduino core 2.6.2 = platformIO 2.3.1 (not supported) |
|
|
|
# arduino core 2.6.3 = platformIO 2.4.0 |
|
|
|
# arduino core 2.7.1 = platformIO 2.5.3 |
|
|
|
# arduino core 2.3.0 = espressif8266@1.5.0 (not supported) |
|
|
|
# arduino core 2.4.0 = espressif8266@1.6.0 (not supported) |
|
|
|
# arduino core 2.4.1 = espressif8266@1.7.3 (not supported) |
|
|
|
# arduino core 2.4.2 = espressif8266@1.8.0 (not supported) |
|
|
|
# arduino core 2.5.0 = espressif8266@2.0.4 (not supported) |
|
|
|
# arduino core 2.5.1 = espressif8266@2.1.1 (not supported) |
|
|
|
# arduino core 2.5.2 = espressif8266@2.2.3 (not supported) |
|
|
|
# arduino core 2.6.1 = espressif8266@2.3.0 (not supported) |
|
|
|
# arduino core 2.6.2 = espressif8266@2.3.1 (not supported) |
|
|
|
# arduino core 2.6.3 = espressif8266@2.4.0 (not supported) |
|
|
|
# arduino core 2.7.1 = espressif8266@2.5.3 (platform) |
|
|
|
# arduino core 2.7.4 = espressif8266@2.6.2 (platform_latest) |
|
|
|
# |
|
|
|
# Arduino Core 2.3.0: |
|
|
|
# "Error: Development platform 'espressif8266' is not compatible with PlatformIO Core v4.4.0-b.1 and depends on PlatformIO Core ^3.0.0" |
|
|
|
# ref. https://docs.platformio.org/en/latest/core/history.html |
|
|
|
# |
|
|
|
# ------------------------------------------------------------------------------ |
|
|
|
platform_2_3_0 = espressif8266@1.5.0 |
|
|
|
platform_latest = espressif8266@2.5.3 |
|
|
|
|
|
|
|
platform = espressif8266@2.5.3 |
|
|
|
platform_latest = espressif8266@2.6.2 |
|
|
|
|
|
|
|
# ------------------------------------------------------------------------------ |
|
|
|
# FLASH SIZE: |
|
|
@ -123,11 +129,6 @@ git_platform_packages = |
|
|
|
framework-arduinoespressif8266 @ https://github.com/esp8266/Arduino.git |
|
|
|
toolchain-xtensa @ ~2.100100.200706 |
|
|
|
|
|
|
|
# XXX: 2.3.0 depends on these |
|
|
|
legacy_lib_deps = |
|
|
|
https://github.com/xoseperez/Time |
|
|
|
https://github.com/xoseperez/NtpClient.git#0942ebc |
|
|
|
|
|
|
|
lib_deps = |
|
|
|
https://github.com/me-no-dev/ESPAsyncTCP.git#7e9ed22 |
|
|
|
ArduinoJson@5.13.4 |
|
|
@ -161,7 +162,7 @@ lib_deps = |
|
|
|
# COMMON ENVIRONMENT SETTINGS: |
|
|
|
# ------------------------------------------------------------------------------ |
|
|
|
[env] |
|
|
|
platform = ${common.platform_2_3_0} |
|
|
|
platform = ${common.platform} |
|
|
|
framework = arduino |
|
|
|
board_build.flash_mode = dout |
|
|
|
build_flags = ${common.build_flags} |
|
|
@ -181,8 +182,6 @@ lib_deps = |
|
|
|
lib_ignore = |
|
|
|
AsyncTCP |
|
|
|
Brzo I2C |
|
|
|
Time |
|
|
|
NtpClientLib |
|
|
|
|
|
|
|
# ------------------------------------------------------------------------------ |
|
|
|
# Base enrivonments, -DMANUFACTURER=..., -DDEVICE=... must be set: |
|
|
@ -194,38 +193,18 @@ lib_ignore = |
|
|
|
[env:esp8266-512k-base] |
|
|
|
board = ${common.board_512k} |
|
|
|
board_build.ldscript = ${common.ldscript_512k} |
|
|
|
lib_deps = |
|
|
|
${common.legacy_lib_deps} |
|
|
|
${common.lib_deps} |
|
|
|
lib_ignore = |
|
|
|
AsyncTCP |
|
|
|
|
|
|
|
[env:esp8266-1m-base] |
|
|
|
board = ${common.board_1m} |
|
|
|
board_build.ldscript = ${common.ldscript_1m} |
|
|
|
lib_deps = |
|
|
|
${common.legacy_lib_deps} |
|
|
|
${common.lib_deps} |
|
|
|
lib_ignore = |
|
|
|
AsyncTCP |
|
|
|
|
|
|
|
[env:esp8266-2m-base] |
|
|
|
board = ${common.board_2m} |
|
|
|
board_build.ldscript = ${common.ldscript_2m} |
|
|
|
lib_deps = |
|
|
|
${common.legacy_lib_deps} |
|
|
|
${common.lib_deps} |
|
|
|
lib_ignore = |
|
|
|
AsyncTCP |
|
|
|
|
|
|
|
[env:esp8266-4m-base] |
|
|
|
board = ${common.board_4m} |
|
|
|
board_build.ldscript = ${common.ldscript_4m} |
|
|
|
lib_deps = |
|
|
|
${common.legacy_lib_deps} |
|
|
|
${common.lib_deps} |
|
|
|
lib_ignore = |
|
|
|
AsyncTCP |
|
|
|
|
|
|
|
[env:esp8266-1m-latest-base] |
|
|
|
platform = ${common.platform_latest} |
|
|
|