Coder Social home page Coder Social logo

Add build test and CI about nanpy-firmware HOT 5 CLOSED

nanpy avatar nanpy commented on August 11, 2024
Add build test and CI

from nanpy-firmware.

Comments (5)

ponty avatar ponty commented on August 11, 2024

@astagi
Please enable TravisCI for the project and add the badge.

from nanpy-firmware.

astagi avatar astagi commented on August 11, 2024

I made some little changes to travis.yml, anyway I still get an error in WireClass, looks like endTransmission doesn't accept any parameter (https://travis-ci.org/nanpy/nanpy-firmware)

build/local/WireClass.cpp: In member function 'virtual void nanpy::WireClass::elaborate(nanpy::MethodDescriptor*)':
build/local/WireClass.cpp:31:75: error: no matching function for call to 'TwoWire::requestFrom(int, int, int)'
build/lib_00/Wire/Wire.h:53:13: note: candidates are: uint8_t TwoWire::requestFrom(uint8_t, uint8_t)
build/lib_00/Wire/Wire.h:54:13: note:                 uint8_t TwoWire::requestFrom(int, int)
build/local/WireClass.cpp:39:51: error: no matching function for call to 'TwoWire::endTransmission(int)'
build/lib_00/Wire/Wire.h:52:13: note: candidate is: uint8_t TwoWire::endTransmission()
scons: *** [build/local/WireClass.o] Error 1

from nanpy-firmware.

astagi avatar astagi commented on August 11, 2024

Looks like endTransmission doesn't accept parameters

https://github.com/nanpy/nanpy-firmware/blob/master/Nanpy/WireClass.cpp#L39

http://arduino.cc/en/Reference/WireEndTransmission

from nanpy-firmware.

ponty avatar ponty commented on August 11, 2024

Passing! I updated Arduino to 1.0.5 in travis config. The Wire interface changed in 1.0.1 and TravisCi has only 1.0.

from nanpy-firmware.

astagi avatar astagi commented on August 11, 2024

That's awesome! :) closing...

from nanpy-firmware.

Related Issues (20)

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.