[env:thinknode_g3]
extends = esp32s3_base
board = ESP32-S3-WROOM-1-N4
board_build.psram_type = opi

build_flags =
  ${esp32s3_base.build_flags}
  -D HAS_UDP_MULTICAST=1
  -D BOARD_HAS_PSRAM
  -D PRIVATE_HW
  -I variants/esp32s3/ELECROW-ThinkNode-G3
  -mfix-esp32-psram-cache-issue

lib_ignore =
  Ethernet

build_src_filter =
  ${esp32s3_base.build_src_filter}
  +<../variants/esp32s3/ELECROW-ThinkNode-G3/*>

lib_deps =
  ${esp32s3_base.lib_deps}
  # renovate: datasource=github-tags depName=ESP32-CH390 packageName=meshtastic/ESP32-CH390
  https://github.com/meshtastic/ESP32-CH390/archive/refs/tags/v1.0.1.zip
