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
|
2022-06-11 17:25:25 +02:00
|
|
|
build_cache_dir = ~/.buildcache
|
|
|
|
extra_configs = platformio_override.ini
|
2021-03-14 15:34:37 +01:00
|
|
|
|
2022-02-20 04:15:08 +01:00
|
|
|
[common]
|
2022-03-06 17:48:04 +01:00
|
|
|
debug_build_flags = -O0 -ggdb3 -g3 -DDEBUG_TLS_MEM
|
2022-02-20 04:15:08 +01:00
|
|
|
build_flags =
|
2022-03-14 02:54:50 +01:00
|
|
|
-D MQTT_MIN_FREE_MEMORY=8128
|
2022-02-20 04:15:08 +01:00
|
|
|
-D SECURE_CLIENT=SECURE_CLIENT_BEARSSL
|
|
|
|
-D BEARSSL_SSL_BASIC
|
2022-03-14 02:54:50 +01:00
|
|
|
-D CONFIG_BT_NIMBLE_MAX_BONDS=0
|
|
|
|
-D CONFIG_BT_NIMBLE_MAX_CCCDS=0
|
2022-04-13 04:01:44 +02:00
|
|
|
-D CONFIG_BT_NIMBLE_TASK_STACK_SIZE=8128
|
2022-03-14 02:54:50 +01:00
|
|
|
-D CONFIG_BT_NIMBLE_ROLE_PERIPHERAL_DISABLED
|
|
|
|
-D CONFIG_BT_NIMBLE_ROLE_BROADCASTER_DISABLED
|
2022-02-20 04:15:08 +01:00
|
|
|
-D CONFIG_ASYNC_TCP_USE_WDT=0
|
2022-06-25 10:43:21 +02:00
|
|
|
-D CONFIG_BT_NIMBLE_MSYS1_BLOCK_COUNT=20
|
|
|
|
-D BLE_GATTC_UNRESPONSIVE_TIMEOUT_MS=2000
|
|
|
|
; -D CORE_DEBUG_LEVEL=2
|
|
|
|
; -D CONFIG_BT_NIMBLE_DEBUG=1
|
|
|
|
; -D CONFIG_NIMBLE_CPP_LOG_LEVEL=4
|
|
|
|
; -D CONFIG_NIMBLE_CPP_ENABLE_GAP_EVENT_CODE_TEXT=1
|
|
|
|
; -D CONFIG_NIMBLE_CPP_ENABLE_RETURN_CODE_TEXT=1
|
2022-06-11 17:25:25 +02:00
|
|
|
build_unflags =
|
2021-10-12 01:57:30 +02:00
|
|
|
framework = arduino
|
2022-02-20 04:15:08 +01:00
|
|
|
lib_deps =
|
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
|
2022-03-14 02:54:50 +01:00
|
|
|
bblanchon/ArduinoJson@^6.19.3
|
2021-09-21 19:55:41 +02:00
|
|
|
https://github.com/ESPresense/ESP-WiFiSettings.git
|
2022-03-14 02:54:50 +01:00
|
|
|
https://github.com/ESPresense/NimBLE-Arduino.git
|
2022-02-20 04:15:08 +01:00
|
|
|
https://github.com/pbolduc/AsyncTCP.git @ 1.2.0
|
2021-03-15 20:58:17 +01:00
|
|
|
bbx10/DNSServer@^1.1.0
|
2022-02-10 18:18:23 +01:00
|
|
|
|
2022-06-11 17:25:25 +02:00
|
|
|
[esp32]
|
2022-07-02 03:32:38 +02:00
|
|
|
platform = https://github.com/tasmota/platform-espressif32/releases/download/v.2.0.3/platform-espressif32-v.2.0.3.zip
|
|
|
|
platform_packages =
|
2022-06-11 17:25:25 +02:00
|
|
|
framework = ${common.framework}
|
|
|
|
build_unflags = ${common.build_unflags}
|
|
|
|
build_flags = -g
|
|
|
|
-D ARDUINO_ARCH_ESP32
|
|
|
|
-D CONFIG_BT_NIMBLE_PINNED_TO_CORE=1
|
|
|
|
-D REPORT_PINNED_TO_CORE=1
|
|
|
|
-D CONFIG_USE_ETHERNET
|
|
|
|
|
|
|
|
${common.build_flags}
|
|
|
|
lib_deps = ${common.lib_deps}
|
|
|
|
|
|
|
|
[esp32c3]
|
2022-07-02 03:32:38 +02:00
|
|
|
platform = https://github.com/tasmota/platform-espressif32/releases/download/v.2.0.3/platform-espressif32-v.2.0.3.zip
|
2022-06-11 17:25:25 +02:00
|
|
|
platform_packages =
|
|
|
|
framework = ${common.framework}
|
|
|
|
build_unflags = ${common.build_unflags}
|
|
|
|
build_flags = -g
|
|
|
|
-D ARDUINO_ARCH_ESP32
|
|
|
|
-D ARDUINO_ARCH_ESP32C3
|
|
|
|
-D CONFIG_IDF_TARGET_ESP32C3
|
|
|
|
-D CO
|
|
|
|
-D CONFIG_BT_NIMBLE_PINNED_TO_CORE=0
|
|
|
|
-D REPORT_PINNED_TO_CORE=0
|
|
|
|
${common.build_flags}
|
|
|
|
lib_deps = ${common.lib_deps}
|
|
|
|
|
2022-02-10 18:18:23 +01:00
|
|
|
[common_sensors]
|
2022-02-20 04:15:08 +01:00
|
|
|
lib_deps =
|
2021-09-28 17:27:17 +02:00
|
|
|
adafruit/Adafruit Unified Sensor @ ^1.1.4
|
|
|
|
beegee-tokyo/DHT sensor library for ESPx @ ^1.18
|
2021-10-09 16:22:02 +02:00
|
|
|
starmbi/hp_BH1750 @ ^1.0.0
|
2022-02-13 11:45:58 +01:00
|
|
|
adafruit/Adafruit BME280 Library@^2.2.2
|
|
|
|
adafruit/Adafruit TSL2561@^1.1.0
|
2021-08-20 14:42:37 +02:00
|
|
|
|
2022-03-06 17:48:04 +01:00
|
|
|
[env:esp32]
|
2022-06-11 17:25:25 +02:00
|
|
|
platform = ${esp32.platform}
|
|
|
|
platform_packages = ${esp32.platform_packages}
|
|
|
|
framework = ${esp32.framework}
|
2022-03-06 17:48:04 +01:00
|
|
|
board = esp32dev
|
2022-06-11 17:25:25 +02:00
|
|
|
lib_deps = ${esp32.lib_deps}
|
2022-02-16 00:39:00 +01:00
|
|
|
board_build.partitions = partitions_singleapp.csv
|
2022-02-20 04:15:08 +01:00
|
|
|
monitor_speed = 115200
|
2022-03-06 17:48:04 +01:00
|
|
|
upload_speed = 1500000
|
2022-06-25 10:43:21 +02:00
|
|
|
monitor_filters = esp32_exception_decoder, time
|
2022-06-11 17:25:25 +02:00
|
|
|
build_unflags = ${esp32.build_unflags}
|
2022-02-16 00:39:00 +01:00
|
|
|
build_flags =
|
2022-03-06 17:48:04 +01:00
|
|
|
-D FIRMWARE='"esp32"'
|
2022-06-11 17:25:25 +02:00
|
|
|
${esp32.build_flags}
|
|
|
|
|
|
|
|
[env:esp32c3]
|
|
|
|
platform = ${esp32c3.platform}
|
|
|
|
platform_packages = ${esp32c3.platform_packages}
|
|
|
|
framework = ${esp32c3.framework}
|
|
|
|
board = esp32-c3-devkitm-1
|
|
|
|
board_build.partitions = partitions_singleapp.csv
|
|
|
|
monitor_speed = 115200
|
|
|
|
upload_speed = 1500000
|
2022-06-25 10:43:21 +02:00
|
|
|
monitor_filters = esp32_exception_decoder, time
|
2022-06-11 17:25:25 +02:00
|
|
|
lib_deps = ${esp32c3.lib_deps}
|
|
|
|
build_unflags = ${esp32c3.build_unflags}
|
|
|
|
build_flags =
|
|
|
|
-D FIRMWARE='"esp32c3"'
|
|
|
|
${esp32c3.build_flags}
|
2022-02-16 00:39:00 +01:00
|
|
|
|
2021-09-25 16:46:19 +02:00
|
|
|
[env:adafruit-huzzah32]
|
2022-06-11 17:25:25 +02:00
|
|
|
platform = ${esp32.platform}
|
|
|
|
platform_packages = ${esp32.platform_packages}
|
|
|
|
framework = ${esp32.framework}
|
2021-09-25 05:50:36 +02:00
|
|
|
board = esp32dev
|
2022-06-11 17:25:25 +02:00
|
|
|
lib_deps = ${esp32.lib_deps}
|
2021-09-25 05:50:36 +02:00
|
|
|
board_build.partitions = partitions_singleapp.csv
|
|
|
|
monitor_speed = 115200
|
2022-06-25 10:43:21 +02:00
|
|
|
monitor_filters = esp32_exception_decoder, time
|
2022-06-11 17:25:25 +02:00
|
|
|
build_unflags = ${esp32.build_unflags}
|
2022-02-13 18:58:17 +01:00
|
|
|
build_flags =
|
2021-09-25 16:46:19 +02:00
|
|
|
-D FIRMWARE='"adafruit-huzzah32"'
|
2021-09-25 05:50:36 +02:00
|
|
|
-D HUZZAH32
|
2022-06-11 17:25:25 +02:00
|
|
|
${esp32.build_flags}
|
2021-09-25 05:50:36 +02:00
|
|
|
|
2021-08-20 14:42:37 +02:00
|
|
|
[env:esp32-verbose]
|
2022-06-11 17:25:25 +02:00
|
|
|
platform = ${esp32.platform}
|
|
|
|
platform_packages = ${esp32.platform_packages}
|
|
|
|
framework = ${esp32.framework}
|
2021-08-20 14:42:37 +02:00
|
|
|
board = esp32dev
|
2022-06-11 17:25:25 +02:00
|
|
|
lib_deps = ${esp32.lib_deps}
|
2021-08-20 14:42:37 +02:00
|
|
|
board_build.partitions = partitions_singleapp.csv
|
|
|
|
monitor_speed = 115200
|
2021-09-15 18:11:32 +02:00
|
|
|
upload_speed = 1500000
|
2022-06-25 10:43:21 +02:00
|
|
|
monitor_filters = esp32_exception_decoder, time
|
2022-06-11 17:25:25 +02:00
|
|
|
build_unflags = ${esp32.build_unflags}
|
2022-02-13 18:58:17 +01: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
|
2022-06-11 17:25:25 +02:00
|
|
|
${esp32.build_flags}
|
2021-08-23 15:48:40 +02:00
|
|
|
|
2021-03-14 15:34:37 +01:00
|
|
|
[env:m5stickc]
|
2022-06-11 17:25:25 +02:00
|
|
|
platform = ${esp32.platform}
|
|
|
|
platform_packages = ${esp32.platform_packages}
|
|
|
|
framework = ${esp32.framework}
|
2021-03-14 15:34:37 +01:00
|
|
|
board = m5stick-c
|
2022-02-13 18:58:17 +01:00
|
|
|
lib_deps =
|
2021-03-14 15:34:37 +01:00
|
|
|
m5stack/M5StickC@^0.2.0
|
2022-03-14 02:54:50 +01:00
|
|
|
https://github.com/ESPresense/M5StickC-TB_Display.git
|
2022-06-11 17:25:25 +02:00
|
|
|
${esp32.lib_deps}
|
2021-03-14 15:34:37 +01:00
|
|
|
board_build.partitions = partitions_singleapp.csv
|
|
|
|
monitor_speed = 115200
|
2022-06-25 10:43:21 +02:00
|
|
|
monitor_filters = esp32_exception_decoder, time
|
2022-06-11 17:25:25 +02:00
|
|
|
build_unflags = ${esp32.build_unflags}
|
2022-02-13 18:58:17 +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"'
|
2022-06-11 17:25:25 +02:00
|
|
|
${esp32.build_flags}
|
2021-08-23 15:48:40 +02:00
|
|
|
|
2021-03-14 15:34:37 +01:00
|
|
|
[env:m5stickc-plus]
|
2022-06-11 17:25:25 +02:00
|
|
|
platform = ${esp32.platform}
|
|
|
|
platform_packages = ${esp32.platform_packages}
|
|
|
|
framework = ${esp32.framework}
|
2021-03-14 15:34:37 +01:00
|
|
|
board = m5stick-c
|
2022-02-13 18:58:17 +01:00
|
|
|
lib_deps =
|
2021-08-22 15:50:14 +02:00
|
|
|
m5stack/M5StickCPlus@^0.0.2
|
2022-03-14 02:54:50 +01:00
|
|
|
https://github.com/ESPresense/M5StickC-TB_Display.git
|
2022-06-11 17:25:25 +02:00
|
|
|
${esp32.lib_deps}
|
2021-03-14 15:34:37 +01:00
|
|
|
board_build.partitions = partitions_singleapp.csv
|
|
|
|
monitor_speed = 115200
|
2022-06-25 10:43:21 +02:00
|
|
|
monitor_filters = esp32_exception_decoder, time
|
2022-06-11 17:25:25 +02:00
|
|
|
build_unflags = ${esp32.build_unflags}
|
2022-02-13 18:58:17 +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"'
|
2022-06-11 17:25:25 +02:00
|
|
|
${esp32.build_flags}
|
2021-08-23 15:48:40 +02:00
|
|
|
|
2021-03-27 15:58:54 +01:00
|
|
|
[env:m5atom-matrix]
|
2022-06-11 17:25:25 +02:00
|
|
|
platform = ${esp32.platform}
|
|
|
|
platform_packages = ${esp32.platform_packages}
|
|
|
|
framework = ${esp32.framework}
|
2021-03-20 06:18:10 +01:00
|
|
|
board = m5stack-atom
|
2022-02-13 18:58:17 +01:00
|
|
|
lib_deps =
|
2021-09-17 00:18:15 +02:00
|
|
|
fastled/FastLED@^3.4.0
|
2022-07-02 03:55:46 +02:00
|
|
|
m5stack/m5atom@^0.0.9
|
2022-06-11 17:25:25 +02:00
|
|
|
${esp32.lib_deps}
|
2021-03-20 06:18:10 +01:00
|
|
|
board_build.partitions = partitions_singleapp.csv
|
|
|
|
monitor_speed = 115200
|
2022-06-25 10:43:21 +02:00
|
|
|
monitor_filters = esp32_exception_decoder, time
|
2022-06-11 17:25:25 +02:00
|
|
|
build_unflags = ${esp32.build_unflags}
|
2022-02-13 18:58:17 +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"'
|
2022-06-11 17:25:25 +02:00
|
|
|
${esp32.build_flags}
|
2021-09-22 02:51:54 +02:00
|
|
|
|
|
|
|
[env:macchina-a0]
|
2022-06-11 17:25:25 +02:00
|
|
|
platform = ${esp32.platform}
|
|
|
|
platform_packages = ${esp32.platform_packages}
|
|
|
|
framework = ${esp32.framework}
|
2021-09-22 02:51:54 +02:00
|
|
|
board = esp32dev
|
2022-06-11 17:25:25 +02:00
|
|
|
lib_deps = ${esp32.lib_deps}
|
2021-09-22 02:51:54 +02:00
|
|
|
board_build.partitions = partitions_singleapp.csv
|
|
|
|
monitor_speed = 115200
|
2022-06-11 17:25:25 +02:00
|
|
|
build_unflags = ${esp32.build_unflags}
|
2022-02-13 18:58:17 +01:00
|
|
|
build_flags =
|
2021-11-15 00:54:19 +01:00
|
|
|
-D MACCHINA_A0
|
2021-09-22 02:51:54 +02:00
|
|
|
-D FIRMWARE='"macchina-a0"'
|
2022-06-11 17:25:25 +02:00
|
|
|
${esp32.build_flags}
|
2022-02-10 13:09:56 +01:00
|
|
|
|
|
|
|
[env:esp32-sensors]
|
2022-06-11 17:25:25 +02:00
|
|
|
platform = ${esp32.platform}
|
|
|
|
platform_packages = ${esp32.platform_packages}
|
|
|
|
framework = ${esp32.framework}
|
2022-02-10 13:09:56 +01:00
|
|
|
board = esp32dev
|
2022-02-10 18:18:23 +01:00
|
|
|
lib_deps =
|
2022-06-11 17:25:25 +02:00
|
|
|
${esp32.lib_deps}
|
2022-02-20 04:15:08 +01:00
|
|
|
${common_sensors.lib_deps}
|
2022-02-10 13:09:56 +01:00
|
|
|
board_build.partitions = partitions_singleapp.csv
|
|
|
|
monitor_speed = 115200
|
|
|
|
upload_speed = 115200
|
2022-06-25 10:43:21 +02:00
|
|
|
monitor_filters = esp32_exception_decoder, time
|
2022-06-11 17:25:25 +02:00
|
|
|
build_unflags = ${esp32.build_unflags}
|
2022-02-10 13:09:56 +01:00
|
|
|
build_flags =
|
|
|
|
-D FIRMWARE='"esp32-sensors"'
|
2022-02-20 04:15:08 +01:00
|
|
|
-D SENSORS
|
2022-06-11 17:25:25 +02:00
|
|
|
${esp32.build_flags}
|
2022-02-10 13:09:56 +01:00
|
|
|
|
|
|
|
[env:adafruit-huzzah32-sensors]
|
2022-06-11 17:25:25 +02:00
|
|
|
platform = ${esp32.platform}
|
|
|
|
platform_packages = ${esp32.platform_packages}
|
|
|
|
framework = ${esp32.framework}
|
2022-02-10 13:09:56 +01:00
|
|
|
board = esp32dev
|
2022-02-10 18:18:23 +01:00
|
|
|
lib_deps =
|
2022-06-11 17:25:25 +02:00
|
|
|
${esp32.lib_deps}
|
2022-02-20 04:15:08 +01:00
|
|
|
${common_sensors.lib_deps}
|
2022-02-10 13:09:56 +01:00
|
|
|
board_build.partitions = partitions_singleapp.csv
|
|
|
|
monitor_speed = 115200
|
2022-06-25 10:43:21 +02:00
|
|
|
monitor_filters = esp32_exception_decoder, time
|
2022-06-11 17:25:25 +02:00
|
|
|
build_unflags = ${esp32.build_unflags}
|
2022-02-10 13:09:56 +01:00
|
|
|
build_flags =
|
|
|
|
-D FIRMWARE='"adafruit-huzzah32-sensors"'
|
|
|
|
-D HUZZAH32
|
|
|
|
-D SENSORS
|
2022-06-11 17:25:25 +02:00
|
|
|
${esp32.build_flags}
|
2022-02-10 13:09:56 +01:00
|
|
|
|
|
|
|
[env:esp32-verbose-sensors]
|
2022-06-11 17:25:25 +02:00
|
|
|
platform = ${esp32.platform}
|
|
|
|
platform_packages = ${esp32.platform_packages}
|
|
|
|
framework = ${esp32.framework}
|
2022-02-10 13:09:56 +01:00
|
|
|
board = esp32dev
|
2022-02-10 18:18:23 +01:00
|
|
|
lib_deps =
|
2022-06-11 17:25:25 +02:00
|
|
|
${esp32.lib_deps}
|
2022-02-20 04:15:08 +01:00
|
|
|
${common_sensors.lib_deps}
|
2022-02-10 13:09:56 +01:00
|
|
|
board_build.partitions = partitions_singleapp.csv
|
|
|
|
monitor_speed = 115200
|
|
|
|
upload_speed = 1500000
|
2022-06-25 10:43:21 +02:00
|
|
|
monitor_filters = esp32_exception_decoder, time
|
2022-06-11 17:25:25 +02:00
|
|
|
build_unflags = ${esp32.build_unflags}
|
2022-02-10 13:09:56 +01:00
|
|
|
build_flags =
|
|
|
|
-D CORE_DEBUG_LEVEL=2
|
|
|
|
-D FIRMWARE='"esp32-verbose-sensors"'
|
|
|
|
-D VERBOSE
|
2022-02-20 04:15:08 +01:00
|
|
|
-D SENSORS
|
2022-06-11 17:25:25 +02:00
|
|
|
${esp32.build_flags}
|
2022-02-10 13:09:56 +01:00
|
|
|
|
|
|
|
[env:m5stickc-sensors]
|
2022-06-11 17:25:25 +02:00
|
|
|
platform = ${esp32.platform}
|
|
|
|
platform_packages = ${esp32.platform_packages}
|
|
|
|
framework = ${esp32.framework}
|
2022-02-10 13:09:56 +01:00
|
|
|
board = m5stick-c
|
|
|
|
lib_deps =
|
|
|
|
m5stack/M5StickC@^0.2.0
|
2022-03-14 02:54:50 +01:00
|
|
|
https://github.com/ESPresense/M5StickC-TB_Display.git
|
2022-06-11 17:25:25 +02:00
|
|
|
${esp32.lib_deps}
|
2022-02-20 04:15:08 +01:00
|
|
|
${common_sensors.lib_deps}
|
2022-02-10 13:09:56 +01:00
|
|
|
board_build.partitions = partitions_singleapp.csv
|
|
|
|
monitor_speed = 115200
|
2022-06-25 10:43:21 +02:00
|
|
|
monitor_filters = esp32_exception_decoder, time
|
2022-06-11 17:25:25 +02:00
|
|
|
build_unflags = ${esp32.build_unflags}
|
2022-02-10 13:09:56 +01:00
|
|
|
build_flags =
|
|
|
|
-D M5STICK
|
|
|
|
-D FIRMWARE='"m5stickc-sensors"'
|
|
|
|
-D SENSORS
|
2022-06-11 17:25:25 +02:00
|
|
|
${esp32.build_flags}
|
2022-02-10 13:09:56 +01:00
|
|
|
|
|
|
|
[env:m5stickc-plus-sensors]
|
2022-06-11 17:25:25 +02:00
|
|
|
platform = ${esp32.platform}
|
|
|
|
platform_packages = ${esp32.platform_packages}
|
|
|
|
framework = ${esp32.framework}
|
2022-02-10 13:09:56 +01:00
|
|
|
board = m5stick-c
|
|
|
|
lib_deps =
|
|
|
|
m5stack/M5StickCPlus@^0.0.2
|
2022-03-14 02:54:50 +01:00
|
|
|
https://github.com/ESPresense/M5StickC-TB_Display.git
|
2022-06-11 17:25:25 +02:00
|
|
|
${esp32.lib_deps}
|
2022-02-20 04:15:08 +01:00
|
|
|
${common_sensors.lib_deps}
|
2022-02-10 13:09:56 +01:00
|
|
|
board_build.partitions = partitions_singleapp.csv
|
|
|
|
monitor_speed = 115200
|
2022-06-25 10:43:21 +02:00
|
|
|
monitor_filters = esp32_exception_decoder, time
|
2022-06-11 17:25:25 +02:00
|
|
|
build_unflags = ${esp32.build_unflags}
|
2022-02-10 13:09:56 +01:00
|
|
|
build_flags =
|
|
|
|
-D M5STICK
|
|
|
|
-D PLUS
|
|
|
|
-D FIRMWARE='"m5stickc-plus-sensors"'
|
2022-02-20 04:15:08 +01:00
|
|
|
-D SENSORS
|
2022-06-11 17:25:25 +02:00
|
|
|
${esp32.build_flags}
|
2022-02-10 13:09:56 +01:00
|
|
|
|
|
|
|
[env:m5atom-matrix-sensors]
|
2022-06-11 17:25:25 +02:00
|
|
|
platform = ${esp32.platform}
|
|
|
|
platform_packages = ${esp32.platform_packages}
|
|
|
|
framework = ${esp32.framework}
|
2022-02-10 13:09:56 +01:00
|
|
|
board = m5stack-atom
|
|
|
|
lib_deps =
|
|
|
|
fastled/FastLED@^3.4.0
|
2022-07-02 03:55:46 +02:00
|
|
|
m5stack/m5atom@^0.0.9
|
2022-06-11 17:25:25 +02:00
|
|
|
${esp32.lib_deps}
|
2022-02-20 04:15:08 +01:00
|
|
|
${common_sensors.lib_deps}
|
2022-02-10 13:09:56 +01:00
|
|
|
board_build.partitions = partitions_singleapp.csv
|
|
|
|
monitor_speed = 115200
|
2022-06-25 10:43:21 +02:00
|
|
|
monitor_filters = esp32_exception_decoder, time
|
2022-06-11 17:25:25 +02:00
|
|
|
build_unflags = ${esp32.build_unflags}
|
2022-02-10 13:09:56 +01:00
|
|
|
build_flags =
|
|
|
|
-D M5ATOM
|
|
|
|
-D MATRIX
|
|
|
|
-D FIRMWARE='"m5atom-matrix-sensors"'
|
2022-02-20 04:15:08 +01:00
|
|
|
-D SENSORS
|
2022-06-11 17:25:25 +02:00
|
|
|
${esp32.build_flags}
|