Skip to content
Browse files

ext: simplelink: modify CC13x2/CC26x2 CCFG to use appropriate sections

The default customer configuration (CCFG) provided by the
TI CC13x2 / CC26x2 SDK puts the configuration in a section different
than expected by Zephyr. It has been modified to use the appropriate

Signed-off-by: Brett Witherspoon <>
  • Loading branch information...
bwitherspoon authored and galak committed May 2, 2019
1 parent faa941e commit e490be387ebd23ced13bfea87ef6946d229ba35b
@@ -21,6 +21,9 @@ The driver library source is copied from the SDK, as follows:
find $EXT_DIR/devices/cc13x2_cc26x2 -name '*.[c|h]' -exec dos2unix {} \;

The source file startup_files/ccfg.c has been modified to use the appropriate
sections when linking.

TI provides the driver library functions burned into ROM at the factory,
or updated via a service pack patch, thus saving application code space.

@@ -46,6 +46,9 @@
#include "../inc/hw_ccfg.h"
#include "../inc/hw_ccfg_simple_struct.h"

/* Required for Zephyr __ti_ccfg_section macro */
#include <linker/sections.h>

// Introduction
@@ -502,7 +505,8 @@ __root const ccfg_t __ccfg @ ".ccfg" =
#pragma RETAIN(__ccfg)
const ccfg_t __ccfg =
const ccfg_t __ccfg __attribute__((section(".ccfg"))) __attribute__((used)) =
/* Modified for Zephyr to use __ti_ccfg_section */
const ccfg_t __ti_ccfg_section __ccfg =
{ // Mapped to address
DEFAULT_CCFG_EXT_LF_CLK , // 0x50003FA8 (0x50003xxx maps to last

0 comments on commit e490be3

Please sign in to comment.
You can’t perform that action at this time.