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
It is determined that the problem is due to the MACRO in the hal.h file. The statement asm("NOP"); \ caused the problem!!!!
#define SET_MAIN_CLOCK_SOURCE(source) \ do { \ if(source) { \ CLKCON |= 0x40; \ while(!HIGH_FREQUENCY_RC_OSC_STABLE); \ SLEEP |= 0x04; \ } \ else { \ SLEEP &= ~0x04; \ while(!XOSC_STABLE); \ asm("NOP"); \ CLKCON &= ~0x47; \ SLEEP |= 0x04; \ } \ } while (0)
Is that true that KEIL does not support "asm("NOP"); " statement? if that is, then what would be an alternative to that statement?
Thanks in advance.
JIMMY
Jimmy; Read the posts. Jonny just told you the chapter and the verse and the alternative. Bradford