aethaniel / ExperimentalCore-sam

Experimental new core for Arduino Due and other Atmel SAM boards
GNU Lesser General Public License v2.1
16 stars 10 forks source link

Arachnio pins, Arduino IDE compile fix, USB import #3

Closed logos-electromechanical closed 9 years ago

logos-electromechanical commented 9 years ago

This pull request contains three updates...

1) Implementation of Arachnio pin mapping. Self explanatory.

2) Import of USB modules from Arduino Due tree. These need to be modified to conform to local file naming conventions, and I have not tested them to see if the differences between the SAM3X and SAM4S require more changes.

3) Modified platform.txt so the code compiles as it is. This involved two changes. First, I added -I terms to the compiler.{c|cpp}.extra_flags variables that enable the IDE to find all the core files. Second, I replaced the compiler.libsam.c.flags variable in the compile recipes with compiler.arm.cmsis.path from the samd core. It still doesn't compile under the Arduino IDE, but the changes to make now are in the core files and will come under a different pull request.

aethaniel commented 9 years ago

@logos-electromechanical, can you remove the USB files from this PR, please? I would prefer to add them later with some refresh.

Thanks

aethaniel commented 9 years ago

@logos-electromechanical, master has been updated with all my pending commits. I will merge your PR after your update.

logos-electromechanical commented 9 years ago

Ok, I think I've got everything folded in.