mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-09-23 04:04:15 +08:00
[BSP] add i.MX 6UL BSP
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
from building import *
|
||||
|
||||
cwd = GetCurrentDir()
|
||||
src = Split('''
|
||||
drivers/epit.c
|
||||
drivers/gpt.c
|
||||
drivers/imx_timer.c
|
||||
drivers/imx_i2c.c
|
||||
drivers/imx_uart.c
|
||||
cpu/armv7_cache.c
|
||||
cpu/gic.c
|
||||
cpu/ccm_pll2.c
|
||||
cpu/mmu.c
|
||||
cpu/cortex_a_gcc.S
|
||||
''')
|
||||
|
||||
CPPPATH = [ cwd + '/cpu',
|
||||
cwd + '/include',
|
||||
cwd + '/include/mx6ul',
|
||||
cwd + '/include/mx6ul/registers'
|
||||
]
|
||||
CPPDEFINES = ['CHIP_MX6UL']
|
||||
|
||||
group = DefineGroup('Platform', src, depend = [''], CPPPATH = CPPPATH, CPPDEFINES = CPPDEFINES)
|
||||
|
||||
Return('group')
|
||||
Reference in New Issue
Block a user