circuitpython/ports/nrf
2020-02-28 23:43:04 -05:00
..
bluetooth increase max connections from 2 to 5 2020-01-31 14:58:23 -05:00
boards new pin validation routines; don't use mp_const_none if NULL will do 2020-02-28 23:43:04 -05:00
common-hal new pin validation routines; don't use mp_const_none if NULL will do 2020-02-28 23:43:04 -05:00
device/nrf52 nrf: Mark interrupt vectors as used 2019-08-02 07:53:35 -05:00
examples Fix 'advertisement' typo 2018-10-03 09:56:30 +02:00
freeze ports/nrf: Moving nrf51/52 port to new ports directory 2017-10-04 21:46:48 +02:00
nrfx@3f55e49eb1 update nrfx submodule to v2 2019-12-18 15:39:11 +07:00
peripherals/nrf fix UICR check; do not use NULL for no MISO 2020-01-31 18:57:41 -05:00
supervisor merge from upstream 2020-02-20 22:27:16 -05:00
.gitignore add CharacteristicBuffer; UART seems to work! 2019-01-07 22:46:20 -05:00
background.c wip; compiles 2020-01-05 23:33:42 -05:00
background.h Don't let a background task call run_background_tasks() 2019-04-09 20:23:01 -04:00
fatfs_port.c added correct include files 2019-12-10 19:44:11 -08:00
gccollect.c ports/nrf: Moving nrf51/52 port to new ports directory 2017-10-04 21:46:48 +02:00
ld_defines.c use properly-sized SPI transactions 2020-02-12 15:04:19 -05:00
Makefile Add support for the Particle Ethernet FeatherWing 2020-01-28 10:53:50 +01:00
mpconfigport.h put neopixel_write buffer in root pointers 2020-02-21 08:44:25 -05:00
mpconfigport.mk working on all ports 2019-12-10 20:27:30 -05:00
mphalport.c Supervisor: move most of systick to the supervisor 2019-11-18 11:01:23 -06:00
mphalport.h Supervisor: move most of systick to the supervisor 2019-11-18 11:01:23 -06:00
nrfx_config.h nrf: add SPIM3 support 2020-02-11 19:22:14 -05:00
nrfx_glue.h add ARRAY_SIZE 2018-07-10 01:06:57 +07:00
nrfx_log.h nrf: Rewrite the SPI common-hal using nrfx 2018-06-25 23:46:34 +02:00
qstrdefsport.h nrf: Remove old qstr defines 2018-06-27 20:52:13 +02:00
README.md address review comments 2019-12-11 15:43:06 -05:00
sd_mutex.c nrf: Use RUN_BACKGROUND_TASKS 2019-08-11 08:53:02 -05:00
sd_mutex.h CharacteristicBuffer: make it be a stream class; add locking 2019-01-19 19:45:35 -05:00
tick.c Supervisor: move most of systick to the supervisor 2019-11-18 11:01:23 -06:00
tick.h Supervisor: move most of systick to the supervisor 2019-11-18 11:01:23 -06:00

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: