If I program Arduino in C and only use standard libraries (eeprom. math.h etc.) can I use my program commercially?
Nope....You will also need to license your code.
Thanks for the reply,
Okay, if I license my code, I have to disclose my source code, if so I don't want to.
This is our company know-how.
What other option is there?
You probably want to look into proprietary licenses.
I don't know anything else....
Why would you write Code in C for Arduino? From pure C you cannot use Arduino libraries.
I don't think you can turn open source code (like libraries) into closed source code....But I'm not a license expert as I only use open source licenses.
I only need math, eprom and wire libraries.
I'll do the rest myself.
I don't want to expose my source code, I thought if I only use standard libraries I don't need a license.
Maybe I need to switch to AVR Studio.
I don't know what happens with a microchip?
But, yet, you want to use an Arduino, which you or your company have no control over! Which ever Arduino you are choosing may and likely will be replaced with a different and more popular controller within the lifetime of your produce. This is the exact reason companies build their controllers and their software to fit their personal plans. By using an Arduino, you have given up control.
What about using only Arduino framework (without open source libraries) for programming, not the arduino hardware?
Again, what part of arduinoo do you need when you program C? get avrgcc, the docs of the atmega328 and code whatever you need in plain C. If it's commertial and you don't want any license issues then that's the way to go.
There are a couple of legal links here.
I don't completely understand it, but I think as long as you disclose the libraries you used, and provide links, I don't think you have to make your code open source...
If you modify any libraries, your modified version may become open source, depending on the license for the particular library.
Thanks for everyone,
Problem is solved. We are talking about a measuring board for temperature and voltage. We don't need a fast compiler.
BASCOM does not charge any license fees for the sale of our measuring board.
We take Arduino hardware and program with BASCOM.
This is still unclear to me. How could anyone know what libraries were used for microcontroller firmware?
Nobody can know this, but if an internal employee passes this information on to Arduino, then there are big problems.
In the past this has happened to a satellite receiver manufacturer who would have to pay a lot of money.
The usual way to to look at the code file created by the compiler. Good libraries will embed their name in the created file.
Ok, thanks and what about only using Arduino framework for programming without 3-rd party libraries and custom hardware, is that free?
How will separate the libraries from the "framework"?
What libraries?
Ok let
s get things simple as we can. For example I have a custom hardware, and I make a firmware, with Arduino IDE, just to blink a led, so I have few lines of code and I
m not including any external library. Can I sell that as a product?
It's not only 3rd party libraries.
I mostly live in the AVR world and the license for the core files (the framework as you call it) that I checked is LGPL; it's in the source code that is installed on the PC so you can check it.
That is classically know as the "black box" method. You can test the box by varying the input and noting the output. From that you can duplicate what the box is doing.
The classic prevention method is to issue periodic updates to your software to correct errors and to modify the relationship between input and output.