Skip to content

Commit 316e033

Browse files
committed
PORTENTA: sync bootloader and sketch USB iSerial
1 parent ba68072 commit 316e033

File tree

3 files changed

+2
-1
lines changed

3 files changed

+2
-1
lines changed
Binary file not shown.
Binary file not shown.

variants/PORTENTA_H7_M7/variant.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,8 @@ static void utox8(uint32_t val, uint8_t* s) {
8686
uint8_t getUniqueSerialNumber(uint8_t* name) {
8787
utox8(HAL_GetUIDw0(), &name[0]);
8888
utox8(HAL_GetUIDw1(), &name[16]);
89-
return 32;
89+
utox8(HAL_GetUIDw2(), &name[32]);
90+
return 48;
9091
}
9192

9293
void _ontouch1200bps_() {

0 commit comments

Comments
 (0)