cancel
Showing results for 
Search instead for 
Did you mean: 

Can I Program STM32-Nucleo Boards With Ubuntu-32 bit?

Dorman Gareth
Associate
Posted on September 26, 2017 at 15:15

Hi,

I am looking to get started with STM32. When studying, I came around this 

http://www.mouser.com/ds/2/389/nucleo-f031k6-973846.pdf

.

As seen on Page 2, of this document, I see that it says: 

System Requirements:

Windows® OS (XP, 7, 8 and 10), Linux® 64-bit or macOS™

I did read, one more datasheet of another nucleo board and it said the same requirement.

I have access to a 32 bit Ubuntu only. Does it means that my STM32 journey has ended (or vastly limited) before starting ?

In short, do most

STM32

devices require a 64 bit Linux environment?
4 REPLIES 4
Posted on September 26, 2017 at 20:10

>>In short, do most

STM32

devices require a 64 bit Linux environment?

The devices don't inherently depend on such, just the tools you choose to use.

I can run GCC/GNU ARM cross compilers on 32-bit Linux platforms, most systems from the last decade can run 64-bit Linux.

With mbed you have the Nucleo show up as a USB MSC (flash drive) into which you drop compiled binary code.

Just don't expect commercial entities to expend a lot of resources supporting antiquated/limited hardware.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Posted on September 27, 2017 at 06:44

Umm.. Could you please suggest any one such compiler for my 32 bit Linux?

Posted on September 27, 2017 at 07:50

Rowley (Crossworks for ARM) has a working Linux version.

I am using it for years now, on a 32-bit OS.

Else, either a plain command line toolchain, or a tinker IDE with Eclipse. Several compiler/linker are freely available.

rchrdlyon1
Associate II
Posted on September 28, 2017 at 00:34

You need to check if stmcube depends upon a 64-bit JVM. (See ST Micro web site).

Other tools required are: gcc/make/gdb and openocd. Most of the commercial products are based on these open source products. I use the open source versions (

https://launchpad.net/gcc-arm-embedded

 ) and find they are acceptable. If 32-bit binaries are not available you can create them from the source code.