Skip to content
This repository has been archived by the owner on Feb 17, 2024. It is now read-only.

Quick fix for gcc version #4

Merged
merged 10 commits into from
Jul 14, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions BoardManagerFiles/package_stm_index.json
Original file line number Diff line number Diff line change
Expand Up @@ -1257,10 +1257,10 @@
},
{
"host": "arm-linux-gnueabihf",
"url": "https://github.com/xpack-dev-tools/pre-releases/releases/download/v1.0/xpack-arm-none-eabi-gcc-9.2.1-1.2-linux-arm.tar.gz",
"archiveFileName": "xpack-arm-none-eabi-gcc-9.2.1-1.2-linux-arm.tar.gz",
"checksum": "SHA-256:e77b934cdd616e68593327b09e8a17234ac56d457af571550b096729c80b3216",
"size": "128001146"
"url": "https://github.com/xpack-dev-tools/arm-none-eabi-gcc-xpack/releases/download/v9.3.1-1.1/xpack-arm-none-eabi-gcc-9.3.1-1.1-linux-arm.tar.gz",
"archiveFileName": "xpack-arm-none-eabi-gcc-9.3.1-1.1-linux-arm.tar.gz",
"checksum": "SHA-256:bb4e1f6c72e32a1696edcfdec57d32ece64ac691a0363e4781db559addac7b79",
"size": "135866864"
}
]
},
Expand Down
8 changes: 1 addition & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,6 @@ By itself, the [Arduino IDE](https://www.arduino.cc/en/Main/Software) does not s

Start and exit the Arduino IDE. This creates the directory `~/.arduino15` in your home directory, and the file `~/.arduino15/preferences.txt`.

With the Arduino IDE **not** running, edit `.arduino15/preferences.txt`, and add the following line:
```
allow_insecure_packages=true
```
This allows the use of unsigned packages like this one. Also tick "Verbose output during upload".

Start the Arduino IDE. In *File --> Preferences --> Additional Board Manager URLs:* paste the following url:
```
https://raw.githubusercontent.com/koendv/stm32duino-raspberrypi/master/BoardManagerFiles/package_stm_index.json
Expand All @@ -24,7 +18,7 @@ In the search field, type "STM32". Install the "STM32 Cores" board package. Inst

In the Tools menu select the STM32 cores as compilation target. As an example, if using a STM32F103 Blue Pill choose *Tools->Board: -> Generic STM32F1 series* .

The tools to upload firmware are installed in the tools directory, `~/.arduino15/packages/STM32/tools/STM32Tools/1.3.2/tools/linux`.
The tools to upload firmware are installed in the tools directory, `~/.arduino15/packages/STM32/tools/STM32Tools/1.4.0/tools/linux`.

Run the shell script `install.sh` in the tools directory to install udev rules and add the current user to the `dialout` group.

Expand Down