Skip to content
This repository was archived by the owner on Feb 26, 2022. It is now read-only.

Commit acb3cb1

Browse files
authored
Merge pull request #6 from jessebraham/travis
Add Travis configuration to verify PAC can be generated
2 parents d068a88 + 8e412b8 commit acb3cb1

File tree

2 files changed

+27
-2
lines changed

2 files changed

+27
-2
lines changed

.travis.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
language: rust
2+
rust:
3+
- nightly
4+
cache: cargo
5+
dist: "trusty"
6+
before_install:
7+
- python --version
8+
- pyenv install 3.6.3
9+
- pyenv global 3.6.3
10+
11+
matrix:
12+
fast_finish: true
13+
14+
install:
15+
- rustup component add rustfmt
16+
- pip3 install --upgrade --user svdtools
17+
- cargo install form --force
18+
- cargo install --git https://github.com/rust-embedded/svd2rust svd2rust --force
19+
20+
script: make clean patch generate form fmt

README.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,14 @@
11
# esp8266
22

3-
A peripheral access crate the ESP8266. See the svd2rust repo for more infomation on how to use this crate. Espressif do not provide an SVD for the esp8266, so the svd used in this project has been generated from the C header documentation via the [idf2svd](https://github.com/icewind1991/idf2svd/tree/esp8266) tool.
3+
[![Build Status](https://travis-ci.com/esp-rs/esp8266.svg?branch=master)](https://travis-ci.com/esp-rs/esp8266)
4+
![crates.io](https://img.shields.io/crates/v/esp8266.svg)
5+
6+
A peripheral access crate the ESP8266. See the [`svd2rust` repo](https://github.com/rust-embedded/svd2rust) for more infomation on how to use this crate. Espressif do not provide an SVD for the ESP8266, so the SVD used in this project has been generated from the C header documentation via the [idf2svd](https://github.com/MabezDev/idf2svd) tool.
47

58
Join in on the discussion: https://matrix.to/#/#esp-rs:matrix.org!
69

10+
## [`Documentation`](https://docs.rs/esp8266/latest/esp8266/)
11+
712
## Building
813

914
Required dependencies:
@@ -20,7 +25,7 @@ $ make
2025

2126
The base svd file created from `idf2svd` should **not** be edited. Instead the svd is manipulated through the svdtools patching tool.
2227

23-
See [svd](https://github.com/stm32-rs/svdtools) and [stm32-rs yaml format](https://github.com/stm32-rs/stm32-rs#device-and-peripheral-yaml-format) for more infomation on the patching format
28+
See [svdtools](https://github.com/stm32-rs/svdtools) and [Device and Peripheral YAML Format](https://github.com/stm32-rs/svdtools#device-and-peripheral-yaml-format) for more infomation on patching.
2429

2530
## License
2631

0 commit comments

Comments
 (0)