🚀 Builds with new ESP32-Sveltekit template
This commit is contained in:
+44
-19
@@ -9,11 +9,15 @@
|
||||
; 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
|
||||
|
||||
[base]
|
||||
[env]
|
||||
platform = espressif32
|
||||
framework = arduino
|
||||
monitor_speed = 115200
|
||||
@@ -24,30 +28,51 @@ monitor_filters =
|
||||
build_flags =
|
||||
${factory_settings.build_flags}
|
||||
${features.build_flags}
|
||||
${build_settings.build_flags}
|
||||
-D CORE_DEBUG_LEVEL=5
|
||||
-D register=
|
||||
-std=gnu++17
|
||||
build_unflags = -std=gnu++11
|
||||
test_ignore = test_embedded
|
||||
board_build.filesystem = littlefs
|
||||
lib_deps =
|
||||
https://github.com/me-no-dev/ESPAsyncWebServer.git
|
||||
bblanchon/ArduinoJson@^6.21.2
|
||||
thomasfredericks/Bounce2@ ^2.7.0
|
||||
teckel12/NewPing@^1.9.7
|
||||
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
|
||||
adafruit/Adafruit ADS1X15@^2.4.0
|
||||
adafruit/Adafruit HMC5883 Unified@^1.2.1
|
||||
adafruit/Adafruit Unified Sensor@^1.1.11
|
||||
plageoj/UrlEncode@ ^1.0.1
|
||||
rfetick/MPU6050_light@^1.1.0
|
||||
SPI
|
||||
board_build.partitions = config/no_oat.csv
|
||||
https://github.com/theelims/PsychicMqttClient.git
|
||||
;hoeken/PsychicHttp
|
||||
; https://github.com/me-no-dev/ESPAsyncWebServer.git
|
||||
; thomasfredericks/Bounce2@ ^2.7.0
|
||||
; teckel12/NewPing@^1.9.7
|
||||
; 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
|
||||
; adafruit/Adafruit ADS1X15@^2.4.0
|
||||
; adafruit/Adafruit HMC5883 Unified@^1.2.1
|
||||
; adafruit/Adafruit Unified Sensor@^1.1.11
|
||||
; plageoj/UrlEncode@ ^1.0.1
|
||||
; rfetick/MPU6050_light@^1.1.0
|
||||
; SPI
|
||||
; board_build.partitions = config/no_oat.csv
|
||||
extra_scripts =
|
||||
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
|
||||
|
||||
[env:esp32cam]
|
||||
extends = base
|
||||
monitor_rts = 0
|
||||
monitor_dtr = 0
|
||||
board = esp32cam
|
||||
board = esp32cam
|
||||
board_build.partitions = min_spiffs.csv
|
||||
build_flags=
|
||||
-D USE_CAMERA
|
||||
${env.build_flags}
|
||||
-D LED_BUILTIN=4
|
||||
-D KEY_BUILTIN=0
|
||||
|
||||
[env:esp32dev]
|
||||
board = esp32dev
|
||||
board_build.partitions = min_spiffs.csv
|
||||
build_flags =
|
||||
${env.build_flags}
|
||||
-D LED_BUILTIN=2
|
||||
-D KEY_BUILTIN=0
|
||||
|
||||
Reference in New Issue
Block a user