circuitpython/ports/nrf
Dan Halbert 082b0d1aed
Merge pull request #7191 from jepler/fastpixelmap
Add a fast PixelMap-like class
2022-12-01 11:43:00 -05:00
..
bluetooth Add two stage reset for BLE 2022-05-12 13:20:44 -07:00
boards disable pixelmap on bluemicro833 2022-11-24 09:09:48 -06:00
common-hal store wake_alarm in a static object 2022-10-29 16:26:36 -04:00
device/nrf52 more missing-prototypes fixes 2021-11-10 21:00:17 -06:00
freeze
nrfx@3f55e49eb1
peripherals/nrf
supervisor store wake_alarm in a static object 2022-10-29 16:26:36 -04:00
.gitignore remove redundant port/*/.gitignore; cleanup others 2022-10-01 11:52:36 -04:00
background.c
background.h
gccollect.c
ld_defines.c
Makefile Merge pull request #7247 from tannewt/picow_web_workflow 2022-11-28 14:19:42 -08:00
mpconfigport.h
mpconfigport.mk Change I2C terminology from "peripheral" to "target" 2022-08-09 13:13:19 -04:00
mphalport.h
nrfx_config.h
nrfx_glue.h
nrfx_log.h
qstrdefsport.h
README.md
sd_mutex.c
sd_mutex.h

CircuitPython Port To The Nordic Semiconductor nRF52 Series

This is a port of CircuitPython to the Nordic Semiconductor nRF52 series of chips.

Note

: There are board-specific READMEs that may be more up to date than the generic board-neutral documentation below.

Flash

Some boards have UF2 bootloaders and can simply be flashed in the normal way, by copying firmware.uf2 to the BOOT drive.

For some boards, you can use the flash target:

make BOARD=pca10056 flash

Segger Targets

Install the necessary tools to flash and debug using Segger:

JLink Download

nrfjprog linux-32bit Download

nrfjprog linux-64bit Download

nrfjprog osx Download

nrfjprog win32 Download

note: On Linux it might be required to link SEGGER's libjlinkarm.so inside nrfjprog's folder.

DFU Targets

run follow command to install adafruit-nrfutil from PyPi

$ pip3 install --user adafruit-nrfutil

make flash and make sd will not work with DFU targets. Hence, dfu-gen and dfu-flash must be used instead.

  • dfu-gen: Generates a Firmware zip to be used by the DFU flash application.
  • dfu-flash: Triggers the DFU flash application to upload the firmware from the generated Firmware zip file.

When enabled you have different options to test it: