2023-03-13 08: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
2023-03-13 08:54 AM
Enable the sub-components in stm32f3xx_hal_conf.h
2023-03-13 09: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.
2023-03-13 09:26 AM
Yet you get errors, want to address those, check what's in stm32f3xx_hal_conf.h
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.
2023-03-14 04:59 AM
Ok, but to get ST to fix that you first need to identify what they are doing wrong.