按照官方的指导文档,已经安装了Vscode软件,gcc编译工具链,make for windows。但是执行make 命令的时候,有报错,无法生成相关的hex 或者bin文件 。报错如下:
C:\Users\Administrator\Desktop\1.png
PS E:\1\Nationstech.N32G45x_Library.2.0.0\projects\n32g45x_EVAL\examples\GPIO\LedBlink\GCC> make
process_begin: CreateProcess(C:\Users\ADMINI~1\AppData\Local\Temp\make11108-1.bat, C:\Users\ADMINI~
1\AppData\Local\Temp\make11108-1.bat, ...) failed.
make (e=5): 拒绝访问。
make: [Makefile:152: build] Error 5 (ignored)
arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfpu=fpv4-sp-d16 -mfloat-abi=hard -Wall -Os -ffunction-s
ections -fdata-sections -g -gdwarf-2 -MMD -MP -MF"build/n32g45x_it.d" -DN32G45X -DUSE_STDPERIPH_DRI
VER -I../../../../../../firmware/CMSIS/core/ -I../../../../../../firmware/CMSIS/device/ -I../../../
../../../firmware/n32g45x_std_periph_driver/inc/ -I../../../../bsp/inc/ -I../inc/ -c -Wa,-a,-ad,-a
lms=build/n32g45x_it.lst ../src/n32g45x_it.c -o build/n32g45x_it.o
../src/n32g45x_it.c:126:1: fatal error: opening dependency file build/n32g45x_it.d: No such file or
directory
126 | }
| ^
compilation terminated.
make: *** [Makefile:136: build/n32g45x_it.o] Error 1
PS E:\1\Nationstech.N32G45x_Library.2.0.0\projects\n32g45x_EVAL\examples\GPIO\LedBlink\GCC> |