nRF52-Note(01)-cannot open source input file nrf_erratas.h
·
一、开发环境及工具
- Windos 10
- Keil uVision5 V5.33 (https://www2.keil.com/mdk5)
- nRF5 SDK v15.3.0 (https://www.nordicsemi.com/Software-and-tools/Software/nRF5-SDK/Download)

二、错误提示描述
1、在arm5_no_packs文件夹目录下打开keil工程编译提示:
error: #5: cannot open source input file "nrf_erratas.h": No such file or directory
在arm4文件夹下打开不会出现此错误提示。

三、解决办法
1、首先确保已经安装对应的Device Family Pack支持包,建议安装对应版本:NordicSemiconductor.nRF_DeviceFamilyPack.8.24.1

下载地址: https://www.keil.com/dd2/Pack/

2、在pack的安装目录下进入Packs\NordicSemiconductor\nRF_DeviceFamilyPack\8.24.1\Device\Source文件夹

3、复制该文件夹下的system_nrf52.c文件到项目下的arm5_no_packs\RTE\Device\nRF52832_xxAA路径,并替换原来的文件

4、重新编译代码,错误提示消失,问题解决

更多推荐
所有评论(0)