GithubHelp home page GithubHelp logo

stm32duino / boardmanagerfiles Goto Github PK

View Code? Open in Web Editor NEW
100.0 30.0 89.0 299.36 MB

Storage for Arduino Board Manager JSON and package files etc

License: BSD 3-Clause "New" or "Revised" License

Makefile 100.00%

boardmanagerfiles's Introduction

boardmanagerfiles's People

Contributors

fpistm avatar gautierg-st avatar rogerclarkmelbourne avatar vvestm avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

boardmanagerfiles's Issues

F412ZG Support

Does this package supports F412ZG? I installed but didn't see board part number F412ZG on the Arduino.

problem installing STM32 cores to arduino's Board manager

Greetings of the day,
Am using Arduino 2.1.0 IDE and facing problem installing STM32 to boards manager, and iam getting this error even after lot of trials

Some indexes could not be updated. Get "https://raw.githubusercontent.com/stm32duino/BoardManagerFiles/main/package_stmicroelectronics_index.json": dial tcp [2405:200:1607:2820:41::36]:443: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.: https://github.com/stm32duino/BoardManagerFiles/raw/main/package_stmicroelectronics_index.json

Any help will be appreciated
Thanks

Suggested change to boards section heading in platform.txt

In platform.txt (for F103) the name for the boards supported by this file (really by boards.txt), is defined as

name=STM32F1xx Boards

If you look at the Arduino.cc boards, they use

name=Arduino ARM (32-bits) Boards

I think this should probably be changed to

name=STMicroelectronics STM32F1xx Boards

(Same applies to the L4 etc)

I checked and this width of text is fine as the Arduino SAMD boards have a much larger name

Consider updating the GCC version

ARM has released v8 2018-q4 of the embedded compiler. Would you consider updating the GCC version?

Is this something you host or is it coming from the Arduino folks?

transferring data from stm32 nucleo to nodemcu

I am trying to send data using rx tx pins from stm32 board to nodemcu, but no data is received on nodemcu. But if try the same for arduino and nodemcu the data is being easily transferred. So there any library to support connection between the two boards (stm32 and nodemcu esp8266). Please help. I tried opening stm32duino forum but it is unaccessible.

File not found

VERY frustrating.. Ok, I started from SCRATCH - Arduino 1.8.3 - grabbed the URL, installed STM32F1xx Cores by ST MicroElectronics version 2017.1.20 - so everything up to date on Windows 10 64 bits.

I loaded a simple program - lighting the green onboard LED on the BLUEPILL F103C8 board.... alll well - program compiled - via serial it loaded up on the board. The light came on.

I made a minor change and..

arm-none-eabi-gcc: error: C:\Users\Peter\AppData\Local\Temp\arduino_build_514602/core/syscalls_stm32.c.o: No such file or directory

exit status 1
Error compiling for board BluePill F103C8.

I moved the Arduino directory from Program File x86 to simply "\Arduino" - as some old post suggested an issue with spaces (note that some slashes are forward, some are back). Voila - compilation worked.

Made a change back... tried to compile again - back to square 1 !!!!

HELP.

How to add STM32f412ZGT6 board in the Arduino IDE board manager?

I want to use Arduino IDE for STM32f412ZG for driving a led strip. I tried installing STM32 core in Arduino IDE but STM32f412ZGT6 is not available there. Can anybody help me with this issue? I want to have STM32f142ZGT6 as an option in the board manager.

Detecting libraries used... recipe.preproc.macros pattern is missing

Hi,

i am getting below error while compiling in arduino ide

