mirror of
https://github.com/letscontrolit/ESPEasy.git
synced 2026-09-12 09:36:59 +00:00
103 lines
3.5 KiB
INI
103 lines
3.5 KiB
INI
#
|
|
# PlatformIO Project Configuration File
|
|
#
|
|
# Please make sure to read documentation with examples first
|
|
# http://docs.platformio.org/en/stable/projectconf.html
|
|
#
|
|
|
|
#minimal version for esps with 512K or less flash (only has minimal plugin set)
|
|
; [env:mini_512]
|
|
; platform = espressif8266
|
|
; framework = arduino
|
|
; board = esp01
|
|
; upload_speed=460800
|
|
; build_flags = !echo -Wl,-Tesp8266.flash.512k64.ld -D BUILD_GIT=\'\"$(git describe)\"\'
|
|
; # upload_port = /dev/ttyUSB0
|
|
|
|
# add these:
|
|
# -Werror -Wall -Wextra -pedantic -Wcast-align -Wcast-qual -Wctor-dtor-privacy -Wdisabled-optimization -Wformat=2 -Winit-self -Wlogical-op
|
|
# -Wmissing-include-dirs -Wnoexcept -Wold-style-cast -Woverloaded-virtual -Wredundant-decls -Wshadow -Wsign-promo -Wstrict-null-sentinel
|
|
# -Wstrict-overflow=5 -Wundef -Wno-unused -Wno-variadic-macros -Wno-parentheses -fdiagnostics-show-option
|
|
# thanks @chouffe103
|
|
|
|
[common]
|
|
build_flags = -D BUILD_GIT='"${env.TRAVIS_TAG}"'
|
|
|
|
|
|
#normal version with stable plugins, 1024k version
|
|
[env:normal_ESP8266_1024]
|
|
platform = espressif8266
|
|
framework = arduino
|
|
board = esp12e
|
|
upload_speed=460800
|
|
build_flags = ${common.build_flags} -Wl,-Tesp8266.flash.1m128.ld
|
|
# upload_port = /dev/ttyUSB0
|
|
|
|
#normal version with stable plugins, 4096k version
|
|
[env:normal_ESP8266_4096]
|
|
platform = espressif8266
|
|
framework = arduino
|
|
board = esp12e
|
|
upload_speed=460800
|
|
build_flags = ${common.build_flags} -Wl,-Tesp8266.flash.4m1m.ld
|
|
# upload_port = /dev/ttyUSB0
|
|
|
|
#normal version with stable plugins, 4096k version for esp8285
|
|
[env:normal_ESP8285_1024]
|
|
platform = espressif8266
|
|
framework = arduino
|
|
board = esp8285
|
|
upload_speed=460800
|
|
build_flags = ${common.build_flags} -Wl,-Tesp8266.flash.1m128.ld -DESP8285
|
|
# upload_port = /dev/ttyUSB0
|
|
|
|
|
|
#version with additional plugins (and dependend code) that are in test-stadium 1024k
|
|
[env:test_ESP8266_1024]
|
|
platform = espressif8266
|
|
framework = arduino
|
|
board = esp12e
|
|
upload_speed=460800
|
|
build_flags = ${common.build_flags} -Wl,-Tesp8266.flash.1m128.ld -D PLUGIN_BUILD_TESTING
|
|
|
|
#version with additional plugins (and dependend code) that are in test-stadium 4096k
|
|
[env:test_ESP8266_4096]
|
|
platform = espressif8266
|
|
framework = arduino
|
|
board = esp12e
|
|
upload_speed=460800
|
|
build_flags = ${common.build_flags} -Wl,-Tesp8266.flash.4m1m.ld -D PLUGIN_BUILD_TESTING
|
|
|
|
#version with additional plugins (and dependend code) that are in test-stadium 4096k for esp8285
|
|
[env:test_ESP8285_1024]
|
|
platform = espressif8266
|
|
framework = arduino
|
|
board = esp8285
|
|
upload_speed=460800
|
|
build_flags = ${common.build_flags} -Wl,-Tesp8266.flash.1m128.ld -D PLUGIN_BUILD_TESTING -DESP8285
|
|
|
|
|
|
#version with additional plugins (and dependend code) that is in development (probably broken or incomplete) 1024k
|
|
[env:dev_ESP8266_1024]
|
|
platform = espressif8266
|
|
framework = arduino
|
|
board = esp12e
|
|
upload_speed=460800
|
|
build_flags = ${common.build_flags} -Wl,-Tesp8266.flash.1m128.ld -D PLUGIN_BUILD_TESTING -D PLUGIN_BUILD_DEV
|
|
|
|
#version with additional plugins (and dependend code) that is in development (probably broken or incomplete) 4096k
|
|
[env:dev_ESP8266_4096]
|
|
platform = espressif8266
|
|
framework = arduino
|
|
board = esp12e
|
|
upload_speed=460800
|
|
build_flags = ${common.build_flags} -Wl,-Tesp8266.flash.4m1m.ld -D PLUGIN_BUILD_TESTING -D PLUGIN_BUILD_DEV
|
|
|
|
#version with additional plugins (and dependend code) that is in development (probably broken or incomplete) 4096k for esp8285
|
|
[env:dev_ESP8285_1024]
|
|
platform = espressif8266
|
|
framework = arduino
|
|
board = esp8285
|
|
upload_speed=460800
|
|
build_flags = ${common.build_flags} -Wl,-Tesp8266.flash.1m128.ld -D PLUGIN_BUILD_TESTING -D PLUGIN_BUILD_DEV -DESP8285
|