I have a downloaded blinkly project for nRF51 build it and flashed the code on PCA10028 board. Added my own custom library to project to accomplish a feature (For which I had to change Makefile), Every thing works till now. The only problem is the binary size is quite high, the reason I infer is Blinkly project being in a Default configuration while compiling the project.
How can I change the build configuration from Default mode to Release mode? In other words the question is How do I reduce my Binary size, what compiler options should I be concentrating on? Any help is appreciated.