Skip to content

Commit

Permalink
INFRA - CAN to MQTT bridge (#62)
Browse files Browse the repository at this point in the history
Co-authored-by: David Beechey <[email protected]>
Co-authored-by: Archie Spiller <[email protected]>
  • Loading branch information
3 people authored Feb 14, 2025
1 parent 715581d commit dae3934
Show file tree
Hide file tree
Showing 27 changed files with 335 additions and 1,153 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ jobs:
matrix:
board:
- stm32l476rg
- stm32h743zi
- stm32f767zi
- stm32l432kc
steps:
- uses: actions/checkout@v4
- run: rustup target add thumbv7em-none-eabihf
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ jobs:
matrix:
board:
- stm32l476rg
- stm32h743zi
- stm32f767zi
- stm32l432kc
steps:
- uses: actions/checkout@v4
- run: cargo fmt --manifest-path boards/${{ matrix.board }}/Cargo.toml -- --check
Expand Down Expand Up @@ -62,4 +62,4 @@ jobs:
if git ls-files --eol | grep crlf; then
echo "[ERROR] found CRLF line endings, install dos2unix and run 'find . -type f -exec dos2unix {} \;' to fix"
exit 1
fi
fi
2 changes: 1 addition & 1 deletion boards/stm32f767zi/.cargo/config.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[target.'cfg(all(target_arch = "arm", target_os = "none"))']
# replace STM32F429ZITx with your chip as listed in `probe-rs chip list`
runner = "probe-rs run --chip STM32F767ZITx"
runner = "probe-rs run --chip STM32F767ZITx --probe 0483:374b:066CFF485753667187233239"

[build]
target = "thumbv7em-none-eabihf"
Expand Down
128 changes: 108 additions & 20 deletions boards/stm32f767zi/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 7 additions & 1 deletion boards/stm32f767zi/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,12 @@ critical-section = "1.1"
embedded-storage = "0.3.1"
static_cell = "2"

heapless = { version = "0.8", default-features = false, features = ["serde"]}
rust-mqtt = { version = "0.3.0", default-features = false, features = ["defmt"] }
serde = { version = "1.0", default-features = false, features = ["derive"] }
serde-json-core = "0.1.0"
typenum = "1.17.0"

hyped_core = { path = "../../lib/core" }
hyped_sensors = { path = "../../lib/sensors" }

Expand All @@ -31,4 +37,4 @@ hyped_adc_derive = { path = "../../lib/io/hyped_adc/hyped_adc_derive" }
hyped_i2c = { path = "../../lib/io/hyped_i2c" }
hyped_i2c_derive = { path = "../../lib/io/hyped_i2c/hyped_i2c_derive" }
hyped_gpio = { path = "../../lib/io/hyped_gpio" }
hyped_gpio_derive = { path = "../../lib/io/hyped_gpio/hyped_gpio_derive" }
hyped_gpio_derive = { path = "../../lib/io/hyped_gpio/hyped_gpio_derive" }
File renamed without changes.
File renamed without changes.
Loading

0 comments on commit dae3934

Please sign in to comment.