mirror of
https://github.com/vicliu624/trail-mate.git
synced 2026-07-20 10:31:00 +00:00
- migrate ESP board-specific implementations and runtime adapters into boards/* - continue GAT562/Tab5/UI runtime alignment across app and board layers - sync BLE and runtime integrations, and apply repository clang-format rules
94 lines
2.6 KiB
INI
94 lines
2.6 KiB
INI
; 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
|
|
; https://docs.platformio.org/page/projectconf.html
|
|
|
|
[platformio]
|
|
default_envs = tlora_pager_sx1262
|
|
extra_configs =
|
|
variants/*/*.ini
|
|
variants/*/*/*.ini
|
|
variants/*/*/platformio.ini
|
|
boards_dir = boards
|
|
src_dir = src
|
|
|
|
[env]
|
|
extra_scripts =
|
|
pre:scripts/platformio-pre.py
|
|
post:scripts/platformio-post.py
|
|
monitor_speed = 115200
|
|
monitor_filters =
|
|
default
|
|
esp32_exception_decoder
|
|
|
|
[arduino_base]
|
|
extends = env
|
|
framework = arduino
|
|
platform = espressif32@6.10.0
|
|
upload_speed = 921600
|
|
board_build.filesystem = fatfs
|
|
board_build.partitions = partitions.csv
|
|
build_flags =
|
|
-D CORE_DEBUG_LEVEL=0
|
|
; Increase Arduino loopTask stack to handle LVGL + GPS map rendering
|
|
-D ARDUINO_LOOP_STACK_SIZE=16384
|
|
-std=gnu++17
|
|
-D LV_CONF_INCLUDE_SIMPLE
|
|
-D LV_USE_SNAPSHOT=1
|
|
-D HAS_GPS=1
|
|
-D HAS_SD=1
|
|
-D HAS_PSRAM=1
|
|
-I${PROJECT_DIR}
|
|
-I${PROJECT_DIR}/modules/ui_shared/include
|
|
-I${PROJECT_DIR}/modules/core_sys/include
|
|
-I${PROJECT_DIR}/modules/core_chat/include
|
|
-I${PROJECT_DIR}/modules/core_gps/include
|
|
-I${PROJECT_DIR}/modules/core_hostlink/include
|
|
-I${PROJECT_DIR}/modules/core_team/include
|
|
-I${PROJECT_DIR}/platform/esp/arduino_common/include
|
|
-I${PROJECT_DIR}/platform/esp/common/include
|
|
-D RADIOLIB_EXCLUDE_RF69
|
|
-D RADIOLIB_EXCLUDE_SX1231
|
|
-D RADIOLIB_EXCLUDE_RFM2X
|
|
-D RADIOLIB_EXCLUDE_SX127X
|
|
-D RADIOLIB_EXCLUDE_AFSK
|
|
-D RADIOLIB_EXCLUDE_AX25
|
|
-D RADIOLIB_EXCLUDE_HELLSCHREIBER
|
|
-D RADIOLIB_EXCLUDE_MORSE
|
|
-D RADIOLIB_EXCLUDE_RTTY
|
|
-D RADIOLIB_EXCLUDE_SSTV
|
|
-D RADIOLIB_EXCLUDE_DIRECT_RECEIVE
|
|
-D RADIOLIB_EXCLUDE_APRS
|
|
-D RADIOLIB_EXCLUDE_BELL
|
|
-Wnarrowing
|
|
lib_extra_dirs =
|
|
${PROJECT_DIR}/modules
|
|
${PROJECT_DIR}/apps
|
|
${PROJECT_DIR}/boards
|
|
${PROJECT_DIR}/platform/esp
|
|
${PROJECT_DIR}/platform/esp/boards
|
|
${PROJECT_DIR}/third_party
|
|
lib_ignore =
|
|
gat562_mesh_evb_pro
|
|
boards_gat562_mesh_evb_pro
|
|
platform_nrf52_arduino_common
|
|
lib_deps =
|
|
lvgl/lvgl @ 9.4.0
|
|
jgromes/RadioLib @ 7.4.0
|
|
lewisxhe/XPowersLib@0.3.1
|
|
lewisxhe/SensorLib @ 0.3.3
|
|
mikalhart/TinyGPSPlus @ 1.0.3
|
|
earlephilhower/ESP8266Audio @ 2.0.0
|
|
h2zero/NimBLE-Arduino @ 2.2.3
|
|
nanopb/nanopb @ ^0.4.8
|
|
rweather/Crypto @ 0.4.0
|
|
|
|
; NOTE: Board-specific environments (including tlora_pager_sx1262 / tlora_pager_sx1280)
|
|
; are defined in variants/*/envs/*.ini and loaded via extra_configs above.
|
|
; Keep root config focused on shared settings only.
|