CMSIS with Keil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-03-13 8:21 AM
Hi,
I have created a project with Keil compiler (v5.17 )and I'd like to use the CMSIS driver for SPI.
When I selected CMSIS in RTE, it tells me that I need CubeMX for configuring the HAL.
I used CubeMX for generating the code, but there are many errors in the compiler.
Best regards
Luca
- Labels:
-
Keil
-
SPI
-
STM32CubeMX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-03-13 8:54 AM
Enable the sub-components in stm32f3xx_hal_conf.h
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-03-13 9:14 AM
The enable is based on:
#ifdef _RTE_
#include "RTE_Components.h" /* Component selection */
#endif
This is part of RTE_Components, that is generates in automatic.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-03-13 9:26 AM
Yet you get errors, want to address those, check what's in stm32f3xx_hal_conf.h
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-03-14 12:08 AM
Hi,
the problem is that the file are generated from CubeMX, if I changed this files manually, everytime change something with CubeMX I will have the same problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-03-14 4:59 AM
Ok, but to get ST to fix that you first need to identify what they are doing wrong.​
Up vote any posts that you find helpful, it shows what's working..
