[BSP] Update QEMU VExpress A9 BSP.

This commit is contained in:
bernard 2017-10-17 09:53:16 +08:00
parent 53227b6a74
commit 6101d1e80e
5 changed files with 9 additions and 9 deletions

View File

@ -2,8 +2,8 @@ Import('RTT_ROOT')
Import('rtconfig')
from building import *
cwd = os.path.join(str(Dir('#')), 'applications')
src = Glob('*.c')
cwd = GetCurrentDir()
src = Glob('*.c') + Glob('*.cpp')
CPPPATH = [cwd, str(Dir('#'))]
group = DefineGroup('Applications', src, depend = [''], CPPPATH = CPPPATH)

View File

@ -1,11 +1,7 @@
import copy
Import('RTT_ROOT')
Import('rtconfig')
from building import *
cwd = GetCurrentDir()
src = Glob('*.c')
CPPPATH = [cwd]
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = CPPPATH)

View File

@ -14,7 +14,6 @@
#include <rthw.h>
#include <rtthread.h>
#include <components.h>
#include "board.h"
@ -89,3 +88,4 @@ void rt_hw_board_init(void)
rt_thread_idle_sethook(idle_wfi);
}

View File

@ -36,6 +36,10 @@ SECTIONS
} =0
__text_end = .;
__exidx_start = .;
.ARM.exidx : { *(.ARM.exidx* .gnu.linkonce.armexidx.*) }
__exidx_end = .;
__rodata_start = .;
.rodata : { *(.rodata) *(.rodata.*) }
__rodata_end = .;

View File

@ -27,7 +27,7 @@ if PLATFORM == 'gcc':
CXX = PREFIX + 'g++'
AS = PREFIX + 'gcc'
AR = PREFIX + 'ar'
LINK = PREFIX + 'gcc'
LINK = PREFIX + 'g++'
TARGET_EXT = 'elf'
SIZE = PREFIX + 'size'
OBJDUMP = PREFIX + 'objdump'