circuitpython/ports
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
..
atmel-samd adding boot counter to main.c 2021-09-08 19:56:23 -06:00
cxd56 change board dicts to include a common macro with __name__ 2021-09-03 21:03:55 +02:00
esp32s2 Merge pull request #5297 from durapensa/s2mini 2021-09-07 14:11:21 -07:00
litex change board dicts to include a common macro with __name__ 2021-09-03 21:03:55 +02:00
mimxrt10xx change board dicts to include a common macro with __name__ 2021-09-03 21:03:55 +02:00
nrf change board dicts to include a common macro with __name__ 2021-09-03 21:03:55 +02:00
raspberrypi Fix RP2040 I2S: always copy to output buffer 2021-09-07 16:35:42 -04:00
stm change board dicts to include a common macro with __name__ 2021-09-03 21:03:55 +02:00
unix unix: Filter out -std=gnu11 2021-08-29 11:36:17 -05:00