Go Down

Topic: How do you override USART1_Handler without editing variant.cpp ? (Read 982 times) previous topic - next topic


Dear forks,

variant.cpp is arduino-1.5.2\hardware\arduino\sam\variants\arduino_due_x\variant.cpp

I want to use TXD1,RXD1,SCK1 as SPI slave mode with interrupt function.
Because of USART1_Handler is defined in variant.cpp,
multiple definition is occured when I define USART1_Handler in my own code.

Do you know smart code about this issue ?


Go Up

Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

via Egeo 16
Torino, 10131