-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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
boards: arm: Add initial support for Renesas EK-RA2A1 #71174
Conversation
ae79a4a
to
66a376f
Compare
It needs to rebase after #71017 is merged. |
soc/renesas/ra/ra2a1/Kconfig
Outdated
config SOC_OPTION_SETTING_HOCO_FREQ | ||
int "HOCO oscillator frequency" | ||
default 48000000 | ||
depends on SOC_OPTION_SETTING_MEMORY | ||
|
||
config SOC_OPTION_SETTING_VDSEL | ||
int "Voltage Detection 0 Level Select" | ||
default 1900 | ||
depends on SOC_OPTION_SETTING_MEMORY |
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.
Should be dts properties
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.
Thank you for reviewing.
This issue discussed in #71017.
I will apply the result of discussions.
soc/renesas/ra/ra2a1/Kconfig
Outdated
select TIMER_READS_ITS_FREQUENCY_AT_RUNTIME | ||
select XIP | ||
|
||
config SOC_OPTION_SETTING_MEMORY |
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.
if SOC_SERIES_RA2A1
2a54453
to
e0cb658
Compare
The following west manifest projects have been modified in this Pull Request:
Note: This message is automatically posted and updated by the Manifest GitHub Action. |
Reimplementing on the FSP code base (#72150) |
a1588af
to
aa7df0e
Compare
west.yml
Outdated
@@ -214,7 +214,7 @@ manifest: | |||
- hal | |||
- name: hal_renesas | |||
path: modules/hal/renesas | |||
revision: af77d7cdfeeff290593e7e99f54f0c1e2a3f91e6 | |||
revision: 24543f3187ed90c4556466d0fe6b4cd948140648 |
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.
Better use the latest hash.
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.
Update done.
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.
HAL was updated yesterday. Please update it once more.
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.
Update done.
@duynguyenxa @ydamigos @KhiemNguyenT @thaoluonguw Could you take a look again, please? |
HAL was updated yesterday. Please update west.yml once more. |
Update done. |
{ | ||
SystemCoreClock = BSP_MOCO_HZ; | ||
g_protect_pfswe_counter = 0; | ||
bsp_clock_init(); |
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.
This function have been called in clock_control init routine. It should be removed
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.
Fixed it.
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.
Could you please re-check? I see it still exists.
CONFIG_CONSOLE=y | ||
|
||
CONFIG_BUILD_OUTPUT_HEX=y | ||
CONFIG_BUILD_NO_GAP_FILL=y |
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.
Please add this config if you want to use the clock_control
CONFIG_CLOCK_CONTROL=y
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.
Fixed it.
Add Support for Renesas RA2A1 SoC. Signed-off-by: TOKITA Hiroshi <[email protected]>
Add support for the EK-RA2A1 board. Signed-off-by: TOKITA Hiroshi <[email protected]>
@KhiemNguyenT |
Add support for the Renesas EK-RA2A board.
This commit provides basic support only.
It just can run
blinky
andbutton
samples.