avr-rust / book.avr-rust.com

The AVR-Rust guidebook
https://book.avr-rust.com/
Other
73 stars 19 forks source link

Compiler problem for #46

Open simeondmr opened 1 year ago

simeondmr commented 1 year ago

Hello,

I have follow the book, at the moment I have created a json for Atmega1284p but during the compilation I have this error:

"LLVM ERROR: Expected a constant shift ammount!" "error: could not compile 'core' (lib)"

This is my code:

`#![no_std]

![no_main]

[no_mangle]

pub extern fn main() {

}`

I have searched a lot for this problem, but I have found nothing about that... Please could you help me??

Thanks

Simeon