File tree Expand file tree Collapse file tree 1 file changed +1
-27
lines changed
libraries/mbed/targets/cmsis/TARGET_NORDIC/TARGET_NRF51822 Expand file tree Collapse file tree 1 file changed +1
-27
lines changed Original file line number Diff line number Diff line change @@ -43,33 +43,7 @@ void SystemCoreClockUpdate(void)
43
43
}
44
44
45
45
void SystemInit (void )
46
- {
47
-
48
- //Write the necessary UICR and FWID values if needed
49
- if (NRF_UICR -> CLENR0 == 0xFFFFFFFF ){
50
- NRF_NVMC -> CONFIG = (NVMC_CONFIG_WEN_Wen << NVMC_CONFIG_WEN_Pos );
51
- while (NRF_NVMC -> READY == NVMC_READY_READY_Busy ){
52
- }
53
-
54
- NRF_UICR -> CLENR0 = 0x14000 ;
55
- while (NRF_NVMC -> READY == NVMC_READY_READY_Busy ){
56
- }
57
-
58
- //write FWID (NRF_UICR->FWID is readonly)
59
- * (uint32_t * )0x10001010 = 0xFFFF0049 ;
60
-
61
- while (NRF_NVMC -> READY == NVMC_READY_READY_Busy ){
62
- }
63
-
64
- NRF_NVMC -> CONFIG = (NVMC_CONFIG_WEN_Ren << NVMC_CONFIG_WEN_Pos );
65
- while (NRF_NVMC -> READY == NVMC_READY_READY_Busy ){
66
- }
67
-
68
- NVIC_SystemReset ();
69
- while (true){
70
- }
71
- }
72
-
46
+ {
73
47
// Prepare the peripherals for use as indicated by the PAN 26 "System: Manual setup is required
74
48
// to enable the use of peripherals" found at Product Anomaly document for your device found at
75
49
// https://www.nordicsemi.com/. The side effect of executing these instructions in the devices
You can’t perform that action at this time.
0 commit comments