Texas Instruments SimpleLink CC2640 User Manual page 35

Ultra-low power wireless mcu for bluetooth low energy
Hide thumbs Also See for SimpleLink CC2640:
Table of Contents

Advertisement

unusable. The example project for building an Image B included in simple_peripheral workspace as
'FlashOnly_OAD_ImgB' configuration can be reproduced through following procedures. The procedures
can be applied to convert any existing application to downloadable On-chip OAD Image in IAR.
I.
Select Project→Options→C/C++ Compiler→Preprocessor→Defined symbols and add the
following new definitions:
FEATURE_OAD
FEATURE_OAD_ONCHIP
IMAGE_INVALIDATE
HAL_IMAGE_B
Add the following line to the "Additional include directories":
$SRC_EX$/profiles/oad/cc26xx
Append the following in Build Actions under Pre-build command line:
--cfgArgs NO_ROM=1,OAD_IMG_B=1
Verify in Project→Options→C/C++ Compiler→Extra Options, the correct iar_boundary.bdef file is
included:

Advertisement

Table of Contents
loading

Table of Contents