Toggle navigation
首页
问答
文章
积分商城
专家
专区
更多专区...
文档中心
返回主站
搜索
提问
会员
中心
登录
注册
RT-Thread一般讨论
git下载的源码编译头文件找不到
发布于 2022-08-15 07:25:42 浏览:356
订阅该版
``` Rebuild started: Project: project *** Using Compiler 'V5.06 update 7 (build 960)', folder: 'C:\Keil_v5\ARM\ARMCC\Bin' Rebuild target 'rt-thread' compiling stdlib.c... "no source": Error: #5: cannot open source input file "..\..\..\components\libc\compilers\common\stdlib.c": No such file or directory ..\..\..\components\libc\compilers\common\stdlib.c: 0 warnings, 1 error compiling time.c... "no source": Error: #5: cannot open source input file "..\..\..\components\libc\compilers\common\time.c": No such file or directory ..\..\..\components\libc\compilers\common\time.c: 0 warnings, 1 error compiling div0.c... compiling main.c... ..\..\..\include\rtthread.h(582): error: #20: identifier "va_list" is undefined int rt_vsprintf(char *dest, const char *format, va_list arg_ptr); ..\..\..\include\rtthread.h(583): error: #20: identifier "va_list" is undefined int rt_vsnprintf(char *buf, rt_size_t size, const char *fmt, va_list args); ..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Include\stm32f429xx.h(174): error: #5: cannot open source input file "core_cm4.h": No such file or directory #include "core_cm4.h" /* Cortex-M4 processor and core peripherals */ applications\main.c: 0 warnings, 3 errors compiling showmem.c... ..\..\..\include\rtthread.h(582): error: #20: identifier "va_list" is undefined int rt_vsprintf(char *dest, const char *format, va_list arg_ptr); ..\..\..\include\rtthread.h(583): error: #20: identifier "va_list" is undefined int rt_vsnprintf(char *buf, rt_size_t size, const char *fmt, va_list args); ..\..\..\libcpu\arm\common\showmem.c: 0 warnings, 2 errors compiling syscall_mem.c... ..\..\..\include\rtthread.h(582): error: #20: identifier "va_list" is undefined int rt_vsprintf(char *dest, const char *format, va_list arg_ptr); ..\..\..\include\rtthread.h(583): error: #20: identifier "va_list" is undefined int rt_vsnprintf(char *buf, rt_size_t size, const char *fmt, va_list args); ..\..\..\components\libc\compilers\armlibc\syscall_mem.c: 0 warnings, 2 errors assembling context_rvds.S... compiling syscalls.c... ..\..\..\include\rtthread.h(582): error: #20: identifier "va_list" is undefined int rt_vsprintf(char *dest, const char *format, va_list arg_ptr); ..\..\..\include\rtthread.h(583): error: #20: identifier "va_list" is undefined int rt_vsnprintf(char *buf, rt_size_t size, const char *fmt, va_list args); ..\..\..\components\libc\compilers\armlibc\syscalls.c(21): error: #5: cannot open source input file "fcntl.h": No such file or directory #include
..\..\..\components\libc\compilers\armlibc\syscalls.c: 0 warnings, 3 errors compiling workqueue.c... ..\..\..\include\rtthread.h(582): error: #20: identifier "va_list" is undefined int rt_vsprintf(char *dest, const char *format, va_list arg_ptr); ..\..\..\include\rtthread.h(583): error: #20: identifier "va_list" is undefined int rt_vsnprintf(char *buf, rt_size_t size, const char *fmt, va_list args); ..\..\..\components\drivers\ipc\workqueue.c: 0 warnings, 2 errors compiling cpuport.c... ..\..\..\include\rtthread.h(582): error: #20: identifier "va_list" is undefined int rt_vsprintf(char *dest, const char *format, va_list arg_ptr); ..\..\..\include\rtthread.h(583): error: #20: identifier "va_list" is undefined int rt_vsnprintf(char *buf, rt_size_t size, const char *fmt, va_list args); ..\..\..\libcpu\arm\cortex-m4\cpuport.c: 0 warnings, 2 errors compiling backtrace.c... ..\..\..\include\rtthread.h(582): error: #20: identifier "va_list" is undefined int rt_vsprintf(char *dest, const char *format, va_list arg_ptr); ..\..\..\include\rtthread.h(583): error: #20: identifier "va_list" is undefined int rt_vsnprintf(char *buf, rt_size_t size, const char *fmt, va_list args); ..\..\..\libcpu\arm\common\backtrace.c: 0 warnings, 2 errors compiling dataqueue.c... ..\..\..\include\rtthread.h(582): error: #20: identifier "va_list" is undefined int rt_vsprintf(char *dest, const char *format, va_list arg_ptr); ..\..\..\include\rtthread.h(583): error: #20: identifier "va_list" is undefined int rt_vsnprintf(char *buf, rt_size_t size, const char *fmt, va_list args); ..\..\..\components\drivers\ipc\dataqueue.c: 0 warnings, 2 errors compiling completion.c... ..\..\..\include\rtthread.h(582): error: #20: identifier "va_list" is undefined int rt_vsprintf(char *dest, const char *format, va_list arg_ptr); ..\..\..\include\rtthread.h(583): error: #20: identifier "va_list" is undefined int rt_vsnprintf(char *buf, rt_size_t size, const char *fmt, va_list args); ..\..\..\components\drivers\ipc\completion.c: 0 warnings, 2 errors compiling ringbuffer.c... ..\..\..\include\rtthread.h(582): error: #20: identifier "va_list" is undefined int rt_vsprintf(char *dest, const char *format, va_list arg_ptr); ..\..\..\include\rtthread.h(583): error: #20: identifier "va_list" is undefined int rt_vsnprintf(char *buf, rt_size_t size, const char *fmt, va_list args); ..\..\..\components\drivers\ipc\ringbuffer.c: 0 warnings, 2 errors compiling ringblk_buf.c... ..\..\..\include\rtthread.h(582): error: #20: identifier "va_list" is undefined int rt_vsprintf(char *dest, const char *format, va_list arg_ptr); ..\..\..\include\rtthread.h(583): error: #20: identifier "va_list" is undefined int rt_vsnprintf(char *buf, rt_size_t size, const char *fmt, va_list args); ..\..\..\components\drivers\ipc\ringblk_buf.c: 0 warnings, 2 errors compiling waitqueue.c... ..\..\..\include\rtthread.h(582): error: #20: identifier "va_list" is undefined int rt_vsprintf(char *dest, const char *format, va_list arg_ptr); ..\..\..\include\rtthread.h(583): error: #20: identifier "va_list" is undefined int rt_vsnprintf(char *buf, rt_size_t size, const char *fmt, va_list args); ..\..\..\components\drivers\ipc\waitqueue.c: 0 warnings, 2 errors compiling pin.c... ..\..\..\include\rtthread.h(582): error: #20: identifier "va_list" is undefined int rt_vsprintf(char *dest, const char *format, va_list arg_ptr); ..\..\..\include\rtthread.h(583): error: #20: identifier "va_list" is undefined int rt_vsnprintf(char *buf, rt_size_t size, const char *fmt, va_list args); ..\..\..\components\drivers\misc\pin.c: 0 warnings, 2 errors compiling pipe.c... ..\..\..\include\rtthread.h(582): error: #20: identifier "va_list" is undefined int rt_vsprintf(char *dest, const char *format, va_list arg_ptr); ..\..\..\include\rtthread.h(583): error: #20: identifier "va_list" is undefined int rt_vsnprintf(char *buf, rt_size_t size, const char *fmt, va_list args); ..\..\..\components\drivers\ipc\pipe.c: 0 warnings, 2 errors compiling serial.c... ..\..\..\include\rtthread.h(582): error: #20: identifier "va_list" is undefined int rt_vsprintf(char *dest, const char *format, va_list arg_ptr); ..\..\..\include\rtthread.h(583): error: #20: identifier "va_list" is undefined int rt_vsnprintf(char *buf, rt_size_t size, const char *fmt, va_list args); ..\..\..\components\drivers\serial\serial.c: 0 warnings, 2 errors compiling board.c... ..\..\..\include\rtthread.h(582): error: #20: identifier "va_list" is undefined int rt_vsprintf(char *dest, const char *format, va_list arg_ptr); ..\..\..\include\rtthread.h(583): error: #20: identifier "va_list" is undefined int rt_vsnprintf(char *buf, rt_size_t size, const char *fmt, va_list args); ..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Include\stm32f429xx.h(174): error: #5: cannot open source input file "core_cm4.h": No such file or directory #include "core_cm4.h" /* Cortex-M4 processor and core peripherals */ board\board.c: 0 warnings, 3 errors compiling stm32f4xx_hal_msp.c... ..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Include\stm32f429xx.h(174): error: #5: cannot open source input file "core_cm4.h": No such file or directory #include "core_cm4.h" /* Cortex-M4 processor and core peripherals */ board\CubeMX_Config\Src\stm32f4xx_hal_msp.c: 0 warnings, 1 error assembling startup_stm32f429xx.s... compiling drv_gpio.c... ..\..\..\include\rtthread.h(582): error: #20: identifier "va_list" is undefined int rt_vsprintf(char *dest, const char *format, va_list arg_ptr); ..\..\..\include\rtthread.h(583): error: #20: identifier "va_list" is undefined int rt_vsnprintf(char *buf, rt_size_t size, const char *fmt, va_list args); ..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Include\stm32f429xx.h(174): error: #5: cannot open source input file "core_cm4.h": No such file or directory #include "core_cm4.h" /* Cortex-M4 processor and core peripherals */ ..\libraries\HAL_Drivers\drv_gpio.c: 0 warnings, 3 errors compiling drv_usart.c... ..\..\..\include\rtthread.h(582): error: #20: identifier "va_list" is undefined int rt_vsprintf(char *dest, const char *format, va_list arg_ptr); ..\..\..\include\rtthread.h(583): error: #20: identifier "va_list" is undefined int rt_vsnprintf(char *buf, rt_size_t size, const char *fmt, va_list args); ..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Include\stm32f429xx.h(174): error: #5: cannot open source input file "core_cm4.h": No such file or directory #include "core_cm4.h" /* Cortex-M4 processor and core peripherals */ ..\libraries\HAL_Drivers\drv_usart.c: 0 warnings, 3 errors compiling drv_common.c... ..\..\..\include\rtthread.h(582): error: #20: identifier "va_list" is undefined int rt_vsprintf(char *dest, const char *format, va_list arg_ptr); ..\..\..\include\rtthread.h(583): error: #20: identifier "va_list" is undefined int rt_vsnprintf(char *buf, rt_size_t size, const char *fmt, va_list args); ..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Include\stm32f429xx.h(174): error: #5: cannot open source input file "core_cm4.h": No such file or directory #include "core_cm4.h" /* Cortex-M4 processor and core peripherals */ ..\libraries\HAL_Drivers\drv_common.c: 0 warnings, 3 errors compiling shell.c... ..\..\..\include\rtthread.h(582): error: #20: identifier "va_list" is undefined int rt_vsprintf(char *dest, const char *format, va_list arg_ptr); ..\..\..\include\rtthread.h(583): error: #20: identifier "va_list" is undefined int rt_vsnprintf(char *buf, rt_size_t size, const char *fmt, va_list args); ..\..\..\components\finsh\shell.c: 0 warnings, 2 errors compiling cmd.c... ..\..\..\include\rtthread.h(582): error: #20: identifier "va_list" is undefined int rt_vsprintf(char *dest, const char *format, va_list arg_ptr); ..\..\..\include\rtthread.h(583): error: #20: identifier "va_list" is undefined int rt_vsnprintf(char *buf, rt_size_t size, const char *fmt, va_list args); ..\..\..\components\finsh\cmd.c: 0 warnings, 2 errors compiling msh.c... ..\..\..\include\rtthread.h(582): error: #20: identifier "va_list" is undefined int rt_vsprintf(char *dest, const char *format, va_list arg_ptr); ..\..\..\include\rtthread.h(583): error: #20: identifier "va_list" is undefined int rt_vsnprintf(char *buf, rt_size_t size, const char *fmt, va_list args); ..\..\..\components\finsh\msh.c: 0 warnings, 2 errors compiling clock.c... ..\..\..\include\rtthread.h(582): error: #20: identifier "va_list" is undefined int rt_vsprintf(char *dest, const char *format, va_list arg_ptr); ..\..\..\include\rtthread.h(583): error: #20: identifier "va_list" is undefined int rt_vsnprintf(char *buf, rt_size_t size, const char *fmt, va_list args); ..\..\..\src\clock.c: 0 warnings, 2 errors compiling irq.c... ..\..\..\include\rtthread.h(582): error: #20: identifier "va_list" is undefined int rt_vsprintf(char *dest, const char *format, va_list arg_ptr); ..\..\..\include\rtthread.h(583): error: #20: identifier "va_list" is undefined int rt_vsnprintf(char *buf, rt_size_t size, const char *fmt, va_list args); ..\..\..\src\irq.c: 0 warnings, 2 errors compiling ipc.c... ..\..\..\include\rtthread.h(582): error: #20: identifier "va_list" is undefined int rt_vsprintf(char *dest, const char *format, va_list arg_ptr); ..\..\..\include\rtthread.h(583): error: #20: identifier "va_list" is undefined int rt_vsnprintf(char *buf, rt_size_t size, const char *fmt, va_list args); ..\..\..\src\ipc.c: 0 warnings, 2 errors compiling scheduler.c... ..\..\..\include\rtthread.h(582): error: #20: identifier "va_list" is undefined int rt_vsprintf(char *dest, const char *format, va_list arg_ptr); ..\..\..\include\rtthread.h(583): error: #20: identifier "va_list" is undefined int rt_vsnprintf(char *buf, rt_size_t size, const char *fmt, va_list args); ..\..\..\src\scheduler.c: 0 warnings, 2 errors compiling thread.c... ..\..\..\include\rtthread.h(582): error: #20: identifier "va_list" is undefined int rt_vsprintf(char *dest, const char *format, va_list arg_ptr); ..\..\..\include\rtthread.h(583): error: #20: identifier "va_list" is undefined int rt_vsnprintf(char *buf, rt_size_t size, const char *fmt, va_list args); ..\..\..\src\thread.c: 0 warnings, 2 errors compiling object.c... ..\..\..\include\rtthread.h(582): error: #20: identifier "va_list" is undefined int rt_vsprintf(char *dest, const char *format, va_list arg_ptr); ..\..\..\include\rtthread.h(583): error: #20: identifier "va_list" is undefined int rt_vsnprintf(char *buf, rt_size_t size, const char *fmt, va_list args); ..\..\..\src\object.c: 0 warnings, 2 errors compiling kservice.c... ..\..\..\include\rtthread.h(582): error: #20: identifier "va_list" is undefined int rt_vsprintf(char *dest, const char *format, va_list arg_ptr); ..\..\..\include\rtthread.h(583): error: #20: identifier "va_list" is undefined int rt_vsnprintf(char *buf, rt_size_t size, const char *fmt, va_list args); ..\..\..\src\kservice.c(886): error: #20: identifier "va_list" is undefined RT_WEAK int rt_vsnprintf(char *buf, rt_size_t size, const char *fmt, va_list args) ..\..\..\src\kservice.c(948): warning: #223-D: function "va_arg" declared implicitly field_width = va_arg(args, int); ..\..\..\src\kservice.c(948): error: #29: expected an expression field_width = va_arg(args, int); ..\..\..\src\kservice.c(967): warning: #223-D: function "va_arg" declared implicitly precision = va_arg(args, int); ..\..\..\src\kservice.c(967): error: #29: expected an expression precision = va_arg(args, int); ..\..\..\src\kservice.c(1007): warning: #223-D: function "va_arg" declared implicitly c = (rt_uint8_t)va_arg(args, int); ..\..\..\src\kservice.c(1007): error: #29: expected an expression c = (rt_uint8_t)va_arg(args, int); ..\..\..\src\kservice.c(1020): error: #29: expected an expression s = va_arg(args, char *); ..\..\..\src\kservice.c(1020): error: #513: a value of type "int" cannot be assigned to an entity of type "const char *" s = va_arg(args, char *); ..\..\..\src\kservice.c(1059): error: #29: expected an expression (long)va_arg(args, void *), ..\..\..\src\kservice.c(1113): warning: #223-D: function "va_arg" declared implicitly num = va_arg(args, rt_uint32_t); ..\..\..\src\kservice.c(1113): error: #254: type name is not allowed num = va_arg(args, rt_uint32_t); ..\..\..\src\kservice.c(1118): warning: #223-D: function "va_arg" declared implicitly num = (rt_uint16_t)va_arg(args, rt_int32_t); ..\..\..\src\kservice.c(1118): error: #254: type name is not allowed num = (rt_uint16_t)va_arg(args, rt_int32_t); ..\..\..\src\kservice.c(1123): warning: #223-D: function "va_arg" declared implicitly num = va_arg(args, rt_uint32_t); ..\..\..\src\kservice.c(1123): error: #254: type name is not allowed num = va_arg(args, rt_uint32_t); ..\..\..\src\kservice.c(1163): error: #20: identifier "va_list" is undefined va_list args; ..\..\..\src\kservice.c(1165): warning: #223-D: function "va_start" declared implicitly va_start(args, fmt); ..\..\..\src\kservice.c(1167): warning: #223-D: function "va_end" declared implicitly va_end(args); ..\..\..\src\kservice.c(1184): error: #20: identifier "va_list" is undefined int rt_vsprintf(char *buf, const char *format, va_list arg_ptr) ..\..\..\src\kservice.c(1202): error: #20: identifier "va_list" is undefined va_list arg_ptr; ..\..\..\src\kservice.c(1204): warning: #223-D: function "va_start" declared implicitly va_start(arg_ptr, format); ..\..\..\src\kservice.c(1206): warning: #223-D: function "va_end" declared implicitly va_end(arg_ptr); ..\..\..\src\kservice.c(1304): error: #20: identifier "va_list" is undefined va_list args; ..\..\..\src\kservice.c(1308): warning: #223-D: function "va_start" declared implicitly va_start(args, fmt); ..\..\..\src\kservice.c(1329): warning: #223-D: function "va_end" declared implicitly va_end(args); ..\..\..\src\kservice.c: 12 warnings, 16 errors compiling components.c... ..\..\..\include\rtthread.h(582): error: #20: identifier "va_list" is undefined int rt_vsprintf(char *dest, const char *format, va_list arg_ptr); ..\..\..\include\rtthread.h(583): error: #20: identifier "va_list" is undefined int rt_vsnprintf(char *buf, rt_size_t size, const char *fmt, va_list args); ..\..\..\src\components.c: 0 warnings, 2 errors compiling mempool.c... ..\..\..\include\rtthread.h(582): error: #20: identifier "va_list" is undefined int rt_vsprintf(char *dest, const char *format, va_list arg_ptr); ..\..\..\include\rtthread.h(583): error: #20: identifier "va_list" is undefined int rt_vsnprintf(char *buf, rt_size_t size, const char *fmt, va_list args); ..\..\..\src\mempool.c: 0 warnings, 2 errors compiling timer.c... ..\..\..\include\rtthread.h(582): error: #20: identifier "va_list" is undefined int rt_vsprintf(char *dest, const char *format, va_list arg_ptr); ..\..\..\include\rtthread.h(583): error: #20: identifier "va_list" is undefined int rt_vsnprintf(char *buf, rt_size_t size, const char *fmt, va_list args); ..\..\..\src\timer.c: 0 warnings, 2 errors compiling idle.c... ..\..\..\include\rtthread.h(582): error: #20: identifier "va_list" is undefined int rt_vsprintf(char *dest, const char *format, va_list arg_ptr); ..\..\..\include\rtthread.h(583): error: #20: identifier "va_list" is undefined int rt_vsnprintf(char *buf, rt_size_t size, const char *fmt, va_list args); ..\..\..\src\idle.c: 0 warnings, 2 errors compiling device.c... ..\..\..\include\rtthread.h(582): error: #20: identifier "va_list" is undefined int rt_vsprintf(char *dest, const char *format, va_list arg_ptr); ..\..\..\include\rtthread.h(583): error: #20: identifier "va_list" is undefined int rt_vsnprintf(char *buf, rt_size_t size, const char *fmt, va_list args); ..\..\..\src\device.c: 0 warnings, 2 errors compiling stm32f4xx_hal_uart.c... ..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Include\stm32f429xx.h(174): error: #5: cannot open source input file "core_cm4.h": No such file or directory #include "core_cm4.h" /* Cortex-M4 processor and core peripherals */ ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_uart.c: 0 warnings, 1 error compiling memheap.c... ..\..\..\include\rtthread.h(582): error: #20: identifier "va_list" is undefined int rt_vsprintf(char *dest, const char *format, va_list arg_ptr); ..\..\..\include\rtthread.h(583): error: #20: identifier "va_list" is undefined int rt_vsnprintf(char *buf, rt_size_t size, const char *fmt, va_list args); ..\..\..\src\memheap.c: 0 warnings, 2 errors compiling stm32f4xx_hal_cryp_ex.c... ..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Include\stm32f429xx.h(174): error: #5: cannot open source input file "core_cm4.h": No such file or directory #include "core_cm4.h" /* Cortex-M4 processor and core peripherals */ ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_cryp_ex.c: 0 warnings, 1 error compiling stm32f4xx_hal_dma.c... ..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Include\stm32f429xx.h(174): error: #5: cannot open source input file "core_cm4.h": No such file or directory #include "core_cm4.h" /* Cortex-M4 processor and core peripherals */ ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dma.c: 0 warnings, 1 error compiling stm32f4xx_hal_rng.c... ..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Include\stm32f429xx.h(174): error: #5: cannot open source input file "core_cm4.h": No such file or directory #include "core_cm4.h" /* Cortex-M4 processor and core peripherals */ ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_rng.c: 0 warnings, 1 error compiling stm32f4xx_hal_pwr_ex.c... ..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Include\stm32f429xx.h(174): error: #5: cannot open source input file "core_cm4.h": No such file or directory #include "core_cm4.h" /* Cortex-M4 processor and core peripherals */ ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_pwr_ex.c: 0 warnings, 1 error compiling stm32f4xx_hal.c... ..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Include\stm32f429xx.h(174): error: #5: cannot open source input file "core_cm4.h": No such file or directory #include "core_cm4.h" /* Cortex-M4 processor and core peripherals */ ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal.c: 0 warnings, 1 error compiling stm32f4xx_hal_usart.c... ..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Include\stm32f429xx.h(174): error: #5: cannot open source input file "core_cm4.h": No such file or directory #include "core_cm4.h" /* Cortex-M4 processor and core peripherals */ ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_usart.c: 0 warnings, 1 error compiling stm32f4xx_hal_rcc_ex.c... ..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Include\stm32f429xx.h(174): error: #5: cannot open source input file "core_cm4.h": No such file or directory #include "core_cm4.h" /* Cortex-M4 processor and core peripherals */ ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_rcc_ex.c: 0 warnings, 1 error compiling stm32f4xx_hal_cec.c... ..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Include\stm32f429xx.h(174): error: #5: cannot open source input file "core_cm4.h": No such file or directory #include "core_cm4.h" /* Cortex-M4 processor and core peripherals */ ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_cec.c: 0 warnings, 1 error compiling stm32f4xx_hal_dma_ex.c... ..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Include\stm32f429xx.h(174): error: #5: cannot open source input file "core_cm4.h": No such file or directory #include "core_cm4.h" /* Cortex-M4 processor and core peripherals */ ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dma_ex.c: 0 warnings, 1 error compiling stm32f4xx_hal_pwr.c... ..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Include\stm32f429xx.h(174): error: #5: cannot open source input file "core_cm4.h": No such file or directory #include "core_cm4.h" /* Cortex-M4 processor and core peripherals */ ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_pwr.c: 0 warnings, 1 error compiling stm32f4xx_hal_rcc.c... ..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Include\stm32f429xx.h(174): error: #5: cannot open source input file "core_cm4.h": No such file or directory #include "core_cm4.h" /* Cortex-M4 processor and core peripherals */ ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_rcc.c: 0 warnings, 1 error compiling stm32f4xx_hal_gpio.c... ..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Include\stm32f429xx.h(174): error: #5: cannot open source input file "core_cm4.h": No such file or directory #include "core_cm4.h" /* Cortex-M4 processor and core peripherals */ ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_gpio.c: 0 warnings, 1 error compiling stm32f4xx_hal_crc.c... ..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Include\stm32f429xx.h(174): error: #5: cannot open source input file "core_cm4.h": No such file or directory #include "core_cm4.h" /* Cortex-M4 processor and core peripherals */ ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_crc.c: 0 warnings, 1 error compiling system_stm32f4xx.c... ..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Include\stm32f429xx.h(174): error: #5: cannot open source input file "core_cm4.h": No such file or directory #include "core_cm4.h" /* Cortex-M4 processor and core peripherals */ ..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\system_stm32f4xx.c: 0 warnings, 1 error compiling stm32f4xx_hal_cortex.c... ..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Include\stm32f429xx.h(174): error: #5: cannot open source input file "core_cm4.h": No such file or directory #include "core_cm4.h" /* Cortex-M4 processor and core peripherals */ ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_cortex.c: 0 warnings, 1 error compiling stm32f4xx_hal_cryp.c... ..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Include\stm32f429xx.h(174): error: #5: cannot open source input file "core_cm4.h": No such file or directory #include "core_cm4.h" /* Cortex-M4 processor and core peripherals */ ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_cryp.c: 0 warnings, 1 error ".\build\keil\Obj\rt-thread.axf" - 110 Error(s), 12 Warning(s). Target not created. Build Time Elapsed: 00:00:10 ```
查看更多
1
个回答
默认排序
按发布时间排序
mysterywolf
认证专家
2022-08-15
https://github.com/mysterywolf
请使用scons --target=mdk5重新生成一下工程 然后再编译
撰写答案
登录
注册新账号
关注者
0
被浏览
356
关于作者
JamesZhou
这家伙很懒,什么也没写!
提问
1
回答
0
被采纳
0
关注TA
发私信
相关问题
1
有关动态模块加载的一篇论文
2
最近的调程序总结
3
晕掉了,这么久都不见layer2的踪影啊
4
继续K9ii的历程
5
[GUI相关] FreeType 2
6
[GUI相关]嵌入式系统中文输入法的设计
7
20081101 RT-Thread开发者聚会总结
8
嵌入式系统基础
9
linux2.4.19在at91rm9200 上的寄存器设置
10
[转]基于嵌入式Linux的通用触摸屏校准程序
推荐文章
1
RT-Thread应用项目汇总
2
玩转RT-Thread系列教程
3
国产MCU移植系列教程汇总,欢迎查看!
4
机器人操作系统 (ROS2) 和 RT-Thread 通信
5
五分钟玩转RT-Thread新社区
6
【技术三千问】之《玩转ART-Pi》,看这篇就够了!干货汇总
7
关于STM32H7开发板上使用SDIO接口驱动SD卡挂载文件系统的问题总结
8
STM32的“GPU”——DMA2D实例详解
9
RT-Thread隐藏的宝藏之completion
10
【ART-PI】RT-Thread 开启RTC 与 Alarm组件
最新文章
1
【NXP-MCXA153】 定时器驱动移植
2
GD32F450 看门狗驱动适配
3
【NXP-MCXA153】看门狗驱动移植
4
RT-Thread Studio V2.2.9 Release Note
5
CherryUSB的bootuf2配置
热门标签
RT-Thread Studio
串口
Env
LWIP
SPI
AT
Bootloader
Hardfault
CAN总线
FinSH
ART-Pi
USB
DMA
文件系统
RT-Thread
SCons
RT-Thread Nano
线程
MQTT
STM32
RTC
FAL
rt-smart
ESP8266
I2C_IIC
UART
WIZnet_W5500
ota在线升级
PWM
freemodbus
flash
cubemx
packages_软件包
BSP
潘多拉开发板_Pandora
定时器
ADC
GD32
flashDB
socket
中断
编译报错
Debug
rt_mq_消息队列_msg_queue
SFUD
msh
keil_MDK
ulog
C++_cpp
MicroPython
本月问答贡献
踩姑娘的小蘑菇
7
个答案
2
次被采纳
a1012112796
16
个答案
1
次被采纳
Ryan_CW
5
个答案
1
次被采纳
红枫
4
个答案
1
次被采纳
张世争
4
个答案
1
次被采纳
本月文章贡献
YZRD
3
篇文章
6
次点赞
catcatbing
3
篇文章
6
次点赞
lizimu
2
篇文章
9
次点赞
qq1078249029
2
篇文章
2
次点赞
xnosky
2
篇文章
1
次点赞
回到
顶部
发布
问题
分享
好友
手机
浏览
扫码手机浏览
投诉
建议
回到
底部