Skip to content

Commit

Permalink
improve bin2uf2 abs_block_loc description
Browse files Browse the repository at this point in the history
Signed-off-by: Simon Waldherr <[email protected]>
  • Loading branch information
SimonWaldherr committed Nov 14, 2024
1 parent 8481962 commit dea5ad7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion elf2uf2/elf2uf2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,8 @@ int pages2uf2(std::map<uint32_t, std::vector<page_fragment>>& pages, std::shared
* @param out Output stream for UF2 data.
* @param address Start address in the target memory.
* @param family_id Family ID for UF2.
* @param abs_block_loc Optional absolute block location.
* @param abs_block_loc Optional absolute block location. If set to 0, this is ignored. Any non-zero value will
* be used to add an absolute UF2 block, targeting the specified location.
* @return 0 on success, error code otherwise.
*/
int bin2uf2(std::shared_ptr<std::iostream> in, std::shared_ptr<std::iostream> out, uint32_t address, uint32_t family_id, uint32_t abs_block_loc) {
Expand Down

0 comments on commit dea5ad7

Please sign in to comment.