We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c608786 commit 0d57cfeCopy full SHA for 0d57cfe
CHANGELOG
@@ -1,3 +1,7 @@
1
+SAMD CORE 1.6.5
2
+
3
+* Set NVMCTRL.MANW bit to 1 (default is 0). This prevents accidental writes on program memory.
4
5
SAMD CORE 1.6.4 2016.02.19
6
7
* Fixed Wire address setup when running as slave.
cores/arduino/startup.c
@@ -223,4 +223,9 @@ void SystemInit( void )
223
linearity |= ((*((uint32_t *) ADC_FUSES_LINEARITY_1_ADDR) & ADC_FUSES_LINEARITY_1_Msk) >> ADC_FUSES_LINEARITY_1_Pos) << 5;
224
225
ADC->CALIB.reg = ADC_CALIB_BIAS_CAL(bias) | ADC_CALIB_LINEARITY_CAL(linearity);
226
227
+ /*
228
+ * 9) Disable automatic NVM write operations
229
+ */
230
+ NVMCTRL->CTRLB.bit.MANW = 1;
231
}
0 commit comments