Browse Source

[bsp][stm32] fix ci bug

SummerGift 6 years ago
parent
commit
0e3e288666

+ 3 - 0
bsp/stm32/libraries/STM32F7xx_HAL/CMSIS/Device/ST/STM32F7xx/Include/stm32f7xx.h

@@ -58,6 +58,9 @@
  extern "C" {
  extern "C" {
 #endif /* __cplusplus */
 #endif /* __cplusplus */
 
 
+/* Includes ------------------------------------------------------------------*/
+#include <rtthread.h>
+
 /** @addtogroup Library_configuration_section
 /** @addtogroup Library_configuration_section
   * @{
   * @{
   */
   */

+ 1 - 1
bsp/stm32/stm32f429-armfly-v6/board/ports/drv_ext_io.c

@@ -21,7 +21,7 @@
 
 
 volatile rt_uint32_t HC574_state = 0;
 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)
 	if (_value == 0)
 	{
 	{