Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request: ESP32-C6 ULP support in PlatformIO. #1507

Open
morcibacsi opened this issue Dec 7, 2024 · 8 comments
Open

Request: ESP32-C6 ULP support in PlatformIO. #1507

morcibacsi opened this issue Dec 7, 2024 · 8 comments
Labels

Comments

@morcibacsi
Copy link

ULP example code does not build for ESP32-C6 under PlatformIO.

Steps to reproduce:

Download official LP Core example from here:
https://github.com/espressif/esp-idf/tree/v5.3.2/examples/system/ulp/lp_core/gpio

I added the following platformio.ini:

[platformio]
core_dir = C:\.platformio
src_dir = main

[env:esp32-c6-devkitm-1]
platform = [email protected]
board = esp32-c6-devkitm-1
framework = espidf
upload_port = COM29
build_flags = -v

The error I got is the following:

main/lp_core_gpio_example_main.c:20:10: fatal error: ulp_main.h: No such file or directory

This file should be autogenerated at this location:

 .pio\build\esp32-c6-devkitm-1\esp-idf\main\ulp_main\

The issue is similar to this: #1144 but downloading the test files from there reveals ulp programs in .s files.

Also checked the layout of the ESP32-S2 and S3 examples here, but those have CONFIG_ULP_COPROC_TYPE_RISCV=y in the sdkconfig however the C6 has CONFIG_ULP_COPROC_TYPE_LP_CORE=y
https://github.com/Jason2866/platform-espressif32/tree/Arduino/IDF5/examples/espidf-ulp-riscv

Full log
Executing task: C:\.platformio\penv\Scripts\platformio.exe run 

