boards: nxp: frdm_mcxw71: Enable MCXW71 I2C Loopback
Enable and test I2C loopback with i2c_target_api Signed-off-by: Emilio Benavente <emilio.benavente@nxp.com>
This commit is contained in:
parent
4551f3410d
commit
d4bfe3b507
4 changed files with 52 additions and 0 deletions
|
@ -136,6 +136,10 @@ static ALWAYS_INLINE void clock_init(void)
|
|||
CLOCK_EnableClock(kCLOCK_PortA);
|
||||
}
|
||||
|
||||
if (DT_NODE_HAS_COMPAT_STATUS(DT_NODELABEL(gpiob), nxp_kinetis_gpio, okay)) {
|
||||
CLOCK_EnableClock(kCLOCK_PortB);
|
||||
}
|
||||
|
||||
if (DT_NODE_HAS_COMPAT_STATUS(DT_NODELABEL(gpioc), nxp_kinetis_gpio, okay)) {
|
||||
CLOCK_EnableClock(kCLOCK_PortC);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue