forked from rust-iot/rust-radio-sx127x
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Added examples lora_spi_send, lora_spi_receive, and lora_spi_gps. T…
…hese work on several different MCUs. Documentation for building and running is in lora_spi_send.rs. - moved memoryMaps into examples/. - uncommented portions of workflow rust.yml that had mistakenly been comment out. - updated libusb-sys to version 0.2 and added optional=true but unsure what "Fix for libusb-sys package discovery" was thus why "https://github.com/cmsd2/libusb-sys" was used. This change and related rust.yml update to "libusb-1.0-0" fix some CI errors but there remains an obscure "dpkg: error: need an action option" in rust.yml "Install libusb (apt armv7)". - cleaned up some rust.yml for running examples. - added feature example = [] used as gate to prevent cargo "test" and "cargo build --examples" from attempting to build unless appropriate features ar also specified.
- Loading branch information
Showing
29 changed files
with
3,483 additions
and
218 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,32 @@ | ||
|
||
[target.armv7-unknown-linux-gnueabihf] | ||
linker = "arm-linux-gnueabihf-gcc" | ||
|
||
[target.thumbv7m-none-eabi] | ||
#runner = 'arm-none-eabi-gdb' | ||
runner = "gdb-multiarch -q -x openocd.gdb" | ||
rustflags = [ | ||
"-C", "link-arg=-Tlink.x", | ||
] | ||
|
||
[target.thumbv7em-none-eabi] | ||
#runner = 'arm-none-eabi-gdb' | ||
runner = "gdb-multiarch -q -x openocd.gdb" | ||
rustflags = [ | ||
"-C", "link-arg=-Tlink.x", | ||
] | ||
|
||
[target.thumbv7em-none-eabihf] | ||
#runner = 'arm-none-eabi-gdb' | ||
runner = "gdb-multiarch -q -x openocd.gdb" | ||
rustflags = [ | ||
"-C", "link-arg=-Tlink.x", | ||
] | ||
|
||
[target.riscv32imac-unknown-none-elf] | ||
#runner = 'riscv64-unknown-elf-gdb -x openocd.gdb' | ||
runner = "gdb-multiarch -q -x openocd.gdb" | ||
rustflags = [ | ||
#"-C", "link-arg=-memory-CB.x", | ||
"-C", "link-arg=-Tlink.x", | ||
] |
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 was deleted.
Oops, something went wrong.
Oops, something went wrong.