I've been trying to set up my nRF52 DK on my mac OS.
I followed all the steps to download the SDK (15.0.0), the Command Line Tools, the ARM GCC toolchain, and the J-Link Software and Documentation.
I even edited the path for the Makefile.posix
And set a $PATH for mergehex and nrfjprog.
I assume thats everything.
I plugged in the DK via USB and turned it on
I opened a terminal at armgcc folder in the blink example
Here is the result:
Jeromes-MacBook-Air:armgcc jerome$ make mkdir _build cd _build && mkdir nrf52832_xxaa Assembling file: gcc_startup_nrf52.S Compiling file: main.c Compiling file: boards.c Compiling file: app_error.c Compiling file: app_error_handler_gcc.c Compiling file: app_error_weak.c Compiling file: app_util_platform.c Compiling file: nrf_assert.c Compiling file: nrf_strerror.c Compiling file: system_nrf52.c Linking target: _build/nrf52832_xxaa.out text data bss dec hex filename 2076 108 28 2212 8a4 _build/nrf52832_xxaa.out Preparing: _build/nrf52832_xxaa.hex Preparing: _build/nrf52832_xxaa.bin DONE nrf52832_xxaa Jeromes-MacBook-Air:armgcc jerome$ make flash Flashing: _build/nrf52832_xxaa.hex nrfjprog -f nrf52 --program _build/nrf52832_xxaa.hex --sectorerase make: nrfjprog: No such file or directory make: *** [flash] Error 1
Not really sure how to fix this.
I'm out of ideas on how to get it up and running. I just want to start programming. Could really use the help.