-
Notifications
You must be signed in to change notification settings - Fork 8.2k
[WIP] [RFC] RA-family Renesas EK-RA4M1 and EK-RA6M5 boards preliminary support. #69315
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
[WIP] [RFC] RA-family Renesas EK-RA4M1 and EK-RA6M5 boards preliminary support. #69315
Conversation
|
Hello @piotrrak, and thank you very much for your first pull request to the Zephyr project! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very quick skim, soc files look fine, changes to board files are needed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Boards no longer have a choice so
| bool "Renesas EK-RA4M3 board" | |
| bool |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@nordicjm Thanks. Both Kconfig.board and Kconfig.ek_raXX were present. Simply removed Kconfig.board ones.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And need to select the soc e.g.
| depends on SOC_R7FA4M3AF3CFB | |
| select SOC_R7FA4M3AF3CFB |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Needs to be named Kconfig.<board> so Kconfig.ek_ra4m3
0dbcab2 to
3f3c0cb
Compare
Port the board to HWMv2. Signed-off-by: Guillaume Gautier <[email protected]>
Port the board to HWMv2. Signed-off-by: Guillaume Gautier <[email protected]>
Port the board to HWMv2. Signed-off-by: Guillaume Gautier <[email protected]>
Port the board to HWMv2. Signed-off-by: Guillaume Gautier <[email protected]>
Add :zephyr_file: to the defconfig path for STM32L4 boards Signed-off-by: Guillaume Gautier <[email protected]>
Fix documentation for alientek and blues boards Signed-off-by: Guillaume Gautier <[email protected]>
Port STM32WBA series to HW model v2 Signed-off-by: Guillaume Gautier <[email protected]>
Port the board to HWMv2. Signed-off-by: Guillaume Gautier <[email protected]>
Port the board to HWMv2. Signed-off-by: Guillaume Gautier <[email protected]>
Port all the Atmel SAM SoCs to HWMv2. Signed-off-by: Gerson Fernando Budke <[email protected]>
Port the board to HWMv2. Signed-off-by: Gerson Fernando Budke <[email protected]>
Port the board to HWMv2. Signed-off-by: Gerson Fernando Budke <[email protected]>
Port the board to HWMv2. Signed-off-by: Gerson Fernando Budke <[email protected]>
Port the board to HWMv2. Signed-off-by: Gerson Fernando Budke <[email protected]>
Port the board to HWMv2. Signed-off-by: Gerson Fernando Budke <[email protected]>
Port the board to HWMv2. Signed-off-by: Gerson Fernando Budke <[email protected]>
Port the board to HWMv2. Signed-off-by: Gerson Fernando Budke <[email protected]>
This update all atmel_sam entries to use the new platform name related to sam_e70_xplained and sam_v71_xult. Signed-off-by: Gerson Fernando Budke <[email protected]>
This update all atmel_sam entries to use the new platform name related to sam_e70_xplained and sam_v71_xult. Signed-off-by: Gerson Fernando Budke <[email protected]>
Update Atmel related rules to keep consistent. Signed-off-by: Gerson Fernando Budke <[email protected]>
Update Atmel related rules to keep consistent. Signed-off-by: Gerson Fernando Budke <[email protected]>
Fixes an issue whereby converted board names were wrong Signed-off-by: Jamie McCrae <[email protected]>
Port STM32F2 series to HW model V2 Signed-off-by: Francois Ramu <[email protected]>
Port the board to HWMv2. Signed-off-by: Francois Ramu <[email protected]>
Remove the entire soc/soc_legacy/arm/st_stm32 folder Signed-off-by: Francois Ramu <[email protected]>
For native_sim and native_posix add the 64 bit version definitions as board variants. Signed-off-by: Alberto Escolar Piedras <[email protected]>
Converts the board to hwmv2 Signed-off-by: Jamie McCrae <[email protected]>
Converts the board to hwmv2 Signed-off-by: Jamie McCrae <[email protected]>
Updates the repo to include hwmv2 changes Signed-off-by: Jamie McCrae <[email protected]>
Converts the board to hwmv2 Signed-off-by: Jamie McCrae <[email protected]>
Converts the board to hwmv2 Signed-off-by: Jamie McCrae <[email protected]>
Adds a file with the vendor name for documentation indexing Signed-off-by: Jamie McCrae <[email protected]>
Updates names used in tests for hwmv2 Signed-off-by: Jamie McCrae <[email protected]>
Fixes compilation when none of interrupts are specified for io_ports. In practice every RA-series soc will have IRQs, yet it is convinient still to be able to build code during development of DTS. Signed-off-by: Piotr Rak <[email protected]>
Signed-off-by: Piotr Rak <[email protected]>
Signed-off-by: Piotr Rak <[email protected]>
…family Signed-off-by: Piotr Rak <[email protected]>
Supports only samples/basic/minimal. - pinctrl, gpio partly works, yet minimum of ioports are added, - pin IRQs for GPIOs aren't set - should work in theory but not tested. Since this board has two user switches, those will be made available in dts in follow up change. Blinky will work with caveat, that seconds are few others magnitude longer; Reason being proper clocks are not configured yet in this change and RTC/timers aren't supported yet. Signed-off-by: Piotr Rak <[email protected]>
Signed-off-by: Piotr Rak <[email protected]>
Signed-off-by: Piotr Rak <[email protected]>
Supports samples/basic/minimal blinky has same caveats as EK-RA6M5 Signed-off-by: Piotr Rak <[email protected]>
PSEL [4:0] is 5 bit bitfield of PmnPFS/PmnPFS_HA/PmnPFS_BY registers which
could have been modeled in C as:
struct PmnPFS_xx {
union {
u32 _;
struct {
unsigned irrevelant_here: 24;
unsigned PSEL : 5;
} fields;
};
};
Thus mask value should be 0b11111 (0x1f) rather than 0b101, since it is
used as mask:
((psel)&PSEL_MASK) << PSEL_POS) /* Note: PSEL_POS = 24 */
in RA_PINCFG macro.
Based of 19.2.5 "Port mn Pin Function Select Register" RA4M1 Group
Users's: Hardware and other RA Groups manuals.
This change is cherry-pick candidate for main.
Please Note It was _NOT_ tested on `arduino_uno_r4_minima` board
Signed-off-by: Piotr Rak <[email protected]>
Align code to 32B (ICACHE-line) using `.p2align` `.align` statement means different things for different assemblers and usually not what we really mean. Signed-off-by: Piotr Rak <[email protected]>
Required used by some of for RA4/RA6/RA8 soc series. Signed-off-by: Piotr Rak <[email protected]>
Add port IRQ's, `gpio-keys` for board push buttons and proper aliases in order to make GPIO IRQs manually testable (eg. using sample/basic/buttons) Only ioport0 port IRQs are provided for now, as those connected to board physical buttons. Signed-off-by: Piotr Rak <[email protected]>
56bd7c7 to
372db55
Compare
|
Rebased on current collab-hwm after its rebase on 3.6.0 |
|
Also closing this as I've mentioned in #69643 |
|
@soburi Thank you for looking at this. I've just picked up arduino uno m4 minima and wifi from my mailbox today. I should be able to test/debug my changes on hardware from now on. |
Hello
There is still many thing, but since other board renesas ra support was merged, I though to share to get a feedback sooner than later.
Still lot to be done, not full list of major items: