This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

running a program without the softdevice

I am attempting to use Unity + CMock onboard the nrf51 for unit testing. I have Unity working and can even output the results of unit tests using Segger RTT libraries. There doesn't seem to be enough room on the device for the addition of CMock.

I want to attempt to build a Makefile which flashes just the test program to the nrf51 without the softdevice to gain enough room, it is not needed as accesses to any Nordic SDK functions will be mocked.

Are there any examples of Makefiles for GCC flashing a program that doesn't use the softdevice?

Related