2022-07-26 11:15 AM
I want to implement a system so that it retrieves sound by mems microphones and classify it with convolutional neural network. I have spent a lot of times to use BSP Library in my project but I failed. Therefore, I decided to use the code provided in f7cube file in the repository to retrieve sound. Furthermore, I'd like to use xcubeai with this code. To do that, I have to add CRC configuration, however, it throws an error as in the title.
Actually I think this is about linker issue because when I add stm32f7xx_hal_crc.c file to the project, and when I apply ctrl+left click to HAL_CRC_Init in main.c file, it takes me to definition, but cubeide somehow cannot recognize it. How to solve this issue?
Solved! Go to Solution.
2022-07-26 01:12 PM
Make sure stm32f7xx_hal_conf.h calls out the CRC module for inclusion. And that the HAL CRC source is part of the build.
2022-07-26 01:12 PM
Make sure stm32f7xx_hal_conf.h calls out the CRC module for inclusion. And that the HAL CRC source is part of the build.
2022-07-27 01:05 AM
Hello sir, your suggestion works, it can solve the problem. However, another problem has arisen. Now, I have comletely the same issue with the
HAL_StatusTypeDef HAL_CRCEx_Polynomial_Set(CRC_HandleTypeDef *hcrc, uint32_t Pol, uint32_t PolyLength);
function. Note that I am now sure that I enabled the define macro about the CRC module for inclusion. How to solve this issue?
Thx in advance for your valuable responses.
2022-07-27 04:20 AM
I solved the second problem. It is completely my fault. This time when I applied ctrl+left click, it doesn't take me to definiton. And I suddenly realized that there isn't any file called HAL_CRC_Ex.h file. I add it and build it without problem. Thank you for the response @Community member