boards: cc13x2/cc26x2*: enable WDT + update docs & sample
Enables the watchdog timer within the DTS of supported boards, add sample overlays showing how to use NMI WDT interrupts and updated the board features inside the boards' doc / yaml files. Signed-off-by: Stancu Florin <niflostancu@gmail.com>
This commit is contained in:
parent
236084df70
commit
e55fd536c8
|
@ -19,6 +19,7 @@
|
|||
led1 = &led1;
|
||||
sw0 = &btn0;
|
||||
sw1 = &btn1;
|
||||
watchdog0 = &wdt0;
|
||||
};
|
||||
|
||||
chosen {
|
||||
|
@ -145,3 +146,7 @@
|
|||
&ieee802154g {
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
&wdt0 {
|
||||
status = "okay";
|
||||
};
|
||||
|
|
|
@ -12,3 +12,4 @@ supported:
|
|||
- gpio
|
||||
- i2c
|
||||
- spi
|
||||
- watchdog
|
||||
|
|
|
@ -56,6 +56,8 @@ features:
|
|||
+-----------+------------+----------------------+
|
||||
| SPI | on-chip | spi |
|
||||
+-----------+------------+----------------------+
|
||||
| WDT | on-chip | watchdog |
|
||||
+-----------+------------+----------------------+
|
||||
|
||||
Other hardware features have not been enabled yet for this board.
|
||||
|
||||
|
|
|
@ -21,6 +21,7 @@
|
|||
led1 = &led1;
|
||||
sw0 = &btn0;
|
||||
sw1 = &btn1;
|
||||
watchdog0 = &wdt0;
|
||||
};
|
||||
|
||||
chosen {
|
||||
|
@ -125,3 +126,7 @@
|
|||
&ieee802154g {
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
&wdt0 {
|
||||
status = "okay";
|
||||
};
|
||||
|
|
|
@ -12,4 +12,5 @@ supported:
|
|||
- gpio
|
||||
- i2c
|
||||
- spi
|
||||
- watchdog
|
||||
- adc
|
||||
|
|
|
@ -53,6 +53,8 @@ features:
|
|||
+-----------+------------+----------------------+
|
||||
| SPI | on-chip | spi |
|
||||
+-----------+------------+----------------------+
|
||||
| WDT | on-chip | watchdog |
|
||||
+-----------+------------+----------------------+
|
||||
| AUX_ADC | on-chip | adc |
|
||||
+-----------+------------+----------------------+
|
||||
|
||||
|
|
|
@ -27,6 +27,7 @@
|
|||
sensor1 = &sensor1;
|
||||
sensor2 = &sensor2;
|
||||
accel0 = &sensor1;
|
||||
watchdog0 = &wdt0;
|
||||
};
|
||||
|
||||
chosen {
|
||||
|
@ -155,3 +156,7 @@
|
|||
&ieee802154g {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&wdt0 {
|
||||
status = "okay";
|
||||
};
|
||||
|
|
|
@ -12,4 +12,5 @@ supported:
|
|||
- gpio
|
||||
- i2c
|
||||
- spi
|
||||
- watchdog
|
||||
- adc
|
||||
|
|
|
@ -63,6 +63,8 @@ features:
|
|||
+-----------+------------+------------------+
|
||||
| SPI | off-chip | ADXL362 |
|
||||
+-----------+------------+------------------+
|
||||
| WDT | on-chip | watchdog |
|
||||
+-----------+------------+------------------+
|
||||
|
||||
Other hardware features have not been enabled yet for this board.
|
||||
|
||||
|
|
|
@ -21,6 +21,7 @@
|
|||
led1 = &led1;
|
||||
sw0 = &btn0;
|
||||
sw1 = &btn1;
|
||||
watchdog0 = &wdt0;
|
||||
};
|
||||
|
||||
chosen {
|
||||
|
@ -113,3 +114,7 @@
|
|||
&rtc {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&wdt0 {
|
||||
status = "okay";
|
||||
};
|
||||
|
|
|
@ -12,4 +12,5 @@ supported:
|
|||
- gpio
|
||||
- i2c
|
||||
- spi
|
||||
- watchdog
|
||||
- adc
|
||||
|
|
|
@ -53,6 +53,8 @@ features:
|
|||
+-----------+------------+----------------------+
|
||||
| SPI | on-chip | spi |
|
||||
+-----------+------------+----------------------+
|
||||
| WDT | on-chip | watchdog |
|
||||
+-----------+------------+----------------------+
|
||||
| AUX_ADC | on-chip | adc |
|
||||
+-----------+------------+----------------------+
|
||||
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
&wdt0 {
|
||||
/* uncomment to use Non-Maskable interrupt instead of the normal one */
|
||||
/* interrupt-nmi; */
|
||||
};
|
|
@ -0,0 +1,4 @@
|
|||
&wdt0 {
|
||||
/* uncomment to use Non-Maskable interrupt instead of the normal one */
|
||||
/* interrupt-nmi; */
|
||||
};
|
|
@ -0,0 +1,4 @@
|
|||
&wdt0 {
|
||||
/* uncomment to use Non-Maskable interrupt instead of the normal one */
|
||||
/* interrupt-nmi; */
|
||||
};
|
Loading…
Reference in a new issue