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
Scott Shawcroft cbe9512691
Merge pull request #2741 from tannewt/fix_packetbuffer_server
3 years ago
..
bluetooth increase max connections from 2 to 5 3 years ago
boards Merge pull request #2730 from tannewt/fix_fourwire_phase_polarity 3 years ago
common-hal Add exception on small buffer and fix Connecion WRITE handling 3 years ago
device/nrf52 nrf: Mark interrupt vectors as used 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 fix UICR check; do not use NULL for no MISO 3 years ago
supervisor nrf: sqpi_flash: Handle unaligned reads 3 years ago
.gitignore add CharacteristicBuffer; UART seems to work! 4 years ago
Makefile oofatfs: Remove _FS_DISK_READ_ALIGNED 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 use properly-sized SPI transactions 3 years ago
mpconfigport.h put neopixel_write buffer in root pointers 3 years ago
mpconfigport.mk ulab: rename enable macro so it appears in the support matrix 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 SPIM3 support 3 years ago
nrfx_glue.h add ARRAY_SIZE 4 years ago
nrfx_log.h nrf: Rewrite the SPI common-hal using nrfx 4 years ago
qstrdefsport.h nrf: Remove old qstr defines 4 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: