Add pico_get_unique_board_id_string API (#281)
* Add pico_get_unique_board_id_string API Add a new API to pico_unique which will turn the unique ID into a canonical text string. Use this API to update the USB device serial number in stdio_usb. Supercedes #280 * Clean up -Wconversion=error issues * Address review comments, fix api typing Use cleaner binary-to-hex conversion. Update the length parameter to use uint per the SDK standard .
This commit is contained in:
committed by
GitHub
parent
98574564b8
commit
3c0309c10e
@ -13,9 +13,10 @@ if (TARGET tinyusb_device_unmarked)
|
||||
tinyusb_device_unmarked
|
||||
pico_stdio
|
||||
pico_time
|
||||
pico_unique_id
|
||||
)
|
||||
|
||||
target_compile_definitions(pico_stdio_usb INTERFACE
|
||||
PICO_STDIO_USB=1
|
||||
)
|
||||
endif()
|
||||
endif()
|
||||
|
Reference in New Issue
Block a user