circuitpython/ports/atmel-samd/boards/pycubed_mram
Max Holliday fa83c1c2f9
adding boot counter to main.c
The boot counter is a uint8_t single-byte counter stored in the first NVM byte position (`micrcontroller.nvm[0]`). The counter increments by 1 each time the board boots, regardless if it's a hard or soft reset. 

Enable the boot counter by adding `#define CIRCUITPY_BOOT_COUNTER 1` to your board's mpconfigboard.h file. Note that an error will be thrown during the build if `CIRCUITPY_INTERNAL_NVM_SIZE` is not also set within mpconfigboard.h.
2021-09-08 19:56:23 -06:00
..
board.c updating pycubed firmware for mainboardv05 :) 2021-09-04 18:39:24 -06:00
mpconfigboard.h adding boot counter to main.c 2021-09-08 19:56:23 -06:00
mpconfigboard.mk updating pycubed firmware for mainboardv05 :) 2021-09-04 18:39:24 -06:00
pins.c updating pycubed firmware for mainboardv05 :) 2021-09-04 18:39:24 -06:00