Converter of register descriptions from the TI DSLite format to CMSIS SVD format
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
crates
data
overlay
svd
.gitignore
CMSIS-SVD.xsd
Gemfile
Gemfile.lock
LICENSE-0BSD.txt
Makefile
README.md
dslite2svd.rb
rustfmt.toml

README.md

dslite2svd

TI does not publish SVD files for many of their newer CPUs, including the TM4C series. However, they do publish some sort of debug-related files in Energia that are basically a not-invented-here variant of SVD. This repository contains a converter, dslite2svd.

Usage

  1. Install Ruby >= 2.0. Run bundle install.
  2. Install TM4C support package in Energia.
  3. Copy the targetdb directory from energia-*/hardware/tools/DSLite to the root of this repository.
  4. Modify Makefile to include your target if it's not already there. Run make.

The up-to-date SVD files will be placed in the svd directory. For convenience, they are already provided in this repository.

Limitations

The output of dslite2svd is checked against the SVD schema using xmllint, if it is installed (xmllint is a part of libxml). It should also be robust against unrecognized input, but no strong guarantees are made.

Some features are not implemented:

  • The CPU section of the SVD file is not populated.

License (of dslite2svd)

0-clause BSD license.

License (of generated SVD files)

Register definitions are collections of facts and not original works and therefore are not generally covered by copyright. Energia or its TM4C module are also not covered by EULA.