2017-09-25 07:04 PM
Hi,
When I add stm32f769i_discovery.h, I got the following error.
compiling stm32f7xx_hal_msp.c...
..\Drivers\BSP\STM32F769I-Discovery\stm32f769i_discovery.h(307): error: &sharp20: identifier 'uint32_t' is undefined
uint32_t BSP_GetVersion(void);
..\Drivers\BSP\STM32F769I-Discovery\stm32f769i_discovery.h(315): error: &sharp20: identifier 'uint32_t' is undefined
uint32_t BSP_PB_GetState(Button_TypeDef Button);
Please help me how I can solve it.
I use keil 5.
Regards,
Thiha Kyaw
#stm32f769i_discovery2017-09-25 07:56 PM
In main.h
/* Define to prevent recursive inclusion -------------------------------------*/
#ifndef __MAIN_H#define __MAIN_H /* Includes ------------------------------------------------------------------*//* USER CODE BEGIN Includes */
#include 'stm32f7xx.h' // rather than #include 'stm32f7xx_hal.h'#include 'stm32f769i_discovery.h'/* USER CODE END Includes */