diff options
| author | Bernard Xiong <[email protected]> | 2019-01-03 07:25:25 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2019-01-03 07:25:25 +0800 |
| commit | d113eb07f5157696275a508f991e1b837a1506f7 (patch) | |
| tree | c9c2470af61ddd9f761a8b8741295abad11386b1 /components/drivers/misc/SConscript | |
| parent | af33226fab71a6a93e88ce1372509d6667ccd4af (diff) | |
| parent | 1805aadbbbb60854164508f25728c91d71785f27 (diff) | |
Merge pull request #2145 from armink/lts-v3.1.x
Lts v3.1.x
Diffstat (limited to 'components/drivers/misc/SConscript')
| -rw-r--r-- | components/drivers/misc/SConscript | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/components/drivers/misc/SConscript b/components/drivers/misc/SConscript index 4cc5f80084..c45ba524c5 100644 --- a/components/drivers/misc/SConscript +++ b/components/drivers/misc/SConscript @@ -7,7 +7,10 @@ group = [] if GetDepend(['RT_USING_PIN']): src = src + ['pin.c'] - + +if GetDepend(['RT_USING_ADC']): + src = src + ['adc.c'] + if GetDepend(['RT_USING_PWM']): src = src + ['rt_drv_pwm.c'] |
