Files
KodeDot-FTP-Explorer/platformio.ini
T

66 lines
2.3 KiB
INI
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
; 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
; ==============================================================
; BaseApp for Kode Dot (ESP32S3)
; Builds Arduino firmware and flashes app only (keeps bootloader/partitions).
; ==============================================================
[platformio]
; Default environment
default_envs = kode_dot
[env:kode_dot]
; Kode Dot target (ESP32S3)
; ESP32 platform (pinned stable)
platform = https://github.com/pioarduino/platform-espressif32/releases/download/stable/platform-espressif32.zip
; Board id (see boards/kode_dot.json)
board = kode_dot
framework = arduino
lib_compat_mode = off
monitor_speed = 115200
lib_ldf_mode = chain+
; Serial monitor filters
monitor_filters = time, esp32_exception_decoder
; Build flags
build_flags =
; Add include path for src
-I src
; Wrap OTA validation/rollback
-Wl,--wrap=esp_ota_mark_app_valid_cancel_rollback
; Enable LVGL simple include
-DLV_CONF_INCLUDE_SIMPLE
; Suppress deprecation warnings
-Wno-deprecated-declarations
; Allow #warning without failing build
-Wno-cpp
; Suppress narrowing conversion warnings
-Wno-narrowing
; Pre-build scripts
extra_scripts = pre:extra_scripts/auto_port.py, pre:extra_scripts/rename_bin.py
upload_protocol = custom
upload_port = auto
monitor_port = auto
upload_speed = 460800
; Flash app at 0x400000 (preserve bootloader/partitions)
upload_command = esptool --chip esp32s3 --port ${UPLOAD_PORT} --baud ${UPLOAD_SPEED} write-flash --flash-freq 80m --flash-mode dio --flash-size 32MB 0x400000 "${BUILD_DIR}/${PROGNAME}.bin"
; Libraries
lib_deps =
adafruit/Adafruit BusIO @ ^1.15.0
adafruit/Adafruit Unified Sensor @ ^1.1.4
moononournation/GFX Library for Arduino @ ^1.6.0
lvgl/lvgl @ ^8.3.9
adafruit/Adafruit NeoPixel
https://github.com/RobTillaart/TCA9555.git#0.4.3
adafruit/Adafruit LSM6DS @ ^4.7.4
adafruit/Adafruit LIS2MDL @ ^2.1.8
adafruit/Adafruit MAX1704X @ ^1.0.3
https://github.com/bitbank2/bb_captouch.git
https://github.com/andhieSetyabudi/BQ25896.git