[SOLVED] Paths? Linux instal

All distros
Post Reply
turboscrew
Posts: 78
Joined: Fri Mar 10, 2017 7:36 pm

[SOLVED] Paths? Linux instal

Post by turboscrew » Tue Dec 19, 2017 4:15 pm

I installed Arduino 1.8.5 on Linux Mint (17.3) and dropped Arduino-STM32 in it.
Then I tried to compile an example, but Arduino didn't find the compiler.
Arduino: 1.8.5 (Linux), Board: "Generic STM32F103C series, STM32F103C8 (20k RAM. 64k Flash), STM32duino bootloader, 72Mhz (Normal), Smallest (default)"

fork/exec /bin/arm-none-eabi-g++: no such file or directory
Error compiling for board Generic STM32F103C series.

$ which arm-none-eabi-g++
/usr/bin/arm-none-eabi-g++
Is there a way to tell Arduino the right paths?

stevestrong
Posts: 2051
Joined: Mon Oct 19, 2015 12:06 am
Location: Munich, Germany
Contact:

Re: Paths?

Post by stevestrong » Tue Dec 19, 2017 4:37 pm

You forgot to install the Arduino SAM boards package, see installation wiki.

turboscrew
Posts: 78
Joined: Fri Mar 10, 2017 7:36 pm

Re: Paths?

Post by turboscrew » Tue Dec 19, 2017 6:21 pm

Why SAM boards? I only have blue pills.
And does it really have to do with compiler path?

Well, I'll do it.

turboscrew
Posts: 78
Joined: Fri Mar 10, 2017 7:36 pm

Re: Paths?

Post by turboscrew » Tue Dec 19, 2017 6:26 pm

Thanks. It did the trick...

Bingo600
Posts: 10
Joined: Thu Mar 16, 2017 5:25 pm

Re: Paths?

Post by Bingo600 » Thu Dec 21, 2017 7:36 pm

turboscrew wrote:
Tue Dec 19, 2017 6:21 pm
Why SAM boards? I only have blue pills.
It just uses the ARM compiler (SAM is ARM too)

/Bingo

Post Reply