[esp32s2_base]
extends = esp32_common
custom_esp32_kind = esp32s2

build_src_filter = 
 ${esp32_common.build_src_filter} - <libpax/> -<nimble/> -<mesh/raspihttp>

monitor_speed = 115200

build_flags =
  ${esp32_common.build_flags}
  -DHAS_BLUETOOTH=0
  -DMESHTASTIC_EXCLUDE_PAXCOUNTER
  -DMESHTASTIC_EXCLUDE_BLUETOOTH
  -mtext-section-literals

custom_sdkconfig =
  ${esp32_common.custom_sdkconfig}

lib_ignore = 
  ${esp32_common.lib_ignore}
  NimBLE-Arduino
  libpax

lib_deps =
  ${esp32_common.lib_deps}
  # renovate: datasource=git-refs depName=meshtastic-ESP32_Codec2 packageName=https://github.com/meshtastic/ESP32_Codec2 gitBranch=master
  https://github.com/meshtastic/ESP32_Codec2/archive/633326c78ac251c059ab3a8c430fcdf25b41672f.zip
  