-
Notifications
You must be signed in to change notification settings - Fork 7.6k
drivers: flash: Add support Flash-LP driver for Renesas RA #89471
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
base: main
Are you sure you want to change the base?
drivers: flash: Add support Flash-LP driver for Renesas RA #89471
Conversation
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. |
Hi @soburi, @petejohanson, this PR may be relevant to your board. Could you please have a look? |
64eef1a
to
f2bf94a
Compare
This commit is to update renesas commit ID to support Flash-LP Signed-off-by: Khoa Nguyen <khoa.nguyen.xh@renesas.com>
Initial support Flash-LP driver for Renesas RA Signed-off-by: Khoa Nguyen <khoa.nguyen.xh@renesas.com> Signed-off-by: Phi Tran <phi.tran.jg@bp.renesas.com>
Remove code_in_ram section in linker file of RA4M1, RA2A1 Signed-off-by: Khoa Nguyen <khoa.nguyen.xh@renesas.com>
Add dts node to support Flash LP for: - RA4: RA4M1, RA4W1 - RA2: RA2A1, RA2L1 Signed-off-by: Khoa Nguyen <khoa.nguyen.xh@renesas.com>
Add support Flash-LP for Renesas boards: - RA4: ek_ra4m1, ek_ra4w1 - RA2: ek_ra2a1, ek_ra2l1 Signed-off-by: Khoa Nguyen <khoa.nguyen.xh@renesas.com>
Add support test app `flash/common` for ek_ra4m1, ek_ra4w1, ek_ra2a1, ek_ra2l1 Signed-off-by: Khoa Nguyen <khoa.nguyen.xh@renesas.com>
f2bf94a
to
62de7bd
Compare
This pull request sets up GitHub code scanning for this repository. Once the scans have completed and the checks have passed, the analysis results for this pull request branch will appear on this overview. Once you merge this pull request, the 'Security' tab will show more code scanning analysis results (for example, for the default branch). Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results. For more information about GitHub code scanning, check out the documentation. |
|
||
if (!len) { | ||
return 0; | ||
} |
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.
Move it into line 54, if the len = 0, no need to check the others
|
||
if (!len) { | ||
return 0; | ||
} |
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.
move above line 80
|
||
if (!len) { | ||
return 0; | ||
} |
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.
Move above line 174
|
||
#define DT_DRV_COMPAT renesas_ra_flash_lp_controller | ||
|
||
#define UNIT_CODE_FLASH_PROGRAMMING 8 |
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.
Do you use this marco?
.code-in-ram
section for RA4M1 and RA2A1.ek_ra4m1
,ek_ra4w1
,ek_ra2a1
, andek_ra2l1
.ek_ra4m1
,ek_ra4w1
,ek_ra2a1
, andek_ra2l1
.