HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
cmsis-svd
cmsis-svd
Python2017–2018
cmsis-svd / cmsis-svd

cmsis-svd

CMSIS-SVD tools

2Distinct people
2Mentions
0Explicit recommenders
1.2KGitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

CMSIS-SVD tools

GitHub

Where it is used

No documented product use has been verified yet.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

No other repository is repeatedly linked in the same discussions.

This week on Hacker News

Nov 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 3:56:07 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by month2 dated mentions

Observed mentions: 2017-04-09 16:15:06 UTC to 2018-01-20 02:00:03 UTC.

012017-04-01 00:00:00 UTC to 2017-05-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 commentsApr 20172017-05-01 00:00:00 UTC to 2017-06-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2017-06-01 00:00:00 UTC to 2017-07-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2017-07-01 00:00:00 UTC to 2017-08-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2017-08-01 00:00:00 UTC to 2017-09-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 commentsAug 20172017-09-01 00:00:00 UTC to 2017-10-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2017-10-01 00:00:00 UTC to 2017-11-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2017-11-01 00:00:00 UTC to 2017-12-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2017-12-01 00:00:00 UTC to 2018-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2018-01-01 00:00:00 UTC to 2018-02-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 commentsJan 2018

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
Apr 20172017-04-01 00:00:00 UTC2017-05-01 00:00:00 UTC101
May 20172017-05-01 00:00:00 UTC2017-06-01 00:00:00 UTC000
Jun 20172017-06-01 00:00:00 UTC2017-07-01 00:00:00 UTC000
Jul 20172017-07-01 00:00:00 UTC2017-08-01 00:00:00 UTC000
Aug 20172017-08-01 00:00:00 UTC2017-09-01 00:00:00 UTC000
Sep 20172017-09-01 00:00:00 UTC2017-10-01 00:00:00 UTC000
Oct 20172017-10-01 00:00:00 UTC2017-11-01 00:00:00 UTC000
Nov 20172017-11-01 00:00:00 UTC2017-12-01 00:00:00 UTC000
Dec 20172017-12-01 00:00:00 UTC2018-01-01 00:00:00 UTC000
Jan 20182018-01-01 00:00:00 UTC2018-02-01 00:00:00 UTC101

What Hacker News says

2 sources
Probably, but companies wouldn’t do it since they have their own tooling. And I don’t think the community would like to write it neither. Look at a SVD file for a single MCU. https://github.com/posborne/cmsis-svd/blob/master/data/STMic... It’s a more than 10k loc XML file. It is too much effort for the community to do that and verify it. And as an embedded system engineer, I wouldn’t trust the community-driven register definition because even vendors have some bug on it and it is almost impossible for the community to write a better register definitions than the vendors themselves. This is a vendors’ job, not the community's.
In Embedded in Rust: Brave new I/O
Hello, HN folks. Author here. Sadly, the repository posted by the OP is not up to date. That's not to say it's wrong but just that doesn't contain recent developments. Also, this repository documents every single part of putting together a microcontroller project from scratch. Although interesting, this is not the fastest way to "Hello World". That's why I have put together a nicely packaged Cargo template [1] [2] to quickly start a new microcontroller project. This template works for any Cortex-M microcontroller and paired with the svd2rust code generator [3] you can easily get full device support (register level API) for any microcontroller for which the vendor has released a CMSIS-SVD file [4]. There's a database of such files in this repo. [5] For some, directly working with registers may be too low level. In that case you can look at
Read the rest
my Discovery book [6] which showcases a higher level API and several examples for the STM32F3DISCOVERY board. The API is documented here. [7] What's missing from all this is a good concurrency history. (All the examples in the Discovery book are single task.) So, I have been working (not alone) on a multitasking framework that's suitable for real time systems and the focus has been minimizing overhead while guaranteeing memory safety. At this point, we have pretty much reached the goal and we are currently working on the ergonomics. I hope that we'll have something show Soon (TM). I'm happy to answer questions about Rust on microcontrollers. I may take some time answer, though, as it's weekend :-). P.S. I hope I got the formatting right. First time posting on HN. P.P.S. Congratulations for reading the whole thing! As a reward, here's a robot [8] built with the framework I mentioned. [1] https://github.com/japaric/cortex-m-template [2] It seems that the Cargo template feature got removed recently (due to not having gone through a RFC process) but you can easily rollback your Rust installation to get an older Cargo that supports templates: `rustup default nightly-2017-04-01` [3] https://docs.rs/svd2rust/0.5.1/svd2rust/ [4] http://www.keil.com/pack/doc/CMSIS/SVD/html/index.html [5] https://github.com/posborne/cmsis-svd/tree/master/data [6] https://japaric.github.io/discovery/ [7] https://docs.rs/f3/0.3.1/f3/ [8] https://mobile.twitter.com/japaricious/status/84569793557265...
In Programming ARM Cortex-M Microcontrollers with Rust

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.