Processing esp32-c6-devkitm-1 (platform: [email protected]; board: esp32-c6-devkitm-1; framework: espidf)
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Verbose mode can be enabled via `-v, --verbose` option
CONFIGURATION: https://docs.platformio.org/page/boards/espressif32/esp32-c6-devkitm-1.html
PLATFORM: Espressif 32 (6.9.0) > Espressif ESP32-C6-DevKitM-1
HARDWARE: ESP32C6 160MHz, 320KB RAM, 4MB 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.50301.0 (5.3.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.23800.240113 (2.38.0) 
 - toolchain-riscv32-esp @ 13.2.0+20240530
Reading CMake configuration...
Warning! Flash memory size mismatch detected. Expected 4MB, found 2MB!
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
Compiling .pio\build\esp32-c6-devkitm-1\main\lp_core_gpio_example_main.c.o
*** [.pio\build\esp32-c6-devkitm-1\.pio\build\esp32-c6-devkitm-1\ulp_main.bin.S.o] Source `.pio\build\esp32-c6-devkitm-1\ulp_main.bin.S' not found, needed by target `.pio\build\esp32-c6-devkitm-1\.pio\build\esp32-c6-devkitm-1\ulp_main.bin.S.o'.
Using built-in specs.
COLLECT_GCC=riscv32-esp-elf-gcc
Target: riscv32-esp-elf
Configured with: /builds/idf/crosstool-NG/.build/HOST-x86_64-w64-mingw32/riscv32-esp-elf/src/gcc/configure --build=x86_64-build_pc-linux-gnu --host=x86_64-host_w64-mingw32 --target=riscv32-esp-elf --prefix=/builds/idf/crosstool-NG/builds/riscv32-esp-elf --exec_prefix=/builds/idf/crosstool-NG/builds/riscv32-esp-elf --with-local-prefix=/builds/idf/crosstool-NG/builds/riscv32-esp-elf/riscv32-esp-elf --with-sysroot=/builds/idf/crosstool-NG/builds/riscv32-esp-elf/riscv32-esp-elf --with-native-system-header-dir=/include --with-newlib --enable-threads=no --disable-shared --with-arch=rv32gc --with-abi=ilp32 --with-pkgversion='crosstool-NG esp-13.2.0_20240530' --disable-__cxa_atexit --enable-cxx-flags=-ffunction-sections --disable-libgomp --disable-libmudflap --disable-libmpx --disable-libssp --disable-libquadmath --disable-libquadmath-support --disable-libstdcxx-verbose --with-gmp=/builds/idf/crosstool-NG/.build/HOST-x86_64-w64-mingw32/riscv32-esp-elf/buildtools/complibs-host --with-mpfr=/builds/idf/crosstool-NG/.build/HOST-x86_64-w64-mingw32/riscv32-esp-elf/buildtools/complibs-host --with-mpc=/builds/idf/crosstool-NG/.build/HOST-x86_64-w64-mingw32/riscv32-esp-elf/buildtools/complibs-host --with-isl=/builds/idf/crosstool-NG/.build/HOST-x86_64-w64-mingw32/riscv32-esp-elf/buildtools/complibs-host --enable-lto --enable-target-optspace --without-long-double-128 --disable-nls --enable-multiarch --enable-languages=c,c++ --disable-libstdcxx-verbose --enable-threads=posix --enable-gcov-custom-rtio --enable-libstdcxx-time=yes --with-gnu-ld
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 13.2.0 (crosstool-NG esp-13.2.0_20240530)
COLLECT_GCC_OPTIONS='-o' '.pio/build/esp32-c6-devkitm-1/main/lp_core_gpio_example_main.c.o' '-c' '-Og' '-Werror=all' '-Wno-error=deprecated-declarations' '-Wno-error=unused-but-set-variable' '-Wno-error=unused-function' '-Wno-error=unused-variable' '-fmacro-prefix-map=C:/.platformio/packages/framework-espidf=/IDF' '-fmacro-prefix-map=C:/GIT/espidf/gpio_platformio=.' '-gdwarf-4' '-ggdb' '-nostartfiles' '-std=gnu17' '-v' '-march=rv32imac_zicsr_zifencei' '-ffunction-sections' '-fdata-sections' '-Wall' '-Werror=all' '-Wno-error=unused-function' '-Wno-error=unused-variable' '-Wno-error=unused-but-set-variable' '-Wno-error=deprecated-declarations' '-Wextra' '-Wno-unused-parameter' '-Wno-sign-compare' '-Wno-enum-conversion' '-gdwarf-4' '-ggdb' '-nostartfiles' '-Og' '-fno-shrink-wrap' '-fmacro-prefix-map=C:/GIT/espidf/gpio_platformio=.' '-fmacro-prefix-map=C:/.platformio/packages/framework-espidf=/IDF' '-fstrict-volatile-bitfields' '-fno-jump-tables' '-fno-tree-switch-conversion' '-Wno-old-style-declaration' '-D' '_POSIX_READER_WRITER_LOCKS' '-D' '_GNU_SOURCE' '-D' '_GLIBCXX_USE_POSIX_SEMAPHORE' '-D' '_GLIBCXX_HAVE_POSIX_SEMAPHORE' '-D' 'SOC_XTAL_FREQ_MHZ=CONFIG_XTAL_FREQ' '-D' 'SOC_MMU_PAGE_SIZE=CONFIG_MMU_PAGE_SIZE' '-D' 'IDF_VER="5.3.1"' '-D' 'ESP_PLATFORM' '-D' 'PLATFORMIO=60116' '-I' 'C:/.platformio/packages/framework-espidf/components/riscv/include' '-I' '.pio/build/esp32-c6-devkitm-1/config' '-I' 'C:/.platformio/packages/framework-espidf/components/newlib/platform_include' '-I' 'C:/.platformio/packages/framework-espidf/components/freertos/config/include' '-I' 'C:/.platformio/packages/framework-espidf/components/freertos/config/include/freertos' '-I' 'C:/.platformio/packages/framework-espidf/components/freertos/config/riscv/include' '-I' 'C:/.platformio/packages/framework-espidf/components/freertos/FreeRTOS-Kernel/include' '-I' 'C:/.platformio/packages/framework-espidf/components/freertos/FreeRTOS-Kernel/portable/riscv/include' '-I' 'C:/.platformio/packages/framework-espidf/components/freertos/FreeRTOS-Kernel/portable/riscv/include/freertos' '-I' 'C:/.platformio/packages/framework-espidf/components/freertos/esp_additions/include' '-I' 'C:/.platformio/packages/framework-espidf/components/esp_hw_support/include' '-I' 'C:/.platformio/packages/framework-espidf/components/esp_hw_support/include/soc' '-I' 'C:/.platformio/packages/framework-espidf/components/esp_hw_support/include/soc/esp32c6' '-I' 'C:/.platformio/packages/framework-espidf/components/esp_hw_support/dma/include' '-I' 'C:/.platformio/packages/framework-espidf/components/esp_hw_support/ldo/include' '-I' 'C:/.platformio/packages/framework-espidf/components/esp_hw_support/port/esp32c6' '-I' 'C:/.platformio/packages/framework-espidf/components/esp_hw_support/port/esp32c6/include' '-I' 'C:/.platformio/packages/framework-espidf/components/esp_hw_support/port/esp32c6/private_include' '-I' 'C:/.platformio/packages/framework-espidf/components/heap/include' '-I' 'C:/.platformio/packages/framework-espidf/components/log/include' '-I' 'C:/.platformio/packages/framework-espidf/components/soc/include' '-I' 'C:/.platformio/packages/framework-espidf/components/soc/esp32c6' '-I' 'C:/.platformio/packages/framework-espidf/components/soc/esp32c6/include' '-I' 'C:/.platformio/packages/framework-espidf/components/hal/platform_port/include' '-I' 'C:/.platformio/packages/framework-espidf/components/hal/esp32c6/include' '-I' 'C:/.platformio/packages/framework-espidf/components/hal/include' '-I' 'C:/.platformio/packages/framework-espidf/components/esp_rom/include' '-I' 'C:/.platformio/packages/framework-espidf/components/esp_rom/include/esp32c6' '-I' 'C:/.platformio/packages/framework-espidf/components/esp_rom/esp32c6' '-I' 'C:/.platformio/packages/framework-espidf/components/esp_common/include' '-I' 'C:/.platformio/packages/framework-espidf/components/esp_system/include' '-I' 'C:/.platformio/packages/framework-espidf/components/esp_system/port/soc' '-I' 'C:/.platformio/packages/framework-espidf/components/esp_system/port/include/riscv' '-I' 'C:/.platformio/packages/framework-espidf/components/esp_system/port/include/private' '-I' 'C:/.platformio/packages/framework-espidf/components/lwip/include' '-I' 'C:/.platformio/packages/framework-espidf/components/lwip/include/apps' '-I' 'C:/.platformio/packages/framework-espidf/components/lwip/include/apps/sntp' '-I' 'C:/.platformio/packages/framework-espidf/components/lwip/lwip/src/include' '-I' 'C:/.platformio/packages/framework-espidf/components/lwip/port/include' '-I' 'C:/.platformio/packages/framework-espidf/components/lwip/port/freertos/include' '-I' 'C:/.platformio/packages/framework-espidf/components/lwip/port/esp32xx/include' '-I' 'C:/.platformio/packages/framework-espidf/components/lwip/port/esp32xx/include/arch' '-I' 'C:/.platformio/packages/framework-espidf/components/lwip/port/esp32xx/include/sys' '-I' 'C:/.platformio/packages/framework-espidf/components/esp_driver_gpio/include' '-I' 'C:/.platformio/packages/framework-espidf/components/esp_timer/include' '-I' 'C:/.platformio/packages/framework-espidf/components/esp_pm/include' '-I' 'C:/.platformio/packages/framework-espidf/components/mbedtls/port/include' '-I' 'C:/.platformio/packages/framework-espidf/components/mbedtls/mbedtls/include' '-I' 'C:/.platformio/packages/framework-espidf/components/mbedtls/mbedtls/library' '-I' 'C:/.platformio/packages/framework-espidf/components/mbedtls/esp_crt_bundle/include' '-I' 'C:/.platformio/packages/framework-espidf/components/mbedtls/mbedtls/3rdparty/everest/include' '-I' 'C:/.platformio/packages/framework-espidf/components/mbedtls/mbedtls/3rdparty/p256-m' '-I' 'C:/.platformio/packages/framework-espidf/components/mbedtls/mbedtls/3rdparty/p256-m/p256-m' '-I' 'C:/.platformio/packages/framework-espidf/components/esp_app_format/include' '-I' 'C:/.platformio/packages/framework-espidf/components/esp_bootloader_format/include' '-I' 'C:/.platformio/packages/framework-espidf/components/app_update/include' '-I' 'C:/.platformio/packages/framework-espidf/components/bootloader_support/include' '-I' 'C:/.platformio/packages/framework-espidf/components/bootloader_support/bootloader_flash/include' '-I' 'C:/.platformio/packages/framework-espidf/components/esp_partition/include' '-I' 'C:/.platformio/packages/framework-espidf/components/efuse/include' '-I' 'C:/.platformio/packages/framework-espidf/components/efuse/esp32c6/include' '-I' 'C:/.platformio/packages/framework-espidf/components/esp_mm/include' '-I' 'C:/.platformio/packages/framework-espidf/components/spi_flash/include' '-I' 'C:/.platformio/packages/framework-espidf/components/pthread/include' '-I' 'C:/.platformio/packages/framework-espidf/components/esp_driver_gptimer/include' '-I' 'C:/.platformio/packages/framework-espidf/components/esp_ringbuf/include' '-I' 'C:/.platformio/packages/framework-espidf/components/esp_driver_uart/include' '-I' 'C:/.platformio/packages/framework-espidf/components/vfs/include' '-I' 'C:/.platformio/packages/framework-espidf/components/app_trace/include' '-I' 'C:/.platformio/packages/framework-espidf/components/esp_event/include' '-I' 'C:/.platformio/packages/framework-espidf/components/nvs_flash/include' '-I' 'C:/.platformio/packages/framework-espidf/components/esp_driver_pcnt/include' '-I' 'C:/.platformio/packages/framework-espidf/components/esp_driver_spi/include' '-I' 'C:/.platformio/packages/framework-espidf/components/esp_driver_mcpwm/include' '-I' 'C:/.platformio/packages/framework-espidf/components/esp_driver_ana_cmpr/include' '-I' 'C:/.platformio/packages/framework-espidf/components/esp_driver_i2s/include' '-I' 'C:/.platformio/packages/framework-espidf/components/sdmmc/include' '-I' 'C:/.platformio/packages/framework-espidf/components/esp_driver_sdmmc/include' '-I' 'C:/.platformio/packages/framework-espidf/components/esp_driver_sdspi/include' '-I' 'C:/.platformio/packages/framework-espidf/components/esp_driver_sdio/include' '-I' 'C:/.platformio/packages/framework-espidf/components/esp_driver_dac/include' '-I' 'C:/.platformio/packages/framework-espidf/components/esp_driver_rmt/include' '-I' 'C:/.platformio/packages/framework-espidf/components/esp_driver_tsens/include' '-I' 'C:/.platformio/packages/framework-espidf/components/esp_driver_sdm/include' '-I' 'C:/.platformio/packages/framework-espidf/components/esp_driver_i2c/include' '-I' 'C:/.platformio/packages/framework-espidf/components/esp_driver_ledc/include' '-I' 'C:/.platformio/packages/framework-espidf/components/esp_driver_parlio/include' '-I' 'C:/.platformio/packages/framework-espidf/components/esp_driver_usb_serial_jtag/include' '-I' 'C:/.platformio/packages/framework-espidf/components/driver/deprecated' '-I' 'C:/.platformio/packages/framework-espidf/components/driver/i2c/include' '-I' 'C:/.platformio/packages/framework-espidf/components/driver/touch_sensor/include' '-I' 'C:/.platformio/packages/framework-espidf/components/driver/twai/include' '-I' 'C:/.platformio/packages/framework-espidf/components/esp_phy/include' '-I' 'C:/.platformio/packages/framework-espidf/components/esp_phy/esp32c6/include' '-I' 'C:/.platformio/packages/framework-espidf/components/esp_vfs_console/include' '-I' 'C:/.platformio/packages/framework-espidf/components/esp_netif/include' '-I' 'C:/.platformio/packages/framework-espidf/components/wpa_supplicant/include' '-I' 'C:/.platformio/packages/framework-espidf/components/wpa_supplicant/port/include' '-I' 'C:/.platformio/packages/framework-espidf/components/wpa_supplicant/esp_supplicant/include' '-I' 'C:/.platformio/packages/framework-espidf/components/esp_coex/include' '-I' 'C:/.platformio/packages/framework-espidf/components/esp_wifi/include' '-I' 'C:/.platformio/packages/framework-espidf/components/esp_wifi/wifi_apps/include' '-I' 'C:/.platformio/packages/framework-espidf/components/esp_wifi/wifi_apps/nan_app/include' '-I' 'C:/.platformio/packages/framework-espidf/components/esp_wifi/include/local' '-I' 'C:/.platformio/packages/framework-espidf/components/unity/include' '-I' 'C:/.platformio/packages/framework-espidf/components/unity/unity/src' '-I' 'C:/.platformio/packages/framework-espidf/components/cmock/CMock/src' '-I' 'C:/.platformio/packages/framework-espidf/components/console' '-I' 'C:/.platformio/packages/framework-espidf/components/http_parser' '-I' 'C:/.platformio/packages/framework-espidf/components/esp-tls' '-I' 'C:/.platformio/packages/framework-espidf/components/esp-tls/esp-tls-crypto' '-I' 'C:/.platformio/packages/framework-espidf/components/esp_adc/include' '-I' 'C:/.platformio/packages/framework-espidf/components/esp_adc/interface' '-I' 'C:/.platformio/packages/framework-espidf/components/esp_adc/esp32c6/include' '-I' 'C:/.platformio/packages/framework-espidf/components/esp_adc/deprecated/include' '-I' 'C:/.platformio/packages/framework-espidf/components/esp_driver_isp/include' '-I' 'C:/.platformio/packages/framework-espidf/components/esp_driver_cam/include' '-I' 'C:/.platformio/packages/framework-espidf/components/esp_driver_cam/interface' '-I' 'C:/.platformio/packages/framework-espidf/components/esp_driver_jpeg/include' '-I' 'C:/.platformio/packages/framework-espidf/components/esp_driver_ppa/include' '-I' 'C:/.platformio/packages/framework-espidf/components/esp_eth/include' '-I' 'C:/.platformio/packages/framework-espidf/components/esp_gdbstub/include' '-I' 'C:/.platformio/packages/framework-espidf/components/esp_hid/include' '-I' 'C:/.platformio/packages/framework-espidf/components/tcp_transport/include' '-I' 'C:/.platformio/packages/framework-espidf/components/esp_http_client/include' '-I' 'C:/.platformio/packages/framework-espidf/components/esp_http_server/include' '-I' 'C:/.platformio/packages/framework-espidf/components/esp_https_ota/include' '-I' 'C:/.platformio/packages/framework-espidf/components/esp_https_server/include' '-I' 'C:/.platformio/packages/framework-espidf/components/esp_psram/include' '-I' 'C:/.platformio/packages/framework-espidf/components/esp_lcd/include' '-I' 'C:/.platformio/packages/framework-espidf/components/esp_lcd/interface' '-I' 'C:/.platformio/packages/framework-espidf/components/protobuf-c/protobuf-c' '-I' 'C:/.platformio/packages/framework-espidf/components/protocomm/include/common' '-I' 'C:/.platformio/packages/framework-espidf/components/protocomm/include/security' '-I' 'C:/.platformio/packages/framework-espidf/components/protocomm/include/transports' '-I' 'C:/.platformio/packages/framework-espidf/components/protocomm/include/crypto/srp6a' '-I' 'C:/.platformio/packages/framework-espidf/components/protocomm/proto-c' '-I' 'C:/.platformio/packages/framework-espidf/components/esp_local_ctrl/include' '-I' 'C:/.platformio/packages/framework-espidf/components/espcoredump/include' '-I' 'C:/.platformio/packages/framework-espidf/components/espcoredump/include/port/riscv' '-I' 'C:/.platformio/packages/framework-espidf/components/wear_levelling/include' '-I' 'C:/.platformio/packages/framework-espidf/components/fatfs/diskio' '-I' 'C:/.platformio/packages/framework-espidf/components/fatfs/src' '-I' 'C:/.platformio/packages/framework-espidf/components/fatfs/vfs' '-I' 'C:/.platformio/packages/framework-espidf/components/idf_test/include' '-I' 'C:/.platformio/packages/framework-espidf/components/idf_test/include/esp32c6' '-I' 'C:/.platformio/packages/framework-espidf/components/ieee802154/include' '-I' 'C:/.platformio/packages/framework-espidf/components/json/cJSON' '-I' 'C:/.platformio/packages/framework-espidf/components/mqtt/esp-mqtt/include' '-I' 'C:/.platformio/packages/framework-espidf/components/nvs_sec_provider/include' '-I' 'C:/.platformio/packages/framework-espidf/components/spiffs/include' '-I' 'C:/.platformio/packages/framework-espidf/components/ulp/ulp_common/include' '-I' 'C:/.platformio/packages/framework-espidf/components/ulp/lp_core/include' '-I' 'C:/.platformio/packages/framework-espidf/components/ulp/lp_core/shared/include' '-I' 'C:/.platformio/packages/framework-espidf/components/wifi_provisioning/include' '-I' 'include' '-I' 'main' '-I' '.' '-I' '.pio/build/esp32-c6-devkitm-1/esp-idf/main/ulp_main' '-mabi=ilp32' '-misa-spec=20191213' '-march=rv32imac_zicsr_zifencei' '-dumpdir' '.pio/build/esp32-c6-devkitm-1/main/'
 C:/.platformio/packages/toolchain-riscv32-esp/bin/../libexec/gcc/riscv32-esp-elf/13.2.0/cc1.exe -quiet -v @C:\Users\Peti\AppData\Local\Temp\ccSwuToq -imultilib rv32imac_zicsr_zifencei/ilp32 -iprefix C:/.platformio/packages/toolchain-riscv32-esp/bin/../lib/gcc/riscv32-esp-elf/13.2.0/ -isysroot C:/.platformio/packages/toolchain-riscv32-esp/bin/../riscv32-esp-elf -D _POSIX_READER_WRITER_LOCKS -D _GNU_SOURCE -D _GLIBCXX_USE_POSIX_SEMAPHORE -D _GLIBCXX_HAVE_POSIX_SEMAPHORE -D SOC_XTAL_FREQ_MHZ=CONFIG_XTAL_FREQ -D SOC_MMU_PAGE_SIZE=CONFIG_MMU_PAGE_SIZE -D IDF_VER="5.3.1" -D ESP_PLATFORM -D PLATFORMIO=60116 main/lp_core_gpio_example_main.c -quiet -dumpdir .pio/build/esp32-c6-devkitm-1/main/ -dumpbase lp_core_gpio_example_main.c.c -dumpbase-ext .c -march=rv32imac_zicsr_zifencei -mabi=ilp32 -misa-spec=20191213 -march=rv32imac_zicsr_zifencei -gdwarf-4 -ggdb -gdwarf-4 -ggdb -Og -Og -Werror=all -Wno-error=deprecated-declarations -Wno-error=unused-but-set-variable -Wno-error=unused-function -Wno-error=unused-variable -Wall -Werror=all -Wno-error=unused-function -Wno-error=unused-variable -Wno-error=unused-but-set-variable -Wno-error=deprecated-declarations -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-enum-conversion -Wno-old-style-declaration -std=gnu17 -version -fmacro-prefix-map=C:/.platformio/packages/framework-espidf=/IDF -fmacro-prefix-map=C:/GIT/espidf/gpio_platformio=. -ffunction-sections -fdata-sections -fno-shrink-wrap -fmacro-prefix-map=C:/GIT/espidf/gpio_platformio=. -fmacro-prefix-map=C:/.platformio/packages/framework-espidf=/IDF -fstrict-volatile-bitfields -fno-jump-tables -fno-tree-switch-conversion -o C:\Users\Peti\AppData\Local\Temp\ccQfI7yG.s
GNU C17 (crosstool-NG esp-13.2.0_20240530) version 13.2.0 (riscv32-esp-elf)
        compiled by GNU C version 6.3.0 20170516, GMP version 6.2.1, MPFR version 4.2.1, MPC version 1.2.1, isl version isl-0.26-GMP

GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
ignoring duplicate directory "C:/.platformio/packages/toolchain-riscv32-esp/lib/gcc/../../lib/gcc/riscv32-esp-elf/13.2.0/include"
ignoring nonexistent directory "C:/.platformio/packages/toolchain-riscv32-esp/bin/../riscv32-esp-elf/builds/idf/crosstool-NG/builds/riscv32-esp-elf/lib/gcc/riscv32-esp-elf/13.2.0/../../../../include"
ignoring duplicate directory "C:/.platformio/packages/toolchain-riscv32-esp/lib/gcc/../../lib/gcc/riscv32-esp-elf/13.2.0/include-fixed"
ignoring duplicate directory "C:/.platformio/packages/toolchain-riscv32-esp/lib/gcc/../../lib/gcc/riscv32-esp-elf/13.2.0/../../../../riscv32-esp-elf/include"
ignoring duplicate directory "C:/.platformio/packages/toolchain-riscv32-esp/bin/../riscv32-esp-elf/include"
ignoring nonexistent directory "include"
#include "..." search starts here:
#include <...> search starts here:
 C:/.platformio/packages/framework-espidf/components/riscv/include
 .pio/build/esp32-c6-devkitm-1/config
 C:/.platformio/packages/framework-espidf/components/newlib/platform_include
 C:/.platformio/packages/framework-espidf/components/freertos/config/include
 C:/.platformio/packages/framework-espidf/components/freertos/config/include/freertos
 C:/.platformio/packages/framework-espidf/components/freertos/config/riscv/include
 C:/.platformio/packages/framework-espidf/components/freertos/FreeRTOS-Kernel/include
 C:/.platformio/packages/framework-espidf/components/freertos/FreeRTOS-Kernel/portable/riscv/include
 C:/.platformio/packages/framework-espidf/components/freertos/FreeRTOS-Kernel/portable/riscv/include/freertos
 C:/.platformio/packages/framework-espidf/components/freertos/esp_additions/include
 C:/.platformio/packages/framework-espidf/components/esp_hw_support/include
 C:/.platformio/packages/framework-espidf/components/esp_hw_support/include/soc
 C:/.platformio/packages/framework-espidf/components/esp_hw_support/include/soc/esp32c6
 C:/.platformio/packages/framework-espidf/components/esp_hw_support/dma/include
 C:/.platformio/packages/framework-espidf/components/esp_hw_support/ldo/include
 C:/.platformio/packages/framework-espidf/components/esp_hw_support/port/esp32c6
 C:/.platformio/packages/framework-espidf/components/esp_hw_support/port/esp32c6/include
 C:/.platformio/packages/framework-espidf/components/esp_hw_support/port/esp32c6/private_include
 C:/.platformio/packages/framework-espidf/components/heap/include
 C:/.platformio/packages/framework-espidf/components/log/include
 C:/.platformio/packages/framework-espidf/components/soc/include
 C:/.platformio/packages/framework-espidf/components/soc/esp32c6
 C:/.platformio/packages/framework-espidf/components/soc/esp32c6/include
 C:/.platformio/packages/framework-espidf/components/hal/platform_port/include
 C:/.platformio/packages/framework-espidf/components/hal/esp32c6/include
 C:/.platformio/packages/framework-espidf/components/hal/include
 C:/.platformio/packages/framework-espidf/components/esp_rom/include
 C:/.platformio/packages/framework-espidf/components/esp_rom/include/esp32c6
 C:/.platformio/packages/framework-espidf/components/esp_rom/esp32c6
 C:/.platformio/packages/framework-espidf/components/esp_common/include
 C:/.platformio/packages/framework-espidf/components/esp_system/include
 C:/.platformio/packages/framework-espidf/components/esp_system/port/soc
 C:/.platformio/packages/framework-espidf/components/esp_system/port/include/riscv
 C:/.platformio/packages/framework-espidf/components/esp_system/port/include/private
 C:/.platformio/packages/framework-espidf/components/lwip/include
 C:/.platformio/packages/framework-espidf/components/lwip/include/apps
 C:/.platformio/packages/framework-espidf/components/lwip/include/apps/sntp
 C:/.platformio/packages/framework-espidf/components/lwip/lwip/src/include
 C:/.platformio/packages/framework-espidf/components/lwip/port/include
 C:/.platformio/packages/framework-espidf/components/lwip/port/freertos/include
 C:/.platformio/packages/framework-espidf/components/lwip/port/esp32xx/include
 C:/.platformio/packages/framework-espidf/components/lwip/port/esp32xx/include/arch
 C:/.platformio/packages/framework-espidf/components/lwip/port/esp32xx/include/sys
 C:/.platformio/packages/framework-espidf/components/esp_driver_gpio/include
 C:/.platformio/packages/framework-espidf/components/esp_timer/include
 C:/.platformio/packages/framework-espidf/components/esp_pm/include
 C:/.platformio/packages/framework-espidf/components/mbedtls/port/include
 C:/.platformio/packages/framework-espidf/components/mbedtls/mbedtls/include
 C:/.platformio/packages/framework-espidf/components/mbedtls/mbedtls/library
 C:/.platformio/packages/framework-espidf/components/mbedtls/esp_crt_bundle/include
 C:/.platformio/packages/framework-espidf/components/mbedtls/mbedtls/3rdparty/everest/include
 C:/.platformio/packages/framework-espidf/components/mbedtls/mbedtls/3rdparty/p256-m
 C:/.platformio/packages/framework-espidf/components/mbedtls/mbedtls/3rdparty/p256-m/p256-m
 C:/.platformio/packages/framework-espidf/components/esp_app_format/include
 C:/.platformio/packages/framework-espidf/components/esp_bootloader_format/include
 C:/.platformio/packages/framework-espidf/components/app_update/include
 C:/.platformio/packages/framework-espidf/components/bootloader_support/include
 C:/.platformio/packages/framework-espidf/components/bootloader_support/bootloader_flash/include
 C:/.platformio/packages/framework-espidf/components/esp_partition/include
 C:/.platformio/packages/framework-espidf/components/efuse/include
 C:/.platformio/packages/framework-espidf/components/efuse/esp32c6/include
 C:/.platformio/packages/framework-espidf/components/esp_mm/include
 C:/.platformio/packages/framework-espidf/components/spi_flash/include
 C:/.platformio/packages/framework-espidf/components/pthread/include
 C:/.platformio/packages/framework-espidf/components/esp_driver_gptimer/include
 C:/.platformio/packages/framework-espidf/components/esp_ringbuf/include
 C:/.platformio/packages/framework-espidf/components/esp_driver_uart/include
 C:/.platformio/packages/framework-espidf/components/vfs/include
 C:/.platformio/packages/framework-espidf/components/app_trace/include
 C:/.platformio/packages/framework-espidf/components/esp_event/include
 C:/.platformio/packages/framework-espidf/components/nvs_flash/include
 C:/.platformio/packages/framework-espidf/components/esp_driver_pcnt/include
 C:/.platformio/packages/framework-espidf/components/esp_driver_spi/include
 C:/.platformio/packages/framework-espidf/components/esp_driver_mcpwm/include
 C:/.platformio/packages/framework-espidf/components/esp_driver_ana_cmpr/include
 C:/.platformio/packages/framework-espidf/components/esp_driver_i2s/include
 C:/.platformio/packages/framework-espidf/components/sdmmc/include
 C:/.platformio/packages/framework-espidf/components/esp_driver_sdmmc/include
 C:/.platformio/packages/framework-espidf/components/esp_driver_sdspi/include
 C:/.platformio/packages/framework-espidf/components/esp_driver_sdio/include
 C:/.platformio/packages/framework-espidf/components/esp_driver_dac/include
 C:/.platformio/packages/framework-espidf/components/esp_driver_rmt/include
 C:/.platformio/packages/framework-espidf/components/esp_driver_tsens/include
 C:/.platformio/packages/framework-espidf/components/esp_driver_sdm/include
 C:/.platformio/packages/framework-espidf/components/esp_driver_i2c/include
 C:/.platformio/packages/framework-espidf/components/esp_driver_ledc/include
 C:/.platformio/packages/framework-espidf/components/esp_driver_parlio/include
 C:/.platformio/packages/framework-espidf/components/esp_driver_usb_serial_jtag/include
 C:/.platformio/packages/framework-espidf/components/driver/deprecated
 C:/.platformio/packages/framework-espidf/components/driver/i2c/include
 C:/.platformio/packages/framework-espidf/components/driver/touch_sensor/include
 C:/.platformio/packages/framework-espidf/components/driver/twai/include
 C:/.platformio/packages/framework-espidf/components/esp_phy/include
 C:/.platformio/packages/framework-espidf/components/esp_phy/esp32c6/include
 C:/.platformio/packages/framework-espidf/components/esp_vfs_console/include
 C:/.platformio/packages/framework-espidf/components/esp_netif/include
 C:/.platformio/packages/framework-espidf/components/wpa_supplicant/include
 C:/.platformio/packages/framework-espidf/components/wpa_supplicant/port/include
 C:/.platformio/packages/framework-espidf/components/wpa_supplicant/esp_supplicant/include
 C:/.platformio/packages/framework-espidf/components/esp_coex/include
 C:/.platformio/packages/framework-espidf/components/esp_wifi/include
 C:/.platformio/packages/framework-espidf/components/esp_wifi/wifi_apps/include
 C:/.platformio/packages/framework-espidf/components/esp_wifi/wifi_apps/nan_app/include
 C:/.platformio/packages/framework-espidf/components/esp_wifi/include/local
 C:/.platformio/packages/framework-espidf/components/unity/include
 C:/.platformio/packages/framework-espidf/components/unity/unity/src
 C:/.platformio/packages/framework-espidf/components/cmock/CMock/src
 C:/.platformio/packages/framework-espidf/components/console
 C:/.platformio/packages/framework-espidf/components/http_parser
 C:/.platformio/packages/framework-espidf/components/esp-tls
 C:/.platformio/packages/framework-espidf/components/esp-tls/esp-tls-crypto
 C:/.platformio/packages/framework-espidf/components/esp_adc/include
 C:/.platformio/packages/framework-espidf/components/esp_adc/interface
 C:/.platformio/packages/framework-espidf/components/esp_adc/esp32c6/include
 C:/.platformio/packages/framework-espidf/components/esp_adc/deprecated/include
 C:/.platformio/packages/framework-espidf/components/esp_driver_isp/include
 C:/.platformio/packages/framework-espidf/components/esp_driver_cam/include
 C:/.platformio/packages/framework-espidf/components/esp_driver_cam/interface
 C:/.platformio/packages/framework-espidf/components/esp_driver_jpeg/include
 C:/.platformio/packages/framework-espidf/components/esp_driver_ppa/include
 C:/.platformio/packages/framework-espidf/components/esp_eth/include
 C:/.platformio/packages/framework-espidf/components/esp_gdbstub/include
 C:/.platformio/packages/framework-espidf/components/esp_hid/include
 C:/.platformio/packages/framework-espidf/components/tcp_transport/include
 C:/.platformio/packages/framework-espidf/components/esp_http_client/include
 C:/.platformio/packages/framework-espidf/components/esp_http_server/include
 C:/.platformio/packages/framework-espidf/components/esp_https_ota/include
 C:/.platformio/packages/framework-espidf/components/esp_https_server/include
 C:/.platformio/packages/framework-espidf/components/esp_psram/include
 C:/.platformio/packages/framework-espidf/components/esp_lcd/include
 C:/.platformio/packages/framework-espidf/components/esp_lcd/interface
 C:/.platformio/packages/framework-espidf/components/protobuf-c/protobuf-c
 C:/.platformio/packages/framework-espidf/components/protocomm/include/common
 C:/.platformio/packages/framework-espidf/components/protocomm/include/security
 C:/.platformio/packages/framework-espidf/components/protocomm/include/transports
 C:/.platformio/packages/framework-espidf/components/protocomm/include/crypto/srp6a
 C:/.platformio/packages/framework-espidf/components/protocomm/proto-c
 C:/.platformio/packages/framework-espidf/components/esp_local_ctrl/include
 C:/.platformio/packages/framework-espidf/components/espcoredump/include
 C:/.platformio/packages/framework-espidf/components/espcoredump/include/port/riscv
 C:/.platformio/packages/framework-espidf/components/wear_levelling/include
 C:/.platformio/packages/framework-espidf/components/fatfs/diskio
 C:/.platformio/packages/framework-espidf/components/fatfs/src
 C:/.platformio/packages/framework-espidf/components/fatfs/vfs
 C:/.platformio/packages/framework-espidf/components/idf_test/include
 C:/.platformio/packages/framework-espidf/components/idf_test/include/esp32c6
 C:/.platformio/packages/framework-espidf/components/ieee802154/include
 C:/.platformio/packages/framework-espidf/components/json/cJSON
 C:/.platformio/packages/framework-espidf/components/mqtt/esp-mqtt/include
 C:/.platformio/packages/framework-espidf/components/nvs_sec_provider/include
 C:/.platformio/packages/framework-espidf/components/spiffs/include
 C:/.platformio/packages/framework-espidf/components/ulp/ulp_common/include
 C:/.platformio/packages/framework-espidf/components/ulp/lp_core/include
 C:/.platformio/packages/framework-espidf/components/ulp/lp_core/shared/include
 C:/.platformio/packages/framework-espidf/components/wifi_provisioning/include
 main
 .
 .pio/build/esp32-c6-devkitm-1/esp-idf/main/ulp_main
 C:/.platformio/packages/toolchain-riscv32-esp/bin/../lib/gcc/riscv32-esp-elf/13.2.0/include
 C:/.platformio/packages/toolchain-riscv32-esp/bin/../lib/gcc/riscv32-esp-elf/13.2.0/include-fixed
 C:/.platformio/packages/toolchain-riscv32-esp/bin/../lib/gcc/riscv32-esp-elf/13.2.0/../../../../riscv32-esp-elf/include
End of search list.
Compiler executable checksum: 14ee240e1ec1d8c9d8c826325e8e087c
main/lp_core_gpio_example_main.c:20:10: fatal error: ulp_main.h: No such file or directory

******************************************************************
* Looking for ulp_main.h dependency? Check our library registry!
*
* CLI  > platformio lib search "header:ulp_main.h"
* Web  > https://registry.platformio.org/search?q=header:ulp_main.h
*
******************************************************************

   20 | #include "ulp_main.h"
      |          ^~~~~~~~~~~~
compilation terminated.
*** [.pio\build\esp32-c6-devkitm-1\main\lp_core_gpio_example_main.c.o] Error 1
=========================================================================== [FAILED] Took 3.43 seconds ===========================================================================

 *  The terminal process "C:\.platformio\penv\Scripts\platformio.exe 'run'" terminated with exit code: 1. 
 *  Terminal will be reused by tasks, press any key to close it. 
@Jason2866
Copy link
Contributor

@morcibacsi You have to use my branch https://github.com/Jason2866/platform-espressif32/tree/Arduino/IDF53 for support of all LP cores

@morcibacsi
Copy link
Author

morcibacsi commented Dec 7, 2024

Thanks for the quick reply. Unfortunately after updating platformio.ini to point your branch, I still have the same error.

[platformio]
core_dir = C:\.platformio
src_dir = main

[env:esp32-c6-devkitm-1]
platform = https://github.com/Jason2866/platform-espressif32.git#Arduino/IDF53
board = esp32-c6-devkitm-1
framework = espidf
upload_port = COM29
build_flags = -v
Full log
 *  Executing task: C:\.platformio\penv\Scripts\platformio.exe run 

Processing esp32-c6-devkitm-1 (platform: https://github.com/Jason2866/platform-espressif32.git#Arduino/IDF53; board: esp32-c6-devkitm-1; framework: espidf)
------------------------------------------------------------------------------------------------------------------------------------------------------
Verbose mode can be enabled via `-v, --verbose` option
CONFIGURATION: https://docs.platformio.org/page/boards/espressif32/esp32-c6-devkitm-1.html
PLATFORM: Espressif 32 (2024.11.31+sha.b66496e) > Espressif ESP32-C6-DevKitM-1
HARDWARE: ESP32C6 160MHz, 320KB RAM, 4MB 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.50302.0 (5.3.2) 
 - tool-cmake @ 3.21.3 
 - tool-esptoolpy @ 4.8.3 
 - tool-mklittlefs @ 3.2.0
 - tool-ninja @ 1.9.0
 - tool-riscv32-esp-elf-gdb @ 14.2.0+20240403
 - tool-scons @ 4.40801.0 (4.8.1)
 - tool-xtensa-esp-elf-gdb @ 14.2.0+20240403
 - toolchain-riscv32-esp @ 13.2.0+20240530
Reading CMake configuration...
Generating assembly for certificate bundle...
Warning! Flash memory size mismatch detected. Expected 4MB, found 2MB!
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
Compiling .pio\build\esp32-c6-devkitm-1\main\lp_core_gpio_example_main.c.o
*** [.pio\build\esp32-c6-devkitm-1\.pio\build\esp32-c6-devkitm-1\ulp_main.bin.S.o] Source `.pio\build\esp32-c6-devkitm-1\ulp_main.bin.S' not found, needed by target `.pio\build\esp32-c6-devkitm-1\.pio\build\esp32-c6-devkitm-1\ulp_main.bin.S.o'.
Using built-in specs.
COLLECT_GCC=riscv32-esp-elf-gcc
Target: riscv32-esp-elf
Configured with: /builds/idf/crosstool-NG/.build/HOST-x86_64-w64-mingw32/riscv32-esp-elf/src/gcc/configure --build=x86_64-build_pc-linux-gnu --host=x86_64-host_w64-mingw32 --target=riscv32-esp-elf --prefix=/builds/idf/crosstool-NG/builds/riscv32-esp-elf --exec_prefix=/builds/idf/crosstool-NG/builds/riscv32-esp-elf --with-local-prefix=/builds/idf/crosstool-NG/builds/riscv32-esp-elf/riscv32-esp-elf --with-sysroot=/builds/idf/crosstool-NG/builds/riscv32-esp-elf/riscv32-esp-elf --with-native-system-header-dir=/include --with-newlib --enable-threads=no --disable-shared --with-arch=rv32gc --with-abi=ilp32 --with-pkgversion='crosstool-NG esp-13.2.0_20240530' --disable-__cxa_atexit --enable-cxx-flags=-ffunction-sections --disable-libgomp --disable-libmudflap --disable-libmpx --disable-libssp --disable-libquadmath --disable-libquadmath-support --disable-libstdcxx-verbose --with-gmp=/builds/idf/crosstool-NG/.build/HOST-x86_64-w64-mingw32/riscv32-esp-elf/buildtools/complibs-host --with-mpfr=/builds/idf/crosstool-NG/.build/HOST-x86_64-w64-mingw32/riscv32-esp-elf/buildtools/complibs-host --with-mpc=/builds/idf/crosstool-NG/.build/HOST-x86_64-w64-mingw32/riscv32-esp-elf/buildtools/complibs-host --with-isl=/builds/idf/crosstool-NG/.build/HOST-x86_64-w64-mingw32/riscv32-esp-elf/buildtools/complibs-host --enable-lto --enable-target-optspace --without-long-double-128 --disable-nls --enable-multiarch --enable-languages=c,c++ --disable-libstdcxx-verbose --enable-threads=posix --enable-gcov-custom-rtio --enable-libstdcxx-time=yes --with-gnu-ld
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 13.2.0 (crosstool-NG esp-13.2.0_20240530)
COLLECT_GCC_OPTIONS='-o' '.pio/build/esp32-c6-devkitm-1/main/lp_core_gpio_example_main.c.o' '-c' '-Og' '-Wno-error=deprecated-declarations' '-Wno-error=unused-but-set-variable' '-Wno-error=unused-function' '-Wno-error=unused-variable' '-fmacro-prefix-map=C:/.platformio/packages/framework-espidf=/IDF' '-fmacro-prefix-map=C:/GIT/espidf/gpio_platformio=.' '-gdwarf-4' '-ggdb' '-nostartfiles' '-std=gnu17' '-v' '-march=rv32imac_zicsr_zifencei' '-ffunction-sections' '-fdata-sections' '-Wno-error=unused-function' '-Wno-error=unused-variable' '-Wno-error=unused-but-set-variable' '-Wno-error=deprecated-declarations' '-Wno-unused-parameter' '-Wno-sign-compare' '-Wno-enum-conversion' '-gdwarf-4' '-ggdb' '-nostartfiles' '-Og' '-fno-shrink-wrap' '-fmacro-prefix-map=C:/GIT/espidf/gpio_platformio=.' '-fmacro-prefix-map=C:/.platformio/packages/framework-espidf=/IDF' '-fno-lto' '-fstrict-volatile-bitfields' '-fno-jump-tables' '-fno-tree-switch-conversion' '-Wno-old-style-declaration' '-D' '_POSIX_READER_WRITER_LOCKS' '-D' '_GNU_SOURCE' '-D' '_GLIBCXX_USE_POSIX_SEMAPHORE' '-D' '_GLIBCXX_HAVE_POSIX_SEMAPHORE' '-D' 'SOC_XTAL_FREQ_MHZ=CONFIG_XTAL_FREQ' '-D' 'SOC_MMU_PAGE_SIZE=CONFIG_MMU_PAGE_SIZE' '-D' 'IDF_VER="5.3.2"' '-D' 'ESP_PLATFORM' '-D' 'PLATFORMIO=60116' '-I' 'C:/.platformio/packages/framework-espidf/components/riscv/include' '-I' '.pio/build/esp32-c6-devkitm-1/config' '-I' 'C:/.platformio/packages/framework-espidf/components/newlib/platform_include' '-I' 'C:/.platformio/packages/framework-espidf/components/freertos/config/include' '-I' 'C:/.platformio/packages/framework-espidf/components/freertos/config/include/freertos' '-I' 'C:/.platformio/packages/framework-espidf/components/freertos/config/riscv/include' '-I' 'C:/.platformio/packages/framework-espidf/components/freertos/FreeRTOS-Kernel/include' '-I' 'C:/.platformio/packages/framework-espidf/components/freertos/FreeRTOS-Kernel/portable/riscv/include' '-I' 'C:/.platformio/packages/framework-espidf/components/freertos/FreeRTOS-Kernel/portable/riscv/include/freertos' '-I' 'C:/.platformio/packages/framework-espidf/components/freertos/esp_additions/include' '-I' 'C:/.platformio/packages/framework-espidf/components/esp_hw_support/include' '-I' 'C:/.platformio/packages/framework-espidf/components/esp_hw_support/include/soc' '-I' 'C:/.platformio/packages/framework-espidf/components/esp_hw_support/include/soc/esp32c6' '-I' 'C:/.platformio/packages/framework-espidf/components/esp_hw_support/dma/include' '-I' 'C:/.platformio/packages/framework-espidf/components/esp_hw_support/ldo/include' '-I' 'C:/.platformio/packages/framework-espidf/components/esp_hw_support/port/esp32c6' '-I' 'C:/.platformio/packages/framework-espidf/components/esp_hw_support/port/esp32c6/include' '-I' 'C:/.platformio/packages/framework-espidf/components/esp_hw_support/port/esp32c6/private_include' '-I' 'C:/.platformio/packages/framework-espidf/components/heap/include' '-I' 'C:/.platformio/packages/framework-espidf/components/log/include' '-I' 'C:/.platformio/packages/framework-espidf/components/soc/include' '-I' 'C:/.platformio/packages/framework-espidf/components/soc/esp32c6' '-I' 'C:/.platformio/packages/framework-espidf/components/soc/esp32c6/include' '-I' 'C:/.platformio/packages/framework-espidf/components/hal/platform_port/include' '-I' 'C:/.platformio/packages/framework-espidf/components/hal/esp32c6/include' '-I' 'C:/.platformio/packages/framework-espidf/components/hal/include' '-I' 'C:/.platformio/packages/framework-espidf/components/esp_rom/include' '-I' 'C:/.platformio/packages/framework-espidf/components/esp_rom/include/esp32c6' '-I' 'C:/.platformio/packages/framework-espidf/components/esp_rom/esp32c6' '-I' 'C:/.platformio/packages/framework-espidf/components/esp_common/include' '-I' 'C:/.platformio/packages/framework-espidf/components/esp_system/include' '-I' 'C:/.platformio/packages/framework-espidf/components/esp_system/port/soc' '-I' 'C:/.platformio/packages/framework-espidf/components/esp_system/port/include/riscv' '-I' 'C:/.platformio/packages/framework-espidf/components/esp_system/port/include/private' '-I' 'C:/.platformio/packages/framework-espidf/components/lwip/include' '-I' 'C:/.platformio/packages/framework-espidf/components/lwip/include/apps' '-I' 'C:/.platformio/packages/framework-espidf/components/lwip/include/apps/sntp' '-I' 'C:/.platformio/packages/framework-espidf/components/lwip/lwip/src/include' '-I' 'C:/.platformio/packages/framework-espidf/components/lwip/port/include' '-I' 'C:/.platformio/packages/framework-espidf/components/lwip/port/freertos/include' '-I' 'C:/.platformio/packages/framework-espidf/components/lwip/port/esp32xx/include' '-I' 'C:/.platformio/packages/framework-espidf/components/lwip/port/esp32xx/include/arch' '-I' 'C:/.platformio/packages/framework-espidf/components/lwip/port/esp32xx/include/sys' '-I' 'C:/.platformio/packages/framework-espidf/components/esp_driver_gpio/include' '-I' 'C:/.platformio/packages/framework-espidf/components/esp_timer/include' '-I' 'C:/.platformio/packages/framework-espidf/components/esp_pm/include' '-I' 'C:/.platformio/packages/framework-espidf/components/mbedtls/port/include' '-I' 'C:/.platformio/packages/framework-espidf/components/mbedtls/mbedtls/include' '-I' 'C:/.platformio/packages/framework-espidf/components/mbedtls/mbedtls/library' '-I' 'C:/.platformio/packages/framework-espidf/components/mbedtls/esp_crt_bundle/include' '-I' 'C:/.platformio/packages/framework-espidf/components/mbedtls/mbedtls/3rdparty/everest/include' '-I' 'C:/.platformio/packages/framework-espidf/components/mbedtls/mbedtls/3rdparty/p256-m' '-I' 'C:/.platformio/packages/framework-espidf/components/mbedtls/mbedtls/3rdparty/p256-m/p256-m' '-I' 'C:/.platformio/packages/framework-espidf/components/esp_app_format/include' '-I' 'C:/.platformio/packages/framework-espidf/components/esp_bootloader_format/include' '-I' 'C:/.platformio/packages/framework-espidf/components/app_update/include' '-I' 'C:/.platformio/packages/framework-espidf/components/bootloader_support/include' '-I' 'C:/.platformio/packages/framework-espidf/components/bootloader_support/bootloader_flash/include' '-I' 'C:/.platformio/packages/framework-espidf/components/esp_partition/include' '-I' 'C:/.platformio/packages/framework-espidf/components/efuse/include' '-I' 'C:/.platformio/packages/framework-espidf/components/efuse/esp32c6/include' '-I' 'C:/.platformio/packages/framework-espidf/components/esp_mm/include' '-I' 'C:/.platformio/packages/framework-espidf/components/spi_flash/include' '-I' 'C:/.platformio/packages/framework-espidf/components/pthread/include' '-I' 'C:/.platformio/packages/framework-espidf/components/esp_driver_gptimer/include' '-I' 'C:/.platformio/packages/framework-espidf/components/esp_ringbuf/include' '-I' 'C:/.platformio/packages/framework-espidf/components/esp_driver_uart/include' '-I' 'C:/.platformio/packages/framework-espidf/components/vfs/include' '-I' 'C:/.platformio/packages/framework-espidf/components/app_trace/include' '-I' 'C:/.platformio/packages/framework-espidf/components/esp_event/include' '-I' 'C:/.platformio/packages/framework-espidf/components/nvs_flash/include' '-I' 'C:/.platformio/packages/framework-espidf/components/esp_driver_pcnt/include' '-I' 'C:/.platformio/packages/framework-espidf/components/esp_driver_spi/include' '-I' 'C:/.platformio/packages/framework-espidf/components/esp_driver_mcpwm/include' '-I' 'C:/.platformio/packages/framework-espidf/components/esp_driver_ana_cmpr/include' '-I' 'C:/.platformio/packages/framework-espidf/components/esp_driver_i2s/include' '-I' 'C:/.platformio/packages/framework-espidf/components/sdmmc/include' '-I' 'C:/.platformio/packages/framework-espidf/components/esp_driver_sdmmc/include' '-I' 'C:/.platformio/packages/framework-espidf/components/esp_driver_sdspi/include' '-I' 'C:/.platformio/packages/framework-espidf/components/esp_driver_sdio/include' '-I' 'C:/.platformio/packages/framework-espidf/components/esp_driver_dac/include' '-I' 'C:/.platformio/packages/framework-espidf/components/esp_driver_rmt/include' '-I' 'C:/.platformio/packages/framework-espidf/components/esp_driver_tsens/include' '-I' 'C:/.platformio/packages/framework-espidf/components/esp_driver_sdm/include' '-I' 'C:/.platformio/packages/framework-espidf/components/esp_driver_i2c/include' '-I' 'C:/.platformio/packages/framework-espidf/components/esp_driver_ledc/include' '-I' 'C:/.platformio/packages/framework-espidf/components/esp_driver_parlio/include' '-I' 'C:/.platformio/packages/framework-espidf/components/esp_driver_usb_serial_jtag/include' '-I' 'C:/.platformio/packages/framework-espidf/components/driver/deprecated' '-I' 'C:/.platformio/packages/framework-espidf/components/driver/i2c/include' '-I' 'C:/.platformio/packages/framework-espidf/components/driver/touch_sensor/include' '-I' 'C:/.platformio/packages/framework-espidf/components/driver/twai/include' '-I' 'C:/.platformio/packages/framework-espidf/components/esp_phy/include' '-I' 'C:/.platformio/packages/framework-espidf/components/esp_phy/esp32c6/include' '-I' 'C:/.platformio/packages/framework-espidf/components/esp_vfs_console/include' '-I' 'C:/.platformio/packages/framework-espidf/components/esp_netif/include' '-I' 'C:/.platformio/packages/framework-espidf/components/wpa_supplicant/include' '-I' 'C:/.platformio/packages/framework-espidf/components/wpa_supplicant/port/include' '-I' 'C:/.platformio/packages/framework-espidf/components/wpa_supplicant/esp_supplicant/include' '-I' 'C:/.platformio/packages/framework-espidf/components/esp_coex/include' '-I' 'C:/.platformio/packages/framework-espidf/components/esp_wifi/include' '-I' 'C:/.platformio/packages/framework-espidf/components/esp_wifi/wifi_apps/include' '-I' 'C:/.platformio/packages/framework-espidf/components/esp_wifi/wifi_apps/nan_app/include' '-I' 'C:/.platformio/packages/framework-espidf/components/esp_wifi/include/local' '-I' 'C:/.platformio/packages/framework-espidf/components/unity/include' '-I' 'C:/.platformio/packages/framework-espidf/components/unity/unity/src' '-I' 'C:/.platformio/packages/framework-espidf/components/cmock/CMock/src' '-I' 'C:/.platformio/packages/framework-espidf/components/console' '-I' 'C:/.platformio/packages/framework-espidf/components/http_parser' '-I' 'C:/.platformio/packages/framework-espidf/components/esp-tls' '-I' 'C:/.platformio/packages/framework-espidf/components/esp-tls/esp-tls-crypto' '-I' 'C:/.platformio/packages/framework-espidf/components/esp_adc/include' '-I' 'C:/.platformio/packages/framework-espidf/components/esp_adc/interface' '-I' 'C:/.platformio/packages/framework-espidf/components/esp_adc/esp32c6/include' '-I' 'C:/.platformio/packages/framework-espidf/components/esp_adc/deprecated/include' '-I' 'C:/.platformio/packages/framework-espidf/components/esp_driver_isp/include' '-I' 'C:/.platformio/packages/framework-espidf/components/esp_driver_cam/include' '-I' 'C:/.platformio/packages/framework-espidf/components/esp_driver_cam/interface' '-I' 'C:/.platformio/packages/framework-espidf/components/esp_driver_jpeg/include' '-I' 'C:/.platformio/packages/framework-espidf/components/esp_driver_ppa/include' '-I' 'C:/.platformio/packages/framework-espidf/components/esp_eth/include' '-I' 'C:/.platformio/packages/framework-espidf/components/esp_gdbstub/include' '-I' 'C:/.platformio/packages/framework-espidf/components/esp_hid/include' '-I' 'C:/.platformio/packages/framework-espidf/components/tcp_transport/include' '-I' 'C:/.platformio/packages/framework-espidf/components/esp_http_client/include' '-I' 'C:/.platformio/packages/framework-espidf/components/esp_http_server/include' '-I' 'C:/.platformio/packages/framework-espidf/components/esp_https_ota/include' '-I' 'C:/.platformio/packages/framework-espidf/components/esp_https_server/include' '-I' 'C:/.platformio/packages/framework-espidf/components/esp_psram/include' '-I' 'C:/.platformio/packages/framework-espidf/components/esp_lcd/include' '-I' 'C:/.platformio/packages/framework-espidf/components/esp_lcd/interface' '-I' 'C:/.platformio/packages/framework-espidf/components/protobuf-c/protobuf-c' '-I' 'C:/.platformio/packages/framework-espidf/components/protocomm/include/common' '-I' 'C:/.platformio/packages/framework-espidf/components/protocomm/include/security' '-I' 'C:/.platformio/packages/framework-espidf/components/protocomm/include/transports' '-I' 'C:/.platformio/packages/framework-espidf/components/protocomm/include/crypto/srp6a' '-I' 'C:/.platformio/packages/framework-espidf/components/protocomm/proto-c' '-I' 'C:/.platformio/packages/framework-espidf/components/esp_local_ctrl/include' '-I' 'C:/.platformio/packages/framework-espidf/components/espcoredump/include' '-I' 'C:/.platformio/packages/framework-espidf/components/espcoredump/include/port/riscv' '-I' 'C:/.platformio/packages/framework-espidf/components/wear_levelling/include' '-I' 'C:/.platformio/packages/framework-espidf/components/fatfs/diskio' '-I' 'C:/.platformio/packages/framework-espidf/components/fatfs/src' '-I' 'C:/.platformio/packages/framework-espidf/components/fatfs/vfs' '-I' 'C:/.platformio/packages/framework-espidf/components/idf_test/include' '-I' 'C:/.platformio/packages/framework-espidf/components/idf_test/include/esp32c6' '-I' 'C:/.platformio/packages/framework-espidf/components/ieee802154/include' '-I' 'C:/.platformio/packages/framework-espidf/components/json/cJSON' '-I' 'C:/.platformio/packages/framework-espidf/components/mqtt/esp-mqtt/include' '-I' 'C:/.platformio/packages/framework-espidf/components/nvs_sec_provider/include' '-I' 'C:/.platformio/packages/framework-espidf/components/ulp/ulp_common/include' '-I' 'C:/.platformio/packages/framework-espidf/components/ulp/lp_core/include' '-I' 'C:/.platformio/packages/framework-espidf/components/ulp/lp_core/shared/include' '-I' 'include' '-I' 'main' '-I' '.' '-I' '.pio/build/esp32-c6-devkitm-1/esp-idf/main/ulp_main' '-mabi=ilp32' '-misa-spec=20191213' '-march=rv32imac_zicsr_zifencei' '-dumpdir' '.pio/build/esp32-c6-devkitm-1/main/'
 C:/.platformio/packages/toolchain-riscv32-esp/bin/../libexec/gcc/riscv32-esp-elf/13.2.0/cc1.exe -quiet -v @C:\Users\Peti\AppData\Local\Temp\ccgFCSL5 -imultilib rv32imac_zicsr_zifencei/ilp32 -iprefix C:/.platformio/packages/toolchain-riscv32-esp/bin/../lib/gcc/riscv32-esp-elf/13.2.0/ -isysroot C:/.platformio/packages/toolchain-riscv32-esp/bin/../riscv32-esp-elf -D _POSIX_READER_WRITER_LOCKS -D _GNU_SOURCE -D _GLIBCXX_USE_POSIX_SEMAPHORE -D _GLIBCXX_HAVE_POSIX_SEMAPHORE -D SOC_XTAL_FREQ_MHZ=CONFIG_XTAL_FREQ -D SOC_MMU_PAGE_SIZE=CONFIG_MMU_PAGE_SIZE -D IDF_VER="5.3.2" -D ESP_PLATFORM -D PLATFORMIO=60116 main/lp_core_gpio_example_main.c -quiet -dumpdir .pio/build/esp32-c6-devkitm-1/main/ -dumpbase lp_core_gpio_example_main.c.c -dumpbase-ext .c -march=rv32imac_zicsr_zifencei -mabi=ilp32 -misa-spec=20191213 -march=rv32imac_zicsr_zifencei -gdwarf-4 -ggdb -gdwarf-4 -ggdb -Og -Og -Wno-error=deprecated-declarations -Wno-error=unused-but-set-variable -Wno-error=unused-function -Wno-error=unused-variable -Wno-error=unused-function -Wno-error=unused-variable -Wno-error=unused-but-set-variable -Wno-error=deprecated-declarations -Wno-unused-parameter -Wno-sign-compare -Wno-enum-conversion -Wno-old-style-declaration -std=gnu17 -version -fmacro-prefix-map=C:/.platformio/packages/framework-espidf=/IDF -fmacro-prefix-map=C:/GIT/espidf/gpio_platformio=. -ffunction-sections -fdata-sections -fno-shrink-wrap -fmacro-prefix-map=C:/GIT/espidf/gpio_platformio=. -fmacro-prefix-map=C:/.platformio/packages/framework-espidf=/IDF -fno-lto -fstrict-volatile-bitfields -fno-jump-tables -fno-tree-switch-conversion -o C:\Users\Peti\AppData\Local\Temp\ccO2Z5B1.s
GNU C17 (crosstool-NG esp-13.2.0_20240530) version 13.2.0 (riscv32-esp-elf)
        compiled by GNU C version 6.3.0 20170516, GMP version 6.2.1, MPFR version 4.2.1, MPC version 1.2.1, isl version isl-0.26-GMP

GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
ignoring duplicate directory "C:/.platformio/packages/toolchain-riscv32-esp/lib/gcc/../../lib/gcc/riscv32-esp-elf/13.2.0/include"
ignoring nonexistent directory "C:/.platformio/packages/toolchain-riscv32-esp/bin/../riscv32-esp-elf/builds/idf/crosstool-NG/builds/riscv32-esp-elf/lib/gcc/riscv32-esp-elf/13.2.0/../../../../include"
ignoring duplicate directory "C:/.platformio/packages/toolchain-riscv32-esp/lib/gcc/../../lib/gcc/riscv32-esp-elf/13.2.0/include-fixed"
ignoring duplicate directory "C:/.platformio/packages/toolchain-riscv32-esp/lib/gcc/../../lib/gcc/riscv32-esp-elf/13.2.0/../../../../riscv32-esp-elf/include"
ignoring duplicate directory "C:/.platformio/packages/toolchain-riscv32-esp/bin/../riscv32-esp-elf/include"
ignoring nonexistent directory "include"
#include "..." search starts here:
#include <...> search starts here:
 C:/.platformio/packages/framework-espidf/components/riscv/include
 .pio/build/esp32-c6-devkitm-1/config
 C:/.platformio/packages/framework-espidf/components/newlib/platform_include
 C:/.platformio/packages/framework-espidf/components/freertos/config/include
 C:/.platformio/packages/framework-espidf/components/freertos/config/include/freertos
 C:/.platformio/packages/framework-espidf/components/freertos/config/riscv/include
 C:/.platformio/packages/framework-espidf/components/freertos/FreeRTOS-Kernel/include
 C:/.platformio/packages/framework-espidf/components/freertos/FreeRTOS-Kernel/portable/riscv/include
 C:/.platformio/packages/framework-espidf/components/freertos/FreeRTOS-Kernel/portable/riscv/include/freertos
 C:/.platformio/packages/framework-espidf/components/freertos/esp_additions/include
 C:/.platformio/packages/framework-espidf/components/esp_hw_support/include
 C:/.platformio/packages/framework-espidf/components/esp_hw_support/include/soc
 C:/.platformio/packages/framework-espidf/components/esp_hw_support/include/soc/esp32c6
 C:/.platformio/packages/framework-espidf/components/esp_hw_support/dma/include
 C:/.platformio/packages/framework-espidf/components/esp_hw_support/ldo/include
 C:/.platformio/packages/framework-espidf/components/esp_hw_support/port/esp32c6
 C:/.platformio/packages/framework-espidf/components/esp_hw_support/port/esp32c6/include
 C:/.platformio/packages/framework-espidf/components/esp_hw_support/port/esp32c6/private_include
 C:/.platformio/packages/framework-espidf/components/heap/include
 C:/.platformio/packages/framework-espidf/components/log/include
 C:/.platformio/packages/framework-espidf/components/soc/include
 C:/.platformio/packages/framework-espidf/components/soc/esp32c6
 C:/.platformio/packages/framework-espidf/components/soc/esp32c6/include
 C:/.platformio/packages/framework-espidf/components/hal/platform_port/include
 C:/.platformio/packages/framework-espidf/components/hal/esp32c6/include
 C:/.platformio/packages/framework-espidf/components/hal/include
 C:/.platformio/packages/framework-espidf/components/esp_rom/include
 C:/.platformio/packages/framework-espidf/components/esp_rom/include/esp32c6
 C:/.platformio/packages/framework-espidf/components/esp_rom/esp32c6
 C:/.platformio/packages/framework-espidf/components/esp_common/include
 C:/.platformio/packages/framework-espidf/components/esp_system/include
 C:/.platformio/packages/framework-espidf/components/esp_system/port/soc
 C:/.platformio/packages/framework-espidf/components/esp_system/port/include/riscv
 C:/.platformio/packages/framework-espidf/components/esp_system/port/include/private
 C:/.platformio/packages/framework-espidf/components/lwip/include
 C:/.platformio/packages/framework-espidf/components/lwip/include/apps
 C:/.platformio/packages/framework-espidf/components/lwip/include/apps/sntp
 C:/.platformio/packages/framework-espidf/components/lwip/lwip/src/include
 C:/.platformio/packages/framework-espidf/components/lwip/port/include
 C:/.platformio/packages/framework-espidf/components/lwip/port/freertos/include
 C:/.platformio/packages/framework-espidf/components/lwip/port/esp32xx/include
 C:/.platformio/packages/framework-espidf/components/lwip/port/esp32xx/include/arch
 C:/.platformio/packages/framework-espidf/components/lwip/port/esp32xx/include/sys
 C:/.platformio/packages/framework-espidf/components/esp_driver_gpio/include
 C:/.platformio/packages/framework-espidf/components/esp_timer/include
 C:/.platformio/packages/framework-espidf/components/esp_pm/include
 C:/.platformio/packages/framework-espidf/components/mbedtls/port/include
 C:/.platformio/packages/framework-espidf/components/mbedtls/mbedtls/include
 C:/.platformio/packages/framework-espidf/components/mbedtls/mbedtls/library
 C:/.platformio/packages/framework-espidf/components/mbedtls/esp_crt_bundle/include
 C:/.platformio/packages/framework-espidf/components/mbedtls/mbedtls/3rdparty/everest/include
 C:/.platformio/packages/framework-espidf/components/mbedtls/mbedtls/3rdparty/p256-m
 C:/.platformio/packages/framework-espidf/components/mbedtls/mbedtls/3rdparty/p256-m/p256-m
 C:/.platformio/packages/framework-espidf/components/esp_app_format/include
 C:/.platformio/packages/framework-espidf/components/esp_bootloader_format/include
 C:/.platformio/packages/framework-espidf/components/app_update/include
 C:/.platformio/packages/framework-espidf/components/bootloader_support/include
 C:/.platformio/packages/framework-espidf/components/bootloader_support/bootloader_flash/include
 C:/.platformio/packages/framework-espidf/components/esp_partition/include
 C:/.platformio/packages/framework-espidf/components/efuse/include
 C:/.platformio/packages/framework-espidf/components/efuse/esp32c6/include
 C:/.platformio/packages/framework-espidf/components/esp_mm/include
 C:/.platformio/packages/framework-espidf/components/spi_flash/include
 C:/.platformio/packages/framework-espidf/components/pthread/include
 C:/.platformio/packages/framework-espidf/components/esp_driver_gptimer/include
 C:/.platformio/packages/framework-espidf/components/esp_ringbuf/include
 C:/.platformio/packages/framework-espidf/components/esp_driver_uart/include
 C:/.platformio/packages/framework-espidf/components/vfs/include
 C:/.platformio/packages/framework-espidf/components/app_trace/include
 C:/.platformio/packages/framework-espidf/components/esp_event/include
 C:/.platformio/packages/framework-espidf/components/nvs_flash/include
 C:/.platformio/packages/framework-espidf/components/esp_driver_pcnt/include
 C:/.platformio/packages/framework-espidf/components/esp_driver_spi/include
 C:/.platformio/packages/framework-espidf/components/esp_driver_mcpwm/include
 C:/.platformio/packages/framework-espidf/components/esp_driver_ana_cmpr/include
 C:/.platformio/packages/framework-espidf/components/esp_driver_i2s/include
 C:/.platformio/packages/framework-espidf/components/sdmmc/include
 C:/.platformio/packages/framework-espidf/components/esp_driver_sdmmc/include
 C:/.platformio/packages/framework-espidf/components/esp_driver_sdspi/include
 C:/.platformio/packages/framework-espidf/components/esp_driver_sdio/include
 C:/.platformio/packages/framework-espidf/components/esp_driver_dac/include
 C:/.platformio/packages/framework-espidf/components/esp_driver_rmt/include
 C:/.platformio/packages/framework-espidf/components/esp_driver_tsens/include
 C:/.platformio/packages/framework-espidf/components/esp_driver_sdm/include
 C:/.platformio/packages/framework-espidf/components/esp_driver_i2c/include
 C:/.platformio/packages/framework-espidf/components/esp_driver_ledc/include
 C:/.platformio/packages/framework-espidf/components/esp_driver_parlio/include
 C:/.platformio/packages/framework-espidf/components/esp_driver_usb_serial_jtag/include
 C:/.platformio/packages/framework-espidf/components/driver/deprecated
 C:/.platformio/packages/framework-espidf/components/driver/i2c/include
 C:/.platformio/packages/framework-espidf/components/driver/touch_sensor/include
 C:/.platformio/packages/framework-espidf/components/driver/twai/include
 C:/.platformio/packages/framework-espidf/components/esp_phy/include
 C:/.platformio/packages/framework-espidf/components/esp_phy/esp32c6/include
 C:/.platformio/packages/framework-espidf/components/esp_vfs_console/include
 C:/.platformio/packages/framework-espidf/components/esp_netif/include
 C:/.platformio/packages/framework-espidf/components/wpa_supplicant/include
 C:/.platformio/packages/framework-espidf/components/wpa_supplicant/port/include
 C:/.platformio/packages/framework-espidf/components/wpa_supplicant/esp_supplicant/include
 C:/.platformio/packages/framework-espidf/components/esp_coex/include
 C:/.platformio/packages/framework-espidf/components/esp_wifi/include
 C:/.platformio/packages/framework-espidf/components/esp_wifi/wifi_apps/include
 C:/.platformio/packages/framework-espidf/components/esp_wifi/wifi_apps/nan_app/include
 C:/.platformio/packages/framework-espidf/components/esp_wifi/include/local
 C:/.platformio/packages/framework-espidf/components/unity/include
 C:/.platformio/packages/framework-espidf/components/unity/unity/src
 C:/.platformio/packages/framework-espidf/components/cmock/CMock/src
 C:/.platformio/packages/framework-espidf/components/console
 C:/.platformio/packages/framework-espidf/components/http_parser
 C:/.platformio/packages/framework-espidf/components/esp-tls
 C:/.platformio/packages/framework-espidf/components/esp-tls/esp-tls-crypto
 C:/.platformio/packages/framework-espidf/components/esp_adc/include
 C:/.platformio/packages/framework-espidf/components/esp_adc/interface
 C:/.platformio/packages/framework-espidf/components/esp_adc/esp32c6/include
 C:/.platformio/packages/framework-espidf/components/esp_adc/deprecated/include
 C:/.platformio/packages/framework-espidf/components/esp_driver_isp/include
 C:/.platformio/packages/framework-espidf/components/esp_driver_cam/include
 C:/.platformio/packages/framework-espidf/components/esp_driver_cam/interface
 C:/.platformio/packages/framework-espidf/components/esp_driver_jpeg/include
 C:/.platformio/packages/framework-espidf/components/esp_driver_ppa/include
 C:/.platformio/packages/framework-espidf/components/esp_eth/include
 C:/.platformio/packages/framework-espidf/components/esp_gdbstub/include
 C:/.platformio/packages/framework-espidf/components/esp_hid/include
 C:/.platformio/packages/framework-espidf/components/tcp_transport/include
 C:/.platformio/packages/framework-espidf/components/esp_http_client/include
 C:/.platformio/packages/framework-espidf/components/esp_http_server/include
 C:/.platformio/packages/framework-espidf/components/esp_https_ota/include
 C:/.platformio/packages/framework-espidf/components/esp_https_server/include
 C:/.platformio/packages/framework-espidf/components/esp_psram/include
 C:/.platformio/packages/framework-espidf/components/esp_lcd/include
 C:/.platformio/packages/framework-espidf/components/esp_lcd/interface
 C:/.platformio/packages/framework-espidf/components/protobuf-c/protobuf-c
 C:/.platformio/packages/framework-espidf/components/protocomm/include/common
 C:/.platformio/packages/framework-espidf/components/protocomm/include/security
 C:/.platformio/packages/framework-espidf/components/protocomm/include/transports
 C:/.platformio/packages/framework-espidf/components/protocomm/include/crypto/srp6a
 C:/.platformio/packages/framework-espidf/components/protocomm/proto-c
 C:/.platformio/packages/framework-espidf/components/esp_local_ctrl/include
 C:/.platformio/packages/framework-espidf/components/espcoredump/include
 C:/.platformio/packages/framework-espidf/components/espcoredump/include/port/riscv
 C:/.platformio/packages/framework-espidf/components/wear_levelling/include
 C:/.platformio/packages/framework-espidf/components/fatfs/diskio
 C:/.platformio/packages/framework-espidf/components/fatfs/src
 C:/.platformio/packages/framework-espidf/components/fatfs/vfs
 C:/.platformio/packages/framework-espidf/components/idf_test/include
 C:/.platformio/packages/framework-espidf/components/idf_test/include/esp32c6
 C:/.platformio/packages/framework-espidf/components/ieee802154/include
 C:/.platformio/packages/framework-espidf/components/json/cJSON
 C:/.platformio/packages/framework-espidf/components/mqtt/esp-mqtt/include
 C:/.platformio/packages/framework-espidf/components/nvs_sec_provider/include
 C:/.platformio/packages/framework-espidf/components/ulp/ulp_common/include
 C:/.platformio/packages/framework-espidf/components/ulp/lp_core/include
 C:/.platformio/packages/framework-espidf/components/ulp/lp_core/shared/include
 main
 .
 .pio/build/esp32-c6-devkitm-1/esp-idf/main/ulp_main
 C:/.platformio/packages/toolchain-riscv32-esp/bin/../lib/gcc/riscv32-esp-elf/13.2.0/include
 C:/.platformio/packages/toolchain-riscv32-esp/bin/../lib/gcc/riscv32-esp-elf/13.2.0/include-fixed
 C:/.platformio/packages/toolchain-riscv32-esp/bin/../lib/gcc/riscv32-esp-elf/13.2.0/../../../../riscv32-esp-elf/include
End of search list.
Compiler executable checksum: 14ee240e1ec1d8c9d8c826325e8e087c
main/lp_core_gpio_example_main.c:20:10: fatal error: ulp_main.h: No such file or directory

******************************************************************
* Looking for ulp_main.h dependency? Check our library registry!
*
* CLI  > platformio lib search "header:ulp_main.h"
* Web  > https://registry.platformio.org/search?q=header:ulp_main.h
*
******************************************************************

   20 | #include "ulp_main.h"
      |          ^~~~~~~~~~~~
compilation terminated.
*** [.pio\build\esp32-c6-devkitm-1\main\lp_core_gpio_example_main.c.o] Error 1
============================================================ [FAILED] Took 20.46 seconds ============================================================

 *  The terminal process "C:\.platformio\penv\Scripts\platformio.exe 'run'" terminated with exit code: 1. 
 *  Terminal will be reused by tasks, press any key to close it. 

EDIT: Attached the project I try to compile (they are the unmodified files from the official repo)
gpio_platformio.zip

@Jason2866
Copy link
Contributor

Jason2866 commented Dec 8, 2024

Looks like you hit the Windows path length limit. Sorry I have no solution for this issue with Windows.
This problem hits not only espidf projects arendst/Tasmota#21964

@morcibacsi
Copy link
Author

That's very unfortunate 🫤 I'll try to use a VM or WSL then. I couldn't have figured that out from the log though...

Thanks.

@morcibacsi
Copy link
Author

@Jason2866

I just installed Ubuntu 24.10 in a VM, and unfortunately the issue is the same.

Full log
 *  Executing task: platformio run 

Processing esp32-c6-devkitm-1 (platform: https://github.com/Jason2866/platform-espressif32.git#Arduino/IDF53; board: esp32-c6-devkitm-1; framework: espidf)
-----------------------------------------------------------------------------------------------------------------------------------------------------------
Verbose mode can be enabled via `-v, --verbose` option
CONFIGURATION: https://docs.platformio.org/page/boards/espressif32/esp32-c6-devkitm-1.html
PLATFORM: Espressif 32 (2024.11.31+sha.b66496e) > Espressif ESP32-C6-DevKitM-1
HARDWARE: ESP32C6 160MHz, 320KB RAM, 4MB 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.50302.0 (5.3.2) 
 - tool-cmake @ 3.21.3 
 - tool-esptoolpy @ 4.8.3 
 - tool-mklittlefs @ 3.2.0 
 - tool-ninja @ 1.7.1 
 - tool-riscv32-esp-elf-gdb @ 14.2.0+20240403 
 - tool-scons @ 4.40801.0 (4.8.1) 
 - tool-xtensa-esp-elf-gdb @ 14.2.0+20240403 
 - toolchain-riscv32-esp @ 13.2.0+20240530
Reading CMake configuration...
Warning! Flash memory size mismatch detected. Expected 4MB, found 2MB!
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
Compiling .pio/build/esp32-c6-devkitm-1/main/lp_core_gpio_example_main.c.o
*** [.pio/build/esp32-c6-devkitm-1/.pio/build/esp32-c6-devkitm-1/ulp_main.bin.S.o] Source `.pio/build/esp32-c6-devkitm-1/ulp_main.bin.S' not found, needed by target `.pio/build/esp32-c6-devkitm-1/.pio/build/esp32-c6-devkitm-1/ulp_main.bin.S.o'.
Using built-in specs.
COLLECT_GCC=riscv32-esp-elf-gcc
Target: riscv32-esp-elf
Configured with: /builds/idf/crosstool-NG/.build/riscv32-esp-elf/src/gcc/configure --build=x86_64-build_pc-linux-gnu --host=x86_64-build_pc-linux-gnu --target=riscv32-esp-elf --prefix=/builds/idf/crosstool-NG/builds/riscv32-esp-elf --exec_prefix=/builds/idf/crosstool-NG/builds/riscv32-esp-elf --with-local-prefix=/builds/idf/crosstool-NG/builds/riscv32-esp-elf/riscv32-esp-elf --with-sysroot=/builds/idf/crosstool-NG/builds/riscv32-esp-elf/riscv32-esp-elf --with-native-system-header-dir=/include --with-newlib --enable-threads=no --disable-shared --with-arch=rv32gc --with-abi=ilp32 --with-pkgversion='crosstool-NG esp-13.2.0_20240530' --disable-__cxa_atexit --enable-cxx-flags=-ffunction-sections --disable-libgomp --disable-libmudflap --disable-libmpx --disable-libssp --disable-libquadmath --disable-libquadmath-support --disable-libstdcxx-verbose --with-gmp=/builds/idf/crosstool-NG/.build/riscv32-esp-elf/buildtools --with-mpfr=/builds/idf/crosstool-NG/.build/riscv32-esp-elf/buildtools --with-mpc=/builds/idf/crosstool-NG/.build/riscv32-esp-elf/buildtools --with-isl=/builds/idf/crosstool-NG/.build/riscv32-esp-elf/buildtools --enable-lto --enable-target-optspace --without-long-double-128 --disable-nls --enable-multiarch --enable-languages=c,c++ --disable-libstdcxx-verbose --enable-threads=posix --enable-gcov-custom-rtio --enable-libstdcxx-time=yes
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 13.2.0 (crosstool-NG esp-13.2.0_20240530) 
COLLECT_GCC_OPTIONS='-o' '.pio/build/esp32-c6-devkitm-1/main/lp_core_gpio_example_main.c.o' '-c' '-Og' '-Wno-error=deprecated-declarations' '-Wno-error=unused-but-set-variable' '-Wno-error=unused-function' '-Wno-error=unused-variable' '-fmacro-prefix-map=/home/p/.platformio/packages/framework-espidf=/IDF' '-fmacro-prefix-map=/home/p/Documents/gpio_platformio=.' '-gdwarf-4' '-ggdb' '-nostartfiles' '-std=gnu17' '-v' '-march=rv32imac_zicsr_zifencei' '-ffunction-sections' '-fdata-sections' '-Wno-error=unused-function' '-Wno-error=unused-variable' '-Wno-error=unused-but-set-variable' '-Wno-error=deprecated-declarations' '-Wno-unused-parameter' '-Wno-sign-compare' '-Wno-enum-conversion' '-gdwarf-4' '-ggdb' '-nostartfiles' '-Og' '-fno-shrink-wrap' '-fmacro-prefix-map=/home/p/Documents/gpio_platformio=.' '-fmacro-prefix-map=/home/p/.platformio/packages/framework-espidf=/IDF' '-fno-lto' '-fstrict-volatile-bitfields' '-fno-jump-tables' '-fno-tree-switch-conversion' '-Wno-old-style-declaration' '-D' '_POSIX_READER_WRITER_LOCKS' '-D' '_GNU_SOURCE' '-D' '_GLIBCXX_USE_POSIX_SEMAPHORE' '-D' '_GLIBCXX_HAVE_POSIX_SEMAPHORE' '-D' 'SOC_XTAL_FREQ_MHZ=CONFIG_XTAL_FREQ' '-D' 'SOC_MMU_PAGE_SIZE=CONFIG_MMU_PAGE_SIZE' '-D' 'IDF_VER="5.3.2"' '-D' 'ESP_PLATFORM' '-D' 'PLATFORMIO=60116' '-I' '/home/p/.platformio/packages/framework-espidf/components/riscv/include' '-I' '.pio/build/esp32-c6-devkitm-1/config' '-I' '/home/p/.platformio/packages/framework-espidf/components/newlib/platform_include' '-I' '/home/p/.platformio/packages/framework-espidf/components/freertos/config/include' '-I' '/home/p/.platformio/packages/framework-espidf/components/freertos/config/include/freertos' '-I' '/home/p/.platformio/packages/framework-espidf/components/freertos/config/riscv/include' '-I' '/home/p/.platformio/packages/framework-espidf/components/freertos/FreeRTOS-Kernel/include' '-I' '/home/p/.platformio/packages/framework-espidf/components/freertos/FreeRTOS-Kernel/portable/riscv/include' '-I' '/home/p/.platformio/packages/framework-espidf/components/freertos/FreeRTOS-Kernel/portable/riscv/include/freertos' '-I' '/home/p/.platformio/packages/framework-espidf/components/freertos/esp_additions/include' '-I' '/home/p/.platformio/packages/framework-espidf/components/esp_hw_support/include' '-I' '/home/p/.platformio/packages/framework-espidf/components/esp_hw_support/include/soc' '-I' '/home/p/.platformio/packages/framework-espidf/components/esp_hw_support/include/soc/esp32c6' '-I' '/home/p/.platformio/packages/framework-espidf/components/esp_hw_support/dma/include' '-I' '/home/p/.platformio/packages/framework-espidf/components/esp_hw_support/ldo/include' '-I' '/home/p/.platformio/packages/framework-espidf/components/esp_hw_support/port/esp32c6' '-I' '/home/p/.platformio/packages/framework-espidf/components/esp_hw_support/port/esp32c6/include' '-I' '/home/p/.platformio/packages/framework-espidf/components/esp_hw_support/port/esp32c6/private_include' '-I' '/home/p/.platformio/packages/framework-espidf/components/heap/include' '-I' '/home/p/.platformio/packages/framework-espidf/components/log/include' '-I' '/home/p/.platformio/packages/framework-espidf/components/soc/include' '-I' '/home/p/.platformio/packages/framework-espidf/components/soc/esp32c6' '-I' '/home/p/.platformio/packages/framework-espidf/components/soc/esp32c6/include' '-I' '/home/p/.platformio/packages/framework-espidf/components/hal/platform_port/include' '-I' '/home/p/.platformio/packages/framework-espidf/components/hal/esp32c6/include' '-I' '/home/p/.platformio/packages/framework-espidf/components/hal/include' '-I' '/home/p/.platformio/packages/framework-espidf/components/esp_rom/include' '-I' '/home/p/.platformio/packages/framework-espidf/components/esp_rom/include/esp32c6' '-I' '/home/p/.platformio/packages/framework-espidf/components/esp_rom/esp32c6' '-I' '/home/p/.platformio/packages/framework-espidf/components/esp_common/include' '-I' '/home/p/.platformio/packages/framework-espidf/components/esp_system/include' '-I' '/home/p/.platformio/packages/framework-espidf/components/esp_system/port/soc' '-I' '/home/p/.platformio/packages/framework-espidf/components/esp_system/port/include/riscv' '-I' '/home/p/.platformio/packages/framework-espidf/components/esp_system/port/include/private' '-I' '/home/p/.platformio/packages/framework-espidf/components/lwip/include' '-I' '/home/p/.platformio/packages/framework-espidf/components/lwip/include/apps' '-I' '/home/p/.platformio/packages/framework-espidf/components/lwip/include/apps/sntp' '-I' '/home/p/.platformio/packages/framework-espidf/components/lwip/lwip/src/include' '-I' '/home/p/.platformio/packages/framework-espidf/components/lwip/port/include' '-I' '/home/p/.platformio/packages/framework-espidf/components/lwip/port/freertos/include' '-I' '/home/p/.platformio/packages/framework-espidf/components/lwip/port/esp32xx/include' '-I' '/home/p/.platformio/packages/framework-espidf/components/lwip/port/esp32xx/include/arch' '-I' '/home/p/.platformio/packages/framework-espidf/components/lwip/port/esp32xx/include/sys' '-I' '/home/p/.platformio/packages/framework-espidf/components/esp_driver_gpio/include' '-I' '/home/p/.platformio/packages/framework-espidf/components/esp_timer/include' '-I' '/home/p/.platformio/packages/framework-espidf/components/esp_pm/include' '-I' '/home/p/.platformio/packages/framework-espidf/components/mbedtls/port/include' '-I' '/home/p/.platformio/packages/framework-espidf/components/mbedtls/mbedtls/include' '-I' '/home/p/.platformio/packages/framework-espidf/components/mbedtls/mbedtls/library' '-I' '/home/p/.platformio/packages/framework-espidf/components/mbedtls/esp_crt_bundle/include' '-I' '/home/p/.platformio/packages/framework-espidf/components/mbedtls/mbedtls/3rdparty/everest/include' '-I' '/home/p/.platformio/packages/framework-espidf/components/mbedtls/mbedtls/3rdparty/p256-m' '-I' '/home/p/.platformio/packages/framework-espidf/components/mbedtls/mbedtls/3rdparty/p256-m/p256-m' '-I' '/home/p/.platformio/packages/framework-espidf/components/esp_app_format/include' '-I' '/home/p/.platformio/packages/framework-espidf/components/esp_bootloader_format/include' '-I' '/home/p/.platformio/packages/framework-espidf/components/app_update/include' '-I' '/home/p/.platformio/packages/framework-espidf/components/bootloader_support/include' '-I' '/home/p/.platformio/packages/framework-espidf/components/bootloader_support/bootloader_flash/include' '-I' '/home/p/.platformio/packages/framework-espidf/components/esp_partition/include' '-I' '/home/p/.platformio/packages/framework-espidf/components/efuse/include' '-I' '/home/p/.platformio/packages/framework-espidf/components/efuse/esp32c6/include' '-I' '/home/p/.platformio/packages/framework-espidf/components/esp_mm/include' '-I' '/home/p/.platformio/packages/framework-espidf/components/spi_flash/include' '-I' '/home/p/.platformio/packages/framework-espidf/components/pthread/include' '-I' '/home/p/.platformio/packages/framework-espidf/components/esp_driver_gptimer/include' '-I' '/home/p/.platformio/packages/framework-espidf/components/esp_ringbuf/include' '-I' '/home/p/.platformio/packages/framework-espidf/components/esp_driver_uart/include' '-I' '/home/p/.platformio/packages/framework-espidf/components/vfs/include' '-I' '/home/p/.platformio/packages/framework-espidf/components/app_trace/include' '-I' '/home/p/.platformio/packages/framework-espidf/components/esp_event/include' '-I' '/home/p/.platformio/packages/framework-espidf/components/nvs_flash/include' '-I' '/home/p/.platformio/packages/framework-espidf/components/esp_driver_pcnt/include' '-I' '/home/p/.platformio/packages/framework-espidf/components/esp_driver_spi/include' '-I' '/home/p/.platformio/packages/framework-espidf/components/esp_driver_mcpwm/include' '-I' '/home/p/.platformio/packages/framework-espidf/components/esp_driver_ana_cmpr/include' '-I' '/home/p/.platformio/packages/framework-espidf/components/esp_driver_i2s/include' '-I' '/home/p/.platformio/packages/framework-espidf/components/sdmmc/include' '-I' '/home/p/.platformio/packages/framework-espidf/components/esp_driver_sdmmc/include' '-I' '/home/p/.platformio/packages/framework-espidf/components/esp_driver_sdspi/include' '-I' '/home/p/.platformio/packages/framework-espidf/components/esp_driver_sdio/include' '-I' '/home/p/.platformio/packages/framework-espidf/components/esp_driver_dac/include' '-I' '/home/p/.platformio/packages/framework-espidf/components/esp_driver_rmt/include' '-I' '/home/p/.platformio/packages/framework-espidf/components/esp_driver_tsens/include' '-I' '/home/p/.platformio/packages/framework-espidf/components/esp_driver_sdm/include' '-I' '/home/p/.platformio/packages/framework-espidf/components/esp_driver_i2c/include' '-I' '/home/p/.platformio/packages/framework-espidf/components/esp_driver_ledc/include' '-I' '/home/p/.platformio/packages/framework-espidf/components/esp_driver_parlio/include' '-I' '/home/p/.platformio/packages/framework-espidf/components/esp_driver_usb_serial_jtag/include' '-I' '/home/p/.platformio/packages/framework-espidf/components/driver/deprecated' '-I' '/home/p/.platformio/packages/framework-espidf/components/driver/i2c/include' '-I' '/home/p/.platformio/packages/framework-espidf/components/driver/touch_sensor/include' '-I' '/home/p/.platformio/packages/framework-espidf/components/driver/twai/include' '-I' '/home/p/.platformio/packages/framework-espidf/components/esp_phy/include' '-I' '/home/p/.platformio/packages/framework-espidf/components/esp_phy/esp32c6/include' '-I' '/home/p/.platformio/packages/framework-espidf/components/esp_vfs_console/include' '-I' '/home/p/.platformio/packages/framework-espidf/components/esp_netif/include' '-I' '/home/p/.platformio/packages/framework-espidf/components/wpa_supplicant/include' '-I' '/home/p/.platformio/packages/framework-espidf/components/wpa_supplicant/port/include' '-I' '/home/p/.platformio/packages/framework-espidf/components/wpa_supplicant/esp_supplicant/include' '-I' '/home/p/.platformio/packages/framework-espidf/components/esp_coex/include' '-I' '/home/p/.platformio/packages/framework-espidf/components/esp_wifi/include' '-I' '/home/p/.platformio/packages/framework-espidf/components/esp_wifi/wifi_apps/include' '-I' '/home/p/.platformio/packages/framework-espidf/components/esp_wifi/wifi_apps/nan_app/include' '-I' '/home/p/.platformio/packages/framework-espidf/components/esp_wifi/include/local' '-I' '/home/p/.platformio/packages/framework-espidf/components/unity/include' '-I' '/home/p/.platformio/packages/framework-espidf/components/unity/unity/src' '-I' '/home/p/.platformio/packages/framework-espidf/components/cmock/CMock/src' '-I' '/home/p/.platformio/packages/framework-espidf/components/console' '-I' '/home/p/.platformio/packages/framework-espidf/components/http_parser' '-I' '/home/p/.platformio/packages/framework-espidf/components/esp-tls' '-I' '/home/p/.platformio/packages/framework-espidf/components/esp-tls/esp-tls-crypto' '-I' '/home/p/.platformio/packages/framework-espidf/components/esp_adc/include' '-I' '/home/p/.platformio/packages/framework-espidf/components/esp_adc/interface' '-I' '/home/p/.platformio/packages/framework-espidf/components/esp_adc/esp32c6/include' '-I' '/home/p/.platformio/packages/framework-espidf/components/esp_adc/deprecated/include' '-I' '/home/p/.platformio/packages/framework-espidf/components/esp_driver_isp/include' '-I' '/home/p/.platformio/packages/framework-espidf/components/esp_driver_cam/include' '-I' '/home/p/.platformio/packages/framework-espidf/components/esp_driver_cam/interface' '-I' '/home/p/.platformio/packages/framework-espidf/components/esp_driver_jpeg/include' '-I' '/home/p/.platformio/packages/framework-espidf/components/esp_driver_ppa/include' '-I' '/home/p/.platformio/packages/framework-espidf/components/esp_eth/include' '-I' '/home/p/.platformio/packages/framework-espidf/components/esp_gdbstub/include' '-I' '/home/p/.platformio/packages/framework-espidf/components/esp_hid/include' '-I' '/home/p/.platformio/packages/framework-espidf/components/tcp_transport/include' '-I' '/home/p/.platformio/packages/framework-espidf/components/esp_http_client/include' '-I' '/home/p/.platformio/packages/framework-espidf/components/esp_http_server/include' '-I' '/home/p/.platformio/packages/framework-espidf/components/esp_https_ota/include' '-I' '/home/p/.platformio/packages/framework-espidf/components/esp_https_server/include' '-I' '/home/p/.platformio/packages/framework-espidf/components/esp_psram/include' '-I' '/home/p/.platformio/packages/framework-espidf/components/esp_lcd/include' '-I' '/home/p/.platformio/packages/framework-espidf/components/esp_lcd/interface' '-I' '/home/p/.platformio/packages/framework-espidf/components/protobuf-c/protobuf-c' '-I' '/home/p/.platformio/packages/framework-espidf/components/protocomm/include/common' '-I' '/home/p/.platformio/packages/framework-espidf/components/protocomm/include/security' '-I' '/home/p/.platformio/packages/framework-espidf/components/protocomm/include/transports' '-I' '/home/p/.platformio/packages/framework-espidf/components/protocomm/include/crypto/srp6a' '-I' '/home/p/.platformio/packages/framework-espidf/components/protocomm/proto-c' '-I' '/home/p/.platformio/packages/framework-espidf/components/esp_local_ctrl/include' '-I' '/home/p/.platformio/packages/framework-espidf/components/espcoredump/include' '-I' '/home/p/.platformio/packages/framework-espidf/components/espcoredump/include/port/riscv' '-I' '/home/p/.platformio/packages/framework-espidf/components/wear_levelling/include' '-I' '/home/p/.platformio/packages/framework-espidf/components/fatfs/diskio' '-I' '/home/p/.platformio/packages/framework-espidf/components/fatfs/src' '-I' '/home/p/.platformio/packages/framework-espidf/components/fatfs/vfs' '-I' '/home/p/.platformio/packages/framework-espidf/components/idf_test/include' '-I' '/home/p/.platformio/packages/framework-espidf/components/idf_test/include/esp32c6' '-I' '/home/p/.platformio/packages/framework-espidf/components/ieee802154/include' '-I' '/home/p/.platformio/packages/framework-espidf/components/json/cJSON' '-I' '/home/p/.platformio/packages/framework-espidf/components/mqtt/esp-mqtt/include' '-I' '/home/p/.platformio/packages/framework-espidf/components/nvs_sec_provider/include' '-I' '/home/p/.platformio/packages/framework-espidf/components/ulp/ulp_common/include' '-I' '/home/p/.platformio/packages/framework-espidf/components/ulp/lp_core/include' '-I' '/home/p/.platformio/packages/framework-espidf/components/ulp/lp_core/shared/include' '-I' 'include' '-I' 'main' '-I' '.' '-I' '.pio/build/esp32-c6-devkitm-1/esp-idf/main/ulp_main' '-mabi=ilp32' '-misa-spec=20191213' '-march=rv32imac_zicsr_zifencei' '-dumpdir' '.pio/build/esp32-c6-devkitm-1/main/'
 /home/p/.platformio/packages/toolchain-riscv32-esp/bin/../libexec/gcc/riscv32-esp-elf/13.2.0/cc1 -quiet -v -I /home/p/.platformio/packages/framework-espidf/components/riscv/include -I .pio/build/esp32-c6-devkitm-1/config -I /home/p/.platformio/packages/framework-espidf/components/newlib/platform_include -I /home/p/.platformio/packages/framework-espidf/components/freertos/config/include -I /home/p/.platformio/packages/framework-espidf/components/freertos/config/include/freertos -I /home/p/.platformio/packages/framework-espidf/components/freertos/config/riscv/include -I /home/p/.platformio/packages/framework-espidf/components/freertos/FreeRTOS-Kernel/include -I /home/p/.platformio/packages/framework-espidf/components/freertos/FreeRTOS-Kernel/portable/riscv/include -I /home/p/.platformio/packages/framework-espidf/components/freertos/FreeRTOS-Kernel/portable/riscv/include/freertos -I /home/p/.platformio/packages/framework-espidf/components/freertos/esp_additions/include -I /home/p/.platformio/packages/framework-espidf/components/esp_hw_support/include -I /home/p/.platformio/packages/framework-espidf/components/esp_hw_support/include/soc -I /home/p/.platformio/packages/framework-espidf/components/esp_hw_support/include/soc/esp32c6 -I /home/p/.platformio/packages/framework-espidf/components/esp_hw_support/dma/include -I /home/p/.platformio/packages/framework-espidf/components/esp_hw_support/ldo/include -I /home/p/.platformio/packages/framework-espidf/components/esp_hw_support/port/esp32c6 -I /home/p/.platformio/packages/framework-espidf/components/esp_hw_support/port/esp32c6/include -I /home/p/.platformio/packages/framework-espidf/components/esp_hw_support/port/esp32c6/private_include -I /home/p/.platformio/packages/framework-espidf/components/heap/include -I /home/p/.platformio/packages/framework-espidf/components/log/include -I /home/p/.platformio/packages/framework-espidf/components/soc/include -I /home/p/.platformio/packages/framework-espidf/components/soc/esp32c6 -I /home/p/.platformio/packages/framework-espidf/components/soc/esp32c6/include -I /home/p/.platformio/packages/framework-espidf/components/hal/platform_port/include -I /home/p/.platformio/packages/framework-espidf/components/hal/esp32c6/include -I /home/p/.platformio/packages/framework-espidf/components/hal/include -I /home/p/.platformio/packages/framework-espidf/components/esp_rom/include -I /home/p/.platformio/packages/framework-espidf/components/esp_rom/include/esp32c6 -I /home/p/.platformio/packages/framework-espidf/components/esp_rom/esp32c6 -I /home/p/.platformio/packages/framework-espidf/components/esp_common/include -I /home/p/.platformio/packages/framework-espidf/components/esp_system/include -I /home/p/.platformio/packages/framework-espidf/components/esp_system/port/soc -I /home/p/.platformio/packages/framework-espidf/components/esp_system/port/include/riscv -I /home/p/.platformio/packages/framework-espidf/components/esp_system/port/include/private -I /home/p/.platformio/packages/framework-espidf/components/lwip/include -I /home/p/.platformio/packages/framework-espidf/components/lwip/include/apps -I /home/p/.platformio/packages/framework-espidf/components/lwip/include/apps/sntp -I /home/p/.platformio/packages/framework-espidf/components/lwip/lwip/src/include -I /home/p/.platformio/packages/framework-espidf/components/lwip/port/include -I /home/p/.platformio/packages/framework-espidf/components/lwip/port/freertos/include -I /home/p/.platformio/packages/framework-espidf/components/lwip/port/esp32xx/include -I /home/p/.platformio/packages/framework-espidf/components/lwip/port/esp32xx/include/arch -I /home/p/.platformio/packages/framework-espidf/components/lwip/port/esp32xx/include/sys -I /home/p/.platformio/packages/framework-espidf/components/esp_driver_gpio/include -I /home/p/.platformio/packages/framework-espidf/components/esp_timer/include -I /home/p/.platformio/packages/framework-espidf/components/esp_pm/include -I /home/p/.platformio/packages/framework-espidf/components/mbedtls/port/include -I /home/p/.platformio/packages/framework-espidf/components/mbedtls/mbedtls/include -I /home/p/.platformio/packages/framework-espidf/components/mbedtls/mbedtls/library -I /home/p/.platformio/packages/framework-espidf/components/mbedtls/esp_crt_bundle/include -I /home/p/.platformio/packages/framework-espidf/components/mbedtls/mbedtls/3rdparty/everest/include -I /home/p/.platformio/packages/framework-espidf/components/mbedtls/mbedtls/3rdparty/p256-m -I /home/p/.platformio/packages/framework-espidf/components/mbedtls/mbedtls/3rdparty/p256-m/p256-m -I /home/p/.platformio/packages/framework-espidf/components/esp_app_format/include -I /home/p/.platformio/packages/framework-espidf/components/esp_bootloader_format/include -I /home/p/.platformio/packages/framework-espidf/components/app_update/include -I /home/p/.platformio/packages/framework-espidf/components/bootloader_support/include -I /home/p/.platformio/packages/framework-espidf/components/bootloader_support/bootloader_flash/include -I /home/p/.platformio/packages/framework-espidf/components/esp_partition/include -I /home/p/.platformio/packages/framework-espidf/components/efuse/include -I /home/p/.platformio/packages/framework-espidf/components/efuse/esp32c6/include -I /home/p/.platformio/packages/framework-espidf/components/esp_mm/include -I /home/p/.platformio/packages/framework-espidf/components/spi_flash/include -I /home/p/.platformio/packages/framework-espidf/components/pthread/include -I /home/p/.platformio/packages/framework-espidf/components/esp_driver_gptimer/include -I /home/p/.platformio/packages/framework-espidf/components/esp_ringbuf/include -I /home/p/.platformio/packages/framework-espidf/components/esp_driver_uart/include -I /home/p/.platformio/packages/framework-espidf/components/vfs/include -I /home/p/.platformio/packages/framework-espidf/components/app_trace/include -I /home/p/.platformio/packages/framework-espidf/components/esp_event/include -I /home/p/.platformio/packages/framework-espidf/components/nvs_flash/include -I /home/p/.platformio/packages/framework-espidf/components/esp_driver_pcnt/include -I /home/p/.platformio/packages/framework-espidf/components/esp_driver_spi/include -I /home/p/.platformio/packages/framework-espidf/components/esp_driver_mcpwm/include -I /home/p/.platformio/packages/framework-espidf/components/esp_driver_ana_cmpr/include -I /home/p/.platformio/packages/framework-espidf/components/esp_driver_i2s/include -I /home/p/.platformio/packages/framework-espidf/components/sdmmc/include -I /home/p/.platformio/packages/framework-espidf/components/esp_driver_sdmmc/include -I /home/p/.platformio/packages/framework-espidf/components/esp_driver_sdspi/include -I /home/p/.platformio/packages/framework-espidf/components/esp_driver_sdio/include -I /home/p/.platformio/packages/framework-espidf/components/esp_driver_dac/include -I /home/p/.platformio/packages/framework-espidf/components/esp_driver_rmt/include -I /home/p/.platformio/packages/framework-espidf/components/esp_driver_tsens/include -I /home/p/.platformio/packages/framework-espidf/components/esp_driver_sdm/include -I /home/p/.platformio/packages/framework-espidf/components/esp_driver_i2c/include -I /home/p/.platformio/packages/framework-espidf/components/esp_driver_ledc/include -I /home/p/.platformio/packages/framework-espidf/components/esp_driver_parlio/include -I /home/p/.platformio/packages/framework-espidf/components/esp_driver_usb_serial_jtag/include -I /home/p/.platformio/packages/framework-espidf/components/driver/deprecated -I /home/p/.platformio/packages/framework-espidf/components/driver/i2c/include -I /home/p/.platformio/packages/framework-espidf/components/driver/touch_sensor/include -I /home/p/.platformio/packages/framework-espidf/components/driver/twai/include -I /home/p/.platformio/packages/framework-espidf/components/esp_phy/include -I /home/p/.platformio/packages/framework-espidf/components/esp_phy/esp32c6/include -I /home/p/.platformio/packages/framework-espidf/components/esp_vfs_console/include -I /home/p/.platformio/packages/framework-espidf/components/esp_netif/include -I /home/p/.platformio/packages/framework-espidf/components/wpa_supplicant/include -I /home/p/.platformio/packages/framework-espidf/components/wpa_supplicant/port/include -I /home/p/.platformio/packages/framework-espidf/components/wpa_supplicant/esp_supplicant/include -I /home/p/.platformio/packages/framework-espidf/components/esp_coex/include -I /home/p/.platformio/packages/framework-espidf/components/esp_wifi/include -I /home/p/.platformio/packages/framework-espidf/components/esp_wifi/wifi_apps/include -I /home/p/.platformio/packages/framework-espidf/components/esp_wifi/wifi_apps/nan_app/include -I /home/p/.platformio/packages/framework-espidf/components/esp_wifi/include/local -I /home/p/.platformio/packages/framework-espidf/components/unity/include -I /home/p/.platformio/packages/framework-espidf/components/unity/unity/src -I /home/p/.platformio/packages/framework-espidf/components/cmock/CMock/src -I /home/p/.platformio/packages/framework-espidf/components/console -I /home/p/.platformio/packages/framework-espidf/components/http_parser -I /home/p/.platformio/packages/framework-espidf/components/esp-tls -I /home/p/.platformio/packages/framework-espidf/components/esp-tls/esp-tls-crypto -I /home/p/.platformio/packages/framework-espidf/components/esp_adc/include -I /home/p/.platformio/packages/framework-espidf/components/esp_adc/interface -I /home/p/.platformio/packages/framework-espidf/components/esp_adc/esp32c6/include -I /home/p/.platformio/packages/framework-espidf/components/esp_adc/deprecated/include -I /home/p/.platformio/packages/framework-espidf/components/esp_driver_isp/include -I /home/p/.platformio/packages/framework-espidf/components/esp_driver_cam/include -I /home/p/.platformio/packages/framework-espidf/components/esp_driver_cam/interface -I /home/p/.platformio/packages/framework-espidf/components/esp_driver_jpeg/include -I /home/p/.platformio/packages/framework-espidf/components/esp_driver_ppa/include -I /home/p/.platformio/packages/framework-espidf/components/esp_eth/include -I /home/p/.platformio/packages/framework-espidf/components/esp_gdbstub/include -I /home/p/.platformio/packages/framework-espidf/components/esp_hid/include -I /home/p/.platformio/packages/framework-espidf/components/tcp_transport/include -I /home/p/.platformio/packages/framework-espidf/components/esp_http_client/include -I /home/p/.platformio/packages/framework-espidf/components/esp_http_server/include -I /home/p/.platformio/packages/framework-espidf/components/esp_https_ota/include -I /home/p/.platformio/packages/framework-espidf/components/esp_https_server/include -I /home/p/.platformio/packages/framework-espidf/components/esp_psram/include -I /home/p/.platformio/packages/framework-espidf/components/esp_lcd/include -I /home/p/.platformio/packages/framework-espidf/components/esp_lcd/interface -I /home/p/.platformio/packages/framework-espidf/components/protobuf-c/protobuf-c -I /home/p/.platformio/packages/framework-espidf/components/protocomm/include/common -I /home/p/.platformio/packages/framework-espidf/components/protocomm/include/security -I /home/p/.platformio/packages/framework-espidf/components/protocomm/include/transports -I /home/p/.platformio/packages/framework-espidf/components/protocomm/include/crypto/srp6a -I /home/p/.platformio/packages/framework-espidf/components/protocomm/proto-c -I /home/p/.platformio/packages/framework-espidf/components/esp_local_ctrl/include -I /home/p/.platformio/packages/framework-espidf/components/espcoredump/include -I /home/p/.platformio/packages/framework-espidf/components/espcoredump/include/port/riscv -I /home/p/.platformio/packages/framework-espidf/components/wear_levelling/include -I /home/p/.platformio/packages/framework-espidf/components/fatfs/diskio -I /home/p/.platformio/packages/framework-espidf/components/fatfs/src -I /home/p/.platformio/packages/framework-espidf/components/fatfs/vfs -I /home/p/.platformio/packages/framework-espidf/components/idf_test/include -I /home/p/.platformio/packages/framework-espidf/components/idf_test/include/esp32c6 -I /home/p/.platformio/packages/framework-espidf/components/ieee802154/include -I /home/p/.platformio/packages/framework-espidf/components/json/cJSON -I /home/p/.platformio/packages/framework-espidf/components/mqtt/esp-mqtt/include -I /home/p/.platformio/packages/framework-espidf/components/nvs_sec_provider/include -I /home/p/.platformio/packages/framework-espidf/components/ulp/ulp_common/include -I /home/p/.platformio/packages/framework-espidf/components/ulp/lp_core/include -I /home/p/.platformio/packages/framework-espidf/components/ulp/lp_core/shared/include -I include -I main -I . -I .pio/build/esp32-c6-devkitm-1/esp-idf/main/ulp_main -imultilib rv32imac_zicsr_zifencei/ilp32 -iprefix /home/p/.platformio/packages/toolchain-riscv32-esp/bin/../lib/gcc/riscv32-esp-elf/13.2.0/ -isysroot /home/p/.platformio/packages/toolchain-riscv32-esp/bin/../riscv32-esp-elf -D _POSIX_READER_WRITER_LOCKS -D _GNU_SOURCE -D _GLIBCXX_USE_POSIX_SEMAPHORE -D _GLIBCXX_HAVE_POSIX_SEMAPHORE -D SOC_XTAL_FREQ_MHZ=CONFIG_XTAL_FREQ -D SOC_MMU_PAGE_SIZE=CONFIG_MMU_PAGE_SIZE -D IDF_VER="5.3.2" -D ESP_PLATFORM -D PLATFORMIO=60116 main/lp_core_gpio_example_main.c -quiet -dumpdir .pio/build/esp32-c6-devkitm-1/main/ -dumpbase lp_core_gpio_example_main.c.c -dumpbase-ext .c -march=rv32imac_zicsr_zifencei -mabi=ilp32 -misa-spec=20191213 -march=rv32imac_zicsr_zifencei -gdwarf-4 -ggdb -gdwarf-4 -ggdb -Og -Og -Wno-error=deprecated-declarations -Wno-error=unused-but-set-variable -Wno-error=unused-function -Wno-error=unused-variable -Wno-error=unused-function -Wno-error=unused-variable -Wno-error=unused-but-set-variable -Wno-error=deprecated-declarations -Wno-unused-parameter -Wno-sign-compare -Wno-enum-conversion -Wno-old-style-declaration -std=gnu17 -version -fmacro-prefix-map=/home/p/.platformio/packages/framework-espidf=/IDF -fmacro-prefix-map=/home/p/Documents/gpio_platformio=. -ffunction-sections -fdata-sections -fno-shrink-wrap -fmacro-prefix-map=/home/p/Documents/gpio_platformio=. -fmacro-prefix-map=/home/p/.platformio/packages/framework-espidf=/IDF -fno-lto -fstrict-volatile-bitfields -fno-jump-tables -fno-tree-switch-conversion -o /tmp/ccDZpHpf.s
GNU C17 (crosstool-NG esp-13.2.0_20240530) version 13.2.0 (riscv32-esp-elf)
        compiled by GNU C version 4.9.2, GMP version 6.2.1, MPFR version 4.2.1, MPC version 1.2.1, isl version isl-0.26-GMP

GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
ignoring duplicate directory "/home/p/.platformio/packages/toolchain-riscv32-esp/bin/../lib/gcc/../../lib/gcc/riscv32-esp-elf/13.2.0/include"
ignoring nonexistent directory "/home/p/.platformio/packages/toolchain-riscv32-esp/bin/../riscv32-esp-elf/builds/idf/crosstool-NG/builds/riscv32-esp-elf/riscv32-esp-elf/include"
ignoring duplicate directory "/home/p/.platformio/packages/toolchain-riscv32-esp/bin/../lib/gcc/../../lib/gcc/riscv32-esp-elf/13.2.0/include-fixed"
ignoring duplicate directory "/home/p/.platformio/packages/toolchain-riscv32-esp/bin/../lib/gcc/../../lib/gcc/riscv32-esp-elf/13.2.0/../../../../riscv32-esp-elf/include"
ignoring duplicate directory "/home/p/.platformio/packages/toolchain-riscv32-esp/bin/../riscv32-esp-elf/include"
ignoring nonexistent directory "include"
#include "..." search starts here:
#include <...> search starts here:
 /home/p/.platformio/packages/framework-espidf/components/riscv/include
 .pio/build/esp32-c6-devkitm-1/config
 /home/p/.platformio/packages/framework-espidf/components/newlib/platform_include
 /home/p/.platformio/packages/framework-espidf/components/freertos/config/include
 /home/p/.platformio/packages/framework-espidf/components/freertos/config/include/freertos
 /home/p/.platformio/packages/framework-espidf/components/freertos/config/riscv/include
 /home/p/.platformio/packages/framework-espidf/components/freertos/FreeRTOS-Kernel/include
 /home/p/.platformio/packages/framework-espidf/components/freertos/FreeRTOS-Kernel/portable/riscv/include
 /home/p/.platformio/packages/framework-espidf/components/freertos/FreeRTOS-Kernel/portable/riscv/include/freertos
 /home/p/.platformio/packages/framework-espidf/components/freertos/esp_additions/include
 /home/p/.platformio/packages/framework-espidf/components/esp_hw_support/include
 /home/p/.platformio/packages/framework-espidf/components/esp_hw_support/include/soc
 /home/p/.platformio/packages/framework-espidf/components/esp_hw_support/include/soc/esp32c6
 /home/p/.platformio/packages/framework-espidf/components/esp_hw_support/dma/include
 /home/p/.platformio/packages/framework-espidf/components/esp_hw_support/ldo/include
 /home/p/.platformio/packages/framework-espidf/components/esp_hw_support/port/esp32c6
 /home/p/.platformio/packages/framework-espidf/components/esp_hw_support/port/esp32c6/include
 /home/p/.platformio/packages/framework-espidf/components/esp_hw_support/port/esp32c6/private_include
 /home/p/.platformio/packages/framework-espidf/components/heap/include
 /home/p/.platformio/packages/framework-espidf/components/log/include
 /home/p/.platformio/packages/framework-espidf/components/soc/include
 /home/p/.platformio/packages/framework-espidf/components/soc/esp32c6
 /home/p/.platformio/packages/framework-espidf/components/soc/esp32c6/include
 /home/p/.platformio/packages/framework-espidf/components/hal/platform_port/include
 /home/p/.platformio/packages/framework-espidf/components/hal/esp32c6/include
 /home/p/.platformio/packages/framework-espidf/components/hal/include
 /home/p/.platformio/packages/framework-espidf/components/esp_rom/include
 /home/p/.platformio/packages/framework-espidf/components/esp_rom/include/esp32c6
 /home/p/.platformio/packages/framework-espidf/components/esp_rom/esp32c6
 /home/p/.platformio/packages/framework-espidf/components/esp_common/include
 /home/p/.platformio/packages/framework-espidf/components/esp_system/include
 /home/p/.platformio/packages/framework-espidf/components/esp_system/port/soc
 /home/p/.platformio/packages/framework-espidf/components/esp_system/port/include/riscv
 /home/p/.platformio/packages/framework-espidf/components/esp_system/port/include/private
 /home/p/.platformio/packages/framework-espidf/components/lwip/include
 /home/p/.platformio/packages/framework-espidf/components/lwip/include/apps
 /home/p/.platformio/packages/framework-espidf/components/lwip/include/apps/sntp
 /home/p/.platformio/packages/framework-espidf/components/lwip/lwip/src/include
 /home/p/.platformio/packages/framework-espidf/components/lwip/port/include
 /home/p/.platformio/packages/framework-espidf/components/lwip/port/freertos/include
 /home/p/.platformio/packages/framework-espidf/components/lwip/port/esp32xx/include
 /home/p/.platformio/packages/framework-espidf/components/lwip/port/esp32xx/include/arch
 /home/p/.platformio/packages/framework-espidf/components/lwip/port/esp32xx/include/sys
 /home/p/.platformio/packages/framework-espidf/components/esp_driver_gpio/include
 /home/p/.platformio/packages/framework-espidf/components/esp_timer/include
 /home/p/.platformio/packages/framework-espidf/components/esp_pm/include
 /home/p/.platformio/packages/framework-espidf/components/mbedtls/port/include
 /home/p/.platformio/packages/framework-espidf/components/mbedtls/mbedtls/include
 /home/p/.platformio/packages/framework-espidf/components/mbedtls/mbedtls/library
 /home/p/.platformio/packages/framework-espidf/components/mbedtls/esp_crt_bundle/include
 /home/p/.platformio/packages/framework-espidf/components/mbedtls/mbedtls/3rdparty/everest/include
 /home/p/.platformio/packages/framework-espidf/components/mbedtls/mbedtls/3rdparty/p256-m
 /home/p/.platformio/packages/framework-espidf/components/mbedtls/mbedtls/3rdparty/p256-m/p256-m
 /home/p/.platformio/packages/framework-espidf/components/esp_app_format/include
 /home/p/.platformio/packages/framework-espidf/components/esp_bootloader_format/include
 /home/p/.platformio/packages/framework-espidf/components/app_update/include
 /home/p/.platformio/packages/framework-espidf/components/bootloader_support/include
 /home/p/.platformio/packages/framework-espidf/components/bootloader_support/bootloader_flash/include
 /home/p/.platformio/packages/framework-espidf/components/esp_partition/include
 /home/p/.platformio/packages/framework-espidf/components/efuse/include
 /home/p/.platformio/packages/framework-espidf/components/efuse/esp32c6/include
 /home/p/.platformio/packages/framework-espidf/components/esp_mm/include
 /home/p/.platformio/packages/framework-espidf/components/spi_flash/include
 /home/p/.platformio/packages/framework-espidf/components/pthread/include
 /home/p/.platformio/packages/framework-espidf/components/esp_driver_gptimer/include
 /home/p/.platformio/packages/framework-espidf/components/esp_ringbuf/include
 /home/p/.platformio/packages/framework-espidf/components/esp_driver_uart/include
 /home/p/.platformio/packages/framework-espidf/components/vfs/include
 /home/p/.platformio/packages/framework-espidf/components/app_trace/include
 /home/p/.platformio/packages/framework-espidf/components/esp_event/include
 /home/p/.platformio/packages/framework-espidf/components/nvs_flash/include
 /home/p/.platformio/packages/framework-espidf/components/esp_driver_pcnt/include
 /home/p/.platformio/packages/framework-espidf/components/esp_driver_spi/include
 /home/p/.platformio/packages/framework-espidf/components/esp_driver_mcpwm/include
 /home/p/.platformio/packages/framework-espidf/components/esp_driver_ana_cmpr/include
 /home/p/.platformio/packages/framework-espidf/components/esp_driver_i2s/include
 /home/p/.platformio/packages/framework-espidf/components/sdmmc/include
 /home/p/.platformio/packages/framework-espidf/components/esp_driver_sdmmc/include
 /home/p/.platformio/packages/framework-espidf/components/esp_driver_sdspi/include
 /home/p/.platformio/packages/framework-espidf/components/esp_driver_sdio/include
 /home/p/.platformio/packages/framework-espidf/components/esp_driver_dac/include
 /home/p/.platformio/packages/framework-espidf/components/esp_driver_rmt/include
 /home/p/.platformio/packages/framework-espidf/components/esp_driver_tsens/include
 /home/p/.platformio/packages/framework-espidf/components/esp_driver_sdm/include
 /home/p/.platformio/packages/framework-espidf/components/esp_driver_i2c/include
 /home/p/.platformio/packages/framework-espidf/components/esp_driver_ledc/include
 /home/p/.platformio/packages/framework-espidf/components/esp_driver_parlio/include
 /home/p/.platformio/packages/framework-espidf/components/esp_driver_usb_serial_jtag/include
 /home/p/.platformio/packages/framework-espidf/components/driver/deprecated
 /home/p/.platformio/packages/framework-espidf/components/driver/i2c/include
 /home/p/.platformio/packages/framework-espidf/components/driver/touch_sensor/include
 /home/p/.platformio/packages/framework-espidf/components/driver/twai/include
 /home/p/.platformio/packages/framework-espidf/components/esp_phy/include
 /home/p/.platformio/packages/framework-espidf/components/esp_phy/esp32c6/include
 /home/p/.platformio/packages/framework-espidf/components/esp_vfs_console/include
 /home/p/.platformio/packages/framework-espidf/components/esp_netif/include
 /home/p/.platformio/packages/framework-espidf/components/wpa_supplicant/include
 /home/p/.platformio/packages/framework-espidf/components/wpa_supplicant/port/include
 /home/p/.platformio/packages/framework-espidf/components/wpa_supplicant/esp_supplicant/include
 /home/p/.platformio/packages/framework-espidf/components/esp_coex/include
 /home/p/.platformio/packages/framework-espidf/components/esp_wifi/include
 /home/p/.platformio/packages/framework-espidf/components/esp_wifi/wifi_apps/include
 /home/p/.platformio/packages/framework-espidf/components/esp_wifi/wifi_apps/nan_app/include
 /home/p/.platformio/packages/framework-espidf/components/esp_wifi/include/local
 /home/p/.platformio/packages/framework-espidf/components/unity/include
 /home/p/.platformio/packages/framework-espidf/components/unity/unity/src
 /home/p/.platformio/packages/framework-espidf/components/cmock/CMock/src
 /home/p/.platformio/packages/framework-espidf/components/console
 /home/p/.platformio/packages/framework-espidf/components/http_parser
 /home/p/.platformio/packages/framework-espidf/components/esp-tls
 /home/p/.platformio/packages/framework-espidf/components/esp-tls/esp-tls-crypto
 /home/p/.platformio/packages/framework-espidf/components/esp_adc/include
 /home/p/.platformio/packages/framework-espidf/components/esp_adc/interface
 /home/p/.platformio/packages/framework-espidf/components/esp_adc/esp32c6/include
 /home/p/.platformio/packages/framework-espidf/components/esp_adc/deprecated/include
 /home/p/.platformio/packages/framework-espidf/components/esp_driver_isp/include
 /home/p/.platformio/packages/framework-espidf/components/esp_driver_cam/include
 /home/p/.platformio/packages/framework-espidf/components/esp_driver_cam/interface
 /home/p/.platformio/packages/framework-espidf/components/esp_driver_jpeg/include
 /home/p/.platformio/packages/framework-espidf/components/esp_driver_ppa/include
 /home/p/.platformio/packages/framework-espidf/components/esp_eth/include
 /home/p/.platformio/packages/framework-espidf/components/esp_gdbstub/include
 /home/p/.platformio/packages/framework-espidf/components/esp_hid/include
 /home/p/.platformio/packages/framework-espidf/components/tcp_transport/include
 /home/p/.platformio/packages/framework-espidf/components/esp_http_client/include
 /home/p/.platformio/packages/framework-espidf/components/esp_http_server/include
 /home/p/.platformio/packages/framework-espidf/components/esp_https_ota/include
 /home/p/.platformio/packages/framework-espidf/components/esp_https_server/include
 /home/p/.platformio/packages/framework-espidf/components/esp_psram/include
 /home/p/.platformio/packages/framework-espidf/components/esp_lcd/include
 /home/p/.platformio/packages/framework-espidf/components/esp_lcd/interface
 /home/p/.platformio/packages/framework-espidf/components/protobuf-c/protobuf-c
 /home/p/.platformio/packages/framework-espidf/components/protocomm/include/common
 /home/p/.platformio/packages/framework-espidf/components/protocomm/include/security
 /home/p/.platformio/packages/framework-espidf/components/protocomm/include/transports
 /home/p/.platformio/packages/framework-espidf/components/protocomm/include/crypto/srp6a
 /home/p/.platformio/packages/framework-espidf/components/protocomm/proto-c
 /home/p/.platformio/packages/framework-espidf/components/esp_local_ctrl/include
 /home/p/.platformio/packages/framework-espidf/components/espcoredump/include
 /home/p/.platformio/packages/framework-espidf/components/espcoredump/include/port/riscv
 /home/p/.platformio/packages/framework-espidf/components/wear_levelling/include
 /home/p/.platformio/packages/framework-espidf/components/fatfs/diskio
 /home/p/.platformio/packages/framework-espidf/components/fatfs/src
 /home/p/.platformio/packages/framework-espidf/components/fatfs/vfs
 /home/p/.platformio/packages/framework-espidf/components/idf_test/include
 /home/p/.platformio/packages/framework-espidf/components/idf_test/include/esp32c6
 /home/p/.platformio/packages/framework-espidf/components/ieee802154/include
 /home/p/.platformio/packages/framework-espidf/components/json/cJSON
 /home/p/.platformio/packages/framework-espidf/components/mqtt/esp-mqtt/include
 /home/p/.platformio/packages/framework-espidf/components/nvs_sec_provider/include
 /home/p/.platformio/packages/framework-espidf/components/ulp/ulp_common/include
 /home/p/.platformio/packages/framework-espidf/components/ulp/lp_core/include
 /home/p/.platformio/packages/framework-espidf/components/ulp/lp_core/shared/include
 main
 .
 .pio/build/esp32-c6-devkitm-1/esp-idf/main/ulp_main
 /home/p/.platformio/packages/toolchain-riscv32-esp/bin/../lib/gcc/riscv32-esp-elf/13.2.0/include
 /home/p/.platformio/packages/toolchain-riscv32-esp/bin/../lib/gcc/riscv32-esp-elf/13.2.0/include-fixed
 /home/p/.platformio/packages/toolchain-riscv32-esp/bin/../lib/gcc/riscv32-esp-elf/13.2.0/../../../../riscv32-esp-elf/include
End of search list.
Compiler executable checksum: cea9d2eee2e58fac38e115e3722efafa
main/lp_core_gpio_example_main.c:20:10: fatal error: ulp_main.h: No such file or directory

******************************************************************
* Looking for ulp_main.h dependency? Check our library registry!
*
* CLI  > platformio lib search "header:ulp_main.h"
* Web  > https://registry.platformio.org/search?q=header:ulp_main.h
*
******************************************************************

   20 | #include "ulp_main.h"
      |          ^~~~~~~~~~~~
compilation terminated.
*** [.pio/build/esp32-c6-devkitm-1/main/lp_core_gpio_example_main.c.o] Error 1
=============================================================== [FAILED] Took 2.50 seconds ===============================================================

 *  The terminal process "platformio 'run'" terminated with exit code: 1. 
 *  Terminal will be reused by tasks, press any key to close it. 

@Jason2866
Copy link
Contributor

Mhh, this example compiles and is verified working.

@morcibacsi
Copy link
Author

Thanks, this works! Even from Windows 11. Comparing the files from there with mine I guess either the original CMakeLists.txt files are the cause as yours are slightly different (even though I didn't modify the files from original repo) or the fact that I tried to use a different folder structure. Anyways, thanks for the help, now I can build my stuff based on your example.

@Jason2866
Copy link
Contributor

The folder structure is the reason. You can't freely choose.

@valeros valeros added the feature label Jan 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants