-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
app: boards: add nucleo_h723zg overlay
Add example board configuration for the ST Nucleo H723ZG and add it to the list of integration platforms. Signed-off-by: Henrik Brix Andersen <[email protected]>
- Loading branch information
1 parent
0614eb6
commit 254b1ab
Showing
2 changed files
with
55 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
/* | ||
* Copyright (c) 2024 Henrik Brix Andersen <[email protected]> | ||
* | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
#include <zephyr/dt-bindings/gpio/gpio.h> | ||
|
||
/ { | ||
cannectivity: cannectivity { | ||
compatible = "cannectivity"; | ||
timestamp-counter = <&counter2>; | ||
|
||
channel0 { | ||
compatible = "cannectivity-channel"; | ||
can-controller = <&fdcan1>; | ||
state-gpios = <&gpiob 0 GPIO_ACTIVE_HIGH>; | ||
activity-gpios = <&gpioe 1 GPIO_ACTIVE_HIGH>; | ||
}; | ||
}; | ||
}; | ||
|
||
&zephyr_udc0 { | ||
gs_usb0: gs_usb0 { | ||
compatible = "gs_usb"; | ||
}; | ||
}; | ||
|
||
&fdcan1 { | ||
/* Allocate half of the M_CAN message RAM to FDCAN1 */ | ||
reg = <0x4000a000 0x400>, <0x4000ac00 0x1400>; | ||
reg-names = "m_can", "message_ram"; | ||
bosch,mram-cfg = <0x0 1 1 10 10 0 10 10>; | ||
}; | ||
|
||
&timers2 { | ||
st,prescaler = <274>; | ||
counter2: counter { | ||
status = "okay"; | ||
}; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters