2024-11-14 04:29 AM
I had a report of a hard fault so looked in the list file to find out where it occurred. It pointed to HAL_GPIO_Init in the list file, so opened the stm32wbxx_hal_gpio.c file in STMCubeIDE. The source for HAL_GPIO_Init in my project doesn't match the HAL_GPIO_Init in the list file. How can this happen?
2024-11-14 05:10 AM
This is the list of include paths, so it should pull in the local driver software..
../Drivers/STM32WBxx_HAL_Driver/Inc
../Drivers/STM32WBxx_HAL_Driver/Inc/Legacy
../Middlewares/ST/STM32_WPAN
../Middlewares/ST/STM32_WPAN/interface/patterns/ble_thread
../Middlewares/ST/STM32_WPAN/interface/patterns/ble_thread/tl
../Middlewares/ST/STM32_WPAN/interface/patterns/ble_thread/shci
../Middlewares/ST/STM32_WPAN/utilities
../Middlewares/ST/STM32_WPAN/ble
../Middlewares/ST/STM32_WPAN/ble/core/Inc
../Middlewares/ST/STM32_WPAN/ble/core/Inc/core
../Middlewares/ST/STM32_WPAN/ble/core/Src/core
../Middlewares/ST/STM32_WPAN/ble/core/Src/blesvc
../Middlewares/ST/STM32_WPAN/ble/core/Inc/blesvc
../Drivers/CMSIS/Device/ST/STM32WBxx/Include
../Drivers/CMSIS/Include
../Legacy/Inc