[SOLVED] STM32 in Sublime 3 & multiple libs
[ 1%] Creating C:\Users\silvi\AppData\Local\Temp\Stino_build\Sheme\Sheme.ino.cpp.o...'"arm-none-eabi-g++"' is not recognized as an internal or external command,
operable program or batch file.
[ 1%] Creating C:\Users\silvi\AppData\Local\Temp\Stino_build\Sheme\Sheme.ino.cpp.o...'"arm-none-eabi-g++"' is not recognized as an internal or external command,
operable program or batch file.
Fri Oct 05, 2018 7:27 pm
I will not answer Sublime questions. Get blink or some canned example running under current ArduiniIDE. You are on your own with Sublime, however there are a few other users that have documented issues/fixes for alternate IDE’s.
Available cores
1. The current STM32F1STM32F1Microcontrollers and processors…w I am not able to compile. Error message: “C:\arduino-1.6.12\hardware\Arduino_STM32\ STM32F1 \cores\maple/boards.h:39:25: fatal error: board/board.h: No such file or directory” I…View in hardware catalog /F4 core files (Leaflabs-based core) for the latest version of ArduinoIDE for clone boards
https://github.com/rogerclarkmelbourne/Arduino_STM32
– The original documentation from Leaflabs … the MapleMapleDevelopment and computing boards…expensive short of buying in bulk. many resort to usb-serial converters. today comes leaflabs maple , stm32duino it is ‘disruptive’ in a similar light, user customizable usb is no…View in hardware catalog commercial project that lasted only a few years
http://docs.leaflabs.com/docs.leaflabs.com/index.html
– WiKi resources
https://github.com/rogerclarkmelbourne/ … STM32STM32Microcontrollers and processors…Map magic glue code, ethernet compiles, just WARNING: library LwIP claims to run on [ stm32 ] architecture(s) and may be incompatible with your current board which runs on [STM32]…View in hardware catalog /wiki and
http://wiki.stm32duino.com/index.php?title=Main_Page
2. The current STM32STM32Microcontrollers and processors…Map magic glue code, ethernet compiles, just WARNING: library LwIP claims to run on [ stm32 ] architecture(s) and may be incompatible with your current board which runs on [STM32]…View in hardware catalog core files for STM32STM32Microcontrollers and processors…Map magic glue code, ethernet compiles, just WARNING: library LwIP claims to run on [ stm32 ] architecture(s) and may be incompatible with your current board which runs on [STM32]…View in hardware catalog based boards (official STM core, HAL based)
https://github.com/stm32duino/Arduino_Core_STM32
– Please address all hardware or core questions for NucleoNucleoDevelopment and computing boards…o have this dev board for BlueNRG at a pretty hefty price tag though, hopefully the ‘ nucleo ’ & common dev board versions would be out soon Laughing … 007v1.html oops/oh found an…View in hardware catalog boards in this sub-forum: http://stm32duino.com/viewforum.php?f=29
3. An alternative generic core: *OUTDATED not under development anymore * edited: 23.08.2013
https://github.com/danieleff/STM32GENERIC
Note:
– do not forget that when you install the core per the online instructions, you will get many examples. I expect you to review examples and hopefully even bring them up and play a bit. Understanding example code can go a long way to help you acclimate to the STM32duino way of doing things. We do try and keep ourselves “arduino-centric” but sometimes it is necessary to deviate or invent new ways to use functions within the 32-bit ARM architecture that just does not exist in the 8-bit Arduino introductory world.
Fri Oct 05, 2018 7:48 pm
I think I should add path to arm-none-eabi-g. I’ll fix it somehow
Fri Oct 05, 2018 8:44 pm
If you do not know what core you have… then what STM32STM32Microcontrollers and processors…Map magic glue code, ethernet compiles, just WARNING: library LwIP claims to run on [ stm32 ] architecture(s) and may be incompatible with your current board which runs on [STM32]…View in hardware catalog board do you have?
[Pararera – Fri Oct 05, 2018 4:03 pm] –
Hi guys,
just bought STM32STM32Microcontrollers and processors…Map magic glue code, ethernet compiles, just WARNING: library LwIP claims to run on [ stm32 ] architecture(s) and may be incompatible with your current board which runs on [STM32]…View in hardware catalog generic bord for my Onboard Computer for bicycle project.
I’m from Croatia and 19 yo
Generic … like this http://wiki.stm32duino.com/index.php?title=Blue_Pill ???
Fri Oct 05, 2018 9:01 pm
I suspect that’s it’s the LibMaple Core or STM32STM32Microcontrollers and processors…Map magic glue code, ethernet compiles, just WARNING: library LwIP claims to run on [ stm32 ] architecture(s) and may be incompatible with your current board which runs on [STM32]…View in hardware catalog GENERIC if the Arm compiler was not installed
Also
Since all cores are originally stored in GitHub , you could have been better off manually installing by downloading or cloning from github
Fri Oct 05, 2018 9:03 pm
ALL the cores are only designed to run on the Arduino IDE.
There are thousands of differnt text editors and programming environments and IDEs etc, so it’s impossible to support anything other than the official Arduino IDE.
Fri Oct 05, 2018 11:53 pm
fatal error: Wire.h: No such file or directorySat Oct 06, 2018 1:14 am
https://github.com/rogerclarkmelbourne/arduino_stm32
I’m not sure if anyone is else is using Sublime, so you are likely to be on your own getting this to work.
Sat Oct 06, 2018 9:46 am
Sat Oct 06, 2018 9:57 am
Sat Oct 06, 2018 10:22 am
Multiple libraries were found for "Wire.h"
Used: C:\Users\silvi\Documents\Arduino\libraries\Wire
Not used: C:\Users\silvi\Documents\Arduino\hardware\Arduino_STM32-master\STM32F1\libraries\WireSlave
Not used: C:\Users\silvi\Documents\Arduino\hardware\Arduino_STM32-master\STM32F1\libraries\Wire
exit status 1
Error compiling for board Generic STM32F103C series.Sat Oct 06, 2018 1:51 pm
arm-none-eabi-g++: error: {archive_file_path}: No such file or directorySat Oct 06, 2018 1:56 pm
[Pararera – Sat Oct 06, 2018 1:51 pm] –
…
I’m not sure why in Sublime compiler doesn’t work but in ArduinoIDE it works.
Good.
I’m marking this SOLVED
Ray
Sat Oct 06, 2018 7:45 pm
I think this was a change made by Arduino themselves at least 6 months ago, where they modified how platform.txt works
I suspect that whatever plugin you are useing in Sublime has not been updated, to match what is now required