lpc43xx: fix some compile warnings
This commit is contained in:
parent
7965708050
commit
03a2847f12
|
@ -16,11 +16,20 @@
|
||||||
#include <board.h>
|
#include <board.h>
|
||||||
#include <rtdevice.h>
|
#include <rtdevice.h>
|
||||||
#include "drv_led.h"
|
#include "drv_led.h"
|
||||||
|
|
||||||
#ifdef RT_USING_FINSH
|
#ifdef RT_USING_FINSH
|
||||||
#include <finsh.h>
|
#include <finsh.h>
|
||||||
#include <shell.h>
|
#include <shell.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef RT_USING_LOGTRACE
|
||||||
|
#include <log_trace.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifdef RT_USING_VBUS
|
||||||
|
#include <vbus.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
/* thread phase init */
|
/* thread phase init */
|
||||||
void rt_init_thread_entry(void *parameter)
|
void rt_init_thread_entry(void *parameter)
|
||||||
{
|
{
|
||||||
|
|
|
@ -54,6 +54,6 @@ extern int __bss_end;
|
||||||
|
|
||||||
void rt_hw_board_init(void);
|
void rt_hw_board_init(void);
|
||||||
int rt_hw_board_heap_init(void);
|
int rt_hw_board_heap_init(void);
|
||||||
|
int rt_vbus_do_init(void);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -22,6 +22,14 @@
|
||||||
#include <shell.h>
|
#include <shell.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef RT_USING_LOGTRACE
|
||||||
|
#include <log_trace.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifdef RT_USING_VBUS
|
||||||
|
#include <vbus.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
static const unsigned char _M0_CODE[] SECTION("M0_CODE") = {
|
static const unsigned char _M0_CODE[] SECTION("M0_CODE") = {
|
||||||
#include "M0_CODE.h"
|
#include "M0_CODE.h"
|
||||||
};
|
};
|
||||||
|
|
|
@ -54,6 +54,6 @@ extern int __bss_end;
|
||||||
|
|
||||||
void rt_hw_board_init(void);
|
void rt_hw_board_init(void);
|
||||||
int rt_hw_board_heap_init(void);
|
int rt_hw_board_heap_init(void);
|
||||||
|
int rt_vbus_do_init(void);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue