-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* cold start tests are now generic * setting register tests now generic * updated CI to use Linux Tests * fixed markdown lint issue * refactored into test crate * updated CI and tests documentation * restructured tests and now use common folder. Paths work and can call tests from the top folder * added breaking changes. Cant seem to get the i2c shared bus to work investigating changing traits * reverted change * fixed bus mutex example * fixed readme links * added first stab at esp test harness * Attempting to pass i2c * rearranging dependencies * cargo test runs but cant link rust-lld * Start from scratch * removed old workspace * test framework works using cargo test inside the esp32c3 tests folder * removed unecessary log feature * removed extra dependancies * doc changes * added first esp32 i2c test * removed unused aliases * restructured tests to make reusable tests * Seperated workspaces as the MCU environemnts might have different lock files * removed them from library workspace * removed unecessary noise * Updated docs * updated examples * cold_start_tests confirmed working * added setting_register_tests * added CI updated tests * Fixed broken links * updated lint checks for new tests directory * moved esp32c3 example * fixed workflows * fixed rust analyser * Fixed Links * addressing clippy warning * Updated docs * added probe-rs to pipeline * [MegaLinter] Apply linters automatic fixes (#49) * fixing install * Added missing dependencies * removing bininstall * debugging * adding probe-rs * Added back in tests * [MegaLinter] Apply linters automatic fixes (#50) * fixed apt in workflow and changed imports back to original * fixed mut and imports * fixed public * added probe specifics * added probe reset * updating probe-rs install * fixing cmd * cahnging runner to use debian instead of ubuntu * swapping to bookworm * tagging bookworm docker version * tagged version * added missing installs * Splitting tests up * adding missing source * correcting order * disabled faulty test * fixed comment string * removed duplicated project * added config variable * fixed double quoting * formatting * Attempt at adding rp pico * cant seem to clear up i2c generics * added working rp pico example!! * tested and runs * updated workflow * update cargo dependencies * added missing toolchain * added short readme * updating structure and readme docs * Added docs updates * clippy issues and adding it to the CI * fixing names * Fixed names * investigate this * getting rid of probe resets * updated broken link * fixed rust analyser issue * minor tidying * further tidy up * removed todos * fixed docs * add space * spelling fix * added H * removing import * Bug Fix for naming * reducing boiler plate * fixing clippy issue * reduced boiler plate * adding target for clippy * making clippy happy * fixed clippy warning * agreed removed :) * fixed extra # * removed unecessary comments
- Loading branch information
Showing
23 changed files
with
544 additions
and
82 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
# Compiled files | ||
/target/ | ||
utils/target/ | ||
target | ||
|
||
# Dependency directories | ||
Cargo.lock | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
[package] | ||
name = "esp32-c3-example" | ||
name = "esp32c3-example" | ||
version = "0.1.0" | ||
authors = [ | ||
"Scott Gibb <[email protected]", | ||
|
@@ -23,7 +23,7 @@ esp-println = { version = "0.12.0", features = ["esp32c3", "log"] } | |
log = { version = "0.4.21" } | ||
|
||
[[bin]] | ||
name = "esp32-c3-example" | ||
name = "esp32c3-example" | ||
path = "src/main.rs" | ||
test = false | ||
doctest = false | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
use core::assert_eq; | ||
use core::cell::RefCell; | ||
use embedded_hal_bus::i2c::RefCellDevice; | ||
use registers::*; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.