Skip to main content
KKIM.6
Senior
December 18, 2024
Solved

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

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.

 

 

This topic has been closed for replies.
KKIM.6
KKIM.6Best answer
Senior
December 18, 2024

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

1 reply

KKIM.6
KKIM.6AuthorBest answer
Senior
December 18, 2024

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