circuitpython/ports/nrf/boards
Nick Moore d0e5af3b09 Working flash pages for nvm.ByteArray adafruit/circuitpython#1042
import microcontroller

def dump(n = microcontroller.nvm):
    for i in range(0,len(n)):
        print ("%02X " % n[i], end="")
        if i % 16 == 15: print('')

microcontroller.nvm[0:4096] = bytes([1,2,3,4,5,6,7,8]) * 512
microcontroller.nvm[4096:8192] = bytes([16,17,18,19]) * 1024
microcontroller.nvm[4090:4101] = b'thisisatest'
microcontroller.nvm[100:105] = b'hello'
microcontroller.nvm[8000:8007] = b'goodbye'
dump()
2019-04-16 14:53:44 +10:00
..
feather_nrf52840_express Working flash pages for nvm.ByteArray adafruit/circuitpython#1042 2019-04-16 14:53:44 +10:00
makerdiary_nrf52840_mdk Reorganize board busses into shared-bindings and shared-module. 2019-04-08 16:58:50 -07:00
makerdiary_nrf52840_mdk_usb_dongle Reorganize board busses into shared-bindings and shared-module. 2019-04-08 16:58:50 -07:00
particle_argon Reorganize board busses into shared-bindings and shared-module. 2019-04-08 16:58:50 -07:00
particle_boron Reorganize board busses into shared-bindings and shared-module. 2019-04-08 16:58:50 -07:00
particle_xenon Reorganize board busses into shared-bindings and shared-module. 2019-04-08 16:58:50 -07:00
pca10056 Reorganize board busses into shared-bindings and shared-module. 2019-04-08 16:58:50 -07:00
pca10059 Reorganize board busses into shared-bindings and shared-module. 2019-04-08 16:58:50 -07:00
sparkfun_nrf52840_mini Reorganize board busses into shared-bindings and shared-module. 2019-04-08 16:58:50 -07:00
adafruit_nrf52840_s140_v6.ld Revert "nrf nvm: touchups to nickzoic PR #1768" 2019-04-15 18:50:33 -07:00
board.h nrf: Implement ticks, add gamepad module and example 2018-02-05 20:48:25 +01:00
common.ld nRF52 update with internal file system support 2017-12-21 13:49:14 +01:00
make-pins.py nrf: Simplify pin generation and definition 2018-06-20 23:26:32 +02:00
nrf52_prefix.c rename pin.h to nrf_pin.h to avoid conflict with Pin.h 2018-08-26 20:37:12 -04:00
nrf52840_1M_256k_s140_6.0.0.ld nrf: Use the production version of s140 6.0.0 2018-06-18 23:12:28 +02:00
nrf52840_1M_256k.ld nrf: Fix building pca10056 without SD 2018-02-07 22:41:26 +01:00