simplelink: cc13x2_cc26x2: include flash driverlib sources

These sources are required for CC13xx/CC26xx on-chip flash driver which
makes use of TI's HAL functions and some of them are not inside ROM.

Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
This commit is contained in:
Piotr Dymacz 2022-05-11 18:30:09 +02:00 committed by Christopher Friedt
parent 905a5d4134
commit b00ac9bf52
1 changed files with 3 additions and 0 deletions

View File

@ -41,6 +41,9 @@ zephyr_library_sources_ifdef(CONFIG_BLE_CC13XX_CC26XX
# Required for RFCDoorbellSendTo which is not in ROM
zephyr_library_sources_ifdef(CONFIG_BLE_CC13XX_CC26XX driverlib/rfc.c)
# Required for on-chip flash support
zephyr_library_sources_ifdef(CONFIG_SOC_FLASH_CC13XX_CC26XX driverlib/flash.c)
if(CONFIG_SOC_CC1352R)
# Required for RFCDoorbellSendTo which is not in ROM
set_source_files_properties(driverlib/rfc.c