diff --git a/bsp/stm32/libraries/STM32F7xx_HAL/CMSIS/Device/ST/STM32F7xx/Include/stm32f7xx.h b/bsp/stm32/libraries/STM32F7xx_HAL/CMSIS/Device/ST/STM32F7xx/Include/stm32f7xx.h index 2275870a4b45e8dba906deea1ed82ff632ed4299..1c1a6a2ac8e8fc769c15ce4614e78185759fb648 100644 --- a/bsp/stm32/libraries/STM32F7xx_HAL/CMSIS/Device/ST/STM32F7xx/Include/stm32f7xx.h +++ b/bsp/stm32/libraries/STM32F7xx_HAL/CMSIS/Device/ST/STM32F7xx/Include/stm32f7xx.h @@ -58,6 +58,9 @@ extern "C" { #endif /* __cplusplus */ +/* Includes ------------------------------------------------------------------*/ +#include + /** @addtogroup Library_configuration_section * @{ */ diff --git a/bsp/stm32/stm32f429-armfly-v6/board/ports/drv_ext_io.c b/bsp/stm32/stm32f429-armfly-v6/board/ports/drv_ext_io.c index 7d11df909aea59ce073cf728cc986f653754bd4d..44a4a622c505f7d3e427e3cbb87b0308f012ff98 100644 --- a/bsp/stm32/stm32f429-armfly-v6/board/ports/drv_ext_io.c +++ b/bsp/stm32/stm32f429-armfly-v6/board/ports/drv_ext_io.c @@ -21,7 +21,7 @@ volatile rt_uint32_t HC574_state = 0; -void HC574_SetPin(uint32_t _pin, uint8_t _value) +void HC574_SetPin(rt_uint32_t _pin, uint8_t _value) { if (_value == 0) {