cancel
Showing results for 
Search instead for 
Did you mean: 

Commercial usage of code generated by STM32CubeMX

Dominic P
Associate

Posted on March 07, 2018 at 13:49

Hello ST community,

Our customer requested a software development for his device based on a ST microcontroller. After the development process ends he wants to have the source code what is a common condition for a service request.

When I use directly the HAL library there shouldn't be any license problems like explained in this topic:

https://community.st.com/s/question/0D50X00009XkeH0SAJ/commercial-use-of-st-hal-libraries-and-middlewares

But is it allowed to propagate the generated code (Init functions, HAL...) and the project file of STM32CubeMX? According to the license agreement

http://www.st.com/resource/en/license_agreement/dm00217720.pdf

:

Unless otherwise explicitly stated in this Agreement, You may not sell, assign, sublicense, lease, rent or otherwise distribute the Licensed Software for commercial purposes, in whole or in part.

...

No source code relating to and/or based upon Licensed Software is to be made available or sub-licensed by You unless expressly permitted under the Section �License�.

The generated code belongs to the Licensed Software.

The propagation of source code isn't mentioned in the license section.

So I'm not allowed to propagte the source code to our customer when I use STM32CubeMX. Only binary propagation is allowed.

So I have to use the specific HAL library.

Am I wrong?

Thanks in advance.

0 REPLIES 0