cancel
Showing results for 
Search instead for 
Did you mean: 

My CubeMX and IDE cannot create HW_rng.c file and related codes.

KKIM.6
Senior II

I'm trying to use STM32WB09KE for the BLE application.

 

However, unlike STM32WB55, this microcontroller must activate PKA and RNG for the BLE module.

So, I did.

However, after generating the BLE code, I tried to build the project in the IDE and it showed a lot of errors related to RNG part.

For example, these functions are not found in the project.

HW_RNG_Init()

blue_unit_conversion()

PKAMGR_Init()

aci_gatt_srv_profile_init()

NVMDB_Tick()

NVMDB_AppendRecord()

NVMDB_ReadCurrentRecord()

NVMDB_CompareCurrentRecord()

NVMDB_DeleteRecord()

Osal_MemCpy()

GetPartInfo()

HW_AES_Encrypt()

HW_RNG_GetRandom16()

HW_RNG_GetRandom32()

RADIO_GetMaxPALevel()

RADIO_GetDefaultPALevel()

RADIO_SetHighPower()

 

Do you have any idea why my IDE cannot import some files related to this?

My cubeMX and cubeIDE are latest version.

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
KKIM.6
Senior II

This problem is solved by unchecking "Generate Under Root" in the CubeMX - Project Manager - Project tap.

View solution in original post

1 REPLY 1
KKIM.6
Senior II

This problem is solved by unchecking "Generate Under Root" in the CubeMX - Project Manager - Project tap.