adafruit / Adafruit_nRF52_Bootloader

USB-enabled bootloaders for the nRF52 BLE SoC chips
MIT License
438 stars 393 forks source link

fix against pollution of REGOUT0 reserved bits #186

Closed lyusupov closed 3 years ago

lyusupov commented 3 years ago

When UICR_REGOUT0_VALUE macro is set to


#define UICR_REGOUT0_VALUE UICR_REGOUT0_VOUT_3V3

as suggested by author of https://github.com/adafruit/Adafruit_nRF52_Bootloader/pull/177 - the REGOUT0 new value becomes 0x00000005 instead of 0xFFFFFFFD.

This PR is intended to fix the issue.