You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
circuitpython/ports/nrf
Sean Cross 23b697476b nrf: add simmel board 3 years ago
..
bluetooth increase max connections from 2 to 5 3 years ago
boards nrf: add simmel board 3 years ago
common-hal nrf: bleio: parameterize softradio configuration 3 years ago
device/nrf52 nrf: add support for nrf52833 3 years ago
examples Fix 'advertisement' typo 4 years ago
freeze ports/nrf: Moving nrf51/52 port to new ports directory 5 years ago
nrfx@3f55e49eb1 update nrfx submodule to v2 3 years ago
peripherals/nrf nrf: add support for nrf52833 3 years ago
supervisor nrf: supervisor: support building without BUSIO 3 years ago
.gitignore add CharacteristicBuffer; UART seems to work! 4 years ago
Makefile nrf: add support for nrf52833 3 years ago
README.md address review comments 3 years ago
background.c wip; compiles 3 years ago
background.h Don't let a background task call run_background_tasks() 4 years ago
fatfs_port.c added correct include files 3 years ago
gccollect.c ports/nrf: Moving nrf51/52 port to new ports directory 5 years ago
ld_defines.c nrf: add support for nrf52833 3 years ago
mpconfigport.h nrf: mpconfigport: support configuration of various sizes 3 years ago
mpconfigport.mk nrf: add support for nrf52833 3 years ago
mphalport.c Supervisor: move most of systick to the supervisor 3 years ago
mphalport.h Supervisor: move most of systick to the supervisor 3 years ago
nrfx_config.h nrf: add support for nrf52833 3 years ago
nrfx_glue.h add ARRAY_SIZE 4 years ago
nrfx_log.h nrf: Rewrite the SPI common-hal using nrfx 5 years ago
qstrdefsport.h nrf: Remove old qstr defines 5 years ago
sd_mutex.c nrf: Use RUN_BACKGROUND_TASKS 3 years ago
sd_mutex.h CharacteristicBuffer: make it be a stream class; add locking 4 years ago
tick.c Supervisor: move most of systick to the supervisor 3 years ago
tick.h Supervisor: move most of systick to the supervisor 3 years ago

README.md

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: