Common files and configuration for nRF52 boards. More...
Common files and configuration for nRF52 boards.
By default, nrf52 boards are flashed using Jlink. nRF52840-MDK uses PyOCD by default.
To flash the board, use BOARD=<nrf52 board>
with the make
command.
Example with hello-world
application:
OpenOCD can also be used to flash nrf52 boards (except thingy52 and ruuvitag because they are hardly coupled with JLink segger_rtt stdio). For the moment, the latest stable version of OpenOCD (0.10) doesn't contain any support for nrf52 but versions built against the current development version can be used.
To flash the board with OpenOCD, use the PROGRAMMER
variable:
It is also possible to use the SWD interface of a ST-LINK/V2 in-circuit debugger/programmer with OpenOCD to flash a nrf52 board:
Modules | |
NRF52 DK common | |
Files | |
file | board_common.h |
Shared files and configuration for all nRF52 boards. | |
file | cfg_clock_32_0.h |
Common clock configuration for the nRF52 based boards. | |
file | cfg_clock_32_1.h |
Common clock configuration for the nRF52 based boards. | |
file | cfg_i2c_default.h |
Default I2C config for nRF52 based boards. | |
file | cfg_rtt_default.h |
Default RTT configuration for nRF52 based boards. | |
file | cfg_spi_default.h |
Default SPI config for nRF52 based boards. | |
file | cfg_timer_default.h |
Default timer configuration for nRF52 based boards. | |