Skip to content

Commit

Permalink
PORTENTA: sync bootloader and sketch USB iSerial
Browse files Browse the repository at this point in the history
  • Loading branch information
facchinm committed Sep 2, 2020
1 parent ba68072 commit 316e033
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 1 deletion.
Binary file modified bootloaders/PORTENTA_H7/portentah7_bootloader_mbed_hs_v2.bin
Binary file not shown.
Binary file modified bootloaders/PORTENTA_H7/portentah7_bootloader_mbed_hs_v2.elf
Binary file not shown.
3 changes: 2 additions & 1 deletion variants/PORTENTA_H7_M7/variant.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,8 @@ static void utox8(uint32_t val, uint8_t* s) {
uint8_t getUniqueSerialNumber(uint8_t* name) {
utox8(HAL_GetUIDw0(), &name[0]);
utox8(HAL_GetUIDw1(), &name[16]);
return 32;
utox8(HAL_GetUIDw2(), &name[32]);
return 48;
}

void _ontouch1200bps_() {
Expand Down

0 comments on commit 316e033

Please sign in to comment.