This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Chipcon CC2510 on Keil

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

Parents
  • "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.

Reply
  • "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.

Children