Go Down

Topic: How to use arduino-builder file from ARDUINO WEB EDITOR. (Read 136 times) previous topic - next topic

BassKriangkrai

Jan 22, 2017, 09:05 am Last Edit: Jan 22, 2017, 09:20 am by BassKriangkrai
How to create my web editor from https://github.com/arduino/arduino-builder

I'm trying create this web for education, but I don't know how to use arduino-builder-master.zip
https://create.arduino.cc/editor

Or do you have any API for create.arduino.cc or plugin?




pert

#1
Jan 22, 2017, 10:59 am Last Edit: Jan 22, 2017, 12:22 pm by pert Reason: Fix build URL
How to create my web editor from https://github.com/arduino/arduino-builder

I'm trying create this web for education
You would probably need to provide more details of what you're trying to accomplish.

I don't know how to use arduino-builder-master.zip
That's the source code for arduino-builder. If you want to build it from source there are some instructions here:
https://github.com/arduino/arduino-builder#building-from-source
However, if you just want to use arduino-builder there are pre-built versions of each release for each OS available here:
https://github.com/arduino/arduino-builder/releases
instructions here:
https://github.com/arduino/arduino-builder/blob/master/README.md

Or do you have any API for create.arduino.cc or plugin?
Maybe this would provide some information:
https://groups.google.com/a/arduino.cc/forum/#!topic/developers/Yz-dUSIQC54

BassKriangkrai

You would probably need to provide more details of what you're trying to accomplish.
That's the source code for arduino-builder. If you want to build it from source there are some instructions here:
https://github.com/arduino/arduino-builder#using-it-for-continuously-verify-your-libraries-or-cores
However, if you just want to use arduino-builder there are pre-built versions of each release for each OS available here:
https://github.com/arduino/arduino-builder/releases
instructions here:
https://github.com/arduino/arduino-builder/blob/master/README.md
Maybe this would provide some information:
https://groups.google.com/a/arduino.cc/forum/#!topic/developers/Yz-dUSIQC54
Thank you for your answer.
1. What is arduino-builder?
2. Should I use any program to run file in arduino-builder ?  :smiley-sweat:

pert

1. What is arduino-builder?
From https://github.com/arduino/arduino-builder/blob/master/README.md:
Quote
A command line tool for compiling Arduino sketches

This tool is able to parse Arduino Hardware specifications, properly run gcc and produce compiled sketches.

An Arduino sketch differs from a standard C program in that it misses a main (provided by the Arduino core), function prototypes are not mandatory, and libraries inclusion is automagic (you just have to #include them). This tool generates function prototypes and gathers library paths, providing gcc with all the needed -I params.
2. Should I use any program to run file in arduino-builder ?  :smiley-sweat:
I don't understand what you mean by that. Please explain.

Honestly, from these questions I don't think you're quite up to creating your own web editor. Why not just use https://create.arduino.cc/editor or the standard Arduino IDE?

BassKriangkrai

From https://github.com/arduino/arduino-builder/blob/master/README.md:I don't understand what you mean by that. Please explain.

Honestly, from these questions I don't think you're quite up to creating your own web editor. Why not just use https://create.arduino.cc/editor or the standard Arduino IDE?
Now, I have been trying to make the website for programming and upload it to the Arduino board.
That will be use for kids, the stater users and who never have programming skill.

Do you have any idea for this?

pert

Do you have any idea for this?
Yes, use the website that Arduino spent years and tens of thousands of dollars building, the website that has a team of developers constantly maintaining and improving it, the website that has a section of the Arduino forum dedicated to it with answers to any question asked given in a matter of hours. Why reinvent the wheel?

BassKriangkrai

Yes, use the website that Arduino spent years and tens of thousands of dollars building, the website that has a team of developers constantly maintaining and improving it, the website that has a section of the Arduino forum dedicated to it with answers to any question asked given in a matter of hours. Why reinvent the wheel?
Thanks for the answer.
I have seen the Arduino web editor and I had the idea about the programming method with drag and drop method.
But the drag and drop programming that I have been developping will generate the source code that difference from
the normal Arduino code. So, we need the API that be used for bring my code to compile and upload on the Arduino web editor to Arduino board.
Can you tell me how I have to do. Thanks for the answer and apologize for the unclear questions.

pert

OK, now it makes more sense. The thread I linked in reply #1 from the Arduino Developers mailing list is about just what you're trying to do. When you open that link only one of the messages on the thread is open so you need to click on the others to read the whole thread. The person who responded, Massimo Banzi, is the founder and CEO of Arduino so it's a very official answer but unfortunately didn't seem to provide enough information for the person who asked the question and then the thread went dead. Massimo Banzi recommended looking at the arduino-create-agent source code and there is a bit of documentation in that repository:
https://github.com/arduino/arduino-create-agent

the drag and drop programming that I have been developping will generate the source code that difference from
the normal Arduino code.
How will it be different?

BassKriangkrai

How will it be different?
difference just some library. Thank you for your kindness.   :)  :D

Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy