Merge branch 'main' of https://github.com/robamu/vorago-rs-workspace
This commit is contained in:
commit
c9405bc0ca
2
.gitignore
vendored
2
.gitignore
vendored
@ -8,3 +8,5 @@ Cargo.lock
|
|||||||
|
|
||||||
# These are backup files generated by rustfmt
|
# These are backup files generated by rustfmt
|
||||||
**/*.rs.bk
|
**/*.rs.bk
|
||||||
|
|
||||||
|
/.vscode/.cortex-debug.*
|
||||||
|
3
.gitmodules
vendored
3
.gitmodules
vendored
@ -7,3 +7,6 @@
|
|||||||
[submodule "va108xx-hal-rs"]
|
[submodule "va108xx-hal-rs"]
|
||||||
path = va108xx-hal-rs
|
path = va108xx-hal-rs
|
||||||
url = https://github.com/robamu-org/va108xx-hal-rs.git
|
url = https://github.com/robamu-org/va108xx-hal-rs.git
|
||||||
|
[submodule "adt75-rs"]
|
||||||
|
path = adt75-rs
|
||||||
|
url = https://egit.irs.uni-stuttgart.de/rust/adt75-rs.git
|
||||||
|
31
.vscode/launch.json
vendored
31
.vscode/launch.json
vendored
@ -83,11 +83,38 @@
|
|||||||
"cwd": "${workspaceRoot}",
|
"cwd": "${workspaceRoot}",
|
||||||
"device": "VA10820",
|
"device": "VA10820",
|
||||||
"svdFile": "./va108xx-rs/svd/va108xx-base.svd.patched",
|
"svdFile": "./va108xx-rs/svd/va108xx-base.svd.patched",
|
||||||
"preLaunchTask": "rust: cargo build button uart",
|
"preLaunchTask": "rust: cargo build uart",
|
||||||
"executable": "${workspaceFolder}/target/thumbv6m-none-eabi/debug/examples/uart",
|
"executable": "${workspaceFolder}/target/thumbv6m-none-eabi/debug/examples/uart",
|
||||||
"interface": "jtag",
|
"interface": "jtag",
|
||||||
"runToMain": true,
|
"runToMain": true,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"type": "cortex-debug",
|
||||||
|
"request": "launch",
|
||||||
|
"name": "Debug SPI",
|
||||||
|
"servertype": "jlink",
|
||||||
|
"gdbPath": "/usr/bin/gdb-multiarch",
|
||||||
|
"cwd": "${workspaceRoot}",
|
||||||
|
"device": "VA10820",
|
||||||
|
"svdFile": "./va108xx-rs/svd/va108xx-base.svd.patched",
|
||||||
|
"preLaunchTask": "rust: cargo build spi",
|
||||||
|
"executable": "${workspaceFolder}/target/thumbv6m-none-eabi/debug/examples/spi",
|
||||||
|
"interface": "jtag",
|
||||||
|
"runToMain": true,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "cortex-debug",
|
||||||
|
"request": "launch",
|
||||||
|
"name": "Debug I2C / Temperature Sensor",
|
||||||
|
"servertype": "jlink",
|
||||||
|
"gdbPath": "/usr/bin/gdb-multiarch",
|
||||||
|
"cwd": "${workspaceRoot}",
|
||||||
|
"device": "VA10820",
|
||||||
|
"svdFile": "./va108xx-rs/svd/va108xx-base.svd.patched",
|
||||||
|
"preLaunchTask": "rust: cargo build temp sensor",
|
||||||
|
"executable": "${workspaceFolder}/target/thumbv6m-none-eabi/debug/examples/temp-sensor",
|
||||||
|
"interface": "jtag",
|
||||||
|
"runToMain": true,
|
||||||
|
},
|
||||||
]
|
]
|
||||||
}
|
}
|
27
.vscode/tasks.json
vendored
27
.vscode/tasks.json
vendored
@ -21,6 +21,7 @@
|
|||||||
"command": "~/.cargo/bin/cargo", // note: full path to the cargo
|
"command": "~/.cargo/bin/cargo", // note: full path to the cargo
|
||||||
"args": [
|
"args": [
|
||||||
"build", "-p", "va108xx-hal", "--example", "tests",
|
"build", "-p", "va108xx-hal", "--example", "tests",
|
||||||
|
"--features", "rt"
|
||||||
],
|
],
|
||||||
"group": {
|
"group": {
|
||||||
"kind": "build",
|
"kind": "build",
|
||||||
@ -53,7 +54,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"label": "rust: cargo build button uart",
|
"label": "rust: cargo build uart",
|
||||||
"type": "shell",
|
"type": "shell",
|
||||||
"command": "~/.cargo/bin/cargo", // note: full path to the cargo
|
"command": "~/.cargo/bin/cargo", // note: full path to the cargo
|
||||||
"args": [
|
"args": [
|
||||||
@ -64,6 +65,18 @@
|
|||||||
"isDefault": true
|
"isDefault": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"label": "rust: cargo build spi",
|
||||||
|
"type": "shell",
|
||||||
|
"command": "~/.cargo/bin/cargo", // note: full path to the cargo
|
||||||
|
"args": [
|
||||||
|
"build", "-p", "va108xx-hal", "--example", "spi",
|
||||||
|
],
|
||||||
|
"group": {
|
||||||
|
"kind": "build",
|
||||||
|
"isDefault": true
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
"label": "rust: cargo build led blinky",
|
"label": "rust: cargo build led blinky",
|
||||||
@ -89,5 +102,17 @@
|
|||||||
"isDefault": true
|
"isDefault": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"label": "rust: cargo build temp sensor",
|
||||||
|
"type": "shell",
|
||||||
|
"command": "~/.cargo/bin/cargo", // note: full path to the cargo
|
||||||
|
"args": [
|
||||||
|
"build", "-p", "vorago-reb1", "--example", "temp-sensor",
|
||||||
|
],
|
||||||
|
"group": {
|
||||||
|
"kind": "build",
|
||||||
|
"isDefault": true
|
||||||
|
}
|
||||||
|
},
|
||||||
]
|
]
|
||||||
}
|
}
|
1
adt75-rs
Submodule
1
adt75-rs
Submodule
@ -0,0 +1 @@
|
|||||||
|
Subproject commit 8b7121eb4771c2537c6123f632d20fbfb2ba3657
|
BIN
docs/ADT75.pdf
Normal file
BIN
docs/ADT75.pdf
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user