circuitpython/ports/nrf/boards
Nick Moore 8e7fee2246 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-09 10:55:39 +10:00
..
feather_nrf52840_express Working flash pages for nvm.ByteArray adafruit/circuitpython#1042 2019-04-09 10:55:39 +10:00
makerdiary_nrf52840_mdk address @tannewt changes: move and rename common files; remove PORT_HEAP_SIZE 2019-02-15 20:32:32 -05:00
makerdiary_nrf52840_mdk_usb_dongle Allow NFC pins to be used for other purposes. 2019-03-21 11:22:58 -04:00
particle_argon implement default busses for particle boards 2019-02-24 09:34:33 -05:00
particle_boron implement default busses for particle boards 2019-02-24 09:34:33 -05:00
particle_xenon implement default busses for particle boards 2019-02-24 09:34:33 -05:00
pca10056 Fix #ifdefs in port.c to call xxx_reset() rroutines properly. Remove most uses of EXPRESS_BOARD. 2019-02-18 22:44:31 -05:00
pca10059 address @tannewt changes: move and rename common files; remove PORT_HEAP_SIZE 2019-02-15 20:32:32 -05:00
sparkfun_nrf52840_mini Fix #ifdefs in port.c to call xxx_reset() rroutines properly. Remove most uses of EXPRESS_BOARD. 2019-02-18 22:44:31 -05:00
adafruit_nrf52840_s140_v6.ld update SD to v6.1.0 2018-08-22 21:51:30 +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