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?