-
Notifications
You must be signed in to change notification settings - Fork 6.7k
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
Support Flash HP driver for Renesas RA6, RA4 devices #79858
base: main
Are you sure you want to change the base?
Support Flash HP driver for Renesas RA6, RA4 devices #79858
Conversation
Hello @khoa-nguyen-18, and thank you very much for your first pull request to the Zephyr project! |
The following west manifest projects have changed revision in this Pull Request:
✅ All manifest checks OK Note: This message is automatically posted and updated by the Manifest GitHub Action. |
769ca3c
to
1ba5766
Compare
1ba5766
to
b5674f0
Compare
b5674f0
to
f75cc59
Compare
|
f75cc59
to
29a4f8e
Compare
Change the layout and modify the message of commits |
29a4f8e
to
7854ca9
Compare
Update hal_renesas commit ID for flash HP RA6, RA4 support Signed-off-by: Khoa Nguyen <[email protected]>
7854ca9
to
636e146
Compare
I just rebased main to solve conflicts and updated the revision for hal_renesas in |
drivers/flash/flash_hp_ra.c
Outdated
#include <stdbool.h> | ||
#define LOG_LEVEL CONFIG_FLASH_LOG_LEVEL | ||
#include <zephyr/logging/log.h> |
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.
@khoa-nguyen-18 : Could you please separate between include and define?
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.
Sorry, this include is redundant, I removed it
block-32kb-linear-end: | ||
type: int | ||
required: true | ||
|
||
block-32kb-dual-low-end: | ||
type: int | ||
|
||
block-32kb-dual-high-end: | ||
type: int | ||
|
||
reserved-area-num: | ||
type: int |
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.
@khoa-nguyen-18 : Could you please add description for these 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.
I have just added the description for these properties, thank you. Can you please take a look?
#address-cells = <1>; | ||
#size-cells = <1>; | ||
|
||
/* Set the 2 last block of storage. */ |
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.
@khoa-nguyen-18 : Is it mistake? If it is correct, please check similar point.
- Bring macro defined of RA8 in flash_hp_ra.h to device tree - Change to use irq_lock instead of semaphore for code flash - Modify and add conditions to check and make decision to perform action at last block. Signed-off-by: Khoa Nguyen <[email protected]> Signed-off-by: Tran Van Quy <[email protected]>
- Add Flash HP support for ra6-cm4, ra6-cm33, ra4-cm33 (except r7fa4w1ad2cng) - Add config to set the minimal size of data which can be written for RA4E2, RA4M2, RA4M3, RA6E1, RA6E2, RA6M1, RA6M2, RA6M3, RA6M4, RA6M5 Signed-off-by: Khoa Nguyen <[email protected]> Signed-off-by: Phi Tran <[email protected]>
- Add Flash HP support for ek_ra6m1, ek_ra6m2, ek_ra6m3, ek_ra6m4, ek_ra6m5, ek_ra6e2, fpb_ra6e1, fpb_ra6e2, ek_ra4e2, ek_ra4m2, ek_ra4m3 - Add doc about Flash for these boards Signed-off-by: Khoa Nguyen <[email protected]> Signed-off-by: Phi Tran <[email protected]>
Add overlay to support test flash/commone for: ek_ra6m1, ek_ra6m2, ek_ra6m3, ek_ra6m4, ek_ra6m5, ek_ra6e2, fpb_ra6e1, fpb_ra6e2, ek_ra4m2, ek_ra4m3, ek_ra4e2 Signed-off-by: Khoa Nguyen <[email protected]> Signed-off-by: Phi Tran <[email protected]>
636e146
to
3018d5b
Compare
Add support for Flash HP driver for RA6, RA4 devices