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