[env:tlora-c6]
custom_meshtastic_hw_model = 83
custom_meshtastic_hw_model_slug = TLORA_C6
custom_meshtastic_architecture = esp32-c6
custom_meshtastic_actively_supported = true
custom_meshtastic_support_level = 1
custom_meshtastic_display_name = LilyGo T3-C6
custom_meshtastic_images = tlora-c6.svg
custom_meshtastic_tags = LilyGo

extends = esp32c6_base
board = esp32-c6-devkitm-1
board_level = pr

build_flags = 
  ${esp32c6_base.build_flags}
  -D TLORA_C6
  -I variants/esp32c6/tlora_c6
  -DARDUINO_USB_CDC_ON_BOOT=1
  -DARDUINO_USB_MODE=1
  ; Disable screen + audio.
  ; ESP32-C6 with 4MB flash is TIGHT on space.
  -DMESHTASTIC_EXCLUDE_SCREEN=1
  -DMESHTASTIC_EXCLUDE_AUDIO=1

lib_ignore =
  ${esp32c6_base.lib_ignore}
  ESP32 Codec2
