Skip to content

Conversation

@duynguyenxa
Copy link
Member

@duynguyenxa duynguyenxa commented Jul 9, 2024

This PR is a draft version to support the following feature on hal_renesas:
BSP support:
RA2A1
RA2L1
RA4M1
RA4M2
RA4M3
RA4E1
RA4E2
RA4W1
RA6M1
RA6M2
RA6M3
RA6M4
RA6M5
RA6E1
RA6E2

Module:
SCI UART: Remove DTC override setting

/* If a transfer instance is used for reception, apply UART specific settings and open the transfer instance. */
if (NULL != p_cfg->p_transfer_rx)
{
transfer_info_t * p_info = p_cfg->p_transfer_rx->p_cfg->p_info;
Copy link
Member

Choose a reason for hiding this comment

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

This line is not in FSP v5.3.0.
Please describe why added this line.

We will need to update the base version in the future.
Changes from a baseline version should be tracked as separate commits.

Copy link
Member

Choose a reason for hiding this comment

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

Some files seem to be different from those in FSP v5.3.0.
It would be a good idea to split these into separate commits and explain why they are different, if necessary.
This would make future management more difficult.

@soburi
Copy link
Member

soburi commented Aug 2, 2024

@duynguyenxa

(Move from zephyrproject-rtos/zephyr#76081 (comment))

The CMSIS header has a difference with v5.3.0.
If it is not required at this time, I think it is good to use the v5.3.0 version.
And this PR has the same modification for the SCI driver for SCI-B in #24 (comment).

Let's record this as well.

And this PR has no other problems.

@duynguyenxa duynguyenxa force-pushed the support_ra6_ra4_ra2_PR2.0 branch from c2d795c to a8585a4 Compare August 2, 2024 11:36
quytranpzz and others added 9 commits August 5, 2024 14:01
Add RA6M1 hal support

Signed-off-by: Quy Tran <[email protected]>
Add RA6M2 hal support

Signed-off-by: Quy Tran <[email protected]>
Add RA6M3 hal support

Signed-off-by: Quy Tran <[email protected]>
Add RA6M4 hal support

Signed-off-by: Quy Tran <[email protected]>
Add RA6M5 hal support

Signed-off-by: Quy Tran <[email protected]>
Add RA6E1 hal support

Signed-off-by: Quy Tran <[email protected]>
Add RA6E2 hal support

Signed-off-by: Quy Tran <[email protected]>
Modify RX transfer info for sci uart reception with DTC
Remove redundant configuration
Update README patch list of the modification of SCI UART source

Signed-off-by: The Nguyen <[email protected]>
Add initial support for RA2L1

Signed-off-by: Quy Tran <[email protected]>
@duynguyenxa duynguyenxa force-pushed the support_ra6_ra4_ra2_PR2.0 branch from a8585a4 to 4b56607 Compare August 5, 2024 07:15
@duynguyenxa
Copy link
Member Author

@duynguyenxa

(Move from zephyrproject-rtos/zephyr#76081 (comment))

The CMSIS header has a difference with v5.3.0. If it is not required at this time, I think it is good to use the v5.3.0 version. And this PR has the same modification for the SCI driver for SCI-B in #24 (comment).

Let's record this as well.

And this PR has no other problems.

@soburi , @ydamigos , @thaoluonguw , @KhiemNguyenT all items are updated

@duynguyenxa duynguyenxa marked this pull request as ready for review August 5, 2024 07:23
@soburi
Copy link
Member

soburi commented Aug 5, 2024

R7FA4E2B9.h
R7FA4M1AB.h
R7FA4M2AD.h
R7FA4M3AF.h
R7FA4W1AD.h

These are still seems to difference with v5.3.0.
If required the diffs, please log, or if it is no needed, I think it is easy to maintain to leave same with v5.3.0.

TriNguyen added 3 commits August 5, 2024 14:37
Initial support bsp config for RA4E2 board

Signed-off-by: TriNguyen <[email protected]>
Initial support bsp config for RA4M1 board

Signed-off-by: TriNguyen <[email protected]>
Initial support bsp config for RA4M2 board

Signed-off-by: TriNguyen <[email protected]>
@duynguyenxa duynguyenxa force-pushed the support_ra6_ra4_ra2_PR2.0 branch from 4b56607 to 8abb13d Compare August 5, 2024 07:39
TriNguyen and others added 4 commits August 5, 2024 14:45
Initial support bsp config for RA4M3 board

Signed-off-by: TriNguyen <[email protected]>
Initial support bsp config for RA4W1 board

Signed-off-by: TriNguyen <[email protected]>
Update PLL multiple calculation value

Signed-off-by: Quy Tran <[email protected]>
Add new implementation for R_BSP_SecurityInit on Zephyr

Signed-off-by: The Nguyen <[email protected]>
@duynguyenxa duynguyenxa force-pushed the support_ra6_ra4_ra2_PR2.0 branch from 8abb13d to 795b884 Compare August 5, 2024 07:46
@soburi
Copy link
Member

soburi commented Aug 5, 2024

Files drivers/ra/fsp/src/bsp/cmsis/Device/RENESAS/Include/R7FA4M2AD.h and /home/tokita/fsp/ra/fsp/src/bsp/cmsis/Device/RENESAS/Include/R7FA4M2AD.h differ
Files drivers/ra/fsp/src/bsp/cmsis/Device/RENESAS/Include/R7FA4M3AF.h and /home/tokita/fsp/ra/fsp/src/bsp/cmsis/Device/RENESAS/Include/R7FA4M3AF.h differ

Just two more!

@duynguyenxa
Copy link
Member Author

R7FA4E2B9.h R7FA4M1AB.h R7FA4M2AD.h R7FA4M3AF.h R7FA4W1AD.h

These are still seems to difference with v5.3.0. If required the diffs, please log, or if it is no needed, I think it is easy to maintain to leave same with v5.3.0.

Sorry I push the wrong it's OK now please help to recheck

R7FA4E2B9.h R7FA4M1AB.h R7FA4M2AD.h R7FA4M3AF.h R7FA4W1AD.h

These are still seems to difference with v5.3.0. If required the diffs, please log, or if it is no needed, I think it is easy to maintain to leave same with v5.3.0.

@soburi , Sorry I mistakenly push only the patch, please help to recheck again

@soburi
Copy link
Member

soburi commented Aug 5, 2024

R7FA4E2B9.h R7FA4M1AB.h R7FA4M2AD.h R7FA4M3AF.h R7FA4W1AD.h
These are still seems to difference with v5.3.0. If required the diffs, please log, or if it is no needed, I think it is easy to maintain to leave same with v5.3.0.

Sorry I push the wrong it's OK now please help to recheck

R7FA4E2B9.h R7FA4M1AB.h R7FA4M2AD.h R7FA4M3AF.h R7FA4W1AD.h
These are still seems to difference with v5.3.0. If required the diffs, please log, or if it is no needed, I think it is easy to maintain to leave same with v5.3.0.

@soburi , Sorry I mistakenly push only the patch, please help to recheck again

#26 (comment)

@duynguyenxa
Copy link
Member Author

R7FA4E2B9.h R7FA4M1AB.h R7FA4M2AD.h R7FA4M3AF.h R7FA4W1AD.h
These are still seems to difference with v5.3.0. If required the diffs, please log, or if it is no needed, I think it is easy to maintain to leave same with v5.3.0.

Sorry I push the wrong it's OK now please help to recheck

R7FA4E2B9.h R7FA4M1AB.h R7FA4M2AD.h R7FA4M3AF.h R7FA4W1AD.h
These are still seems to difference with v5.3.0. If required the diffs, please log, or if it is no needed, I think it is easy to maintain to leave same with v5.3.0.

@soburi , Sorry I mistakenly push only the patch note, please help to recheck again

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

@soburi
Copy link
Member

soburi commented Aug 5, 2024

R7FA4E2B9.h R7FA4M1AB.h R7FA4M2AD.h R7FA4M3AF.h R7FA4W1AD.h
These are still seems to difference with v5.3.0. If required the diffs, please log, or if it is no needed, I think it is easy to maintain to leave same with v5.3.0.

Sorry I push the wrong it's OK now please help to recheck

R7FA4E2B9.h R7FA4M1AB.h R7FA4M2AD.h R7FA4M3AF.h R7FA4W1AD.h
These are still seems to difference with v5.3.0. If required the diffs, please log, or if it is no needed, I think it is easy to maintain to leave same with v5.3.0.

@soburi , Sorry I mistakenly push only the patch note, please help to recheck again

Oops, sorry.

@duynguyenxa
Copy link
Member Author

R7FA4E2B9.h R7FA4M1AB.h R7FA4M2AD.h R7FA4M3AF.h R7FA4W1AD.h
These are still seems to difference with v5.3.0. If required the diffs, please log, or if it is no needed, I think it is easy to maintain to leave same with v5.3.0.

Sorry I push the wrong it's OK now please help to recheck

R7FA4E2B9.h R7FA4M1AB.h R7FA4M2AD.h R7FA4M3AF.h R7FA4W1AD.h
These are still seems to difference with v5.3.0. If required the diffs, please log, or if it is no needed, I think it is easy to maintain to leave same with v5.3.0.

@soburi , Sorry I mistakenly push only the patch, please help to recheck again

#26 (comment)

It's fixed at https://github.com/zephyrproject-rtos/hal_renesas/compare/8abb13d81d5f0bfd6db882296cbc66c5feea5286..795b884f504ab742ac3886f7d2c3e73d69bee0cb

@duynguyenxa duynguyenxa closed this Aug 5, 2024
@duynguyenxa duynguyenxa reopened this Aug 5, 2024
@soburi
Copy link
Member

soburi commented Aug 5, 2024

@ydamigos @KhiemNguyenT
Could you take a look, please?

@soburi
Copy link
Member

soburi commented Aug 7, 2024

@ydamigos @KhiemNguyenT

Could you progress this a bit?
The SCI_UART will be available if this PR and #71174 merge, some boards will be able to merge.

@KhiemNguyenT KhiemNguyenT self-assigned this Aug 7, 2024
@thaoluonguw
Copy link
Collaborator

I am OK with these updates. Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants