[bsp][raspi2] add raspberry pi 2 support

This commit is contained in:
shaojinchun
2018-08-23 09:52:41 +08:00
parent c5a9371131
commit e0b04166e8
34 changed files with 2715 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
# RT-Thread building script for component
from building import *
cwd = GetCurrentDir()
src = Split('''
board.c
drv_uart.c
''')
CPPPATH = [cwd]
if GetDepend('RT_USING_PIN'):
src += ['drv_gpio.c']
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = CPPPATH)
Return('group')