Arduino: 1.8.19 (Windows 10), Board: "Nucleo-64, Nucleo F401RE, Mass Storage, Enabled (generic 'Serial'), None, Low/Full Speed, Smallest (-Os default), None, Newlib Nano (default)"
C:\Users\amare\Downloads\arduino-1.8.19-windows\arduino-1.8.19\arduino-builder -dump-prefs -logger=machine -hardware C:\Users\amare\Downloads\arduino-1.8.19-windows\arduino-1.8.19\hardware -hardware C:\Users\amare\AppData\Local\Arduino15\packages -tools C:\Users\amare\Downloads\arduino-1.8.19-windows\arduino-1.8.19\tools-builder -tools C:\Users\amare\Downloads\arduino-1.8.19-windows\arduino-1.8.19\hardware\tools\avr -tools C:\Users\amare\AppData\Local\Arduino15\packages -built-in-libraries C:\Users\amare\Downloads\arduino-1.8.19-windows\arduino-1.8.19\libraries -libraries C:\Users\amare\OneDrive\Documents\Arduino\libraries -fqbn=STMicroelectronics:stm32:Nucleo_64:pnum=NUCLEO_F401RE,upload_method=MassStorage,xserial=generic,usb=none,xusb=FS,opt=osstd,dbg=none,rtlib=nano -ide-version=10819 -build-path C:\Users\amare\AppData\Local\Temp\arduino_build_51149 -warnings=none -build-cache C:\Users\amare\AppData\Local\Temp\arduino_cache_134155 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.STM32Tools.path=C:\Users\amare\AppData\Local\Arduino15\packages\STMicroelectronics\tools\STM32Tools\2.1.1 -prefs=runtime.tools.STM32Tools-2.1.1.path=C:\Users\amare\AppData\Local\Arduino15\packages\STMicroelectronics\tools\STM32Tools\2.1.1 -prefs=runtime.tools.xpack-arm-none-eabi-gcc.path=C:\Users\amare\AppData\Local\Arduino15\packages\STMicroelectronics\tools\xpack-arm-none-eabi-gcc\10.3.1-2.3 -prefs=runtime.tools.xpack-arm-none-eabi-gcc-10.3.1-2.3.path=C:\Users\amare\AppData\Local\Arduino15\packages\STMicroelectronics\tools\xpack-arm-none-eabi-gcc\10.3.1-2.3 -prefs=runtime.tools.CMSIS.path=C:\Users\amare\AppData\Local\Arduino15\packages\STMicroelectronics\tools\CMSIS\5.7.0 -prefs=runtime.tools.CMSIS-5.7.0.path=C:\Users\amare\AppData\Local\Arduino15\packages\STMicroelectronics\tools\CMSIS\5.7.0 -verbose C:\Users\amare\Downloads\arduino-1.8.19-windows\arduino-1.8.19\examples\01.Basics\Blink\Blink.ino

C:\Users\amare\Downloads\arduino-1.8.19-windows\arduino-1.8.19\arduino-builder -compile -logger=machine -hardware C:\Users\amare\Downloads\arduino-1.8.19-windows\arduino-1.8.19\hardware -hardware C:\Users\amare\AppData\Local\Arduino15\packages -tools C:\Users\amare\Downloads\arduino-1.8.19-windows\arduino-1.8.19\tools-builder -tools C:\Users\amare\Downloads\arduino-1.8.19-windows\arduino-1.8.19\hardware\tools\avr -tools C:\Users\amare\AppData\Local\Arduino15\packages -built-in-libraries C:\Users\amare\Downloads\arduino-1.8.19-windows\arduino-1.8.19\libraries -libraries C:\Users\amare\OneDrive\Documents\Arduino\libraries -fqbn=STMicroelectronics:stm32:Nucleo_64:pnum=NUCLEO_F401RE,upload_method=MassStorage,xserial=generic,usb=none,xusb=FS,opt=osstd,dbg=none,rtlib=nano -ide-version=10819 -build-path C:\Users\amare\AppData\Local\Temp\arduino_build_51149 -warnings=none -build-cache C:\Users\amare\AppData\Local\Temp\arduino_cache_134155 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.STM32Tools.path=C:\Users\amare\AppData\Local\Arduino15\packages\STMicroelectronics\tools\STM32Tools\2.1.1 -prefs=runtime.tools.STM32Tools-2.1.1.path=C:\Users\amare\AppData\Local\Arduino15\packages\STMicroelectronics\tools\STM32Tools\2.1.1 -prefs=runtime.tools.xpack-arm-none-eabi-gcc.path=C:\Users\amare\AppData\Local\Arduino15\packages\STMicroelectronics\tools\xpack-arm-none-eabi-gcc\10.3.1-2.3 -prefs=runtime.tools.xpack-arm-none-eabi-gcc-10.3.1-2.3.path=C:\Users\amare\AppData\Local\Arduino15\packages\STMicroelectronics\tools\xpack-arm-none-eabi-gcc\10.3.1-2.3 -prefs=runtime.tools.CMSIS.path=C:\Users\amare\AppData\Local\Arduino15\packages\STMicroelectronics\tools\CMSIS\5.7.0 -prefs=runtime.tools.CMSIS-5.7.0.path=C:\Users\amare\AppData\Local\Arduino15\packages\STMicroelectronics\tools\CMSIS\5.7.0 -verbose C:\Users\amare\Downloads\arduino-1.8.19-windows\arduino-1.8.19\examples\01.Basics\Blink\Blink.ino

