Rahix / avr-device

Register access crate for AVR microcontrollers
Apache License 2.0
170 stars 66 forks source link

add at90usb1286 chip #80

Closed khimaros closed 3 years ago

khimaros commented 3 years ago

this is the first patch in an attempt to support the teensy2 board in avr-hal.

i'm not 100% sure that i've chosen the right set of _includes, but i'm able to build with make at90usb1286.

the next patch adds the chip to avr-hal. i have a basic form of that building successfully against this modified avr-device with features = ["at90usb1286"] and using avr_device::at90usb1286 as pac; so it seems usable.

finally, i'll need to make the teensy2 board build, which will use the at90usb1286 chip.

khimaros commented 3 years ago

@Rahix -- any issues w/ this PR?

Rahix commented 3 years ago

Alright, I pushed a fix for the CI. Can you please rebase your branch ontop of the latest main revision?

Rahix commented 3 years ago

Cherry-picked in 41c74f40bda4 ("Add AT90USB1286 support"). Thanks for the PR!