codebndr / arduino-core-files Goto Github PK
View Code? Open in Web Editor NEWThe Arduino core files, used for compilation (LINUX)
Home Page: http://codebender.cc
The Arduino core files, used for compilation (LINUX)
Home Page: http://codebender.cc
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: "(" unexpected"
}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.