2022-09-12 12:02:21 +00:00
|
|
|
[esp32s3_base]
|
|
|
|
extends = arduino_base
|
2023-03-09 18:45:38 +00:00
|
|
|
platform = platformio/espressif32@^6.1.0
|
2022-09-12 12:02:21 +00:00
|
|
|
build_src_filter =
|
2022-10-22 14:29:50 +00:00
|
|
|
${arduino_base.build_src_filter} -<platform/nrf52/> -<platform/stm32wl> -<platform/rp2040> -<mesh/eth/>
|
2022-09-12 12:02:21 +00:00
|
|
|
upload_speed = 961200
|
|
|
|
monitor_speed = 115200
|
|
|
|
debug_init_break = tbreak setup
|
2022-09-23 17:52:07 +00:00
|
|
|
monitor_filters = esp32_exception_decoder
|
2022-09-26 22:16:12 +00:00
|
|
|
board_build.filesystem = littlefs
|
2022-09-12 12:02:21 +00:00
|
|
|
|
|
|
|
# Remove -DMYNEWT_VAL_BLE_HS_LOG_LVL=LOG_LEVEL_CRITICAL for low level BLE logging.
|
|
|
|
# See library directory for BLE logging possible values: .pio/libdeps/tbeam/NimBLE-Arduino/src/log_common/log_common.h
|
|
|
|
# This overrides the BLE logging default of LOG_LEVEL_INFO (1) from: .pio/libdeps/tbeam/NimBLE-Arduino/src/esp_nimble_cfg.h
|
|
|
|
build_flags =
|
|
|
|
${arduino_base.build_flags}
|
|
|
|
-Wall
|
|
|
|
-Wextra
|
|
|
|
-Isrc/platform/esp32
|
|
|
|
-std=c++11
|
|
|
|
-DLOG_LOCAL_LEVEL=ESP_LOG_DEBUG
|
|
|
|
-DCORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_DEBUG
|
|
|
|
-DMYNEWT_VAL_BLE_HS_LOG_LVL=LOG_LEVEL_CRITICAL
|
|
|
|
-DAXP_DEBUG_PORT=Serial
|
|
|
|
-DCONFIG_BT_NIMBLE_ENABLED
|
2022-11-30 09:04:54 +00:00
|
|
|
-DCONFIG_NIMBLE_CPP_LOG_LEVEL=2
|
2022-09-12 12:02:21 +00:00
|
|
|
-DCONFIG_BT_NIMBLE_MAX_CCCDS=20
|
2022-11-30 09:04:54 +00:00
|
|
|
-DESP_OPENSSL_SUPPRESS_LEGACY_WARNING
|
2023-02-09 22:33:53 +00:00
|
|
|
;-DDEBUG_HEAP
|
2022-09-12 12:02:21 +00:00
|
|
|
|
|
|
|
lib_deps =
|
|
|
|
${arduino_base.lib_deps}
|
|
|
|
${networking_base.lib_deps}
|
|
|
|
${environmental_base.lib_deps}
|
2022-11-21 12:46:22 +00:00
|
|
|
https://github.com/meshtastic/esp32_https_server.git#23665b3adc080a311dcbb586ed5941b5f94d6ea2
|
2022-10-04 06:40:39 +00:00
|
|
|
h2zero/NimBLE-Arduino@^1.4.0
|
|
|
|
https://github.com/lewisxhe/XPowersLib.git#84b7373faea3118b6c37954d52f98b8a337148d6
|
2023-04-12 12:39:25 +00:00
|
|
|
https://github.com/meshtastic/ESP32_Codec2.git#633326c78ac251c059ab3a8c430fcdf25b41672f
|
2022-09-12 12:02:21 +00:00
|
|
|
|
|
|
|
lib_ignore =
|
|
|
|
segger_rtt
|
|
|
|
ESP32 BLE Arduino
|
|
|
|
|
|
|
|
; customize the partition table
|
|
|
|
; http://docs.platformio.org/en/latest/platforms/espressif32.html#partition-tables
|
|
|
|
board_build.partitions = partition-table.csv
|
|
|
|
|