Fixed some typos and made changes to required tools (#14)

Added "libftdi1" to required tools as it's required by some builds before installing the nightly openocd-git build.
This commit is contained in:
viral_dna 2020-12-08 01:07:59 -08:00 committed by GitHub
parent fb675c90ec
commit ec07514ff1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -24,7 +24,7 @@ Please note that we recommend either a (full-size, not mini) J-Link/J-Link Edu,
## Connecting the debugger ## Connecting the debugger
When connecting the debugger ensrue that at least SWDIO, SWDCLK and GND are connected. Do *not* under any circumstances connect 3.3V to the VDD connection. If your debug probe (for example ST-Link clones) does not have a VTREF connector, just leave VDD unconnected. Connecting 3.3V to VDD will likely destroy your SPI flash. When connecting the debugger ensure that at least SWDIO, SWDCLK and GND are connected. Do *not* under any circumstances connect 3.3V to the VDD connection. If your debug probe (for example ST-Link clones) does not have a VTREF connector, just leave VDD unconnected. Connecting 3.3V to VDD will likely destroy your SPI flash.
### Supported Debuggers ### Supported Debuggers
@ -37,7 +37,7 @@ Programmers we had a lot of trouble with: J-Link EDU Mini (does not work), cheap
Install the required tools: Install the required tools:
``` ```
sudo apt-get install gcc-arm-none-eabi binutils-arm-none-eabi openocd python3 sudo apt-get install gcc-arm-none-eabi binutils-arm-none-eabi python3 libftdi1
``` ```
Note: The version of openocd included in Ubuntu 20.04 (0.10.0) does not include functionality that is needed by these scripts. A build from the unreleased master branch is needed. Please install a newer version either by building it yourself, or by installing a prebuilt package, e.g. from [this nightly build](https://github.com/kbeckmann/ubuntu-openocd-git-builder), using [xPack](https://xpack.github.io/openocd/) or similar. Note: The version of openocd included in Ubuntu 20.04 (0.10.0) does not include functionality that is needed by these scripts. A build from the unreleased master branch is needed. Please install a newer version either by building it yourself, or by installing a prebuilt package, e.g. from [this nightly build](https://github.com/kbeckmann/ubuntu-openocd-git-builder), using [xPack](https://xpack.github.io/openocd/) or similar.
@ -59,7 +59,7 @@ OPENOCD="/opt/openocd-git/bin/openocd" ; ./1_sanity_check.sh
OPENOCD="/opt/openocd-git/bin/openocd" ; ./2_.... OPENOCD="/opt/openocd-git/bin/openocd" ; ./2_....
``` ```
Finally you could just hardwire some variables in 'config.sh' Finally, you could just hardwire some variables in 'config.sh'
### Mac Setup ### Mac Setup