Skip to content

Commit d0233a8

Browse files
author
Yuriy Vynnychek
committed
boards: riscv: tlsr9518adk80d: add Telink B91 ADC driver support
Added ADC driver board support. Signed-off-by: Yuriy Vynnychek <yura.vynnychek@telink-semi.com>
1 parent 2b774bc commit d0233a8

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

boards/riscv/tlsr9518adk80d/Kconfig.defconfig

+3
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@ config NET_CONFIG_IEEE802154_DEV_NAME
3333
config I2C_TELINK_B91
3434
default y if I2C
3535

36+
config ADC_TELINK_B91
37+
default y if ADC
38+
3639
if BT
3740

3841
# BLE Controller SDK from hal_telink requires

boards/riscv/tlsr9518adk80d/doc/index.rst

+3
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,8 @@ The Zephyr TLSR9518ADK80D board configuration supports the following hardware fe
7676
+----------------+------------+------------------------------+
7777
| I2C (Master) | on-chip | i2c |
7878
+----------------+------------+------------------------------+
79+
| ADC | on-chip | adc |
80+
+----------------+------------+------------------------------+
7981

8082
The following example projects are supported:
8183

@@ -117,6 +119,7 @@ The following example projects are supported:
117119
- samples/bluetooth/peripheral_sc_only
118120
- samples/bluetooth/scan_adv
119121
- samples/subsys/mgmt/mcumgr/smp_svr/
122+
- samples/drivers/adc
120123

121124
.. note::
122125
To support "button" example project PC3-KEY3 (J20-19, J20-20) jumper needs to be removed and KEY3 (J20-19) should be connected to VDD3_DCDC (J51-13) externally.

0 commit comments

Comments
 (0)