Merge pull request #53 from ctron/feature/minor_tweaks_1
Minor improvements
This commit is contained in:
commit
37cac566d5
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,3 +1,4 @@
|
|||||||
/files
|
/files
|
||||||
/sources
|
/sources
|
||||||
/tmp
|
/tmp
|
||||||
|
.idea/
|
@ -23,6 +23,15 @@ These are the data sources currently used.
|
|||||||
- STM32Cube database: describes all MCUs, with useful stuff like GPIO AF mappings, DMA stream mappings, pinouts...
|
- STM32Cube database: describes all MCUs, with useful stuff like GPIO AF mappings, DMA stream mappings, pinouts...
|
||||||
- stm32-rs SVDs: register blocks. YAMLs are extracted and manually cleaned up.
|
- stm32-rs SVDs: register blocks. YAMLs are extracted and manually cleaned up.
|
||||||
|
|
||||||
|
## Install pre-requisites
|
||||||
|
|
||||||
|
In order to run the generator, you will need to install the following tools:
|
||||||
|
|
||||||
|
* `wget`
|
||||||
|
* `git`
|
||||||
|
* `jq`
|
||||||
|
* `svd` – `pip3 install svdtools`
|
||||||
|
|
||||||
## Generating the YAMLs
|
## Generating the YAMLs
|
||||||
|
|
||||||
- Run `./d download_all`
|
- Run `./d download_all`
|
||||||
|
6
d
6
d
@ -3,6 +3,12 @@
|
|||||||
set -e
|
set -e
|
||||||
cd $(dirname $0)
|
cd $(dirname $0)
|
||||||
|
|
||||||
|
die() { echo "$*" 1>&2; exit 1; }
|
||||||
|
|
||||||
|
for i in jq wget svd git; do
|
||||||
|
command -v "$i" &>/dev/null || die "Missing the command line tool '$i'"
|
||||||
|
done
|
||||||
|
|
||||||
case "$1" in
|
case "$1" in
|
||||||
download_all)
|
download_all)
|
||||||
./d download_mcufinder
|
./d download_mcufinder
|
||||||
|
Loading…
x
Reference in New Issue
Block a user