Now - I finally got it working, and it works REALLY well. I used the Nordic guide and some trial and error once installed, and got it up and running in a day or two I think (all included). Anyway, I now felt that it was time to give Eclipse another shot, so I went back to installing Eclipse and GNU, trying to see if I could get it to work this time, as I knew GCC was a very good C++11 compiler. I've actually tried to setup Eclipse and GNU like a year ago, but it was so difficult compared to Keil that I gave up on it. 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. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
June 2023
Categories |