circuitpython/ports/nrf
2023-11-24 22:56:28 +01:00
..
bluetooth Switch all ports to auto-growing split heap 2023-11-01 15:24:16 -07:00
boards Formatting (again 3) 2023-11-24 22:56:28 +01:00
common-hal Switch to using MP_ERROR_TEXT instead of translate, globally 2023-10-30 09:49:06 +01:00
device/nrf52
freeze
nrfx@3f55e49eb1
peripherals/nrf Switch to using MP_ERROR_TEXT instead of translate, globally 2023-10-30 09:49:06 +01:00
supervisor Switch all ports to auto-growing split heap 2023-11-01 15:24:16 -07:00
.gitignore
background.c
background.h
espruino_dfu_private_key.pem
gccollect.c
ld_defines.c
Makefile Switch to gcc 12.3 for arm32 2023-10-17 11:43:38 -07:00
mpconfigport.h MP_REGISTER_ROOT_POINTER for port-specific root pointers 2023-09-29 15:46:42 -04:00
mpconfigport.mk
mphalport.h
nrfx_config.h
nrfx_glue.h
nrfx_log.h
qstrdefsport.h
README.md Fix docs build by splitting out support matrix 2023-10-24 16:20:51 -07:00
sd_mutex.c Switch to using MP_ERROR_TEXT instead of translate, globally 2023-10-30 09:49:06 +01:00
sd_mutex.h

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: