EmbeddedBuilder配置的工程为什么找不到头文件

[复制链接]
 楼主| perseverance51 发表于 2024-9-26 16:28 | 显示全部楼层 |阅读模式


EmbeddedBuilder自动配置的工程编译为什么找不到头文件

EmbeddedBuilder_v1.4.1.23782
  1. Building file: ../firmware/GD32E23x_hal_peripheral/Source/gd32e23x_hal_smartcard.c
  2. gcc: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
  3. Building file: ../firmware/GD32E23x_hal_peripheral/Source/gd32e23x_hal_smbus.c
  4. gcc: error: unrecognized command line option '-mthumb'; did you mean '-mtbm'?
  5. Building file: ../firmware/GD32E23x_hal_peripheral/Source/gd32e23x_hal_spi.c
  6. make: [firmware/GD32E23x_hal_peripheral/Source/subdir.mk:91: firmware/GD32E23x_hal_peripheral/Source/gd32e23x_hal_pwmout.o] Error 1 (ignored)
  7. Invoking: GD ARM MCU C Compiler
  8. gcc: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
  9. gcc: error: unrecognized command line option '-mthumb'; did you mean '-mtbm'?
  10. Invoking: GD ARM MCU C Compiler
  11. gcc -mcpu=cortex-m23 -mthumb -O0 -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections  -g -std=gnu11 -DGD32E230 -I"D:\GD32\EmbeddedBuilder_v1.4.1.23782\EmbeddedBuilder\workspace\GD32E230_UART\inc" -I"D:\GD32\EmbeddedBuilder_v1.4.1.23782\EmbeddedBuilder\workspace\GD32E230_UART\firmware\cmsis\inc" -I"D:\GD32\EmbeddedBuilder_v1.4.1.23782\EmbeddedBuilder\workspace\GD32E230_UART\firmware\GD32E23x_standard_peripheral\Include" -I"D:\GD32\EmbeddedBuilder_v1.4.1.23782\EmbeddedBuilder\workspace\GD32E230_UART\firmware\GD32E23x_hal_peripheral\Include" -MMD -MP -MF"firmware/GD32E23x_hal_peripheral/Source/gd32e23x_hal_smartcard.d" -MT"firmware/GD32E23x_hal_peripheral/Source/gd32e23x_hal_smartcard.o" -Wa,-adhlns=firmware/GD32E23x_hal_peripheral/Source/gd32e23x_hal_smartcard.o.lst   -c -o "firmware/GD32E23x_hal_peripheral/Source/gd32e23x_hal_smartcard.o" "../firmware/GD32E23x_hal_peripheral/Source/gd32e23x_hal_smartcard.c"
  12. Finished building: ../firmware/GD32E23x_hal_peripheral/Source/gd32e23x_hal_pwmout.c
  13. make: [firmware/GD32E23x_hal_peripheral/Source/subdir.mk:92: firmware/GD32E23x_hal_peripheral/Source/gd32e23x_hal_rcu.o] Error 1 (ignored)
  14. gcc: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
  15. Invoking: GD ARM MCU C Compiler
  16. gcc -mcpu=cortex-m23 -mthumb -O0 -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections  -g -std=gnu11 -DGD32E230 -I"D:\GD32\EmbeddedBuilder_v1.4.1.23782\EmbeddedBuilder\workspace\GD32E230_UART\inc" -I"D:\GD32\EmbeddedBuilder_v1.4.1.23782\EmbeddedBuilder\workspace\GD32E230_UART\firmware\cmsis\inc" -I"D:\GD32\EmbeddedBuilder_v1.4.1.23782\EmbeddedBuilder\workspace\GD32E230_UART\firmware\GD32E23x_standard_peripheral\Include" -I"D:\GD32\EmbeddedBuilder_v1.4.1.23782\EmbeddedBuilder\workspace\GD32E230_UART\firmware\GD32E23x_hal_peripheral\Include" -MMD -MP -MF"firmware/GD32E23x_hal_peripheral/Source/gd32e23x_hal_smbus.d" -MT"firmware/GD32E23x_hal_peripheral/Source/gd32e23x_hal_smbus.o" -Wa,-adhlns=firmware/GD32E23x_hal_peripheral/Source/gd32e23x_hal_smbus.o.lst   -c -o "firmware/GD32E23x_hal_peripheral/Source/gd32e23x_hal_smbus.o" "../firmware/GD32E23x_hal_peripheral/Source/gd32e23x_hal_smbus.c"
  17. gcc: error: unrecognized command line option '-mthumb'; did you mean '-mtbm'?
  18. make: [firmware/GD32E23x_hal_peripheral/Source/subdir.mk:92: firmware/GD32E23x_hal_peripheral/Source/gd32e23x_hal_rtc.o] Error 1 (ignored)
  19. Finished building: ../firmware/GD32E23x_hal_peripheral/Source/gd32e23x_hal_rcu.c
  20. gcc -mcpu=cortex-m23 -mthumb -O0 -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections  -g -std=gnu11 -DGD32E230 -I"D:\GD32\EmbeddedBuilder_v1.4.1.23782\EmbeddedBuilder\workspace\GD32E230_UART\inc" -I"D:\GD32\EmbeddedBuilder_v1.4.1.23782\EmbeddedBuilder\workspace\GD32E230_UART\firmware\cmsis\inc" -I"D:\GD32\EmbeddedBuilder_v1.4.1.23782\EmbeddedBuilder\workspace\GD32E230_UART\firmware\GD32E23x_standard_peripheral\Include" -I"D:\GD32\EmbeddedBuilder_v1.4.1.23782\EmbeddedBuilder\workspace\GD32E230_UART\firmware\GD32E23x_hal_peripheral\Include" -MMD -MP -MF"firmware/GD32E23x_hal_peripheral/Source/gd32e23x_hal_spi.d" -MT"firmware/GD32E23x_hal_peripheral/Source/gd32e23x_hal_spi.o" -Wa,-adhlns=firmware/GD32E23x_hal_peripheral/Source/gd32e23x_hal_spi.o.lst   -c -o "firmware/GD32E23x_hal_peripheral/Source/gd32e23x_hal_spi.o" "../firmware/GD32E23x_hal_peripheral/Source/gd32e23x_hal_spi.c"
  21. Finished building: ../firmware/GD32E23x_hal_peripheral/Source/gd32e23x_hal_rtc.c



  22. Building file: ../firmware/GD32E23x_hal_peripheral/Source/gd32e23x_hal_syscfg.c
  23. Building file: ../firmware/GD32E23x_hal_peripheral/Source/gd32e23x_hal_timer.c
  24. gcc: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
  25. Building file: ../firmware/GD32E23x_hal_peripheral/Source/gd32e23x_hal_uart.c
  26. Invoking: GD ARM MCU C Compiler
  27. gcc: error: unrecognized command line option '-mthumb'; did you mean '-mtbm'?
  28. gcc -mcpu=cortex-m23 -mthumb -O0 -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections  -g -std=gnu11 -DGD32E230 -I"D:\GD32\EmbeddedBuilder_v1.4.1.23782\EmbeddedBuilder\workspace\GD32E230_UART\inc" -I"D:\GD32\EmbeddedBuilder_v1.4.1.23782\EmbeddedBuilder\workspace\GD32E230_UART\firmware\cmsis\inc" -I"D:\GD32\EmbeddedBuilder_v1.4.1.23782\EmbeddedBuilder\workspace\GD32E230_UART\firmware\GD32E23x_standard_peripheral\Include" -I"D:\GD32\EmbeddedBuilder_v1.4.1.23782\EmbeddedBuilder\workspace\GD32E230_UART\firmware\GD32E23x_hal_peripheral\Include" -MMD -MP -MF"firmware/GD32E23x_hal_peripheral/Source/gd32e23x_hal_syscfg.d" -MT"firmware/GD32E23x_hal_peripheral/Source/gd32e23x_hal_syscfg.o" -Wa,-adhlns=firmware/GD32E23x_hal_peripheral/Source/gd32e23x_hal_syscfg.o.lst   -c -o "firmware/GD32E23x_hal_peripheral/Source/gd32e23x_hal_syscfg.o" "../firmware/GD32E23x_hal_peripheral/Source/gd32e23x_hal_syscfg.c"
  29. gcc: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
  30. Invoking: GD ARM MCU C Compiler
  31. make: [firmware/GD32E23x_hal_peripheral/Source/subdir.mk:92: firmware/GD32E23x_hal_peripheral/Source/gd32e23x_hal_smartcard.o] Error 1 (ignored)
  32. gcc: error: unrecognized command line option '-mthumb'; did you mean '-mtbm'?
  33. Invoking: GD ARM MCU C Compiler
  34. make: [firmware/GD32E23x_hal_peripheral/Source/subdir.mk:93: firmware/GD32E23x_hal_peripheral/Source/gd32e23x_hal_smbus.o] Error 1 (ignored)
  35. gcc: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
  36. gcc -mcpu=cortex-m23 -mthumb -O0 -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections  -g -std=gnu11 -DGD32E230 -I"D:\GD32\EmbeddedBuilder_v1.4.1.23782\EmbeddedBuilder\workspace\GD32E230_UART\inc" -I"D:\GD32\EmbeddedBuilder_v1.4.1.23782\EmbeddedBuilder\workspace\GD32E230_UART\firmware\cmsis\inc" -I"D:\GD32\EmbeddedBuilder_v1.4.1.23782\EmbeddedBuilder\workspace\GD32E230_UART\firmware\GD32E23x_standard_peripheral\Include" -I"D:\GD32\EmbeddedBuilder_v1.4.1.23782\EmbeddedBuilder\workspace\GD32E230_UART\firmware\GD32E23x_hal_peripheral\Include" -MMD -MP -MF"firmware/GD32E23x_hal_peripheral/Source/gd32e23x_hal_timer.d" -MT"firmware/GD32E23x_hal_peripheral/Source/gd32e23x_hal_timer.o" -Wa,-adhlns=firmware/GD32E23x_hal_peripheral/Source/gd32e23x_hal_timer.o.lst   -c -o "firmware/GD32E23x_hal_peripheral/Source/gd32e23x_hal_timer.o" "../firmware/GD32E23x_hal_peripheral/Source/gd32e23x_hal_timer.c"
  37. Finished building: ../firmware/GD32E23x_hal_peripheral/Source/gd32e23x_hal_smartcard.c
  38. gcc: error: unrecognized command line option '-mthumb'; did you mean '-mtbm'?
  39. gcc -mcpu=cortex-m23 -mthumb -O0 -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections  -g -std=gnu11 -DGD32E230 -I"D:\GD32\EmbeddedBuilder_v1.4.1.23782\EmbeddedBuilder\workspace\GD32E230_UART\inc" -I"D:\GD32\EmbeddedBuilder_v1.4.1.23782\EmbeddedBuilder\workspace\GD32E230_UART\firmware\cmsis\inc" -I"D:\GD32\EmbeddedBuilder_v1.4.1.23782\EmbeddedBuilder\workspace\GD32E230_UART\firmware\GD32E23x_standard_peripheral\Include" -I"D:\GD32\EmbeddedBuilder_v1.4.1.23782\EmbeddedBuilder\workspace\GD32E230_UART\firmware\GD32E23x_hal_peripheral\Include" -MMD -MP -MF"firmware/GD32E23x_hal_peripheral/Source/gd32e23x_hal_uart.d" -MT"firmware/GD32E23x_hal_peripheral/Source/gd32e23x_hal_uart.o" -Wa,-adhlns=firmware/GD32E23x_hal_peripheral/Source/gd32e23x_hal_uart.o.lst   -c -o "firmware/GD32E23x_hal_peripheral/Source/gd32e23x_hal_uart.o" "../firmware/GD32E23x_hal_peripheral/Source/gd32e23x_hal_uart.c"
  40. Finished building: ../firmware/GD32E23x_hal_peripheral/Source/gd32e23x_hal_smbus.c
  41. make: [firmware/GD32E23x_hal_peripheral/Source/subdir.mk:92: firmware/GD32E23x_hal_peripheral/Source/gd32e23x_hal_spi.o] Error 1 (ignored)
  42. Finished building: ../firmware/GD32E23x_hal_peripheral/Source/gd32e23x_hal_spi.c



  43. Building file: ../firmware/GD32E23x_hal_peripheral/Source/gd32e23x_hal_usrt.c
  44. Building file: ../firmware/GD32E23x_hal_peripheral/Source/gd32e23x_hal_wwdgt.c
  45. gcc: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
  46. gcc: error: unrecognized command line option '-mthumb'; did you mean '-mtbm'?
  47. make: [firmware/GD32E23x_hal_peripheral/Source/subdir.mk:91: firmware/GD32E23x_hal_peripheral/Source/gd32e23x_hal_syscfg.o] Error 1 (ignored)
  48. Invoking: GD ARM MCU C Compiler
  49. gcc: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
  50. gcc -mcpu=cortex-m23 -mthumb -O0 -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections  -g -std=gnu11 -DGD32E230 -I"D:\GD32\EmbeddedBuilder_v1.4.1.23782\EmbeddedBuilder\workspace\GD32E230_UART\inc" -I"D:\GD32\EmbeddedBuilder_v1.4.1.23782\EmbeddedBuilder\workspace\GD32E230_UART\firmware\cmsis\inc" -I"D:\GD32\EmbeddedBuilder_v1.4.1.23782\EmbeddedBuilder\workspace\GD32E230_UART\firmware\GD32E23x_standard_peripheral\Include" -I"D:\GD32\EmbeddedBuilder_v1.4.1.23782\EmbeddedBuilder\workspace\GD32E230_UART\firmware\GD32E23x_hal_peripheral\Include" -MMD -MP -MF"firmware/GD32E23x_hal_peripheral/Source/gd32e23x_hal_usrt.d" -MT"firmware/GD32E23x_hal_peripheral/Source/gd32e23x_hal_usrt.o" -Wa,-adhlns=firmware/GD32E23x_hal_peripheral/Source/gd32e23x_hal_usrt.o.lst   -c -o "firmware/GD32E23x_hal_peripheral/Source/gd32e23x_hal_usrt.o" "../firmware/GD32E23x_hal_peripheral/Source/gd32e23x_hal_usrt.c"
  51. Invoking: GD ARM MCU C Compiler
  52. gcc: error: unrecognized command line option '-mthumb'; did you mean '-mtbm'?
  53. gcc -mcpu=cortex-m23 -mthumb -O0 -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections  -g -std=gnu11 -DGD32E230 -I"D:\GD32\EmbeddedBuilder_v1.4.1.23782\EmbeddedBuilder\workspace\GD32E230_UART\inc" -I"D:\GD32\EmbeddedBuilder_v1.4.1.23782\EmbeddedBuilder\workspace\GD32E230_UART\firmware\cmsis\inc" -I"D:\GD32\EmbeddedBuilder_v1.4.1.23782\EmbeddedBuilder\workspace\GD32E230_UART\firmware\GD32E23x_standard_peripheral\Include" -I"D:\GD32\EmbeddedBuilder_v1.4.1.23782\EmbeddedBuilder\workspace\GD32E230_UART\firmware\GD32E23x_hal_peripheral\Include" -MMD -MP -MF"firmware/GD32E23x_hal_peripheral/Source/gd32e23x_hal_wwdgt.d" -MT"firmware/GD32E23x_hal_peripheral/Source/gd32e23x_hal_wwdgt.o" -Wa,-adhlns=firmware/GD32E23x_hal_peripheral/Source/gd32e23x_hal_wwdgt.o.lst   -c -o "firmware/GD32E23x_hal_peripheral/Source/gd32e23x_hal_wwdgt.o" "../firmware/GD32E23x_hal_peripheral/Source/gd32e23x_hal_wwdgt.c"
  54. gcc: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
  55. Finished building: ../firmware/GD32E23x_hal_peripheral/Source/gd32e23x_hal_syscfg.c
  56. make: [firmware/GD32E23x_hal_peripheral/Source/subdir.mk:92: firmware/GD32E23x_hal_peripheral/Source/gd32e23x_hal_timer.o] Error 1 (ignored)
  57. gcc: error: unrecognized command line option '-mthumb'; did you mean '-mtbm'?
  58. make: [firmware/GD32E23x_hal_peripheral/Source/subdir.mk:94: firmware/GD32E23x_hal_peripheral/Source/gd32e23x_hal_uart.o] Error 1 (ignored)
  59. Finished building: ../firmware/GD32E23x_hal_peripheral/Source/gd32e23x_hal_timer.c

  60. Finished building: ../firmware/GD32E23x_hal_peripheral/Source/gd32e23x_hal_uart.c


  61. gcc: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
  62. gcc: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
  63. gcc: error: unrecognized command line option '-mthumb'; did you mean '-mtbm'?
  64. make: [firmware/GD32E23x_hal_peripheral/Source/subdir.mk:90: firmware/GD32E23x_hal_peripheral/Source/gd32e23x_hal_usrt.o] Error 1 (ignored)
  65. gcc: error: unrecognized command line option '-mthumb'; did you mean '-mtbm'?
  66. make: [firmware/GD32E23x_hal_peripheral/Source/subdir.mk:93: firmware/GD32E23x_hal_peripheral/Source/gd32e23x_hal_wwdgt.o] Error 1 (ignored)
  67. Finished building: ../firmware/GD32E23x_hal_peripheral/Source/gd32e23x_hal_usrt.c
  68. Finished building: ../firmware/GD32E23x_hal_peripheral/Source/gd32e23x_hal_wwdgt.c


  69. Building target: GD32E230_UART.elf
  70. Invoking: GD ARM MCU C Linker
  71. gcc -mcpu=cortex-m23 -mthumb -O0 -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections  -g -Wl,-Map,"GD32E230_UART.map" -Xlinker --gc-sections -L../ldscripts --specs=nano.specs --specs=nosys.specs -o "GD32E230_UART.elf"  ./src/gd32e23x_hal_init.o ./src/gd32e23x_hal_it.o ./src/main.o  ./firmware/cmsis/src/syscalls.o ./firmware/cmsis/src/system_gd32e23x.o  ./firmware/cmsis/gcc_startup/startup_gd32e23x.o  ./firmware/GD32E23x_standard_peripheral/Source/gd32e23x_adc.o ./firmware/GD32E23x_standard_peripheral/Source/gd32e23x_cmp.o ./firmware/GD32E23x_standard_peripheral/Source/gd32e23x_crc.o ./firmware/GD32E23x_standard_peripheral/Source/gd32e23x_dbg.o ./firmware/GD32E23x_standard_peripheral/Source/gd32e23x_dma.o ./firmware/GD32E23x_standard_peripheral/Source/gd32e23x_exti.o ./firmware/GD32E23x_standard_peripheral/Source/gd32e23x_fmc.o ./firmware/GD32E23x_standard_peripheral/Source/gd32e23x_fwdgt.o ./firmware/GD32E23x_standard_peripheral/Source/gd32e23x_gpio.o ./firmware/GD32E23x_standard_peripheral/Source/gd32e23x_i2c.o ./firmware/GD32E23x_standard_peripheral/Source/gd32e23x_misc.o ./firmware/GD32E23x_standard_peripheral/Source/gd32e23x_pmu.o ./firmware/GD32E23x_standard_peripheral/Source/gd32e23x_rcu.o ./firmware/GD32E23x_standard_peripheral/Source/gd32e23x_rtc.o ./firmware/GD32E23x_standard_peripheral/Source/gd32e23x_spi.o ./firmware/GD32E23x_standard_peripheral/Source/gd32e23x_syscfg.o ./firmware/GD32E23x_standard_peripheral/Source/gd32e23x_timer.o ./firmware/GD32E23x_standard_peripheral/Source/gd32e23x_usart.o ./firmware/GD32E23x_standard_peripheral/Source/gd32e23x_wwdgt.o  ./firmware/GD32E23x_hal_peripheral/Source/gd32e23x_hal_adc.o ./firmware/GD32E23x_hal_peripheral/Source/gd32e23x_hal_basetick.o ./firmware/GD32E23x_hal_peripheral/Source/gd32e23x_hal_cmp.o ./firmware/GD32E23x_hal_peripheral/Source/gd32e23x_hal_crc.o ./firmware/GD32E23x_hal_peripheral/Source/gd32e23x_hal_dma.o ./firmware/GD32E23x_hal_peripheral/Source/gd32e23x_hal_exti.o ./firmware/GD32E23x_hal_peripheral/Source/gd32e23x_hal_fmc.o ./firmware/GD32E23x_hal_peripheral/Source/gd32e23x_hal_fwdgt.o ./firmware/GD32E23x_hal_peripheral/Source/gd32e23x_hal_gpio.o ./firmware/GD32E23x_hal_peripheral/Source/gd32e23x_hal_i2c.o ./firmware/GD32E23x_hal_peripheral/Source/gd32e23x_hal_i2s.o ./firmware/GD32E23x_hal_peripheral/Source/gd32e23x_hal_irda.o ./firmware/GD32E23x_hal_peripheral/Source/gd32e23x_hal_nvic.o ./firmware/GD32E23x_hal_peripheral/Source/gd32e23x_hal_pmu.o ./firmware/GD32E23x_hal_peripheral/Source/gd32e23x_hal_pwmout.o ./firmware/GD32E23x_hal_peripheral/Source/gd32e23x_hal_rcu.o ./firmware/GD32E23x_hal_peripheral/Source/gd32e23x_hal_rtc.o ./firmware/GD32E23x_hal_peripheral/Source/gd32e23x_hal_smartcard.o ./firmware/GD32E23x_hal_peripheral/Source/gd32e23x_hal_smbus.o ./firmware/GD32E23x_hal_peripheral/Source/gd32e23x_hal_spi.o ./firmware/GD32E23x_hal_peripheral/Source/gd32e23x_hal_syscfg.o ./firmware/GD32E23x_hal_peripheral/Source/gd32e23x_hal_timer.o ./firmware/GD32E23x_hal_peripheral/Source/gd32e23x_hal_uart.o ./firmware/GD32E23x_hal_peripheral/Source/gd32e23x_hal_usrt.o ./firmware/GD32E23x_hal_peripheral/Source/gd32e23x_hal_wwdgt.o   
  72. gcc: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
  73. gcc: error: ./src/gd32e23x_hal_init.o: No such file or directory
  74. gcc: error: ./src/gd32e23x_hal_it.o: No such file or directory
  75. gcc: error: ./src/main.o: No such file or directory
  76. gcc: error: ./firmware/cmsis/src/syscalls.o: No such file or directory
  77. gcc: error: ./firmware/cmsis/src/system_gd32e23x.o: No such file or directory
  78. gcc: error: ./firmware/cmsis/gcc_startup/startup_gd32e23x.o: No such file or directory
  79. gcc: error: ./firmware/GD32E23x_standard_peripheral/Source/gd32e23x_adc.o: No such file or directory
  80. gcc: error: ./firmware/GD32E23x_standard_peripheral/Source/gd32e23x_cmp.o: No such file or directory
  81. gcc: error: ./firmware/GD32E23x_standard_peripheral/Source/gd32e23x_crc.o: No such file or directory
  82. gcc: error: ./firmware/GD32E23x_standard_peripheral/Source/gd32e23x_dbg.o: No such file or directory
  83. gcc: error: ./firmware/GD32E23x_standard_peripheral/Source/gd32e23x_dma.o: No such file or directory
  84. gcc: error: ./firmware/GD32E23x_standard_peripheral/Source/gd32e23x_exti.o: No such file or directory
  85. gcc: error: ./firmware/GD32E23x_standard_peripheral/Source/gd32e23x_fmc.o: No such file or directory
  86. gcc: error: ./firmware/GD32E23x_standard_peripheral/Source/gd32e23x_fwdgt.o: No such file or directory
  87. gcc: error: ./firmware/GD32E23x_standard_peripheral/Source/gd32e23x_gpio.o: No such file or directory
  88. gcc: error: ./firmware/GD32E23x_standard_peripheral/Source/gd32e23x_i2c.o: No such file or directory
  89. gcc: error: ./firmware/GD32E23x_standard_peripheral/Source/gd32e23x_misc.o: No such file or directory
  90. gcc: error: ./firmware/GD32E23x_standard_peripheral/Source/gd32e23x_pmu.o: No such file or directory
  91. gcc: error: ./firmware/GD32E23x_standard_peripheral/Source/gd32e23x_rcu.o: No such file or directory
  92. gcc: error: ./firmware/GD32E23x_standard_peripheral/Source/gd32e23x_rtc.o: No such file or directory
  93. gcc: error: ./firmware/GD32E23x_standard_peripheral/Source/gd32e23x_spi.o: No such file or directory
  94. gcc: error: ./firmware/GD32E23x_standard_peripheral/Source/gd32e23x_syscfg.o: No such file or directory
  95. gcc: error: ./firmware/GD32E23x_standard_peripheral/Source/gd32e23x_timer.o: No such file or directory
  96. gcc: error: ./firmware/GD32E23x_standard_peripheral/Source/gd32e23x_usart.o: No such file or directory
  97. gcc: error: ./firmware/GD32E23x_standard_peripheral/Source/gd32e23x_wwdgt.o: No such file or directory
  98. gcc: error: ./firmware/GD32E23x_hal_peripheral/Source/gd32e23x_hal_adc.o: No such file or directory
  99. gcc: error: ./firmware/GD32E23x_hal_peripheral/Source/gd32e23x_hal_basetick.o: No such file or directory
  100. gcc: error: ./firmware/GD32E23x_hal_peripheral/Source/gd32e23x_hal_cmp.o: No such file or directory
  101. gcc: error: ./firmware/GD32E23x_hal_peripheral/Source/gd32e23x_hal_crc.o: No such file or directory
  102. gcc: error: ./firmware/GD32E23x_hal_peripheral/Source/gd32e23x_hal_dma.o: No such file or directory
  103. gcc: error: ./firmware/GD32E23x_hal_peripheral/Source/gd32e23x_hal_exti.o: No such file or directory
  104. gcc: error: ./firmware/GD32E23x_hal_peripheral/Source/gd32e23x_hal_fmc.o: No such file or directory
  105. gcc: error: ./firmware/GD32E23x_hal_peripheral/Source/gd32e23x_hal_fwdgt.o: No such file or directory
  106. gcc: error: ./firmware/GD32E23x_hal_peripheral/Source/gd32e23x_hal_gpio.o: No such file or directory
  107. gcc: error: ./firmware/GD32E23x_hal_peripheral/Source/gd32e23x_hal_i2c.o: No such file or directory
  108. gcc: error: ./firmware/GD32E23x_hal_peripheral/Source/gd32e23x_hal_i2s.o: No such file or directory
  109. gcc: error: ./firmware/GD32E23x_hal_peripheral/Source/gd32e23x_hal_irda.o: No such file or directory
  110. gcc: error: ./firmware/GD32E23x_hal_peripheral/Source/gd32e23x_hal_nvic.o: No such file or directory
  111. gcc: error: ./firmware/GD32E23x_hal_peripheral/Source/gd32e23x_hal_pmu.o: No such file or directory
  112. gcc: error: ./firmware/GD32E23x_hal_peripheral/Source/gd32e23x_hal_pwmout.o: No such file or directory
  113. gcc: error: ./firmware/GD32E23x_hal_peripheral/Source/gd32e23x_hal_rcu.o: No such file or directory
  114. gcc: error: ./firmware/GD32E23x_hal_peripheral/Source/gd32e23x_hal_rtc.o: No such file or directory
  115. gcc: error: ./firmware/GD32E23x_hal_peripheral/Source/gd32e23x_hal_smartcard.o: No such file or directory
  116. gcc: error: ./firmware/GD32E23x_hal_peripheral/Source/gd32e23x_hal_smbus.o: No such file or directory
  117. gcc: error: ./firmware/GD32E23x_hal_peripheral/Source/gd32e23x_hal_spi.o: No such file or directory
  118. gcc: error: ./firmware/GD32E23x_hal_peripheral/Source/gd32e23x_hal_syscfg.o: No such file or directory
  119. gcc: error: ./firmware/GD32E23x_hal_peripheral/Source/gd32e23x_hal_timer.o: No such file or directory
  120. gcc: error: ./firmware/GD32E23x_hal_peripheral/Source/gd32e23x_hal_uart.o: No such file or directory
  121. gcc: error: ./firmware/GD32E23x_hal_peripheral/Source/gd32e23x_hal_usrt.o: No such file or directory
  122. gcc: error: ./firmware/GD32E23x_hal_peripheral/Source/gd32e23x_hal_wwdgt.o: No such file or directory
  123. gcc: error: nano.specs: No such file or directory
  124. make: [makefile:62: GD32E230_UART.elf] Error 1 (ignored)
  125. Finished building target: GD32E230_UART.elf
1316566f51b303228b.png


stormwind123 发表于 2024-10-31 12:43 | 显示全部楼层
头文件路径未正确配置
classroom 发表于 2024-10-31 12:43 | 显示全部楼层
环境变量中可能未包含头文件所在的目录,导致编译器无法识别头文件的位置。
laocuo1142 发表于 2024-10-31 12:44 | 显示全部楼层
IDE或编译器的设置可能存在问题,导致头文件路径没有被正确解析。
flycamelaaa 发表于 2024-10-31 12:44 | 显示全部楼层
路径引用方式不正确
powerantone 发表于 2024-10-31 12:44 | 显示全部楼层
建议使用相对路径
grfqq325 发表于 2025-5-25 18:07 | 显示全部楼层
手动添加缺失的头文件目录,比如芯片厂商的CMSIS、驱动库等路径。

您需要登录后才可以回帖 登录 | 注册

本版积分规则

4

主题

30

帖子

1

粉丝
快速回复 在线客服 返回列表 返回顶部

4

主题

30

帖子

1

粉丝
快速回复 在线客服 返回列表 返回顶部