Arduino Due code porting

Yes, it looks like it is complaining about the AVR register definitions, because the Due has ARM architecture.

To complete the port you will need to dig deep intp the IRLib code and add in 'defines' for the various timers/registers etc.

Probably not a quick task.