diff options
| author | GuEe-GUI <[email protected]> | 2024-11-27 13:44:23 +0800 |
|---|---|---|
| committer | Rbb666 <[email protected]> | 2024-11-28 09:46:02 +0800 |
| commit | 0d2e677f07869d8c122fbb15a94c1a47bba1928a (patch) | |
| tree | 223a373e36774218cfa300ae3c402a4d9a6d8680 /components/drivers/led/SConscript | |
| parent | 175a7d26bf904e037f1abb9a06435deedd8b6483 (diff) | |
[DM/LED] Add GPIO LED driver
Signed-off-by: GuEe-GUI <[email protected]>
Diffstat (limited to 'components/drivers/led/SConscript')
| -rw-r--r-- | components/drivers/led/SConscript | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/components/drivers/led/SConscript b/components/drivers/led/SConscript index 915772d78b..276ca0bd8b 100644 --- a/components/drivers/led/SConscript +++ b/components/drivers/led/SConscript @@ -10,6 +10,9 @@ CPPPATH = [cwd + '/../include'] src = ['led.c'] +if GetDepend(['RT_LED_GPIO']): + src += ['led-gpio.c'] + group = DefineGroup('DeviceDrivers', src, depend = [''], CPPPATH = CPPPATH) Return('group') |
