OsX path for STM32_Programmer_CLI

Added how to add the STM32_Programmer_CLI to your OsX path

Fixes https://github.com/Nitrokey/nitrokey-fido2-firmware/pull/20
This commit is contained in:
Wessel dR 2019-08-05 10:05:04 +02:00 committed by Szczepan Zalega
parent 09d450ed02
commit db479850a6
No known key found for this signature in database
GPG Key ID: D9BAE35991DE5B22

View File

@ -83,6 +83,12 @@ go to bottom page and from STM32CubeProg row select Download button.
4. In installation directory go to ./bin - there the ./STM32_Programmer_CLI is located 4. In installation directory go to ./bin - there the ./STM32_Programmer_CLI is located
5. Add symlink to the STM32 CLI binary to .local/bin. Make sure the latter it is in $PATH. 5. Add symlink to the STM32 CLI binary to .local/bin. Make sure the latter it is in $PATH.
If you're on OsX and installed the STM32CubeProg, you need to add the following to your path:
```bash
# ~/.bash_profile
export PATH="/Applications/STMicroelectronics/STM32Cube/STM32CubeProgrammer/STM32CubeProgrammer.app/Contents/MacOs/bin/":$PATH
```
# Building and flashing # Building and flashing
## Building ## Building
Please follow https://docs.solokeys.io/solo/building/, as the build way changes rapidly. Please follow https://docs.solokeys.io/solo/building/, as the build way changes rapidly.
@ -206,4 +212,3 @@ via the Makefile command. It is sufficient to run:
make env3 make env3
``` ```