Using board 'Nucleo_64' from platform in folder: C:\Users\amare\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.2.0

Using core 'arduino' from platform in folder: C:\Users\amare\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.2.0

Detecting libraries used...
recipe.preproc.macros pattern is missing
Error compiling for board Nucleo-64.

Regards,
Nagaraj

Get the MyoBridge Library to work on stm32duino IDE

Dear stm32duino team,

For a university project, I'm trying to get the MyoBridge Library by vroland (https://github.com/vroland/MyoBridge) up and running on an STM32 Nucleo F303RE Board by using your stm32duino project.
First, I programmed an Arduino UNO with the MyoBridge Library and it works fine so far. Then I installed your stm32duino package to the Arduino IDE, tried some basic programs and it also works fine.
But when I want to compile the MyoBridge (basic) projects with the stm32duino board manager, then I get several compiling errors because of missing libraries like "SoftwareSerial.h", "util/delay_basic.h" or "avr/interrupt.h".
I included these libraries manually but there comes up a new error message every time when I try to compile. Can you help me and us by get this running please?

MfG
Noah Boroske

Error downloading https://github.com/xpack-dev-tools/arm-none-eabi-gcc-xpack/releases/download/v10.3.1-2.3/xpack-arm-none-eabi-gcc-10.3.1-2.3-win32-ia32.zip

Tried both https://raw.githubusercontent.com/stm32duino/BoardManagerFiles/main/package_stmicroelectronics_index.json and https://github.com/stm32duino/BoardManagerFiles/raw/main/package_stmicroelectronics_index.json in preference, got error when install STM32 MCU based board in Board manager of Arduino 1.8.19:

 Error downloading https://github.com/xpack-dev-tools/arm-none-eabi-gcc-xpack/releases/download/v10.3.1-2.3/xpack-arm-none-eabi-gcc-10.3.1-2.3-win32-ia32.zip
java.lang.RuntimeException: java.lang.Exception: Error downloading https://github.com/xpack-dev-tools/arm-none-eabi-gcc-xpack/releases/download/v10.3.1-2.3/xpack-arm-none-eabi-gcc-10.3.1-2.3-win32-ia32.zip
	at cc.arduino.contributions.packages.ui.ContributionManagerUI.lambda$onInstallPressed$2(ContributionManagerUI.java:179)
	at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.Exception: Error downloading https://github.com/xpack-dev-tools/arm-none-eabi-gcc-xpack/releases/download/v10.3.1-2.3/xpack-arm-none-eabi-gcc-10.3.1-2.3-win32-ia32.zip
	at cc.arduino.contributions.DownloadableContributionsDownloader.download(DownloadableContributionsDownloader.java:145)
	at cc.arduino.contributions.DownloadableContributionsDownloader.download(DownloadableContributionsDownloader.java:79)
	at cc.arduino.contributions.DownloadableContributionsDownloader.download(DownloadableContributionsDownloader.java:56)
	at cc.arduino.contributions.packages.ContributionInstaller.install(ContributionInstaller.java:108)
	at cc.arduino.contributions.packages.ui.ContributionManagerUI.lambda$onInstallPressed$2(ContributionManagerUI.java:172)
	... 1 more
