How to access the following macro to my inline-asm function, and to store 32 bit value to that location
#define STATUS_VAR (*(volatile uint32_t*)0x40008025u)
asm void testFunc(void) {
-------
-------}
Hi,
you can't do that. It is not possible to put C expression to asm code. You can do that only if it is pure number like:
#define STATUS_VAR 0x40008025U
Regards,
Lukas