boards: esp32s3_devkitm: update CAN support
Add CAN to supported list and update documentation. Signed-off-by: Eric Holmberg <eric.holmberg@northriversystems.co.nz>
This commit is contained in:
parent
1b919bbc28
commit
e408d0ea06
|
@ -92,6 +92,8 @@ Current Zephyr's ESP32-S3-DevKitM board supports the following features:
|
|||
+------------+------------+-------------------------------------+
|
||||
| SPI Master | on-chip | spi |
|
||||
+------------+------------+-------------------------------------+
|
||||
| TWAI/CAN | on-chip | can |
|
||||
+------------+------------+-------------------------------------+
|
||||
| Timers | on-chip | counter |
|
||||
+------------+------------+-------------------------------------+
|
||||
| Watchdog | on-chip | watchdog |
|
||||
|
|
|
@ -63,4 +63,11 @@
|
|||
output-low;
|
||||
};
|
||||
};
|
||||
|
||||
twai_default: twai_default {
|
||||
group1 {
|
||||
pinmux = <TWAI_TX_GPIO5>,
|
||||
<TWAI_RX_GPIO6>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
@ -93,6 +93,12 @@
|
|||
pinctrl-names = "default";
|
||||
};
|
||||
|
||||
&twai {
|
||||
pinctrl-0 = <&twai_default>;
|
||||
pinctrl-names = "default";
|
||||
bus-speed = <125000>;
|
||||
};
|
||||
|
||||
&timer0 {
|
||||
status = "disabled";
|
||||
};
|
||||
|
|
|
@ -9,6 +9,7 @@ supported:
|
|||
- uart
|
||||
- i2c
|
||||
- spi
|
||||
- can
|
||||
- counter
|
||||
- watchdog
|
||||
- entropy
|
||||
|
|
|
@ -11,4 +11,4 @@ tests:
|
|||
- can
|
||||
extra_args: DTC_OVERLAY_FILE=twai-enable.overlay
|
||||
filter: dt_compat_enabled("espressif,esp32-twai")
|
||||
platform_allow: esp32c3_devkitm
|
||||
platform_allow: esp32c3_devkitm esp32s3_devkitm
|
||||
|
|
Loading…
Reference in a new issue