boards/arm/imxrt/imxrt1020-evk/src/imxrt_autoleds.c: Must include imxrt1020-evk.h
This commit is contained in:
parent
47129b36bd
commit
b2035ebb1c
|
@ -61,6 +61,7 @@
|
|||
|
||||
#include "imxrt_gpio.h"
|
||||
#include "imxrt_iomuxc.h"
|
||||
#include "imxrt1020-evk.h"
|
||||
|
||||
#include <arch/board/board.h>
|
||||
|
||||
|
|
|
@ -42,21 +42,17 @@
|
|||
|
||||
#include <sys/mount.h>
|
||||
#include <sys/types.h>
|
||||
#include <syslog.h>
|
||||
#include <debug.h>
|
||||
|
||||
#include <syslog.h>
|
||||
#include <nuttx/i2c/i2c_master.h>
|
||||
#include <imxrt_lpi2c.h>
|
||||
#include <imxrt_flexspi_nor_boot.h>
|
||||
#include <nuttx/wireless/bluetooth/bt_uart.h>
|
||||
#include <nuttx/wireless/bluetooth/bt_uart_shim.h>
|
||||
|
||||
#include "imxrt_lpi2c.h"
|
||||
#include "imxrt_flexspi_nor_boot.h"
|
||||
#include "imxrt1020-evk.h"
|
||||
|
||||
#ifdef CONFIG_USBHOST
|
||||
int imxrt_usbhost_initialize(void);
|
||||
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_IMXRT_USDHC
|
||||
# include "imxrt_usdhc.h"
|
||||
#endif
|
||||
|
@ -86,6 +82,14 @@ int imxrt_usbhost_initialize(void);
|
|||
# define MMCSD_MINOR 0
|
||||
#endif
|
||||
|
||||
/****************************************************************************
|
||||
* Public Function Prototypes
|
||||
****************************************************************************/
|
||||
|
||||
#ifdef CONFIG_USBHOST
|
||||
int imxrt_usbhost_initialize(void);
|
||||
#endif
|
||||
|
||||
/****************************************************************************
|
||||
* Private Functions
|
||||
****************************************************************************/
|
||||
|
|
|
@ -86,6 +86,7 @@ void board_userled(int led, bool ledon)
|
|||
case 0:
|
||||
imxrt_gpio_write(GPIO_USERLED, !ledon); /* Low illuminates */
|
||||
break;
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue