I'm trying to use roger's files to compile code with pwmWrite and the nice HardwareTimer, but I get a simple error:
Arduino: 1.8.12 (Windows 10), Board: "Generic STM32F103C series, STM32F103C8 (20k RAM. 64k Flash), HID bootloader 2.0, 72Mhz (Normal), Smallest (default)"
exec: "/bin/arm-none-eabi-g++": file does not exist
Error compiling for board Generic STM32F103C series.
In my limited experience, it looks to me like a Linux library file... How do you get the files running on Windows? I've pasted the unzipped folders in the hardware folder of Arduino and rebooted. That's all the installation instructions say since I'm using an stm32f1 series. I've tried compiling with various upload methods and "Optimize" options and they all return this error.
Is there a file that I forgot to run?
upfront compiling error
upfront compiling error
Simply follow this wiki:
https://github.com/rogerclarkmelbourne/ ... stallation
Go to full posthttps://github.com/rogerclarkmelbourne/ ... stallation
Run the IDE, and on the Tools menu, select the Boards manager, and install the Arduino SAM boards (Cortex-M3) from the list of available boards. You must do this step, it installs the arm-none-eabi-g++ toolchain!
Re: upfront compiling error
it seem to be missing the gcc/g++ arm-none-eabi compiler.
you could get the arm gcc compiler from
https://developer.arm.com/tools-and-sof ... /downloads
and set it up so that the ide can access them on the common paths
or
i think you could get a compiler if you follow the instructions to install the official core
(this is probably better if you intended to use the official core as well, but i've not actually done that on windows.
but on linux i figured out where the compiler resides and setup my paths so that the compiler can be accessed)
https://github.com/stm32duino/wiki/wiki
and you would need to make that compiler available on the paths for the libmaple core as well.
you could get the arm gcc compiler from
https://developer.arm.com/tools-and-sof ... /downloads
and set it up so that the ide can access them on the common paths
or
i think you could get a compiler if you follow the instructions to install the official core
(this is probably better if you intended to use the official core as well, but i've not actually done that on windows.
but on linux i figured out where the compiler resides and setup my paths so that the compiler can be accessed)
https://github.com/stm32duino/wiki/wiki
and you would need to make that compiler available on the paths for the libmaple core as well.
Re: upfront compiling error
Simply follow this wiki:
https://github.com/rogerclarkmelbourne/ ... stallation
https://github.com/rogerclarkmelbourne/ ... stallation
Run the IDE, and on the Tools menu, select the Boards manager, and install the Arduino SAM boards (Cortex-M3) from the list of available boards. You must do this step, it installs the arm-none-eabi-g++ toolchain!
Re: upfront compiling error
Install (add) Arduino DUE from board manager. As I recall, that is what is need to install gcc compiler for Roger's core.
Re: upfront compiling error
I can't believe I missed this on the installation page! Thanks for the help!fpiSTM wrote: Wed May 20, 2020 5:14 am Simply follow this wiki:
https://github.com/rogerclarkmelbourne/ ... stallation
Run the IDE, and on the Tools menu, select the Boards manager, and install the Arduino SAM boards (Cortex-M3) from the list of available boards. You must do this step, it installs the arm-none-eabi-g++ toolchain!
Re: upfront compiling error
Welcome 
