ESP32-C3 project error

Sysprogs forums Forums VisualGDB ESP32-C3 project error

Tagged: 

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #34105
    AlphaSilicon
    Participant

    after i create an new project with v5.1 sdk

    it show a error

    “C:/sysgcc/esp32/tools/riscv32-esp-elf/esp-2022r1-11.2.0/riscv32-esp-elf/bin/riscv32-esp-elf-gcc.exe”

    is not able to compile a simple test program.

    It fails with the following output:

    Change Dir: F:/alphasion/Documents/VisualGDB/EspProjects/ESP32_4G_Locator/build/VisualGDB/Debug/CMakeFiles/CMakeTmp

    Run Build Command(s):C:/SysGCC/esp32/tools/ninja/1.10.2/ninja.exe cmTC_818a7 && [1/2] Building C object CMakeFiles/cmTC_818a7.dir/testCCompiler.c.obj
    FAILED: CMakeFiles/cmTC_818a7.dir/testCCompiler.c.obj
    C:\sysgcc\esp32\tools\riscv32-esp-elf\esp-2022r1-11.2.0\riscv32-esp-elf\bin\riscv32-esp-elf-gcc.exe -march=rv32imc_zicsr_zifencei -o CMakeFiles/cmTC_818a7.dir/testCCompiler.c.obj -c testCCompiler.c
    Assembler messages:
    Fatal error: -march=rv32imc_zicsr_zifencei: Invalid or unknown z ISA extension: ‘zifencei’
    ninja: build stopped: subcommand failed.

    did i do something bad?

    #34107
    support
    Keymaster

    Hi,

    It looks like an issue with your toolchain and not with VisualGDB. Please make sure you can build the same project with the same toolchain manually.

    #34109
    AlphaSilicon
    Participant

    toolchain is download in visualgdb package manager,should i reinstall it?

    #34110
    AlphaSilicon
    Participant

    seems the toolchain in visualgdb did not support idf5.1 version

    #34111
    support
    Keymaster

    This is correct. We only provide toolchains for stable ESP-IDF releases. If you would like to use pre-release ones, it’s something to do on your own risk.

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.