circuitpython/ports/nrf
DavePutz c00a630f50
Update PulseOut.c
reorder the tests for zero-length
2022-08-23 15:58:27 -05:00
..
bluetooth Add two stage reset for BLE 2022-05-12 13:20:44 -07:00
boards Remove support for auto-brightness 2022-08-09 22:40:21 -04:00
common-hal Update PulseOut.c 2022-08-23 15:58:27 -05:00
device/nrf52 more missing-prototypes fixes 2021-11-10 21:00:17 -06:00
freeze run code formatting script 2021-03-15 19:27:36 +05:30
nrfx@3f55e49eb1
peripherals/nrf -Werror=missing-prototypes for nRF 2021-11-10 11:26:54 -06:00
supervisor Add two stage reset for BLE 2022-05-12 13:20:44 -07:00
.gitignore
Makefile Conditionalize LTO 2022-05-27 12:59:54 -07:00
README.md nrf: Facilitate use of freeze manifest. 2021-08-08 23:17:55 +10:00
background.c -Werror=missing-prototypes for nRF 2021-11-10 11:26:54 -06:00
background.h
fatfs_port.c -Werror=missing-prototypes for nRF 2021-11-10 11:26:54 -06:00
gccollect.c run code formatting script 2021-03-15 19:27:36 +05:30
ld_defines.c run code formatting script 2021-03-15 19:27:36 +05:30
mpconfigport.h nrf: Set .mpy features consistent with documentation and other ports. 2021-08-13 23:22:54 +10:00
mpconfigport.mk Change I2C terminology from "peripheral" to "target" 2022-08-09 13:13:19 -04:00
mphalport.h Merge tag 'v1.17' into merge-1.17 2021-10-15 08:20:54 -05:00
nrfx_config.h Create first BLE-only board, Micro:Bit v2 2021-07-14 09:55:51 -07:00
nrfx_glue.h nrf/modules/nrf: Add function to enable/disable DCDC. 2021-08-09 14:55:59 +10:00
nrfx_log.h
qstrdefsport.h nrf/qstrdefsport.h: Add entries for in-built FS mount points. 2021-08-08 23:17:49 +10:00
sd_mutex.c -Werror=missing-prototypes for nRF 2021-11-10 11:26:54 -06:00
sd_mutex.h run code formatting script 2021-03-15 19:27:36 +05:30

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: