Giter Site home page Giter Site logo

arduinoonbeaglebone's Introduction

arduinoonbeaglebone's People

Contributors

todbot avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

bewest dunk8888

arduinoonbeaglebone's Issues

Leonardo & USBCore.cpp issues

Tod, thank you for publishing this project; I'm looking forward to using it.

I'm running into an issue which I hope you can help me resolve. When I make for a Leonardo board, I get the following:

$ make
mkdir -p .lib//usr/local/avr/arduino/hardware/arduino/cores/arduino/
/usr/local/avr/bin/avr-g++ -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=100 -I. -Iutil -Iutility -I/usr/local/avr/arduino/hardware/arduino/cores/arduino -I/usr/local/avr/arduino/hardware/arduino/variants/leonardo/ -c -o .lib//usr/local/avr/arduino/hardware/arduino/cores/arduino/USBCore.cpp.o /usr/local/avr/arduino/hardware/arduino/cores/arduino/USBCore.cpp
/usr/local/avr/arduino/hardware/arduino/cores/arduino/USBCore.cpp:78:2: error: 'USB_VID' was not declared in this scope
/usr/local/avr/arduino/hardware/arduino/cores/arduino/USBCore.cpp:78:2: error: 'USB_PID' was not declared in this scope
/usr/local/avr/arduino/hardware/arduino/cores/arduino/USBCore.cpp:81:2: error: 'USB_VID' was not declared in this scope
/usr/local/avr/arduino/hardware/arduino/cores/arduino/USBCore.cpp:81:2: error: 'USB_PID' was not declared in this scope
/usr/local/avr/arduino/hardware/arduino/cores/arduino/USBCore.cpp: In function 'int USB_Send(u8, const void_, int)':
/usr/local/avr/arduino/hardware/arduino/cores/arduino/USBCore.cpp:270:5: warning: unused variable 'zero'
make: *_* [.lib//usr/local/avr/arduino/hardware/arduino/cores/arduino/USBCore.cpp.o] Error 1

I am using a Beaglebone Black running Angstrom Linux. If I choose any other board (e.g. uno) I am able to run make successfully; it is only with Leonardo that I run into this problem. There is nothing else special or unique about my config; it's pretty much off-the-shelf.

Thanks in advance!

Upload issue

I am able to compile the Ardiuno sketch, but unable to upload.
I get the following error. Any ideas?

root@beaglebone:~/code/arduino_projects/NodeWebClient# make upload
\nUploading to board...
stty -F /dev/ttyACM0 hupcl
/usr/local/avr/bin/avrdude -DV -p atmega328p -P /dev/ttyACM0 -c arduino -b 115200 -U flash:w:NodeWebClient.hex:i

avrdude: stk500_getparm(): (a) protocol error, expect=0x14, resp=0x00
avrdude: stk500_initialize(): (b) protocol error, expect=0x10, resp=0x03
avrdude: initialization failed, rc=-1
Double check connections and try again, or use -F to override
this check.

avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x10

avrdude done. Thank you.

make: *** [upload] Error 1

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.