How to add new SAM3X8 pins to the Arduino IDE?

Hello Forum,

my friend and I have designed a robot controller board with the SAM3X8 to keep it DUE compatible. By chance we have used SAM3X8 pin's which are not used by the official DUE PCB. In detail this are the pins 113, 114, 115, 118 equal PB0, PB1, PB2, PB3.

Could anybody please tell me where and how to bind/define this pins so that I can use it within the Arduino IDE. I would like to have two possibilities:

Doing this in he definition files of the DUE - Where to find this in the IDE 1.6.x
-> This has the disadvantage that we have to manipulate this after each IDE change.

Just writing some code or library for binding extra pins into the DUE/Arduino IDE logic.

Thanks in advance
Rainer from Germany

Think the secret is in this files - but in the moment I don'T know how to change it in a clever way.

Rainer

2015-06-11.004400.jpg

Take a look in this repository: https://github.com/dc42/RepRapFirmware/tree/master/Libraries/SamNonDuePin

Hallo Wurstnase,

Thanks a lot this is what I was looking for.

I love this forum!

Gruß aus Hannover
Rainer