Skip to main content
RPowe.1
Associate II
November 14, 2024
Question

List file doesn't match source!

  • November 14, 2024
  • 1 reply
  • 729 views

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?

1 reply

RPowe.1
RPowe.1Author
Associate II
November 14, 2024

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