Skip to content

Basic MCU peripherals and functionality using the nrf52832 dev board

Notifications You must be signed in to change notification settings

tayspen72/rust_app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nRF52832 Device Drivers using Dev Board

A quickstart to using the nrf52832 device on the development board

VS Code Requirements

To enable Interrupts:

From the Rust Embedded Book:

the cortex-m-rt crate provides an interrupt attribute to declare interrupt handlers

From the cortex-m-rt docs:

[the interrupt] attribute is exposed by cortex-m-rt only when the device feature is enabled

To enable the interrupt attribute, be sure the following is in the cargo.Toml:

[dependencies.nrf52832-pac]
version = "0.9.0"
features = ["rt"]

[dependencies.cortex-m-rt]
version = "0.6.13"
features = ["device"]

The interrupt attribute is included by :

use nrf52832-pac::interrupt

About

Basic MCU peripherals and functionality using the nrf52832 dev board

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published