问题及解决方案
文章平均质量分 51
醉月、
这个作者很懒,什么都没留下…
展开
-
HAL库移植出现 error: unknown type name ‘HAL_StatusTypeDef‘ error: unknown type name ‘HAL_LockTypeDef‘
../hal_driver/Inc/stm32f1xx_hal_rcc_ex.h(1857): error: unknown type name 'HAL_StatusTypeDef'HAL_StatusTypeDef HAL_RCCEx_PeriphCLKConfig(RCC_PeriphCLKInitTypeDef原创 2023-05-12 14:11:23 · 1246 阅读 · 1 评论 -
uboot :make menuconfig报错bison: not found; scripts/kconfig/zconf.tab.c] Error 127
解决方式为:安装 bison flex。原创 2023-04-19 09:33:06 · 534 阅读 · 0 评论 -
编译uboot出现错误 fatal error: configs/.h: No such file or directory
首次编译uboot时出现错误如下: user@ubuntu:~/share/u-boot2/u-boot$ make CROSS_COMPILE=arm-linux-gnueabi-scripts/kconfig/conf --syncconfig Kconfig CFG u-boot.cfgIn file included from ./include/common.h:16:0:include/config.h:4:10: fatal..原创 2021-11-15 09:40:09 · 4606 阅读 · 0 评论 -
ubuntu 14.0.5 系统make时出现makefile:40: *** missing separator. Stop. 错误 解决方法
虚拟机linux系统:ubuntu 14.0.5 位uboot版本: 于2021.1021从gitee clone下来的最新uboot本人在安装好交叉编译工具链后就出现了makefile:40: *** missing separator. Stop. 错误根据错误提示,是makefile文件的第40行上面TAB的问题,查了好多网上资料也都是这个解释。但是作为刚刚从官网拉下来的源码,很明显不属于makefile的问题。说明一下,本人有一个低配版的阿里云服务器,是当时官方做活动时买...原创 2021-10-21 19:10:54 · 1425 阅读 · 2 评论 -
头文件提示错误unterminated conditional directive问题
头文件提示“unterminated conditional directive”错误原因为 对应的头文件 没有”#endif”,或者#endif 书写错误原创 2020-04-14 20:38:36 · 9657 阅读 · 0 评论 -
STM32编译出现 XX is used as a header guard here, followed by #define of a different macro 问题
STM32编译时出现如下错误XX isusedasaheaderguardhere, followed by #define of a different macro这种问题出现的原因可能是文件名与工程的库函数或参数名定义重名,改变名字即可...原创 2020-04-14 20:36:40 · 4457 阅读 · 0 评论