Files
rt-thread/bsp/raspberry-pi/dm/i2c/SConscript
T
GuEe-GUI f7258a6bb8 [bsp/raspberry-pi] update DM support
- 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>
2026-08-16 19:56:03 +08:00

17 lines
320 B
Python
Executable File

from building import *
group = []
src = []
cwd = GetCurrentDir()
CPPPATH = [cwd + '/../include']
if GetDepend(['RT_I2C_BCM2835']):
src += ['i2c-bcm2835.c']
if GetDepend(['RT_I2C_BRCMSTB']):
src += ['i2c-brcmstb.c']
group = DefineGroup('DeviceDrivers', src, depend = [''], CPPPATH = CPPPATH)
Return('group')