-
Notifications
You must be signed in to change notification settings - Fork 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
Dependencies for SOC_FLASH_MCUX
are incorrect on LPC55xxx platforms
#79576
Labels
bug
The issue is a bug, or the PR is fixing a bug
Comments
danieldegrasse
added a commit
to nxp-upstream/zephyr
that referenced
this issue
Oct 8, 2024
SOC_FLASH_MCUX has additional dependencies for LPC55xxx CPUs, due to the fact that the flash should be disabled when executing in nonsecure mode. Since the merge of HWMv2, this dependency has been set incorrectly at the SOC level, resulting in the IAP flash driver being enabled when targeting CPU1, which is incorrect. Fix the Kconfig dependency to resolve this issue. Fixes zephyrproject-rtos#79576 Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
Merged
danieldegrasse
added a commit
to nxp-upstream/zephyr
that referenced
this issue
Oct 15, 2024
SOC_FLASH_MCUX has additional dependencies for LPC55xxx CPUs, due to the fact that the flash should be disabled when executing in nonsecure mode. Since the merge of HWMv2, this dependency has been set incorrectly at the SOC level, resulting in the IAP flash driver being enabled when targeting CPU1, which is incorrect. Fix the Kconfig dependency to resolve this issue. Fixes zephyrproject-rtos#79576 Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com> (cherry picked from commit feb0241)
nashif
pushed a commit
that referenced
this issue
Oct 18, 2024
SOC_FLASH_MCUX has additional dependencies for LPC55xxx CPUs, due to the fact that the flash should be disabled when executing in nonsecure mode. Since the merge of HWMv2, this dependency has been set incorrectly at the SOC level, resulting in the IAP flash driver being enabled when targeting CPU1, which is incorrect. Fix the Kconfig dependency to resolve this issue. Fixes #79576 Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com> (cherry picked from commit feb0241)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
Samples enabling
CONFIG_FLASH
fail to build on the LPC55S69 CPU1 target, due to the IAP flash driver being enabled when it should not be.Please also mention any information which could help others to understand
the problem you're facing:
lpcxpresso55s69/lpc55s69/cpu1
specific commit?
Yes, the introduction of HWMv2
To Reproduce
Expected behavior
Build should pass
Impact
Blocking CI on #72102
Logs and console output
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: