[platformio]
default_envs = p1_son

[env:p1_son]
platform  = espressif32@6.5.0
board     = esp32-s3-devkitc-1
framework = espidf

# P1: ESP32-S3-DevKitC-1-N16R8 (16 MB flash / 8 MB PSRAM)
board_build.flash_size      = 16MB
board_upload.flash_size     = 16MB

monitor_speed   = 115200
monitor_filters = esp32_exception_decoder

build_src_filter =
    +<main.c>
    +<../../../lib/espnow_common/espnow_slave.c>

build_flags =
    -I${PROJECT_DIR}/main
    -I${PROJECT_DIR}/../../../lib/espnow_common
    -DBOARD_HAS_PSRAM

lib_deps =
    igrr/esp-idf-lib#master   ; community component registry helper
    # led_strip provided by ESP-IDF components

# Build: pio run
# Flash:  pio run -t upload -e p1_son
# Monitor: pio device monitor
