boards; cc2650_sensortag: Get building with sanitycheck
Board port was done before the yaml transition, so was missing a cc2650_sensortag.yaml. As such when we build all the test we get a few build errors that we also fixed up. Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
parent
a0583cb114
commit
d426d122f1
2 changed files with 12 additions and 0 deletions
|
@ -66,9 +66,11 @@ ti_ccfg[CCFG_SIZE / sizeof(u32_t)] = {
|
||||||
static const u32_t clkloadctl =
|
static const u32_t clkloadctl =
|
||||||
REG_ADDR(TI_CC2650_PRCM_40082000_BASE_ADDRESS,
|
REG_ADDR(TI_CC2650_PRCM_40082000_BASE_ADDRESS,
|
||||||
CC2650_PRCM_CLKLOADCTL);
|
CC2650_PRCM_CLKLOADCTL);
|
||||||
|
#ifdef CONFIG_CC2650_TRNG_RANDOM_GENERATOR
|
||||||
static const u32_t secdmaclkgr =
|
static const u32_t secdmaclkgr =
|
||||||
REG_ADDR(TI_CC2650_PRCM_40082000_BASE_ADDRESS,
|
REG_ADDR(TI_CC2650_PRCM_40082000_BASE_ADDRESS,
|
||||||
CC2650_PRCM_SECDMACLKGR);
|
CC2650_PRCM_SECDMACLKGR);
|
||||||
|
#endif
|
||||||
static const u32_t gpioclkgr =
|
static const u32_t gpioclkgr =
|
||||||
REG_ADDR(TI_CC2650_PRCM_40082000_BASE_ADDRESS,
|
REG_ADDR(TI_CC2650_PRCM_40082000_BASE_ADDRESS,
|
||||||
CC2650_PRCM_GPIOCLKGR);
|
CC2650_PRCM_GPIOCLKGR);
|
||||||
|
@ -78,9 +80,11 @@ static const u32_t pdctl0 =
|
||||||
static const u32_t pdstat0 =
|
static const u32_t pdstat0 =
|
||||||
REG_ADDR(TI_CC2650_PRCM_40082000_BASE_ADDRESS,
|
REG_ADDR(TI_CC2650_PRCM_40082000_BASE_ADDRESS,
|
||||||
CC2650_PRCM_PDSTAT0);
|
CC2650_PRCM_PDSTAT0);
|
||||||
|
#ifdef CONFIG_SERIAL
|
||||||
static const u32_t uartclkgr =
|
static const u32_t uartclkgr =
|
||||||
REG_ADDR(TI_CC2650_PRCM_40082000_BASE_ADDRESS,
|
REG_ADDR(TI_CC2650_PRCM_40082000_BASE_ADDRESS,
|
||||||
CC2650_PRCM_UARTCLKGR);
|
CC2650_PRCM_UARTCLKGR);
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Setup power and clock for needed hardware modules. */
|
/* Setup power and clock for needed hardware modules. */
|
||||||
static void setup_modules_prcm(void)
|
static void setup_modules_prcm(void)
|
||||||
|
|
8
boards/arm/cc2650_sensortag/cc2650_sensortag.yaml
Normal file
8
boards/arm/cc2650_sensortag/cc2650_sensortag.yaml
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
identifier: cc2650_sensortag
|
||||||
|
name: SimpleLink multi-standard CC2650 SensorTag kit
|
||||||
|
type: mcu
|
||||||
|
arch: arm
|
||||||
|
toolchain:
|
||||||
|
- zephyr
|
||||||
|
- gccarmemb
|
||||||
|
ram: 20
|
Loading…
Add table
Add a link
Reference in a new issue