I can't get my first STM32CubeMX project to build in STM32CubeIDE. I seem to get different errors every time I try to build it, but the most recent is: stm32f1xx_hal_timebase_tim.c:80: undefined reference to `HAL_TIM_Base_Init'
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-08-03 1:40 AM
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-08-14 3:58 AM
Hi Amel! I've got this working now. I'm not sure what the issue was, but I solved it by deleting the CubeIDE project files and recreating the project from CubeMX. It might have been cause by initially choosing the wrong Toolchain/IDE in Project Manager? Sorry for wasting your time.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-08-14 2:18 AM
Hi @SCook.1​ ,
Could you please share the .ioc file for your project to check the issue?
Are you using latest STM32CubeIDE version?
-Amel
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-08-14 3:58 AM
Hi Amel! I've got this working now. I'm not sure what the issue was, but I solved it by deleting the CubeIDE project files and recreating the project from CubeMX. It might have been cause by initially choosing the wrong Toolchain/IDE in Project Manager? Sorry for wasting your time.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-08-14 6:19 AM
Glad to know the problem is already solved!
-Amel
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
