5 Commits

Author SHA1 Message Date
c6314f48d7 update probe-rs files 2024-11-26 10:23:27 +01:00
7189cb246b Merge pull request 'delete some more re-exports' (#20) from delete-some-re-exports into main
All checks were successful
Rust/va108xx-rs/pipeline/head This commit looks good
Reviewed-on: #20
2024-10-07 09:48:13 +02:00
39b8633065 delete some more re-exports
All checks were successful
Rust/va108xx-rs/pipeline/head This commit looks good
2024-10-07 09:47:24 +02:00
df0760da98 Merge pull request 'prepare BSP release' (#19) from prep-bsp-release into main
All checks were successful
Rust/va108xx-rs/pipeline/head This commit looks good
Reviewed-on: #19
2024-09-30 12:12:20 +02:00
8ed26db6a7 prepare BSP release
Some checks are pending
Rust/va108xx-rs/pipeline/head Build queued...
2024-09-30 12:10:03 +02:00
10 changed files with 35 additions and 9 deletions

2
.gitignore vendored
View File

@ -16,3 +16,5 @@ Cargo.lock
# JetBrains IDEs # JetBrains IDEs
/.idea /.idea
*.iml *.iml
/Embed.toml

12
Embed.toml.sample Normal file
View File

@ -0,0 +1,12 @@
[default.probe]
protocol = "Jtag"
[default.general]
chip = "VA108xx_RAM"
[default.rtt]
enabled = true
[default.gdb]
# Whether or not a GDB server should be opened after flashing.
enabled = false

View File

@ -38,7 +38,7 @@ default-features = false
features = ["portable-atomic"] features = ["portable-atomic"]
[dependencies.va108xx-hal] [dependencies.va108xx-hal]
path = "../../va108xx-hal" version = "0.8"
[dependencies.vorago-reb1] [dependencies.vorago-reb1]
path = "../../vorago-reb1" path = "../../vorago-reb1"

View File

@ -16,7 +16,7 @@ embedded-io = "0.6"
cortex-m-semihosting = "0.5.0" cortex-m-semihosting = "0.5.0"
[dependencies.va108xx-hal] [dependencies.va108xx-hal]
path = "../../va108xx-hal" version = "0.8"
features = ["rt", "defmt"] features = ["rt", "defmt"]
[dependencies.vorago-reb1] [dependencies.vorago-reb1]

View File

@ -9,6 +9,7 @@ variants:
core_access_options: !Arm core_access_options: !Arm
ap: 0 ap: 0
psel: 0x0 psel: 0x0
jtag_tap: 1
memory_map: memory_map:
- !Ram - !Ram
name: DRAM name: DRAM
@ -22,9 +23,11 @@ variants:
range: range:
start: 0x0 start: 0x0
end: 0x20000 end: 0x20000
is_boot_memory: true
cores: cores:
- main - main
access:
write: false
boot: true
flash_algorithms: flash_algorithms:
- va108xx_fm25v20a_fram_128kb_prog - va108xx_fm25v20a_fram_128kb_prog
- va108xx_m95m01_128kb_prog - va108xx_m95m01_128kb_prog
@ -37,6 +40,7 @@ variants:
core_access_options: !Arm core_access_options: !Arm
ap: 0 ap: 0
psel: 0x0 psel: 0x0
jtag_tap: 1
memory_map: memory_map:
- !Ram - !Ram
name: DRAM name: DRAM
@ -50,9 +54,11 @@ variants:
range: range:
start: 0x0 start: 0x0
end: 0x20000 end: 0x20000
is_boot_memory: true
cores: cores:
- main - main
access:
write: false
boot: true
flash_algorithms: flash_algorithms:
- name: va108xx_fm25v20a_fram_128kb_prog - name: va108xx_fm25v20a_fram_128kb_prog
description: VA108_FM25V20A_FRAM_128KB description: VA108_FM25V20A_FRAM_128KB

View File

@ -8,6 +8,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
## [unreleased] ## [unreleased]
## [v0.9.0] 2024-10-07
- Deleted some HAL re-exports in the PWM module
## [v0.8.0] 2024-09-30 ## [v0.8.0] 2024-09-30
## Changed ## Changed

View File

@ -9,11 +9,11 @@ use core::convert::Infallible;
use core::marker::PhantomData; use core::marker::PhantomData;
use crate::pac; use crate::pac;
use crate::time::Hertz;
use crate::timer::{ use crate::timer::{
TimAndPinRegister, TimDynRegister, TimPin, TimRegInterface, ValidTim, ValidTimAndPin, TimAndPinRegister, TimDynRegister, TimPin, TimRegInterface, ValidTim, ValidTimAndPin,
}; };
use crate::{clock::enable_peripheral_clock, gpio::DynPinId}; use crate::{clock::enable_peripheral_clock, gpio::DynPinId};
pub use crate::{gpio::PinId, time::Hertz};
const DUTY_MAX: u16 = u16::MAX; const DUTY_MAX: u16 = u16::MAX;

View File

@ -8,7 +8,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
## [unreleased] ## [unreleased]
## [v0.6.0] 2024-09-30
- Added M95M01 EEPROM module/API - Added M95M01 EEPROM module/API
- Update `va108xx-hal` dependency to range >=v0.8, <0.9
## [v0.5.1] 2024-07-04 ## [v0.5.1] 2024-07-04

View File

@ -1,6 +1,6 @@
[package] [package]
name = "vorago-reb1" name = "vorago-reb1"
version = "0.5.1" version = "0.6.0"
authors = ["Robin Mueller <muellerr@irs.uni-stuttgart.de>"] authors = ["Robin Mueller <muellerr@irs.uni-stuttgart.de>"]
edition = "2021" edition = "2021"
description = "Board Support Crate for the Vorago REB1 development board" description = "Board Support Crate for the Vorago REB1 development board"
@ -21,8 +21,7 @@ bitfield = "0.17"
version = "0.3" version = "0.3"
[dependencies.va108xx-hal] [dependencies.va108xx-hal]
version = ">=0.7, <=0.8" version = ">=0.8, <0.9"
path = "../va108xx-hal"
features = ["rt"] features = ["rt"]
[features] [features]