I have an esp32-c6 n16 and trying to run the sample found here: esp-idf/examples/get-started/blink/main/blink_example_main.c at master · espressif/esp-idf · GitHub
Should be the basic one… but when I try to build, I get this error:
Processing esp32-c6-devkitc-1 (platform: espressif32; board: esp32-c6-devkitc-1; framework: espidf)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Verbose mode can be enabled via `-v, --verbose` option
CONFIGURATION: https://docs.platformio.org/page/boards/espressif32/esp32-c6-devkitc-1.html
PLATFORM: Espressif 32 (6.7.0+sha.d394712) > Espressif ESP32-C6-DevKitC-1
HARDWARE: ESP32C6 160MHz, 512KB RAM, 8MB Flash
DEBUG: Current (cmsis-dap) External (cmsis-dap, esp-bridge, esp-builtin, esp-prog, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa)
PACKAGES:
- framework-espidf @ 3.50201.240515 (5.2.1)
- tool-cmake @ 3.16.4
- tool-esptoolpy @ 1.40501.0 (4.5.1)
- tool-idf @ 1.0.1
- tool-mconf @ 1.4060000.20190628 (406.0.0)
- tool-ninja @ 1.9.0
- tool-riscv32-esp-elf-gdb @ 11.2.0+20220823
- tool-xtensa-esp-elf-gdb @ 11.2.0+20230208
- toolchain-esp32ulp @ 1.23500.220830 (2.35.0)
- toolchain-riscv32-esp @ 13.2.0+20230928
Reading CMake configuration...
Warning! Flash memory size mismatch detected. Expected 8MB, found 16MB!
Please select a proper value in your `sdkconfig.defaults` or via the `menuconfig` target!
LDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain+, Compatibility ~ soft
Found 0 compatible libraries
Scanning dependencies...
No dependencies
Building in release mode
Linking .pio\build\esp32-c6-devkitc-1\firmware.elf
C:/Users/Insan/.platformio/packages/toolchain-riscv32-esp/bin/../lib/gcc/riscv32-esp-elf/13.2.0/../../../../riscv32-esp-elf/bin/ld.exe: .pio\build\esp32-c6-devkitc-1\src\main.c.o: in function `configure_led':
D:\dev\test-esp32-c6/src/main.c:69:(.text.configure_led+0x5e): undefined reference to `led_strip_new_spi_device'
C:/Users/Insan/.platformio/packages/toolchain-riscv32-esp/bin/../lib/gcc/riscv32-esp-elf/13.2.0/../../../../riscv32-esp-elf/bin/ld.exe: D:\dev\test-esp32-c6/src/main.c:74:(.text.configure_led+0x70): undefined reference to `led_strip_clear'
C:/Users/Insan/.platformio/packages/toolchain-riscv32-esp/bin/../lib/gcc/riscv32-esp-elf/13.2.0/../../../../riscv32-esp-elf/bin/ld.exe: .pio\build\esp32-c6-devkitc-1\src\main.c.o: in function `blink_led':
D:\dev\test-esp32-c6/src/main.c:41:(.text.blink_led+0x20): undefined reference to `led_strip_set_pixel'
C:/Users/Insan/.platformio/packages/toolchain-riscv32-esp/bin/../lib/gcc/riscv32-esp-elf/13.2.0/../../../../riscv32-esp-elf/bin/ld.exe: D:\dev\test-esp32-c6/src/main.c:43:(.text.blink_led+0x2c): undefined reference to `led_strip_refresh'
C:/Users/Insan/.platformio/packages/toolchain-riscv32-esp/bin/../lib/gcc/riscv32-esp-elf/13.2.0/../../../../riscv32-esp-elf/bin/ld.exe: D:\dev\test-esp32-c6/src/main.c:46:(.text.blink_led+0x44): undefined reference to `led_strip_clear'
collect2.exe: error: ld returned 1 exit status
*** [.pio\build\esp32-c6-devkitc-1\firmware.elf] Error 1
The repository can be found here: GitHub - blfuentes/test-esp32-c6
Any idea what could be wrong?