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

Why are GCC makefiles not provided for ANT samples?

I am starting development on the nRF51422. I noticed that for the non-ANT sample code (blinky and UART), a gcc makefile and windows batch files are provided for compilation and flashing. But for all the ANT sample code, only Keil project files are provided. I tried reinstalling the SDK and double checking to see if their were gcc options I missed.

Is there a reason I should be concerned with gcc / eclipse development for Ant? I don't mind paying for Keil if necessary but I prefer the flexibility of gcc + makefile for cross platform build hosts and for build servers to do daily builds.

Can anyone point me to a sample makefile for the one of the ANT demos? Thanks, David

Edit: On further research, it appears that it is a soft device issue. I looked through my downloads and it all the nRF51422 SDK's I have access to state explicitly that they only support soft device "QFAADA" but my chip is QFAAC0. Can someone please point me to the correct SDK for this chip?

Thank you, David Smoot.

Parents
  • I had to fall back to the 4.4.0 SDK to support the read only softdevice in my chips. I'm not sure if the newer SDK would change the problem I am facing or not but still working on it.

    I'd still like to see a single working GCC compatible makefile for any of the examples that interface with the soft device. Maybe it is possible but so far I have not been able to get an ANT example to work outside of Keil.

    I understand the theory of what you suggest is correct, but have you actually been able to make a makefile build a working binary with GCC?

Reply
  • I had to fall back to the 4.4.0 SDK to support the read only softdevice in my chips. I'm not sure if the newer SDK would change the problem I am facing or not but still working on it.

    I'd still like to see a single working GCC compatible makefile for any of the examples that interface with the soft device. Maybe it is possible but so far I have not been able to get an ANT example to work outside of Keil.

    I understand the theory of what you suggest is correct, but have you actually been able to make a makefile build a working binary with GCC?

Children
No Data
Related