83 lines
2.0 KiB
INI
83 lines
2.0 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]
|
|
description = Spot Micro Robot
|
|
data_dir = data
|
|
extra_configs =
|
|
factory_settings.ini
|
|
features.ini
|
|
build_settings.ini
|
|
default_envs = esp32dev
|
|
|
|
[env]
|
|
platform = espressif32 @ 6.6.0
|
|
framework = arduino
|
|
monitor_speed = 115200
|
|
monitor_filters =
|
|
esp32_exception_decoder
|
|
default
|
|
colorize
|
|
build_flags =
|
|
${factory_settings.build_flags}
|
|
${features.build_flags}
|
|
${build_settings.build_flags}
|
|
-D CORE_DEBUG_LEVEL=3
|
|
-D register=
|
|
-std=gnu++17
|
|
build_unflags = -std=gnu++11
|
|
test_ignore = test_embedded
|
|
board_build.filesystem = littlefs
|
|
lib_deps =
|
|
ArduinoJson@>=7.0.0
|
|
https://github.com/theelims/PsychicMqttClient.git#0.1.1
|
|
teckel12/NewPing@^1.9.7
|
|
jrowberg/I2Cdevlib-MPU6050@^1.0.0
|
|
adafruit/Adafruit SSD1306@^2.5.7
|
|
adafruit/Adafruit GFX Library@^1.11.5
|
|
adafruit/Adafruit BusIO@^1.9.3
|
|
adafruit/Adafruit PWM Servo Driver Library@^2.4.1
|
|
SPI
|
|
extra_scripts =
|
|
pre:scripts/pre_build.py
|
|
pre:scripts/build_app.py
|
|
pre:scripts/generate_cert_bundle.py
|
|
scripts/rename_fw.py
|
|
board_build.embed_files = src/certs/x509_crt_bundle.bin
|
|
board_ssl_cert_source = adafruit
|
|
lib_compat_mode = strict
|
|
|
|
[env:esp32cam]
|
|
board = esp32cam
|
|
board_build.partitions = min_spiffs.csv
|
|
monitor_rts = 0
|
|
monitor_dtr = 0
|
|
build_flags=
|
|
-D FT_CAMERA
|
|
-D CAMERA_MODEL_AI_THINKER
|
|
${env.build_flags}
|
|
-D LED_BUILTIN=4
|
|
-D KEY_BUILTIN=0
|
|
|
|
[env:esp32-s3-devkitc-1]
|
|
board = esp32-s3-devkitc-1
|
|
board_build.arduino.memory_type = qio_opi
|
|
board_build.partitions = default_16MB.csv
|
|
board_upload.flash_size = 16MB
|
|
build_flags=
|
|
${env.build_flags}
|
|
[env:esp32dev]
|
|
board = esp32dev
|
|
board_build.partitions = min_spiffs.csv
|
|
build_flags =
|
|
${env.build_flags}
|
|
-D LED_BUILTIN=2
|
|
-D KEY_BUILTIN=0
|