Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RA family changes to support Arduino Portenta C33 #87579

Merged
merged 3 commits into from
Mar 27, 2025

Conversation

pillo79
Copy link
Collaborator

@pillo79 pillo79 commented Mar 24, 2025

This pull request includes multiple DTS and linker script updates for Renesas RA microcontrollers, cleaned up and taken from #85337. The following changes are included:

  • RA6M5: Clear all matching NVIC and ICU registers to avoid issues on interrupts
  • RA*: Allow skipping option_bits sections in the final Zephyr ELF if they are not defined by the build
  • RA6: Added support for Ethernet and MDIO nodes in DTS

@pillo79 pillo79 changed the title RA family updates for RA family changes to support Arduino Portenta C33 Mar 24, 2025
@pillo79 pillo79 force-pushed the pr-renesas-ra6-changes branch 2 times, most recently from 96c647c to 25cc874 Compare March 25, 2025 10:27
@pillo79 pillo79 marked this pull request as ready for review March 25, 2025 14:06
@zephyrbot zephyrbot added the platform: Renesas RA Renesas Electronics Corporation, RA label Mar 25, 2025
Copy link
Member

@soburi soburi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@khoa-nguyen-18
Copy link
Contributor

The commit title should follow the format dts: arm: renesas: ... or soc: renesas: ra: .... Could you please update it accordingly?

facchinm and others added 3 commits March 26, 2025 09:03
Otherwise, interrupts will trigger a very funny fault
See https://github.com/arduino/ArduinoCore-renesas/blob/main/cores/arduino/main.cpp#L49-L57

Signed-off-by: Martino Facchin <m.facchin@arduino.cc>
Check if the option bits DT nodes are enabled before including them in
the linker script for all RA SoCs. These must be disabled for targets
that provide a separate bootloader.

This commit adds the DT_NODE_HAS_STATUS_OKAY gates to all RA-series SoC
linker scripts, converting existing ones to the new macro.

The changes in this commit have been mechanically generated using find
and awk tools.

Signed-off-by: Luca Burelli <l.burelli@arduino.cc>
Define Ethernet and MDIO nodes in the RA6 Cortex-M33 SoC device tree
files in a similar manner to the RA8 SoC device tree files.

Removed those nodes from R6E2 SoC as it does not have Ethernet support.

Signed-off-by: Martino Facchin <m.facchin@arduino.cc>
@pillo79 pillo79 force-pushed the pr-renesas-ra6-changes branch from 25cc874 to 47afc57 Compare March 26, 2025 08:07
@kartben kartben merged commit 68fdefc into zephyrproject-rtos:main Mar 27, 2025
25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
platform: Renesas RA Renesas Electronics Corporation, RA
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants