Discussion
Loading...

Post

  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
Marc
@corpsmoderne@mamot.fr  ·  activity timestamp last week

[Edit: solved, needed to bump to 0.3.0]

Ok sorry #embedded #rust but I'm tired and I need your help.
I'm trying to add some irq stuff to my project, using https://github.com/rp-rs/rp-hal/blob/main/rp235x-hal-examples/src/bin/gpio_irq_example.rs as a template (for my rp pico 2w)
everything goes fine until the line:

hal::arch::interrupt_unmask(hal::pac::Interrupt::IO_IRQ_BANK0);

rustc tells me this function doesn't exists. I mut be missing an import or a feature, but I can't find which one. How do you troubleshoot that?

  • Copy link
  • Flag this post
  • Block
robot 9001
@robo9k@mastodon.social replied  ·  activity timestamp last week

@corpsmoderne what's the version / source of the `rp235x-hal` crate you are using?

  • Copy link
  • Flag this comment
  • Block
Log in

bonfire.cafe

A space for Bonfire maintainers and contributors to communicate

bonfire.cafe: About · Code of conduct · Privacy · Users · Instances
Bonfire social · 1.0.1-alpha.8 no JS en
Automatic federation enabled
  • Explore
  • About
  • Members
  • Code of Conduct
Home
Login