Other Parts Discussed in Thread: CC3200-LAUNCHXL
Hi, I'm following the getting started guide (link) and I'm running into a problem when I try to build the driverlib project (step 7 on page 12). The error message I get is: "Address must be of a non-global defined in the current section bne.n UtilsDelay". I found the relevant piece of code in the utils.c file but I have no experience in assembly and have no idea how to fix it:
#if defined(ccs)
__asm(" .sect \".text:UtilsDelay\"\n"
" .clink\n"
" .thumbfunc UtilsDelay\n"
" .thumb\n"
" .global UtilsDelay\n"
"UtilsDelay:\n"
" subs r0, #10\n"
" bne.n UtilsDelay\n"
" bx lr\n");
#endif
I have not made any changes so the example project is straight from the sdk, I have followed the steps in the pdf to the letter. Thanks for any help.