Caused by: java.io.IOException: Received invalid http status code from server: 404
	at cc.arduino.utils.network.FileDownloader.openConnectionAndFillTheFile(FileDownloader.java:222)
	at cc.arduino.utils.network.FileDownloader.downloadFile(FileDownloader.java:176)
	at cc.arduino.utils.network.FileDownloader.download(FileDownloader.java:125)
	at cc.arduino.contributions.DownloadableContributionsDownloader.download(DownloadableContributionsDownloader.java:143)
	... 5 more

STM8 Error

Hello,

It did not work for STM8
`
unknown file type -DARDUINO_LIB_DISCOVERY_PHASE
exit status 1
Error compiling for board Nucleo_8L152R8.

`

STM32Tools package have to be splitted per host target OS

Currently, the STM32Tools packages is the same for all target OS installation (windows, Linux and MacOS).
To reduce package size it should be fine to package only the required tools for the targeted OS.
Moreover some tools include symbolic links which could cause some issue on Windows for example.
/CC @angela-rph

'-' character in .build.board name causes compiler warning

/home/kimballr/.arduino15/packages/arduino/tools/arm-none-eabi-gcc/4.8.3-2014q1/bin/arm-none-eabi-g++" -c -Os -Wall -std=gnu++11 -ffunction-sections -fdata-sections -nostdlib -fno-threadsafe-statics --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -Dprintf=iprintf -MMD "-I/home/kimballr/Arduino/hardware/stm32/STM32F1/system/libstm32f1" "-I/home/kimballr/Arduino/hardware/stm32/STM32F1/system/libstm32f1/include" "-I/home/kimballr/Arduino/hardware/stm32/STM32F1/system/Drivers/STM32F1xx_HAL_Driver/Inc/" "-I/home/kimballr/Arduino/hardware/stm32/STM32F1/system/Drivers/CMSIS/Include/" "-I/home/kimballr/Arduino/hardware/stm32/STM32F1/system/Drivers/CMSIS/Device/ST/STM32F1xx/Include" -mcpu=cortex-m3 -DARDUINO=10612 -DARDUINO_NUCLEO-F103RB -DARDUINO_ARCH_STM32F1 -mthumb -DSTM32F103xB "-I/home/kimballr/Arduino/hardware/stm32/STM32F1/cores/arduino" "-I/home/kimballr/Arduino/hardware/stm32/STM32F1/variants/STM32F103RB-Nucleo" "/home/kimballr/Arduino/hardware/stm32/STM32F1/cores/arduino/new.cpp" -o "/tmp/arduino_build_402627/core/new.cpp.o"

<command-line>:0:15: warning: ISO C99 requires whitespace after the macro name [enabled by default]**

You might want to change in boards.txt:
NUCLEO-F103RB.build.board=NUCLEO-F103RB
to
NUCLEO-F103RB.build.board=NUCLEO_F103RB

STM32 Error

Hello,

I did try this with STM32, it did not work.

`
In file included from C:\Users\jave0\Documents\Arduino\libraries\FastLED\src/FastLED.h:43,
from C:\Users\jave0\Desktop\arduino prototype\ledtest\ledtest.ino:1:
C:\Users\jave0\Documents\Arduino\libraries\FastLED\src/led_sysdefs.h:55:2: error: #error "This platform isn't recognized by FastLED... yet. See comments in FastLED/led_sysdefs.h for options."
55 | #error "This platform isn't recognized by FastLED... yet. See comments in FastLED/led_sysdefs.h for options."
| ^~~~~
In file included from C:\Users\jave0\Documents\Arduino\libraries\FastLED\src/platforms/avr/fastled_avr.h:6,
from C:\Users\jave0\Documents\Arduino\libraries\FastLED\src/platforms.h:41,
from C:\Users\jave0\Documents\Arduino\libraries\FastLED\src/FastLED.h:54,
from C:\Users\jave0\Desktop\arduino prototype\ledtest\ledtest.ino:1:
C:\Users\jave0\Documents\Arduino\libraries\FastLED\src/platforms/avr/clockless_trinket.h:6:10: fatal error: avr/interrupt.h: No such file or directory
6 | #include <avr/interrupt.h> // for cli/se definitions
| ^~~~~~~~~~~~~~~~~
compilation terminated.
exit status 1
Error compiling for board Nucleo-64.

`

