Giter Site home page Giter Site logo

tomfreudenberg / udoo-arduino-cli Goto Github PK

View Code? Open in Web Editor NEW
22.0 9.0 9.0 84.88 MB

UDOO command line environment to compile and flash Arduino sketch from shell.

Shell 0.10% Arduino 1.13% C 44.33% C++ 22.99% Makefile 0.18% Processing 0.01% Assembly 0.54% HTML 28.29% Objective-C 1.51% Python 0.28% Logos 0.07% XC 0.02% XS 0.02% CSS 0.53%
udoo arduino-ide cli

udoo-arduino-cli's People

Contributors

tomfreudenberg avatar

Stargazers

 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

udoo-arduino-cli's Issues

error: 'sendSignal' was not declared in this scope

Hi,

I have a sketch that compiles flawlessly with the Arduino IDE on the GUI of my Udoo. However, when using udoo-arduino-cli, I get this error for function calls:

error: 'sendSignal' was not declared in this scope
sendSignal();

Anything I can do to fix it?

Thanks,

Francis

Compiling for NodeMCU boards?

Hello.
First of all thank you for this script. I'm curious if it is possible to compile and upload code to ESP8266 based nodeMCU boards using this script?

bossac: No such file or directoy

If running udoo-arduino-cli on newer OS sometimes ld-linux.so.3 is not linked at /lib. While trying to flash you got:

-su: /usr/local/lib/udoo-arduino-cli/hardware/tools/bossac: No such file or directory

In such a case you will have to create a symbolic link to standard library

cd /lib
ln -s arm-linux-*/ld-linux.so.3 .

After that you can continue flashing your arduino.

libmpc.so.2: cannot open shared object file

If running udoo-arduino-cli on newer OS sometimes libmpc.so is available at a newer release. While trying to compile you got:

CC (Project INO/CPP files)

/usr/local/lib/udoo-arduino-cli/hardware/tools/gcc-arm-none-eabi/bin/
../lib/gcc/arm-none-eabi/4.8.3/cc1plus:

error while loading shared libraries:
libmpc.so.2: cannot open shared object file: No such file or directory

In such a case you will find the newer lib at /usr/lib/arm-linux-*. When creating a symbolic link, cc1plus will work as expected.

cd /usr/lib/arm-linux-*
ls libmpc.so.?

Let`s assume the result is

libmpc.so.3

Now just create the missing symbolic link:

ln -s libmpc.so.3 libmpc.so.2

You are able to continue with your build processes.

/sys/class/gpio/gpio0/direction: No such file or directory

I downloaded the binary for raspberry pi, beaglebone black and dpkg - it on my udoo dual with udoobuntu v2 However I got this error. Previously, it had worked fine on udoo with earlier ubuntu's. The error is in lines 443-447 of /usr/local/bin/udoo-arduino-build.

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.