Hi there,
I've been trying to figure this one out for a day or so now with no luck.
I'm successfully able to build and program using Segger Embedded Studio, but I would prefer to work in Eclipse.
I have followed this tutorial while trying to get everything setup and working in Eclipse: https://devzone.nordicsemi.com/tutorials/b/getting-started/posts/development-with-gcc-and-eclipse
The problem I'm having is that I am unable to get any example projects to successfully build with the 'make' command through the command prompt.
The error I am getting is as follows:
C:\nRF5_SDK_15.3.0_59ac345\examples\peripheral\blinky\pca10056\blank\armgcc>make
mkdir _build
cd _build && mkdir nrf52840_xxaa
Assembling file: gcc_startup_nrf52840.S
Compiling file: nrf_log_frontend.c
Compiling file: nrf_log_str_formatter.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_atomic.c
Compiling file: nrf_balloc.c
Compiling file: nrf_fprintf.c
Compiling file: nrf_fprintf_format.c
Compiling file: nrf_memobj.c
Compiling file: nrf_ringbuf.c
Compiling file: nrf_strerror.c
Compiling file: nrfx_atomic.c
Compiling file: main.c
Compiling file: system_nrf52840.c
Linking target: _build/nrf52840_xxaa.out
0 [main] sh.exe" 11484 sync_with_child: child 18428(0x3B28) died before initialization with status code 0xC0000142
1346 [main] sh.exe" 11484 sync_with_child: *** child state waiting for longjmp
"C:/Program Files/WinAVR-20100110/utils/bin/sh.exe": fork: Resource temporarily unavailable
make[306]: *** [_build/nrf52840_xxaa.out] Error 128
make[305]: *** [_build/nrf52840_xxaa.out] Error 2
make[304]: *** [_build/nrf52840_xxaa.out] Error 2
...
make[2]: *** [_build/nrf52840_xxaa.out] Error 2
make[1]: *** [_build/nrf52840_xxaa.out] Error 2
make: *** [_build/nrf52840_xxaa.out] Error 2
I did find this post in the Nordic Dev Zone where the person asking for help had a very similar error: https://devzone.nordicsemi.com/f/nordic-q-a/37631/trying-to-build-project-with-gcc-but-comes-to-this-error-message
I have tried all the suggestions in that post which seemed to have to work, but they haven't worked for me.
Any help would be greatly appreciated.
Thanks
Jordan