mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-10-01 08:27:30 +08:00
- reorganize common Raspberry Pi drivers under the device framework - add the Raspberry Pi 5 BSP, configuration and documentation - add BCM2712 and DesignWare AXI DMA controller support - distinguish BCM2712 DMA32 and DMA40 channels by channel mask - restore DesignWare AXI DMA enable bits after controller reset - support a shared AXI maximum burst length across DMA channels Signed-off-by: GuEe-GUI <2991707448@qq.com>
20 lines
447 B
Python
Executable File
20 lines
447 B
Python
Executable File
from building import *
|
|
|
|
group = []
|
|
src = []
|
|
cwd = GetCurrentDir()
|
|
CPPPATH = [cwd + '/../include', cwd + '/../../../../components/drivers/pin']
|
|
|
|
if GetDepend(['RT_PIN_BCM_VIRT']):
|
|
src += ['pin-bcm-virt.c']
|
|
|
|
if GetDepend(['RT_PIN_BRCMSTB']):
|
|
src += ['pin-brcmstb.c']
|
|
|
|
if GetDepend(['RT_PIN_RASPBERRYPI_EXP']):
|
|
src += ['pin-raspberrypi-exp.c']
|
|
|
|
group = DefineGroup('DeviceDrivers', src, depend = [''], CPPPATH = CPPPATH)
|
|
|
|
Return('group')
|