diff options
| author | GuEe-GUI <[email protected]> | 2026-06-14 11:37:08 +0800 |
|---|---|---|
| committer | Rbb666 <[email protected]> | 2026-06-29 16:55:18 +0800 |
| commit | 11ca1660069bbeaba478a8c8be5dbf2a3c3fb60c (patch) | |
| tree | 29cc9051a874121b056d77e5dc7b9d31742c29a6 /components/drivers/ptp/SConscript | |
| parent | 1f9146897be1d898bea2a3ed0492c2d0a0507320 (diff) | |
[dm][ptp] support Precision Time Protocol (PTP) IEEE 1588 clock
Signed-off-by: GuEe-GUI <[email protected]>
Diffstat (limited to 'components/drivers/ptp/SConscript')
| -rwxr-xr-x | components/drivers/ptp/SConscript | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/components/drivers/ptp/SConscript b/components/drivers/ptp/SConscript new file mode 100755 index 0000000000..fb10e8a905 --- /dev/null +++ b/components/drivers/ptp/SConscript @@ -0,0 +1,15 @@ +from building import * + +group = [] + +if not GetDepend(['RT_USING_PTP']): + Return('group') + +cwd = GetCurrentDir() +CPPPATH = [cwd + '/../include'] + +src = ['ptp.c'] + +group = DefineGroup('DeviceDrivers', src, depend = [''], CPPPATH = CPPPATH) + +Return('group') |
