-
Couldn't load subscription status.
- Fork 247
Closed
Labels
questionFurther information is requestedFurther information is requested
Description
Hello,
I'm new to avr-rust and Rust in general.
All examples I see in this repository seem to target a board (for example Arduino Uno). Is it possible or recommended to directly target a microcontroller such as atmega328p?
I found no example and had trouble while trying to do so.
I added those lines to the Cargo.toml:
[dependencies.atmega328p-hal]
git = "https://github.com/Rahix/avr-hal"
rev = "206ff87bdc38afcffd9db1c9326c0d4d9487cb14"
features = ["atmega328p"]
[dependencies.avr-hal-generic]
git = "https://github.com/Rahix/avr-hal.git"
rev = "206ff87bdc38afcffd9db1c9326c0d4d9487cb14"
Do I need to write something like #[avr_device::entry] instead of #[arduino_uno::entry] in the source file? Or how can I use the needed prelude?
Thank you in advance!
Metadata
Metadata
Assignees
Labels
questionFurther information is requestedFurther information is requested