In the ticket, amai provided links to a workaround. Rather than using the @ address notation, #pragma location= serves the same purpose and cppcheck is perfectly happy with it.
In the ticket, amai provided links to a workaround. Rather than using the @ address notation, #pragma location= serves the same purpose and cppcheck is perfectly happy with it.
IAR uses the '@' symbol to specify the absolute address of data values (e.g. hardware registers). Anyone found a way to configure cppcheck to accept this construct. Here's a sample code snippet. __no_init static AT91S_DBGU s_Debug @ DEBUG_REG_ADDR; Thanks.