61 lines
2.3 KiB
INI
61 lines
2.3 KiB
INI
; PlatformIO Project Configuration File
|
||
; DummyBot – task manager for ESP32 + ST7789 240x240 + 3x TTP223 + vibrador
|
||
; Firmware: TFT_eSPI (texto) + SPIFFS + AnimatedGIF (caritas kawaii)
|
||
; Backend: Laravel (HTTP polling cada 30s)
|
||
|
||
[env:esp32dev]
|
||
platform = espressif32 @ 6.5.0
|
||
board = esp32dev
|
||
framework = arduino
|
||
monitor_speed = 115200
|
||
upload_speed = 921600
|
||
board_build.partitions = partitions.csv
|
||
|
||
; Libs
|
||
lib_deps =
|
||
bodmer/TFT_eSPI@^2.5.43
|
||
bblanchon/ArduinoJson@^7.0.4
|
||
bitbank2/AnimatedGIF@^1.4.1
|
||
|
||
; User config del display (TFT_eSPI) y WiFi
|
||
build_flags =
|
||
-DCORE_DEBUG_LEVEL=3
|
||
-DUSER_SETUP_LOADED=1
|
||
-include $PROJECT_DIR/include/User_Setup.h
|
||
-DWM_DEBUG_LEVEL=3
|
||
-DBACKEND_URL=\"http://157.180.77.232:18080\"
|
||
-DDEVICE_TOKEN=\"tDL6yCqvVetJpiY8dMyi7QwCW2znO6RnRN5hVeM7H8u0LbjU\"
|
||
; Para apuntar a tu servidor, sobreescribe BACKEND_URL en una env:
|
||
; [env:mi-server]
|
||
; build_flags = ${env:esp32dev.build_flags} -DBACKEND_URL=\"https://midominio.com\"
|
||
build_src_filter = +<main.cpp> -<tests/>
|
||
|
||
; ─────────────────────────────────────────────────────────────
|
||
; Entorno de DIAGNÓSTICO: solo compila diag.cpp (sin main.cpp)
|
||
; ─────────────────────────────────────────────────────────────
|
||
[env:diag]
|
||
platform = espressif32 @ 6.5.0
|
||
board = esp32dev
|
||
framework = arduino
|
||
monitor_speed = 115200
|
||
upload_speed = 921600
|
||
lib_deps =
|
||
bodmer/TFT_eSPI@^2.5.43
|
||
build_flags =
|
||
-DCORE_DEBUG_LEVEL=3
|
||
-DUSER_SETUP_LOADED=1
|
||
-include $PROJECT_DIR/include/User_Setup.h
|
||
build_src_filter = +<tests/diag.cpp>
|
||
|
||
; ─────────────────────────────────────────────────────────────
|
||
; Test SPI loopback (para verificar el bus SPI del ESP32)
|
||
; ─────────────────────────────────────────────────────────────
|
||
[env:spiloop]
|
||
platform = espressif32 @ 6.5.0
|
||
board = esp32dev
|
||
framework = arduino
|
||
monitor_speed = 115200
|
||
upload_speed = 921600
|
||
lib_deps =
|
||
build_src_filter = +<tests/spi_loopback.cpp>
|