I have a portion of the code as:
__weak void TimingDelay_Decrement(void) {
}
and it keeps throwing up the captioned error. I checked the web and couldn't find relevant content for the __weak case. Any help is appreciated.
I have a portion of the code as:
__weak void TimingDelay_Decrement(void) {
}
and it keeps throwing up the captioned error. I checked the web and couldn't find relevant content for the __weak case. Any help is appreciated.
Because it is ARM Cortex gcc toolchain so the __weak is a definition of __attribute__((weak)).
The easiest way to add is to amend the gcc command line arguments: -D__weak=__attribute__((weak))