mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-11-16 01:05:15 +08:00
1 parent
7b0edb4979
commit
54862ee1e8
3 files changed
+300
-1
No files matched your search
@@ -1,3 +1,15 @@
|
||||
menu "DAC Test"
|
||||
|
||||
config RT_UTEST_DAC
|
||||
bool "DAC framework Test"
|
||||
default n
|
||||
depends on RT_USING_DAC
|
||||
help
|
||||
Run the DAC framework test with simulated devices. No DAC hardware
|
||||
is required.
|
||||
|
||||
endmenu
|
||||
|
||||
menu "PWM Test"
|
||||
|
||||
config RT_UTEST_PWM
|
||||
|
||||
@@ -5,9 +5,12 @@ cwd = GetCurrentDir()
|
||||
src = []
|
||||
CPPPATH = [cwd, cwd + '/../../include']
|
||||
|
||||
if GetDepend(['RT_UTEST_DAC']):
|
||||
src += ['dac_tc.c']
|
||||
|
||||
if GetDepend(['RT_UTEST_PWM']):
|
||||
src += ['pwm_tc.c']
|
||||
|
||||
group = DefineGroup('utestcases', src, depend = ['RT_USING_UTESTCASES', 'RT_USING_PWM'], CPPPATH = CPPPATH)
|
||||
group = DefineGroup('utestcases', src, depend = ['RT_USING_UTESTCASES'], CPPPATH = CPPPATH)
|
||||
|
||||
Return('group')
|
||||
File diff suppressed because it is too large.
Load diff
Reference in new issue
Block a user