My setups are:
RBL BLE Nano
nRF51_SDK_9.0.0_2e23562
Keil uVision V4.74.0.22 or gcc-arm-none-eabi-4_8-2014q2-20140609-win32
My design is to advertise a manufacturer specific data containing a reading from one of the analog channels. The hex file compiled in uVision can be programmed successfully but the hex file by gcc fails from time to time. Both hex are merged with ~softdevice/s130/hex/s130_softdevice.hex before dragging it to MBED drive.
Strange thing is that the hex by gcc did work at some point of time but fail now. I notice that some gcc compilings show an error message saying "_build/app_button.o not found" but it's gone when I "make -f" again. The Makefile is attached for your reference. Please help.Makefile