#svd2rust #nxp #cortex-m #arm

no-std lpc43xx

Register definitions for the NXP LPC43xx microcontroller platform, generated through svd2rust

2 unstable releases

Uses old Rust 2015

0.1.0 May 29, 2018
0.0.0 Dec 22, 2016

#1135 in Embedded development

49 downloads per month
Used in 5 crates

Apache-2.0

10MB
347K SLoC

The code has been structured like the cortex-m crate. Most parts are autogenerated by the awesome tools by Jorge Aparicio.

Current status is incomplete. Please send pull requests for additional functionality.

Generate HW interface code from SVD

Download from https://www.lpcware.com/content/nxpfile/lpc43sxx-svd-file

svd2rust -i LPC43xx_43Sxx.svd gpio > src/peripheral/gpio.rs
rustfmt src/peripheral/gpio.rs

Dependencies

~0.8–1MB
~17K SLoC