Merge pull request #626 from weety/fh8620
[BSP] fixed compile error under linux platform in fh8620 bsp.
This commit is contained in:
commit
1436101b56
|
@ -26,7 +26,7 @@
|
|||
|
||||
#include "fh_def.h"
|
||||
#include "gpio.h"
|
||||
#include "Libraries/inc/fh_gpio.h"
|
||||
#include "libraries/inc/fh_gpio.h"
|
||||
#include "interrupt.h"
|
||||
#include "board_info.h"
|
||||
#include <rtdevice.h>
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
#include "interrupt.h"
|
||||
#include "fh_def.h"
|
||||
#include "fh_arch.h"
|
||||
#include "Libraries/inc/fh_ictl.h"
|
||||
#include "libraries/inc/fh_ictl.h"
|
||||
|
||||
/*****************************************************************************
|
||||
* Define section
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
#ifndef MMC_H_
|
||||
#define MMC_H_
|
||||
|
||||
#include "Libraries/inc/fh_driverlib.h"
|
||||
#include "libraries/inc/fh_driverlib.h"
|
||||
#define MMC_FEQ_MIN 100000
|
||||
#define MMC_FEQ_MAX 50000000
|
||||
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
|
||||
#ifndef SSI_H_
|
||||
#define SSI_H_
|
||||
#include "Libraries/inc/fh_driverlib.h"
|
||||
#include "libraries/inc/fh_driverlib.h"
|
||||
#include <drivers/spi.h>
|
||||
#include <rtdevice.h>
|
||||
#include "fh_dma.h"
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
#include <armv6.h>
|
||||
#include "fh_arch.h"
|
||||
#include "interrupt.h"
|
||||
#include "Libraries/inc/fh_ictl.h"
|
||||
#include "libraries/inc/fh_ictl.h"
|
||||
/**
|
||||
* @addtogroup FH81
|
||||
*/
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
#include <board.h>
|
||||
#include <rtdevice.h>
|
||||
#include "fh_arch.h"
|
||||
#include "Libraries/inc/fh_uart.h"
|
||||
#include "libraries/inc/fh_uart.h"
|
||||
|
||||
|
||||
void rt_fh_uart_handler(int vector, void *param)
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
#include "clock.h"
|
||||
#include <rtdevice.h>
|
||||
#include "fh_arch.h"
|
||||
#include "Libraries/inc/fh_timer.h"
|
||||
#include "libraries/inc/fh_timer.h"
|
||||
#include "fh_pmu.h"
|
||||
//#include "chip_reg.h"
|
||||
//NEED_CAUTION.
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
#include "timer.h"
|
||||
#include <rtdevice.h>
|
||||
#include "fh_arch.h"
|
||||
#include "Libraries/inc/fh_timer.h"
|
||||
#include "libraries/inc/fh_timer.h"
|
||||
//#include "fh_pmu.h"
|
||||
//#include "chip_reg.h"
|
||||
//NEED_CAUTION.
|
||||
|
|
|
@ -31,7 +31,7 @@ if PLATFORM == 'gcc':
|
|||
DEVICE = ' -mcpu=arm1176jzf-s -mfpu=vfp -mfloat-abi=soft'
|
||||
CFLAGS = DEVICE + ' -mno-unaligned-access'
|
||||
AFLAGS = ' -c' + DEVICE + ' -x assembler-with-cpp -D__ASSEMBLY__'
|
||||
LFLAGS = DEVICE + ' -Wl,--gc-sections,-Map='+ OUTPUT_NAME +'.map,-cref,-u,_start -T' + LD_NAME +'.ld'
|
||||
LFLAGS = DEVICE + ' -nostartfiles -Wl,--gc-sections,-Map='+ OUTPUT_NAME +'.map,-cref,-u,_start -T' + LD_NAME +'.ld'
|
||||
CPATH = ''
|
||||
LPATH = ''
|
||||
if BUILD == 'debug':
|
||||
|
|
Loading…
Reference in New Issue