-
Notifications
You must be signed in to change notification settings - Fork 226
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create release and publish on crates.io #59
Comments
Agreed, that would be great! |
This is, of course, the ultimate goal but for now I don't think we're there yet. There are quite a few architectural questions still to be solved which I want to have addressed before we flood crates.io with releases and crates ... Though maybe I should create a milestone to track the progress! |
(breaking silence after more then a year) What is, beside available time, blocking this issue? |
(breaking silence after another year) I'd love to see this on crates.io |
Wondered the same. There's a fair bit answered now in terms of refactoring into different crates. Indeed non-trivial but seems no conclusion yet. At least there. |
I'm also interested in this, after exploring the ESP32-C3 and RP2040-Zero I spent the last few weeks programming a Digispark ATTiny85 with avr-hal (after I ordered 25 of them). Since I'm using micronucleus for flashing I've created elf2nucleus for proper integration with I've also setup a "Hello world" example repository with everything configured for development with the Digispark ATTiny85 and micronucleus, documentation and github actions examples. My #![no_std]
#![no_main]
use attiny_hal::{clock, delay::Delay, Peripherals, Pins};
use embedded_hal::blocking::delay::DelayMs;
use panic_halt as _;
#[no_mangle]
fn main() -> ! {
let pac = Peripherals::take().unwrap();
let pins = Pins::new(pac.PORTB);
let mut delay = Delay::<clock::MHz8>::new();
// Digital pin 1 is also connected to an onboard LED marked "L"
let mut led = pins.pb1.into_output();
led.set_high();
loop {
led.set_high();
delay.delay_ms(500_u16);
led.set_low();
delay.delay_ms(1000_u16);
led.set_high();
delay.delay_ms(250_u16);
led.set_low();
delay.delay_ms(100_u16);
led.set_high();
delay.delay_ms(250_u16);
led.set_low();
delay.delay_ms(1000_u16);
}
} I used Having to write From my point of view, to consider the Digispark ATTiny85 on par with the ESP32-C3 and RP2040-Zero (considering the hardware limitations), the only thing missing are crates.io releases. You don't need to release a 1.0.0 right away, and even if you released breaking updates weekly this would be considered acceptable use of crates.io. Without having any 0.X.0 snapshots to work with however, it's near impossible to develop libraries that build on top of this hal, your crate would either depend on |
I think library now ready to create release of some HAL's and ready to publish on crates.io.
The text was updated successfully, but these errors were encountered: