Skip to content

Commit 6f4bb8c

Browse files
authored
Merge pull request tock#4932 from WyliodrinEmbeddedIoT/chore/stm32u545_readme
Chore/stm32u545 readme
2 parents f793c52 + 33459db commit 6f4bb8c

1 file changed

Lines changed: 19 additions & 1 deletion

File tree

boards/nucleo_u545re_q/README.md

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,13 +61,21 @@ If your system's OpenOCD is too old, follow these steps to compile a
6161
compatible version:
6262

6363
1. **Install dependencies**:
64+
65+
**Debian-based distros**
6466
```bash
6567
sudo apt update
6668
sudo apt install build-essential libusb-1.0-0-dev libftdi1-dev \
6769
libtool autoconf automake texinfo pkg-config
6870
```
69-
71+
**RHEL-based or RPM-based**
72+
```bash
73+
sudo dnf update
74+
sudo dnf install build-essential libusb1-devel jimtcl libftd-devel \
75+
libtool autoconf automake texinfo pkgconf
7076
2. **Clone and build**:
77+
78+
**Debian-based distro**
7179
```bash
7280
git clone https://github.com/openocd-org/openocd.git
7381
cd openocd
@@ -77,6 +85,16 @@ compatible version:
7785
make -j$(nproc)
7886
sudo make install
7987
```
88+
**RHEL-based or RPM-based**
89+
```bash
90+
git clone https://github.com/openocd-org/openocd.git
91+
cd openocd
92+
git submodule update --init --recursive
93+
./bootstrap
94+
./configure --enable-stlink --enable internal jimtcl
95+
make -j$(nproc)
96+
sudo make install
97+
```
8098

8199
3. **Verify version**:
82100
```bash

0 commit comments

Comments
 (0)