We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Has anybody in this forum successfully built a project with chipcon CC2510 micro on Keil compiler? I understand that all libraries sets available at Chipcom website are written for IAR compiler. I am very curios to know if it is feaseable/possible to use Keil tool? if not, are there any ways to get around this issue?
JS
"porting shouldn't pose a big problem/task for a skilled programmer"
The error functions you are getting are due to an inline asm() function, invoked in the function-like macro, that is being used to force the inclusion of a NOP in the code.
In Keil, you have the intrinsic function _nop_(), that does the same thing.
It is in the Cx51 Compiler MANUAL, at chapter 8.
But be aware that the ported code will probably need careful analysis of such timing loops that use NOPs, since the new compiler may generate quite different machine code than the original compiler.
Got it, thak you