This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

nRF51 SDK-examples using VisualGDB

Hi, I wonder how to get the Nordic SDK-examples work with VisualGDB.

As I would like to read TWI sensor values a good point to start from are the Nordic examples. But as all neccessary header files seem not to be included I have no idea how to get them work.

Did anyone already fight this problem? Or is there a working tutorial out there?

Parents
  • Do yourself a favor and use supported environment like Keil or GCC with official Nordic makefiles. As much as I like Visual Studio I had to switch to Keil because VisualGDB has weird bugs. Once you have a working project skeleton you can try to write a makefile and project definition for VisualGDB. I also don't like 'include everything' approach they adopted. Compiling whole sdk code regardless if your project uses it takes forever. Just take official app_twi example along with makefiles and go from there.

Reply
  • Do yourself a favor and use supported environment like Keil or GCC with official Nordic makefiles. As much as I like Visual Studio I had to switch to Keil because VisualGDB has weird bugs. Once you have a working project skeleton you can try to write a makefile and project definition for VisualGDB. I also don't like 'include everything' approach they adopted. Compiling whole sdk code regardless if your project uses it takes forever. Just take official app_twi example along with makefiles and go from there.

Children
No Data
Related