mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-11-16 12:34:33 +00:00
bsp:k230:add support for temperature sensor driver
Added a temperature sensor driver and a test file test_ts.c. The test uses temperature sensor to measure the chip temperature, to check if the driver works correctly. Signed-off-by: XU HU 1337858472@qq.com
This commit is contained in:
@@ -20,7 +20,10 @@ if GetDepend('RT_UTEST_USING_ALL_CASES') or GetDepend('BSP_UTEST_DRIVERS'):
|
||||
|
||||
if GetDepend('BSP_USING_PDMA'):
|
||||
src += ['test_pdma.c']
|
||||
|
||||
|
||||
if GetDepend('BSP_USING_TS'):
|
||||
src += ['test_ts.c']
|
||||
|
||||
group = DefineGroup('utestcases', src, depend = [''])
|
||||
|
||||
Return('group')
|
||||
Reference in New Issue
Block a user