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.

请教一下TI的大神们,CC2540usb升级固件的问题

Other Parts Discussed in Thread: CC2540

我的工程是CC2540DK-MIN Keyfob 我根据HostTestRelease这个工程进行配置bootloader

我的配置如下:

 1) C/C++ Comiler->Preprocessor defined symbols add 
 OAD_KEEP_NV_PAGES
 FEATURE_UBL_MSD

 2) Build Actions->Post-build command line 
"$PROJ_DIR$\..\..\common\cc2540\cc254x_sim2bin.exe""$PROJ_DIR$\CC2540DK-mini KeyfobSlave\Exe\CC2540MiniDkDemoSlave.sim""$PROJ_DIR$\CC2540DK-mini KeyfobSlave\Exe\CC2540MiniDkDemoSlave.bin"

 3) Linker->Extra Output
 Override default: SimpleBLECentralubl.sim
 Output format: simple-code

 4)Linker->Config
 linker configuration file:
 $PROJ_DIR$\..\..\common\cc2540\cc254x_f256_ubl_msd.xcl

最后编译有错误:

Fatal Error[Pe035]: #error directive: Unknown board target. 

请问这是什么原因啊??求助