Add a runtime partition to the partition table to specify flash permissions Note that a partition is added to the runtime view of the partition table maintained by the bootrom if there is space to do so Note that these permissions cannot override the permissions for any pre-existing partitions, as permission matches are made on a first partition found basis.
>= 0 the partition number added if PICO_ERROR_BAD_ALIGNMENT if the start_offset or size aren't multiples of 4K. PICO_ERROR_INVALID_ARG if the start_offset or size are out of range, or invalid permission bits are set.
Examples
rom_add_flash_runtime_partition() is referenced by 1 libraries and example projects: