Skip to content

Commit def9608

Browse files
committed
Add note to rom_pick_ab_partition to see rom_pick_ab_update_partition when in a flash update boot
1 parent cfd0c34 commit def9608

File tree

1 file changed

+3
-0
lines changed
  • src/rp2_common/pico_bootrom/include/pico

1 file changed

+3
-0
lines changed

src/rp2_common/pico_bootrom/include/pico/bootrom.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -704,6 +704,9 @@ static inline int rom_load_partition_table(uint8_t *workarea_base, uint32_t work
704704
*
705705
* NOTE: This method does not look at owner partitions, only the A partition passed and it's corresponding B partition.
706706
*
707+
* NOTE: You should not call this method directly when performing a Flash Update Boot before calling `explicit_buy`, as it may prevent
708+
* any version downgrade from occuring - instead \see rom_pick_ab_update_partition() which wraps this function.
709+
*
707710
* \param workarea_base base address of work area
708711
* \param workarea_size size of work area
709712
* \param partition_a_num the A partition of the pair

0 commit comments

Comments
 (0)