Hello everyone!
I'm writing here becouse I'm quite new to the embedded world and I'm experiencing some troubles starting with this platform.. I must say that, since I found a severe lack of documentation, I have not a clear idea of how the things work in this nRF51DK world.
My final aim is to compile and run the rtx RTOS on which building some nice software. I'm under Linux and I'm using gcc without any IDE.
The first problem I face is that I'm not able to run the compiled blinky_rtx example: I usually merge hexes with the command
srec_cat s110_nrf51822_7.1.0_softdevice.hex -intel nrf51422_xxac.hex -intel -o combined.hex -intel --line-length=44
This command fails saying:
multiple 0x00000000 values (previous = 0xC0, this one = 0x00)
Not able to compile this example I went back to the roots: I tried to compile the plain blinky example. If I compile the version with the s110 softdevice and I merge it with the same command written before, it works perfectly... so why is the blinky_rtx not working?
I've also tried to compile the "blank" branch of the blinky example and this one doesn't work: comparing the two makefiles I've discovered that the s110 branch provides some particular flags to the compiler.. well.. how could I guess them? Is there a nice place in which I can found a documentation explaining how to compile and run the software without surprises?
Can you give me the help necessary to have the rtx running?
Thank you in advance, Francesco