@Lazar-Demin So to program the Arduino Dock v2 we need an external programmer?
jonty
@jonty
Best posts made by jonty
Latest posts made by jonty
-
RE: Arduino Dock - avrdude: AVR device not responding
-
Omega2: pip3 requests - Out of Memory
I have an Omega2 running the latest firmware version 0.3.2 (b233).
I followed the Boot from External Storage to increase the Omega's storage capacity.
I tried to install the Python
requests
module usingpip3
. But I get the following memory errors:Do I need to follow the Extend the Available Memory guide in order to fix this issue?
-
Boot from External Storage - Can't create /fstab: Read-only file system
I'm trying to Boot from an External Storage USB Drive on my Omega2 running the latest firmware(v233).
When I try to generate the device’s
fstab
entry usingblock-mount
:
block detect > /etc/config/fstab
, I get the following error:can't create /etc/config/fstab: Read-only file system
What could be the reason for this and is there a way to fix this?
-
RE: AWS IoT Python SDK v2 Installation
@crispyoz Interesting. I got the Omega2 so I'll have to make do with a single USB drive.
-
RE: AWS IoT Python SDK v2 Installation
@Lazar-Demin Can I perform both methods on the same USB drive thereby extending both the storage and the memory of the Omega?
-
RE: AWS IoT Python SDK v2 Installation
@Lazar-Demin I had extended my Omega's memory by following the Boot from external storage because I ran out of memory when I tried to install
python3
andpip
packages.Will I be able to install those packages if I follow the extend the available memory with a swap file guide?
Also is it possible to install AWS IoT Python SDK v2 on the Omega2 with this method?
-
RE: AWS IoT Python SDK v2 Installation
I also tried installing the AWS IoT Python SDK v1 using
pip3 install AWSIoTPythonSDK
but I get the following error:
even though I have extended my Omega's memory with a 4GB USB drive.Essentially I want to install and run either v1 or v2 of the AWS IoT Python SDK on my Omega2 running the latest firmware. Has anyone managed to do it successfully?
-
AWS IoT Python SDK v2 Installation
Has anyone managed to install the AWS IoT Python SDK v2 on the Omega2?
I tried to install it from PyPI using
python3 -m pip install awsiotsdk
but I keep getting the following error:Collecting awsiotsdk Downloading https://files.pythonhosted.org/packages/55/d1/239722d8cea8e3a1c4a822a7f90e09961e1863a75e64a2227ac96653b16d/awsiotsdk-1.5.6-py3-none-any.whl Collecting awscrt==0.10.7 (from awsiotsdk) Downloading https://files.pythonhosted.org/packages/8c/33/8d8a4ccce58eaccfac2321c6111226693d84c6b9ef485bcaf42dc1d3bd6f/awscrt-0.10.7.tar.gz (2.8MB) 54% |█████████████████▍ | 1.5MB 697bytes/s eta 0:31:03Bus error
It seems like it's got something to do with the lack of availability of the precompiled wheels for the Omega.
AWS recommends installing the following packages if we encounter the precompiled wheels issue mentioned above:
sudo apt-get update sudo apt-get install cmake sudo apt-get install libssl-dev
But since the Omega uses opkg package installer instead of apt-get and OpenWRT doesn't support
cmake
andlibssl-dev
, I haven't managed to find something that works with the Omega system.Is there a way to fix these issues and get the AWS IoT Python SDK to work with my Omega2?
-
RE: Arduino Dock - avrdude: AVR device not responding
SOLVED:
I just made sure it was running the latest firmware and ran the package installation steps again:opkg update opkg install arduino-dock-2