Skip to content

Conversation

de-nordic
Copy link
Contributor

@de-nordic de-nordic commented May 23, 2025

The commit modifies the Flash Map test, providing Kconfigs that
allow to opt out from testing disabled partitions and testing
DTS node access.

Upstream PR #: 90678

Comment on lines 26 to 29
/* Partition Manager does not have concept of disabled devices
* and so does not generate entries for them, into flash map.
*/
#if USE_PARTITION_MANAGER == 0
Copy link
Contributor

Choose a reason for hiding this comment

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

this is very yucky, I really don't think we should be adding noups for things like this

Copy link
Contributor Author

Choose a reason for hiding this comment

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

How do you propose fixing this? Make this part optional in upstream?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think I was able to weasel out of this with Kconfigs that automatically get disabled for us due to usage of custom flash map.

@de-nordic de-nordic force-pushed the pm-flash-map-fixes branch 2 times, most recently from 4f831a6 to 8209ab1 Compare May 27, 2025 14:07
@de-nordic de-nordic changed the title [nrf noup] tests/flash_map: Amend for Partition Manager [nrf fromlist] tests/flash_map: Allow custom maps to opt out from some scenarios May 27, 2025
@de-nordic de-nordic requested review from a team, nordicjm and rghaddab May 28, 2025 09:08
@de-nordic de-nordic force-pushed the pm-flash-map-fixes branch 3 times, most recently from 55153d4 to d386178 Compare June 4, 2025 11:56
@de-nordic de-nordic changed the title [nrf fromlist] tests/flash_map: Allow custom maps to opt out from some scenarios [nrf romtree] tests/flash_map: Allow custom maps to opt out from some scenarios Jun 4, 2025
…e scenarios

The commit modifies the Flash Map test, providing Kconfigs that
allow to opt out from testing disabled partitions and testing
DTS node access.

Signed-off-by: Dominik Ermel <[email protected]>
(cherry picked from commit 53c79c6)
@de-nordic de-nordic force-pushed the pm-flash-map-fixes branch from d386178 to 4c86b6a Compare June 6, 2025 12:15
Copy link

sonarqubecloud bot commented Jun 6, 2025

@de-nordic
Copy link
Contributor Author

Already taken from upstream by upmerge.

@de-nordic de-nordic closed this Jun 17, 2025
@de-nordic de-nordic deleted the pm-flash-map-fixes branch June 17, 2025 19:04
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