Greetings,
I use TI BLE SDK 2.30.00.28 and Host Test app from this release.
I changed build_config.opt file as below:
/* BLE Host Build Configurations */
/* -DHOST_CONFIG=PERIPHERAL_CFG */
/* -DHOST_CONFIG=CENTRAL_CFG */
/* -DHOST_CONFIG=BROADCASTER_CFG */
/* -DHOST_CONFIG=OBSERVER_CFG */
/* -DHOST_CONFIG=PERIPHERAL_CFG+OBSERVER_CFG */
/* -DHOST_CONFIG=CENTRAL_CFG+BROADCASTER_CFG */
-DHOST_CONFIG=PERIPHERAL_CFG+CENTRAL_CFG
/* GATT Database being off chip */
-DGATT_DB_OFF_CHIP
and got linker error from IAR:
Error[Lp011]: section placement failed
unable to allocate space for sections/blocks with a total estimated minimum size of 0x21a42 bytes (max align 0x4) in <[0x00000000-0x0001efff], [0x0001f000-0x0001ffff]> (total uncommitted space 0x1ec3c).
Uncommitted:
[0x00000000-0x00000fff]: 0xfc4
[0x0000128e-0x0000128f]: 0x1
[0x00001300-0x00001303]: 0x3
[0x0000132c-0x0001efff]: 0x1ccd0
[0x0001f000-0x0001ffff]: 0xfa8
If I change build_config.opt file as below:
/* GATT Database being off chip */
-DGATT_DB_OFF_CHIP
then I have no errors.
Could anybody explain a root cause of the link error?
Thank you in advance.