; XIAO ESP32-C6 + DFRobot C4001 24GHz mmWave presence sensor ; ; Board detected on this machine: ; ESP32-C6FH4 (QFN32) rev v0.1, 4MB embedded flash, USB-Serial/JTAG ; MAC e4:b3:23:b4:7b:c4 on /dev/ttyACM0 ; ; NOTE: ESP32-C6 needs Arduino-ESP32 core 3.x. The installed platform ; (espressif32 @ 2026.02.30, the pioarduino fork) ships core 3.3.7 and has ; the XIAO_ESP32C6 variant, so this builds as-is. The old espressif32 6.x ; from PlatformIO's registry does NOT support C6 -- don't downgrade. [env:seeed_xiao_esp32c6] platform = espressif32 board = seeed_xiao_esp32c6 framework = arduino monitor_speed = 115200 monitor_filters = esp32_exception_decoder, time upload_port = /dev/ttyACM0 monitor_port = /dev/ttyACM0 ; Pulled straight from DFRobot's repo. The registry copy lags behind. lib_deps = https://github.com/DFRobot/DFRobot_C4001.git build_flags = -DARDUINO_USB_CDC_ON_BOOT=1 ; Serial -> USB CDC, so the monitor works over the native port -DCORE_DEBUG_LEVEL=1