Zigbee调试问题 IAR编译出现 Fatal Error[e72]: Segment BANKED_CODE must be defined in a segment definition option (-Z, -b or -P)

转自:http://blog.163.com/ojb_123/blog/static/24177424201463012639205/ (作者:Bkey

是链接(Link)时出错:
Fatal Error[e72]: Segment BANKED_CODE must be defined in a segment definition option (-Z, -b or -P)

原因是IAR新版本使用旧版本文件


解决方法:
打开project->options->linker->config->override default
选择文件C:Program Files (x86)IAR SystemsEmbedded Workbench 6.0 Evaluation8051configdevicesTexas Instrumentslnk51ew_cc2530F256_banked.xcl


选择banked的xcl文件即可,具体的文件可根据所用的芯片型号来选择。

原文地址:https://www.cnblogs.com/killer-xc/p/4764826.html