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:
dannyray019
2025-08-19 16:43:59 +08:00
committed by R b b666
parent 990fc23628
commit 60b3ccb8ad
8 changed files with 655 additions and 3 deletions

View File

@@ -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')