first commit for chrg

This commit is contained in:
wmano
2025-08-16 22:58:22 +08:00
commit 52a3ed5862
2306 changed files with 1021208 additions and 0 deletions
@@ -0,0 +1,21 @@
from building import *
group = []
if not GetDepend(['RT_USING_PIN']):
Return('group')
cwd = GetCurrentDir()
CPPPATH = [cwd + '/../include']
src = ['dev_pin.c']
if GetDepend(['RT_USING_DM']):
src += ['dev_pin_dm.c']
if GetDepend(['RT_USING_OFW']):
src += ['dev_pin_ofw.c']
group = DefineGroup('DeviceDrivers', src, depend = [''], CPPPATH = CPPPATH)
Return('group')