Skip to content

Commit

Permalink
update probe-rs files
Browse files Browse the repository at this point in the history
  • Loading branch information
robamu committed Nov 26, 2024
1 parent df0760d commit 04062ac
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,5 @@ Cargo.lock
# JetBrains IDEs
/.idea
*.iml

/Embed.toml
12 changes: 12 additions & 0 deletions Embed.toml.sample
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion jlink-gdb.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/bin/bash
JLinkGDBServer -select USB -device Cortex-M0 -endian little -if JTAG-speed auto \
JLinkGDBServer -select USB -device Cortex-M0 -endian little -if JTAG -speed auto \
-LocalhostOnly
10 changes: 8 additions & 2 deletions scripts/VA108xx_Series.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ variants:
core_access_options: !Arm
ap: 0
psel: 0x0
jtag_tap: 1
memory_map:
- !Ram
name: DRAM
Expand All @@ -22,9 +23,11 @@ variants:
range:
start: 0x0
end: 0x20000
is_boot_memory: true
cores:
- main
access:
write: false
boot: true
flash_algorithms:
- va108xx_fm25v20a_fram_128kb_prog
- va108xx_m95m01_128kb_prog
Expand All @@ -37,6 +40,7 @@ variants:
core_access_options: !Arm
ap: 0
psel: 0x0
jtag_tap: 1
memory_map:
- !Ram
name: DRAM
Expand All @@ -50,9 +54,11 @@ variants:
range:
start: 0x0
end: 0x20000
is_boot_memory: true
cores:
- main
access:
write: false
boot: true
flash_algorithms:
- name: va108xx_fm25v20a_fram_128kb_prog
description: VA108_FM25V20A_FRAM_128KB
Expand Down

0 comments on commit 04062ac

Please sign in to comment.