From ae3f1c301367a4b2a5649b9ef754f581da958e9a Mon Sep 17 00:00:00 2001 From: _VIFEXTech Date: Wed, 5 Jan 2022 13:11:02 +0800 Subject: [PATCH] Update README.md --- Software/README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Software/README.md b/Software/README.md index 34385d5f..701e90bb 100644 --- a/Software/README.md +++ b/Software/README.md @@ -4,6 +4,10 @@ > [AT32F4xx标准外设库](http://www.arterytek.com/download/Pack_Keil_AT32F4xx_CH_V1.3.7.zip) > > [AT32F43x标准外设库](https://www.arterytek.com/download/Keil5_AT32MCU_AddOn_CH_V2.0.6.zip) +* 如果安装Pack后,Keil依然报以下这类错误,可能是之前安装了 Keil v4 兼容包 (MDK v4 Legacy Support) 导致的,请尝试**卸载此包或重新安装 Keil v5**。 + +`Error #540: 'Keil::Device:StdPeriph Drivers:ADC:1.0.1' component is not available for target 'X-Track'` + ### 注意 **不要修改芯片选型**,因为修改芯片选型后启动文件会重新生成,堆栈大小会恢复默认值,而使用默认的栈大小会导致**栈溢出**。现象是启动后立即蓝屏,提示发生**HardFault**(如下图所示),串口会输出详细的错误信息。如果确实需要修改芯片选型,请参考工程原始的启动文件进行修改。