Skip to content

Commit 15939f4

Browse files
authored
Merge pull request #118 from rust-embedded/global_asm
Use inline assembly instead of pre-compiled blobs
2 parents 5437af7 + 9e589b5 commit 15939f4

File tree

61 files changed

+227
-314
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

61 files changed

+227
-314
lines changed

riscv-rt/.github/workflows/blobs.yaml

Lines changed: 0 additions & 17 deletions
This file was deleted.

riscv-rt/.github/workflows/build.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ jobs:
1818
- riscv32imac-unknown-none-elf
1919
- riscv64imac-unknown-none-elf
2020
- riscv64gc-unknown-none-elf
21+
example:
22+
- empty
23+
- multi_core
2124
cargo_flags: [ "--no-default-features", "--all-features" ]
2225
include:
2326
# Nightly is only for reference and allowed to fail
@@ -33,6 +36,8 @@ jobs:
3336
targets: ${{ matrix.target }}
3437
- name: Build library
3538
run: cargo build --target ${{ matrix.target }} ${{ matrix.cargo_flags }}
39+
- name: Build example
40+
run: RUSTFLAGS="-C link-arg=-Texamples/device.x" cargo build --target ${{ matrix.target }} --example ${{ matrix.example }} ${{ matrix.cargo_flags }}
3641

3742
# Job to check that all the builds succeeded
3843
build-check:
@@ -42,4 +47,3 @@ jobs:
4247
if: always()
4348
steps:
4449
- run: jq --exit-status 'all(.result == "success")' <<< '${{ toJson(needs) }}'
45-

riscv-rt/.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,5 @@ target/
33
bin/*.after
44
bin/*.before
55
bin/*.o
6+
7+
.vscode/

riscv-rt/CHANGELOG.md

Lines changed: 1 addition & 0 deletions

riscv-rt/asm.S

Lines changed: 0 additions & 189 deletions
This file was deleted.

riscv-rt/assemble.ps1

Lines changed: 0 additions & 27 deletions
This file was deleted.

riscv-rt/assemble.sh

Lines changed: 0 additions & 44 deletions
This file was deleted.
-7.55 KB
Binary file not shown.
-7.55 KB
Binary file not shown.
-7.42 KB
Binary file not shown.

0 commit comments

Comments
 (0)