Other Parts Discussed in Thread: AWR1843
Tool/software: TI C/C++ Compiler
Hi champion,
My customer is using ti-cgt-arm_16.9.6.LTS in the program of R4F of TI mmwave device AWR1843. They want to know whether this compiler support embedded assembler like below. They tried it, but the compiler returned error. I checked on ARM website, it says this kind of grammar is supported by GNU compiler. Could you help to check it is supported in TI compiler?
osEE_get_SP (
void
) {
VAR(OsEE_addr, AUTOMATIC) temp;
OSEE_GET_SP(temp);
return temp;
}
#define OSEE_GET_SP(SP) \
__asm__ volatile (" mov %0, sp" : "=r" (SP))
Thanks,
Adam