Browse Source

Adding tm4c-hal shared library.

Travis should build with stable.
pull/15/head
Jonathan 'theJPster' Pallant 4 years ago
parent
commit
0ddfa1ea8a
  1. 2
      .gitignore
  2. 7
      .travis.yml
  3. 3
      Cargo.toml
  4. 7
      tm4c-hal/Cargo.toml
  5. 7
      tm4c-hal/src/lib.rs

2
.gitignore vendored

@ -1,4 +1,4 @@
**/*.rs.bk
.#*
/target/
**/target/
Cargo.lock

7
.travis.yml

@ -1,9 +1,8 @@
language: rust
rust:
- nightly
- stable
install:
- pushd /
- rustup component add rust-src
- rustup target add thumbv7em-none-eabihf
- popd
script: cargo build --release
script: cargo build

3
Cargo.toml

@ -0,0 +1,3 @@
[workspace]
members = ["tm4c123x-hal", "tm4c129x-hal", "tm4c-hal"]

7
tm4c-hal/Cargo.toml

@ -0,0 +1,7 @@
[package]
name = "tm4c-hal"
version = "0.1.0"
authors = ["Jonathan 'theJPster' Pallant <github@thejpster.org.uk>"]
edition = "2018"
[dependencies]

7
tm4c-hal/src/lib.rs

@ -0,0 +1,7 @@
#![no_std]
/// Just a test function.
pub fn test_function() -> bool {
true
}
Loading…
Cancel
Save