This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

IAR FOR 8051 version 8.1,编译CC2541的SBP的demo出现fatal error[e72]错误,求助!

Other Parts Discussed in Thread: CC2540

iar 编译出现以下问题。

Fatal Error[e72]: Segment SLEEP_CODE must be defined in a segment definition option (-Z, -b or -P)

以下方法我都用过:

1.重装iar for 8051(version 8.10.4),对应ble协议栈1.3.2;

2.options 选项中我设置是正确的,options>linker>linker configuration file>......\lnk51ew_cc2541F256_banked.xcl

3.如果2.中的options 设置为options>linker>linker configuration file>......\ti_51ew_cc2540b.xcl,则编译无错误,但是无法下载