hary
Posts: 105
Joined: Wed Jan 18, 2017 8:17 am

Am I running 32 or 64 bit ?

Sun Sep 15, 2019 2:50 am

Hi

I want to reinstall a proper arduino version on my new raspbian ans I'm offered the choice to go for an ARM 32 or ARM 64 bit version.

Which one should I choose ?

I'm on a Pi3, but can't find out if I'm running 32 or 64 bit OS ?

How can I know ?

trejan
Posts: 4464
Joined: Tue Jul 02, 2019 2:28 pm

Re: Am I running 32 or 64 bit ?

Sun Sep 15, 2019 2:59 am

If you're running Raspbian then it'll be 32 bit. Run "uname -m" to confirm. If it says aarch64 then it is 64 bit. If it says armv7l then it is 32 bit.

hary
Posts: 105
Joined: Wed Jan 18, 2017 8:17 am

Re: Am I running 32 or 64 bit ?

Sun Sep 15, 2019 6:58 am

Thanks for the response.

Code: Select all

pi@raspberrypi:~ $ uname -m
armv7l

So it seems to be 32 bit
I think I have no choice but installing Arduino in 32 bits version so !

Last question :
Why Raspbian is always "delivered" with an old? / strange version of Arduino (Arduino 2:1.0.5+dfsg2-4.1) instead of the present one Arduino 1.8.10 ?

User avatar
rpdom
Posts: 20046
Joined: Sun May 06, 2012 5:17 am
Location: Chelmsford, Essex, UK

Re: Am I running 32 or 64 bit ?

Sun Sep 15, 2019 7:07 am

hary wrote:
Sun Sep 15, 2019 6:58 am
Why Raspbian is always "delivered" with an old? / strange version of Arduino (Arduino 2:1.0.5+dfsg2-4.1) instead of the present one Arduino 1.8.10 ?
Ask the Debian people. Raspbian is basically the current Debian system recompiled to work on the Pi 1 with a few optimisations, plus some extra Pi specific tweaks and extra packages.

Some of the "tweaks" involve using later versions of packages than are available in the current Debian Stable system, but only ones that are going to be used a lot on the Pi. Packaging up and supporting a newer version of some software that is only going to be of interest to a few people is something the Raspberry Pi and Raspbian people simple don't have the time to manage.
Unreadable squiggle

User avatar
DougieLawson
Posts: 42158
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK

Re: Am I running 32 or 64 bit ?

Sun Sep 15, 2019 9:27 am

Get this: https://www.arduino.cc/download_handler ... arm.tar.xz
The only problem I've got with that version is that Expressif haven't built a version of their ESP support to go with it, so I can't program a Wemos on a Raspberry.
Languages using left-hand whitespace for syntax are ridiculous

DMs sent on https://twitter.com/DougieLawson or LinkedIn will be answered next month.
Fake doctors - are all on my foes list.

The use of crystal balls and mind reading is prohibited.

User avatar
ShiftPlusOne
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 6383
Joined: Fri Jul 29, 2011 5:36 pm

Re: Am I running 32 or 64 bit ?

Sun Sep 15, 2019 10:15 am

Last time I checked, it was licensing issues.

Debian maintainers have been waiting on this for 4 years: https://github.com/arduino/Arduino/pull/2703

https://bugs.debian.org/cgi-bin/bugrepo ... bug=780706

hippy
Posts: 11966
Joined: Fri Sep 09, 2011 10:34 pm
Location: UK

Re: Am I running 32 or 64 bit ?

Sun Sep 15, 2019 2:06 pm

This will install the latest 1.8.9 1.8.10 version of the Arduino IDE on a Pi -

Code: Select all

cd ~
wget https://downloads.arduino.cc/arduino-1.8.10-linuxarm.tar.xz
tar -xvf arduino-1.8.10-linuxarm.tar.xz
cd arduino-1.8.10
sudo ./install.sh
From the Pi desktop; select the Start Menu, Programming, and click on the Arduino IDE option.
Last edited by hippy on Sun Sep 15, 2019 9:58 pm, edited 1 time in total.

hary
Posts: 105
Joined: Wed Jan 18, 2017 8:17 am

Re: Am I running 32 or 64 bit ?

Sun Sep 15, 2019 7:26 pm

DougieLawson wrote:
Sun Sep 15, 2019 9:27 am
Get this: https://www.arduino.cc/download_handler ... arm.tar.xz
The only problem I've got with that version is that Expressif haven't built a version of their ESP support to go with it, so I can't program a Wemos on a Raspberry.
Do you mean the 1.8.10 that you cannot program ESP8266 ?

I specificly need to program ESP. What's the latest arduino version is best to not face any problem ?

User avatar
DougieLawson
Posts: 42158
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK

Re: Am I running 32 or 64 bit ?

Sun Sep 15, 2019 9:33 pm

I've not tried it with 1.8.10 on a Raspberry.
Languages using left-hand whitespace for syntax are ridiculous

DMs sent on https://twitter.com/DougieLawson or LinkedIn will be answered next month.
Fake doctors - are all on my foes list.

The use of crystal balls and mind reading is prohibited.

hary
Posts: 105
Joined: Wed Jan 18, 2017 8:17 am

Re: Am I running 32 or 64 bit ?

Mon Sep 16, 2019 7:37 pm

I'm presently running Arduino 1.8.9 on a Linux Mint (X86 laptop) and programming ESP82666 seems to work without any issue !

Return to “Beginners”