Merge pull request #626 from weety/fh8620

[BSP] fixed compile error under linux platform in fh8620 bsp.
This commit is contained in:
Bernard Xiong 2016-04-25 16:19:39 +08:00
commit 1436101b56
9 changed files with 9 additions and 9 deletions

View File

@ -26,7 +26,7 @@
#include "fh_def.h" #include "fh_def.h"
#include "gpio.h" #include "gpio.h"
#include "Libraries/inc/fh_gpio.h" #include "libraries/inc/fh_gpio.h"
#include "interrupt.h" #include "interrupt.h"
#include "board_info.h" #include "board_info.h"
#include <rtdevice.h> #include <rtdevice.h>

View File

@ -32,7 +32,7 @@
#include "interrupt.h" #include "interrupt.h"
#include "fh_def.h" #include "fh_def.h"
#include "fh_arch.h" #include "fh_arch.h"
#include "Libraries/inc/fh_ictl.h" #include "libraries/inc/fh_ictl.h"
/***************************************************************************** /*****************************************************************************
* Define section * Define section

View File

@ -27,7 +27,7 @@
#ifndef MMC_H_ #ifndef MMC_H_
#define 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_MIN 100000
#define MMC_FEQ_MAX 50000000 #define MMC_FEQ_MAX 50000000

View File

@ -26,7 +26,7 @@
#ifndef SSI_H_ #ifndef SSI_H_
#define SSI_H_ #define SSI_H_
#include "Libraries/inc/fh_driverlib.h" #include "libraries/inc/fh_driverlib.h"
#include <drivers/spi.h> #include <drivers/spi.h>
#include <rtdevice.h> #include <rtdevice.h>
#include "fh_dma.h" #include "fh_dma.h"

View File

@ -28,7 +28,7 @@
#include <armv6.h> #include <armv6.h>
#include "fh_arch.h" #include "fh_arch.h"
#include "interrupt.h" #include "interrupt.h"
#include "Libraries/inc/fh_ictl.h" #include "libraries/inc/fh_ictl.h"
/** /**
* @addtogroup FH81 * @addtogroup FH81
*/ */

View File

@ -27,7 +27,7 @@
#include <board.h> #include <board.h>
#include <rtdevice.h> #include <rtdevice.h>
#include "fh_arch.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) void rt_fh_uart_handler(int vector, void *param)

View File

@ -27,7 +27,7 @@
#include "clock.h" #include "clock.h"
#include <rtdevice.h> #include <rtdevice.h>
#include "fh_arch.h" #include "fh_arch.h"
#include "Libraries/inc/fh_timer.h" #include "libraries/inc/fh_timer.h"
#include "fh_pmu.h" #include "fh_pmu.h"
//#include "chip_reg.h" //#include "chip_reg.h"
//NEED_CAUTION. //NEED_CAUTION.

View File

@ -27,7 +27,7 @@
#include "timer.h" #include "timer.h"
#include <rtdevice.h> #include <rtdevice.h>
#include "fh_arch.h" #include "fh_arch.h"
#include "Libraries/inc/fh_timer.h" #include "libraries/inc/fh_timer.h"
//#include "fh_pmu.h" //#include "fh_pmu.h"
//#include "chip_reg.h" //#include "chip_reg.h"
//NEED_CAUTION. //NEED_CAUTION.

View File

@ -31,7 +31,7 @@ if PLATFORM == 'gcc':
DEVICE = ' -mcpu=arm1176jzf-s -mfpu=vfp -mfloat-abi=soft' DEVICE = ' -mcpu=arm1176jzf-s -mfpu=vfp -mfloat-abi=soft'
CFLAGS = DEVICE + ' -mno-unaligned-access' CFLAGS = DEVICE + ' -mno-unaligned-access'
AFLAGS = ' -c' + DEVICE + ' -x assembler-with-cpp -D__ASSEMBLY__' 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 = '' CPATH = ''
LPATH = '' LPATH = ''
if BUILD == 'debug': if BUILD == 'debug':