Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
b3a0dce
Add write guard, fix some code duplication
pdobbins23 Feb 23, 2025
e38bf9b
Fix lint warnings & formatting
pdobbins23 Feb 23, 2025
85c8d1e
Update FLC tests to use both UART and semihosting
pdobbins23 Feb 23, 2025
d7cee28
Fix formatting again?
pdobbins23 Feb 23, 2025
2f144ad
Add safety comments & fix memory.x
pdobbins23 Feb 23, 2025
055329c
Fix formatting?
pdobbins23 Feb 23, 2025
88fa9b3
Fix safety comment format
pdobbins23 Feb 23, 2025
aac1d4e
flc ram linking
suaviloquence Mar 3, 2025
7842675
move flc logic into hal
suaviloquence Mar 3, 2025
d846877
move flc-asm to hal
suaviloquence Mar 3, 2025
98e2eb0
fix panicking
suaviloquence Mar 3, 2025
967e288
the real flc-asm.s
suaviloquence Mar 3, 2025
c326e6c
use stable_likely
suaviloquence Mar 3, 2025
4125eb8
try pinning cc=1.1
suaviloquence Mar 4, 2025
bcf1988
try to appease ci
suaviloquence Mar 4, 2025
fcae09a
sudo !!
suaviloquence Mar 4, 2025
c15a923
appease clippy
suaviloquence Mar 4, 2025
1a238a2
clippy pedantic
suaviloquence Mar 4, 2025
750012a
rustdoc nitfixes
suaviloquence Mar 5, 2025
253a49d
revert runner change
suaviloquence Mar 5, 2025
518bddd
its a *ci thing *
suaviloquence Mar 5, 2025
66dba6a
remove likely and fix build script
suaviloquence Mar 5, 2025
7fa6054
update flc_asm.s
suaviloquence Mar 5, 2025
603c4e7
remove old inlines
suaviloquence Mar 6, 2025
9da8c8d
build with no warnings with no flc-asm feature
suaviloquence Mar 6, 2025
6531ac9
add receiver back to read_bytes
suaviloquence Mar 6, 2025
ca476cc
doc pre_init
suaviloquence Mar 6, 2025
2773707
whitespace in memory.exes
suaviloquence Mar 6, 2025
03c24b4
dont inline as much
suaviloquence Mar 6, 2025
013cc7f
rm old safety comment
suaviloquence Mar 6, 2025
3904092
revise preinit
suaviloquence Mar 6, 2025
bd620c3
remove outdated allow
suaviloquence Mar 6, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,4 @@ git-fetch-with-cli = true

[target.thumbv7em-none-eabihf]
runner = 'arm-none-eabi-gdb'
rustflags = [
"-C", "link-arg=-Tlink.x",
]
rustflags = ["-C", "link-arg=-Tlink.x"]
12 changes: 12 additions & 0 deletions .github/workflows/clippy-format-rustdocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ jobs:
run: |
eval $(ssh-agent -s)
ssh-add - <<< "${{ secrets.PRIVATE_SSH_KEY }}"
echo 'set man-db/auto-update false' | sudo debconf-communicate >/dev/null
sudo dpkg-reconfigure man-db
sudo apt install -y gcc-arm-none-eabi
rustup target add thumbv7em-none-eabihf
cargo clippy -- -D warnings

Expand All @@ -25,6 +28,9 @@ jobs:
run: |
eval $(ssh-agent -s)
ssh-add - <<< "${{ secrets.PRIVATE_SSH_KEY }}"
echo 'set man-db/auto-update false' | sudo debconf-communicate >/dev/null
sudo dpkg-reconfigure man-db
sudo apt install -y gcc-arm-none-eabi
rustup target add thumbv7em-none-eabihf
cargo clippy -- -W clippy::pedantic

Expand All @@ -36,6 +42,9 @@ jobs:
run: |
eval $(ssh-agent -s)
ssh-add - <<< "${{ secrets.PRIVATE_SSH_KEY }}"
echo 'set man-db/auto-update false' | sudo debconf-communicate >/dev/null
sudo dpkg-reconfigure man-db
sudo apt install -y gcc-arm-none-eabi
rustup target add thumbv7em-none-eabihf
cargo fmt --check

Expand All @@ -48,6 +57,9 @@ jobs:
eval $(ssh-agent -s)
ssh-add - <<< "${{ secrets.PRIVATE_SSH_KEY }}"
rustup target add thumbv7em-none-eabihf
echo 'set man-db/auto-update false' | sudo debconf-communicate >/dev/null
sudo dpkg-reconfigure man-db
sudo apt install -y gcc-arm-none-eabi
RUSTDOCFLAGS="-D warnings" cargo doc --no-deps --document-private-items
- name: upload artifacts
uses: actions/upload-artifact@v4
Expand Down
3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
[workspace]
members = [
"hal",
"tests"
"flc-asm",
"tests",
]
resolver = "2"

Expand Down
2 changes: 2 additions & 0 deletions flc-asm/.cargo/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[build]
target = "thumbv7em-none-eabihf"
10 changes: 10 additions & 0 deletions flc-asm/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
[package]
name = "flc-asm"
version = "0.1.0"
edition = "2021"

[lib]
crate-type = ["staticlib"]

[dependencies]
max78000 = { git = "https://github.com/slugsecurity/max78000" }
Loading