summaryrefslogtreecommitdiff
path: root/bsp/raspberry-pi/dm/clock_time/SConscript
diff options
context:
space:
mode:
authorGuEe-GUI <[email protected]>2026-08-15 22:36:46 +0800
committerRbb666 <[email protected]>2026-08-16 19:56:03 +0800
commitf7258a6bb80d9be12e73675ab35a04651e32eda3 (patch)
tree050411e5f5e9990179a554bc8d0608762fabfa05 /bsp/raspberry-pi/dm/clock_time/SConscript
parent2bcc47d418a4aed421d9750569a565a954daf045 (diff)
[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 <[email protected]>
Diffstat (limited to 'bsp/raspberry-pi/dm/clock_time/SConscript')
-rwxr-xr-xbsp/raspberry-pi/dm/clock_time/SConscript13
1 files changed, 13 insertions, 0 deletions
diff --git a/bsp/raspberry-pi/dm/clock_time/SConscript b/bsp/raspberry-pi/dm/clock_time/SConscript
new file mode 100755
index 0000000000..c6026dac73
--- /dev/null
+++ b/bsp/raspberry-pi/dm/clock_time/SConscript
@@ -0,0 +1,13 @@
+from building import *
+
+group = []
+src = []
+cwd = GetCurrentDir()
+CPPPATH = [cwd + '/../include']
+
+if GetDepend(['RT_CLOCK_TIME_BCM2835']):
+ src += ['clock_time-bcm2835_timer.c']
+
+group = DefineGroup('DeviceDrivers', src, depend = [''], CPPPATH = CPPPATH)
+
+Return('group')