Skip to content

[Renesas RX72N CCRX] Move flash functions to RAM for flash operation#689

Open
miyazakh wants to merge 2 commits intowolfSSL:masterfrom
miyazakh:ram_function_ccrx
Open

[Renesas RX72N CCRX] Move flash functions to RAM for flash operation#689
miyazakh wants to merge 2 commits intowolfSSL:masterfrom
miyazakh:ram_function_ccrx

Conversation

@miyazakh
Copy link
Contributor

@miyazakh miyazakh commented Feb 19, 2026

Move flash functions to RAM for flash operation
Changed hal_flash_write() to align address to 128-byte boundary
Remove standard library use as much as possible

@miyazakh miyazakh self-assigned this Feb 19, 2026
@miyazakh miyazakh requested review from dgarske and kojiws February 19, 2026 07:30
Copy link

@kojiws kojiws left a comment

Choose a reason for hiding this comment

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

Every part is good for me.
I have just one confirmation below.

Comment on lines 262 to 267
#ifdef __CCRX__
#pragma section FRAM
void RAMFUNCTION *ram_memcpy(void *dst, const void *src, size_t n)
#else
void RAMFUNCTION *memcpy(void *dst, const void *src, size_t n)
#endif
Copy link

Choose a reason for hiding this comment

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

Why are the two different named functions needed?
Is it because there is no way to exclude memcpy() of standard library?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

That’s true. I misunderstood.
Removed the use of the standard library as much as possible.

@miyazakh miyazakh assigned wolfSSL-Bot and unassigned miyazakh Feb 19, 2026
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.

3 participants

Comments