Apparently the sections were not what Keil expected, and to be honest, at this time I was pretty tired of Keil. But then I was let down by Keil once again, as it wasn't able to flash the ELF file produced by GCC. Finally I switched Keil to use the GNU toolchain, and after a long struggle again changing all my code to get it to work and compile with the GCC compiler, I finally got a binary. I had many problems with straight forward things that it wasn't able to compile, and I struggled with many simple thing for days. The Realview compiler (used by Keil default) is not impressive with respect to C++. But later on I've started to add a C++ wrapper around the Nordic API, to make it easier to reuse my code and hereby make it more stable in the long run. I've used Keil to begin with, and it works very well out of the box.
0 Comments
Leave a Reply. |