Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
Balloon Comms Stm32
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Stephen D
Balloon Comms Stm32
Commits
5462fd57
Unverified
Commit
5462fd57
authored
3 years ago
by
lucazulian
Browse files
Options
Downloads
Patches
Plain Diff
doc: improve documentation
parent
076b6bde
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitignore
+2
-1
2 additions, 1 deletion
.gitignore
Makefile
+2
-1
2 additions, 1 deletion
Makefile
README.md
+13
-1
13 additions, 1 deletion
README.md
with
17 additions
and
3 deletions
.gitignore
+
2
−
1
View file @
5462fd57
...
...
@@ -14,4 +14,5 @@ Cargo.lock
# Binaries
*.bin
*.hex
\ No newline at end of file
*.hex
stm
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Makefile
+
2
−
1
View file @
5462fd57
...
...
@@ -3,7 +3,8 @@ BINARY=stm
TARGET
=
thumbv7em-none-eabihf
TARGET_FOLDER
=
target
LEVEL
=
release
STM_PATH
=
/run/media/luca/NODE_L432KC
STM_PATH
=
/media/luca/NODE_L432KC
# or STM_PATH=/run/media/luca/NODE_L432KC
EL
=
arm-none-eabi-readelf
CP
=
arm-none-eabi-objcopy
...
...
This diff is collapsed.
Click to expand it.
README.md
+
13
−
1
View file @
5462fd57
...
...
@@ -6,12 +6,24 @@ STM32L432KC board examples in rust
*prerequisites*
```
console
apt-get install binutils-arm-none-eabi
apt-get install openocd
apt-get install gdb-multiarch
rustup target add thumbv7em-none-eabihf
rustup component add clippy
cargo install cargo-binutils
rustup component add llvm-tools-preview
```
Udev rules for Black Magic Probe on an STM32
```
# UDEV Rules for Black Magic Probe STM32
# copy this file to /etc/udev/rules.d/50-usb-stlink.rules
# reload rules:
# $ sudo udevadm control --reload-rules && sudo udevadm trigger
SUBSYSTEMS=="usb", ATTRS{idVendor}=="1d50", ATTRS{idProduct}=="6018", GROUP="plugdev", MODE="0666"
```
*build*
```
console
$
cargo build
...
...
@@ -47,7 +59,7 @@ $ openocd -f nucleo_l432kc.cfg
in another console:
```
console
$
arm-none-eabi-gdb
-q
-x
openocd.gdb <output>
$
gdb-multiarch
-q
-x
openocd.gdb <output>
```
*read from serial interface via USB*
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment