From dea5ad7ab1abed42e1caf32a66ec69759c7c24fc Mon Sep 17 00:00:00 2001 From: Simon Waldherr Date: Thu, 14 Nov 2024 21:37:26 +0100 Subject: [PATCH] improve bin2uf2 abs_block_loc description Signed-off-by: Simon Waldherr --- elf2uf2/elf2uf2.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/elf2uf2/elf2uf2.cpp b/elf2uf2/elf2uf2.cpp index b586f5a..961537b 100644 --- a/elf2uf2/elf2uf2.cpp +++ b/elf2uf2/elf2uf2.cpp @@ -284,7 +284,8 @@ int pages2uf2(std::map>& 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 in, std::shared_ptr out, uint32_t address, uint32_t family_id, uint32_t abs_block_loc) {