Skip to content

Conversation

@nordicjm
Copy link
Contributor

@nordicjm nordicjm commented Apr 8, 2025

Fixes an issue whereby just enabling hooks would enable the nrf5340 network core hook despite lacking other requirements

{
if (image_index == NET_CORE_IMAGE) {
if (image_index == CONFIG_MCUBOOT_NETWORK_CORE_IMAGE_NUMBER) {
/* Pretend that primary slot of image 1 unpopulated */
Copy link
Contributor

Choose a reason for hiding this comment

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

Seems that comment here is not representing what the if does.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Updated

@nordicjm nordicjm force-pushed the nrf5340hook branch 3 times, most recently from de0ed4e to 01f8671 Compare April 9, 2025 07:01
Fixes an issue whereby just enabling hooks would enable the nrf5340
network core hook despite lacking other requirements

Signed-off-by: Jamie McCrae <[email protected]>
@sonarqubecloud
Copy link

@nordicjm nordicjm added this to the ncs-3.0.0 milestone Apr 10, 2025
@nordicjm nordicjm merged commit 8dbca43 into nrfconnect:main Apr 10, 2025
9 checks passed
@nordicjm nordicjm removed this from the ncs-3.0.0 milestone Apr 10, 2025
@nordicjm nordicjm deleted the nrf5340hook branch April 15, 2025 07:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport v4.0.99-ncs1-branch Relates to NCS v3.0-branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants