Skip to content

Commit

Permalink
Add note to rom_pick_ab_partition to see rom_pick_ab_update_partition…
Browse files Browse the repository at this point in the history
… when in a flash update boot
  • Loading branch information
will-v-pi committed Nov 22, 2024
1 parent cfd0c34 commit def9608
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/rp2_common/pico_bootrom/include/pico/bootrom.h
Original file line number Diff line number Diff line change
Expand Up @@ -704,6 +704,9 @@ static inline int rom_load_partition_table(uint8_t *workarea_base, uint32_t work
*
* NOTE: This method does not look at owner partitions, only the A partition passed and it's corresponding B partition.
*
* NOTE: You should not call this method directly when performing a Flash Update Boot before calling `explicit_buy`, as it may prevent
* any version downgrade from occuring - instead \see rom_pick_ab_update_partition() which wraps this function.
*
* \param workarea_base base address of work area
* \param workarea_size size of work area
* \param partition_a_num the A partition of the pair
Expand Down

0 comments on commit def9608

Please sign in to comment.