Problem with undefined references in STM32CUBEIDE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2022-06-03 7:30 AM
Hello there,
After an update off STM32CubeIde from 1.17.0 to 1.19.0, the compilation of my code generates a lot of undefined references in functions like HAL_Init(). Do you know how to solve this problem? All of the header files are linked in same C file.
- Labels:
-
STM32CubeIDE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2022-06-03 7:51 AM
Starts be determining what's missing and why.
Is this an error coming from the LINKER or the COMPILER?
All the header files should be pulled by a single include, what gets built depends on defines in stm32xyz_hal_conf.h
Include files typically don't provide the body code to the functions they describe, the linker needs to get that from libraries, or source the compiler compiles. Make sure the source files are described by the project.
Up vote any posts that you find helpful, it shows what's working..
