Newbie easy portable compilation toolchain? Like arduino-cli?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-03-26 8:08 AM
Hi,
I try to work on Nucleao L476RG, and I cannot compile.
I'm from Arduino world, I'm looking for something all-in-one like their arduino-cli.
- I tried with gcc but I cannot compile, find right arguments, and it take more than 1Gb installation
- I tried with compilation provided by use of Mbed_installer_v0.4.10.exe, but it needs mbed-os and aks for more than 1Gb of download.
- I tried STM32CubeProgrammer_CLI but Ithink it's not the right tool
- I tried arduino-cli with data from STM32Duino (https://github.com/stm32duino) and it works, but I would like to use toolchain from ST.
Is there any simple toolchain from ST ?
Many thanks.
- Labels:
-
STM32L4 series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-03-26 9:43 AM
You can use either STM32CubeIDE (https://www.st.com/en/development-tools/stm32cubeide.html) or Atollic TrueStudio (https://atollic.com/truestudio/) which I prefer but is depricated. If you don't have STM32CubeMX (https://www.st.com/en/development-tools/stm32cubemx.html) then you should get that also.
Andy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-03-26 9:46 AM
Thanks for answering, but I'm looking for is just compiling code, create .bin or .hox to upload. Not a total IDE.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-03-26 10:30 AM
​
Just unpack the .zip anywhere, it should work.​ Of course you need a few arguments, because it can't tell on its own which MCU series do you have.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-03-26 2:51 PM
Rudimentary examples using gcc from pack linked to by berendi on my website efton.sk/STM32 - while they are for the 'L476 Disco rather than Nucleo, they should be fairly easy to port, and the basic blinky has a Nucleo variant too.
JW
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-03-26 5:40 PM
Many thanks! And how do you know what arguments do you have to use?
I see it in your c.bat file, how can you find this ?
