Rahix / avr-device

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

Patch-file needed, else "No rule to make target..." #65

Closed trembel closed 3 years ago

trembel commented 3 years ago

Trying to integrate the attiny412, whilest executing make I got the error make: *** No rule to make target 'src/devices/attiny412/mod.rs', needed by 'attiny412'. Stop..

After creating the file patch/attiny412.yaml with following content

_svd: ../svd/attiny412.svd

Is it possible that a patch file must always be created? If so, this should be added to the README.md

Rahix commented 3 years ago

Is it possible that a patch file must always be created? If so, this should be added to the README.md

Yeah, it seems that right now this is required ... I wasn't able to find out why exactly, make magic is a mess ...

But you're right, this should be documented!