stm32f769i_discovery.h(315): error: identifier ''uint32_t'' is undefined
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2017-09-25 7: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_discovery- Labels:
-
STM32F7 Series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2017-09-25 7: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 */Up vote any posts that you find helpful, it shows what's working..
