2018-10-05 22:41:25 +02:00
|
|
|
; PlatformIO Project Configuration File
|
|
|
|
;
|
|
|
|
; Build options: build flags, source filter
|
|
|
|
; Upload options: custom upload port, speed and extra flags
|
|
|
|
; Library options: dependencies, extra library storages
|
|
|
|
; Advanced options: extra scripting
|
|
|
|
;
|
|
|
|
; Please visit documentation for the other options and examples
|
2021-03-13 21:20:16 +01:00
|
|
|
; https://docs.platformio.org/page/projectconf.html
|
2018-10-05 22:41:25 +02:00
|
|
|
|
2021-03-14 15:34:37 +01:00
|
|
|
[platformio]
|
|
|
|
default_envs = esp32
|
|
|
|
|
2021-08-20 14:42:37 +02:00
|
|
|
[common_env_data]
|
|
|
|
lib_deps_external =
|
2021-03-27 04:07:25 +01:00
|
|
|
haimoz/SoftFilters@^0.1.0
|
2021-08-22 14:47:42 +02:00
|
|
|
marvinroger/AsyncMqttClient@^0.9.0
|
2021-03-27 04:07:25 +01:00
|
|
|
bblanchon/ArduinoJson@^6.17.3
|
2021-03-15 20:58:17 +01:00
|
|
|
juerd/ESP-WiFiSettings@^3.7.2
|
2021-09-16 15:11:35 +02:00
|
|
|
h2zero/NimBLE-Arduino@^1.3.1
|
2021-03-27 04:07:25 +01:00
|
|
|
me-no-dev/AsyncTCP@^1.1.1
|
2021-03-15 20:58:17 +01:00
|
|
|
bbx10/DNSServer@^1.1.0
|
2021-08-20 14:42:37 +02:00
|
|
|
|
|
|
|
[env:esp32]
|
|
|
|
platform = espressif32
|
|
|
|
framework = arduino
|
|
|
|
board = esp32dev
|
|
|
|
lib_deps = ${common_env_data.lib_deps_external}
|
2021-03-14 15:34:37 +01:00
|
|
|
board_build.partitions = partitions_singleapp.csv
|
|
|
|
monitor_speed = 115200
|
2021-08-23 15:48:40 +02:00
|
|
|
monitor_filters = esp32_exception_decoder
|
2021-03-24 14:10:33 +01:00
|
|
|
build_flags =
|
2021-03-20 06:18:10 +01:00
|
|
|
-D FIRMWARE='"esp32"'
|
2021-08-22 14:47:42 +02:00
|
|
|
-Wall
|
2021-08-23 15:48:40 +02:00
|
|
|
|
2021-08-20 14:42:37 +02:00
|
|
|
[env:esp32-noupdate]
|
|
|
|
platform = espressif32
|
|
|
|
framework = arduino
|
|
|
|
board = esp32dev
|
|
|
|
lib_deps = ${common_env_data.lib_deps_external}
|
|
|
|
board_build.partitions = partitions_singleapp.csv
|
|
|
|
monitor_speed = 115200
|
|
|
|
build_flags =
|
|
|
|
-D FIRMWARE='"esp32-noupdate"'
|
|
|
|
-D NOUPDATE
|
2021-08-22 14:47:42 +02:00
|
|
|
-Wall
|
2021-08-23 15:48:40 +02:00
|
|
|
|
2021-08-20 14:42:37 +02:00
|
|
|
[env:esp32-verbose]
|
|
|
|
platform = espressif32
|
|
|
|
framework = arduino
|
|
|
|
board = esp32dev
|
|
|
|
lib_deps = ${common_env_data.lib_deps_external}
|
|
|
|
board_build.partitions = partitions_singleapp.csv
|
|
|
|
monitor_speed = 115200
|
2021-09-15 18:11:32 +02:00
|
|
|
upload_speed = 1500000
|
2021-08-23 15:48:40 +02:00
|
|
|
monitor_filters = esp32_exception_decoder
|
2021-08-20 14:42:37 +02:00
|
|
|
build_flags =
|
2021-09-15 18:11:32 +02:00
|
|
|
-D CORE_DEBUG_LEVEL=2
|
2021-08-20 14:42:37 +02:00
|
|
|
-D FIRMWARE='"esp32-verbose"'
|
|
|
|
-D VERBOSE
|
2021-08-22 14:47:42 +02:00
|
|
|
-Wall
|
2021-08-23 15:48:40 +02:00
|
|
|
|
2021-03-14 15:34:37 +01:00
|
|
|
[env:m5stickc]
|
|
|
|
platform = espressif32
|
|
|
|
framework = arduino
|
|
|
|
board = m5stick-c
|
2021-03-24 14:10:33 +01:00
|
|
|
lib_deps =
|
2021-03-14 15:34:37 +01:00
|
|
|
m5stack/M5StickC@^0.2.0
|
2021-08-20 14:42:37 +02:00
|
|
|
${common_env_data.lib_deps_external}
|
2021-03-14 15:34:37 +01:00
|
|
|
board_build.partitions = partitions_singleapp.csv
|
|
|
|
monitor_speed = 115200
|
2021-08-23 15:48:40 +02:00
|
|
|
monitor_filters = esp32_exception_decoder
|
2021-03-24 14:10:33 +01:00
|
|
|
build_flags =
|
2021-03-14 15:34:37 +01:00
|
|
|
-D M5STICK
|
2021-03-20 06:18:10 +01:00
|
|
|
-D FIRMWARE='"m5stickc"'
|
2021-08-22 14:47:42 +02:00
|
|
|
-Wall
|
2021-08-23 15:48:40 +02:00
|
|
|
|
2021-03-14 15:34:37 +01:00
|
|
|
[env:m5stickc-plus]
|
|
|
|
platform = espressif32
|
|
|
|
framework = arduino
|
|
|
|
board = m5stick-c
|
2021-03-24 14:10:33 +01:00
|
|
|
lib_deps =
|
2021-08-22 15:50:14 +02:00
|
|
|
m5stack/M5StickCPlus@^0.0.2
|
2021-08-20 14:42:37 +02:00
|
|
|
${common_env_data.lib_deps_external}
|
2021-03-14 15:34:37 +01:00
|
|
|
board_build.partitions = partitions_singleapp.csv
|
|
|
|
monitor_speed = 115200
|
2021-08-23 15:48:40 +02:00
|
|
|
monitor_filters = esp32_exception_decoder
|
2021-03-24 14:10:33 +01:00
|
|
|
build_flags =
|
2021-03-14 15:34:37 +01:00
|
|
|
-D M5STICK
|
|
|
|
-D PLUS
|
2021-03-20 06:18:10 +01:00
|
|
|
-D FIRMWARE='"m5stickc-plus"'
|
2021-08-22 14:47:42 +02:00
|
|
|
-Wall
|
2021-08-23 15:48:40 +02:00
|
|
|
|
2021-03-27 15:58:54 +01:00
|
|
|
[env:m5atom-matrix]
|
2021-03-20 06:18:10 +01:00
|
|
|
platform = espressif32
|
|
|
|
framework = arduino
|
|
|
|
board = m5stack-atom
|
2021-03-24 14:10:33 +01:00
|
|
|
lib_deps =
|
2021-08-20 14:42:37 +02:00
|
|
|
${common_env_data.lib_deps_external}
|
2021-03-20 06:18:10 +01:00
|
|
|
board_build.partitions = partitions_singleapp.csv
|
|
|
|
monitor_speed = 115200
|
2021-08-23 15:48:40 +02:00
|
|
|
monitor_filters = esp32_exception_decoder
|
2021-03-24 14:10:33 +01:00
|
|
|
build_flags =
|
2021-03-20 06:18:10 +01:00
|
|
|
-D M5ATOM
|
|
|
|
-D MATRIX
|
2021-03-27 15:58:54 +01:00
|
|
|
-D FIRMWARE='"m5atom-matrix"'
|
2021-08-22 14:47:42 +02:00
|
|
|
-Wall
|