Error downloading the board manager package in Arduino IDE 1.8.19

Hi there,

Following the instructions I fail at the point of searching in the board manager for the stm32duino as the following error occurs:

Error downloading https://github.com/stm32duino/BoardManagerFiles/raw/master/package_stmicroelectronics_index.json
Error downloading https://downloads.arduino.cc/packages/package_index.json

I made sure I don't have any proxy connection.
I would appreciate to receive help if the problem lies on my version of the Arduino IDE 1.8.19 or is a problem of other origin.
Thanks in advance.

Programming Nucleo F302R8

Hello everyone,
I am trying to program Blink on Nucleo F302R8.
It seems to upload successfully:

STM32 ST-LINK CLI v3.0.0.0
STM32 ST-LINK Command Line Interface

ST-LINK SN : 066EFF495056805087162434
ST-LINK Firmware version : V2J22M5
Connected via SWD.
SWD Frequency = 4000K.
Target voltage = 3.2 V.
Connection mode : Normal.
Device ID:0x439
Device flash Size : 64 Kbytes
Device family :STM32F301x4-x6-x8/F302x4-x6-x8/F318xx

Loading file...
Flash Programming:
File : C:\Users\mitov\AppData\Local\Temp\arduino_build_882600\Blink.ino.bin
Address : 0x08000000
Memory programming...
±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±± 0%
0%ÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛ 100%
Memory programmed in 0s and 609ms.
Programming Complete.

MCU Reset.

run application to exit
Application started.

However there is no blinking :-( . I tried PA5, D13 and 13 as LED pins. None of them works :-(
Any suggestions?
I used the - STM Nucleo F303RE (STLink).

issue when adding string to Arduino IDE

Error in compiling the code in arduino ide for stm32f103 board, a big thanks if anyone can help

hello sir , i am facing a error problem since more than a month in arduino IDE ,i am using stm32f103 board, error is as given below:

arm-none-eabi-g++: error: Singh\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.3.0=.: No such file or directory
exit status 1
Error compiling for board Generic STM32F1 series........

Then i puchased a new board stm32f401 board ,then also found same error ... i really dont know what i can do ,kindly help me in this it will be a really a great help... thanks
error pic1

Using my own link in the "Additional Boards Managers URLs" field:

Hello,

Ive followed the information Here in the Arduino_Core_STM32 repo readme to create my own board variant in a new sub-folder in the "variant" folder. How do you recommend i install this new board variant into the arduino IDE so I can make continues changes and testing?
I don't want to make a pull-request of my changes and have you regenerate the package_stm_index.json, because I would like to play with the options and other define variables that configure my new board. This arduino thread has some valuable help on the topic but I think I need a bit more info that pertains to STM first before i can generate my own package_stm_index.json to include in the "Additional Boards Managers URLs" field.
In the package_stm_index.json file What is this tar.bz2 file here: "url": "https://github.com/stm32duino/Arduino_Core_STM32/releases/download/1.8.0/STM32-1.8.0.tar.bz2" ?
And how can i generate this tar.bz2 file?

Urgently need Blue Pill support

I'm presenting "How Program STM32F103C8/Blue Pill Using Arduino IDE" next Saturday (Sept 16) to the Dallas Personal Robotics Group (dprg.org) where I had planned to demonstrate installing the STM32F1 cores package that supports the Blue Pill.

My problem is that the STM32F1 cores package is no longer available and the STM32 cores package doesn't yet support the Blue Pill.

License missing

This repository is missing a license file, please add one.

Problems with Variant_h

HI,
I use the Sloeber-IDE 4.4 from Jantje. If I use the old deprecated package of STM32duino 1.9.0 it works fine. Now I am using the new 2.0.0 and it seems that the variant.h is not working quite corectly. I has a line #include VARIANT_H where this variable is substituted in the right variant include file. The compiler complains that it cannot process the include statement.
If I add " in front and at the end of the string, all works fine.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.