I'm trying to use SysTick_Handler in a project which uses the mbed libraries and RTOS, however on compilation, the following error is returned: Error: Symbol SysTick_Handler multiply defined (by ../../build/mbed-os/rtos/TARGET_CORTEX/rtx5/RTX/Source/TOOLCHAIN_ARM/TARGET_M3/irq_cm3.LPC1768.o and ../../build/main.LPC1768.o).
This leads me to believe that SysTick_Handler is used somewhere in the mbed library. Does this mean I cannot use it, and I have to resort to using the LPC1768s Timers?
The other definition appears to be in irq_cm3.0
Boiled down version of code:
#include "mbed.h"
#include "EthernetInterface.h"
extern "C" void SysTick_Handler()
{
}
// Socket demo
int main()
{
SysTick_Config(SystemCoreClock / 1000);
}