Topic: Zephyr STM32 build failure
I'm trying to get Wolfssl to build for an STM32 (STM32U585xx) utilizing Zephyr. Below are some of the linker errors I get with this configuration...
undefined reference to `stm32_ecc_sign_hash_ex'
undefined reference to `wc_Stm32_Hash_Init'
undefined reference to `wc_Stm32_Hash_Update'
These functions can be found in the stm32.c port file within the Wolfssl port directory (/modules/crypto/wolfssl/wolfcrypt/src/port/st/stm32.c)
The Wolfssl cmake file for the Zephyr build doesn't include these port files (modules/crypto/wolfssl/zephyr/CMakeLists.txt). If I manually add the stm32.c to the cmake file then I get a clean build. The question is there a method to include this stm32.c file into the build external to the Wolfssl Zephyr module? If not, then is the expectation to add this manually or is this a bug.