Coder Social home page Coder Social logo

codebndr / arduino-core-files Goto Github PK

View Code? Open in Web Editor NEW
15.0 15.0 45.0 269.21 MB

The Arduino core files, used for compilation (LINUX)

Home Page: http://codebender.cc

Python 0.10% CSS 0.04% C 64.69% C++ 13.57% Objective-C 0.44% Shell 0.11% HTML 19.20% PHP 0.33% Pawn 0.07% CMake 0.04% Groff 0.01% Makefile 0.50% Batchfile 0.01% Logos 0.36% Assembly 0.23% Arduino 0.26% Processing 0.01% JavaScript 0.02% XC 0.01% XS 0.01%

arduino-core-files's People

Contributors

ehostunreach avatar fpapadopou avatar tzikis avatar xobs avatar

Stargazers

 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  avatar

arduino-core-files's Issues

avr-g++ execute binary error

Hello amazing codebender team!

i am trying to install your compiler for my bachelor's thesis. Everything is ok, but API answer for your example data return unsuccess compilation. I have absolutely no idea where it might be a problem. Probably it is a bug? Or did you change something but in toturial not? I'm so sorry if its problem on my side. Thanks Tomas

POST http://serverUrl/authorizationKey/v1

{
   "files":[
      {
         "filename":"hello.h",
         "content":"#define HELLO"
      },
      {
         "filename":"hello.ino",
         "content":"#include<SPI.h>\nvoid setup()\n{\n\tint bla, blabla = 5;\n}\n\nvoid loop()\n{\n\n}\n"
      }
   ],
   "libraries":
      {
         "SPI":[
            {
               "filename":"SPI.h",
               "content":"content"
            },
            {
               "filename":"SPI.cpp",
               "content":"content"
            }
         ]
      },
   "format":"syntax",
   "version":"105",
   "build":{
      "mcu":"atmega328p",
      "f_cpu":"16000000L",
      "core":"arduino",
      "variant":"standard"
   }
}

Response

{
  "success": false,
  "step": 4,
  "debug": "/opt/compiler/arduino-core-files/v105/hardware/tools/avr/bin/avr-g++: line 3: /opt/compiler/arduino-core-files/v105/hardware/tools/avr/bin/../bin.gcc/avr-g++: cannot execute binary file: Exec format error\n/opt/compiler/arduino-core-files/v105/hardware/tools/avr/bin/avr-g++: line 3: /opt/compiler/arduino-core-files/v105/hardware/tools/avr/bin/../bin.gcc/avr-g++: Success",
  "message": "(arduino core file) /clang/v3_5/bin/clang: 1: (arduino core file) /clang/v3_5/bin/clang: Syntax error: &quot;(&quot; unexpected"
}

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.