dummybot-firmware/platformio.ini

48 lines
1.6 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
; DummyBot task manager ESP32
[env:esp32dev]
platform = espressif32 @ 6.5.0
board = esp32dev
framework = arduino
monitor_speed = 115200
upload_speed = 921600
board_build.partitions = partitions.csv
; Libs mínimas (sin GIFs ni WiFiManager)
lib_deps =
bodmer/TFT_eSPI@^2.5.43
bblanchon/ArduinoJson@^7.0.4
build_flags =
-DCORE_DEBUG_LEVEL=3
-DUSER_SETUP_LOADED=1
-include $PROJECT_DIR/include/User_Setup.h
; ─── CONFIG POR DEFECTO ───
; Los defaults están en main.cpp (DEFAULT_WIFI_SSID, etc).
; Si quieres cambiarlos sin tocar código, define aquí las macros:
; -DDEFAULT_WIFI_SSID=\"otro\" -DDEFAULT_WIFI_PASS=\"otro\"
;
; Backend y token (sobreescribibles vía portal web)
-DBACKEND_URL=\"http://157.180.77.232:18080\"
-DDEFAULT_DEVICE_TOKEN=\"tDL6yCqvVetJpiY8dMyi7QwCW2znO6RnRN5hVeM7H8u0LbjU\"
build_src_filter = +<main.cpp> -<tests/>
; ─────────────────────────────────────────────────────────────
; Entorno de DIAGNÓSTICO: solo compila diag.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>