mirror of
https://github.com/thegecko/web-bluetooth-dfu.git
synced 2025-12-13 04:28:13 +08:00
Document how to update the SoftDevice or Bootloader.
This commit is contained in:
2
dist/hex2bin.js
vendored
2
dist/hex2bin.js
vendored
@@ -111,7 +111,7 @@
|
||||
* And we are not to send UICR data (above maxAddress) when updating the bootloader or application.
|
||||
*/
|
||||
return function(hex, minAddress, maxAddress) {
|
||||
maxAddress = maxAddress || 0xFFFFFFFF;
|
||||
maxAddress = maxAddress || 0x80000; // This will always cut off the UICR and the user will not have to every specify this parameter.
|
||||
minAddress = minAddress || 0x0;
|
||||
|
||||
var startAddress = helperGetBinaryStartAddress(hex.split("\n"), minAddress);
|
||||
|
||||
Reference in New Issue
Block a user