[En-Nut-Discussion] Where does the LICENSE_ST_GUIDANCE_ONLY require from

Henrik Maier hmnews at proconx.com
Sat Jan 26 04:17:21 CET 2013


On 25/01/2013 8:32 PM, Uwe Bonnes wrote:
> Hello Harald,
>
> the STM32 tree contains some files with with the clause
> "* Licensed under MCD-ST Liberty SW License Agreement V2, (the "License");"
> So I understand the requirement in th configurator/config file to accept
> that license with
> LICENSE_MCD_ST_LIBERTY = ""
>
> However I see no STM clause which could cause the requirement for the
> LICENSE_ST_GUIDANCE_ONLY = ""
> acceptance, beside the rather general clause in the file
>   * THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS
>   * WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE
>   * TIME. AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY
>   * DIRECT, INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING
>   * FROM THE CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE
>   * CODING INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS.
>   *
>
> It this what causes the
> LICENSE_ST_GUIDANCE_ONLY = ""
> requirement? And if yes, is it really needed?
>
> Bye
>

If these LICENSE_XXX tags are added to the .conf files of the Nut/OS 
distribution, this would not really constitute acceptance of the licence 
would it?

If a user loads a .conf file, for example stm3210e-eval.conf, whith the 
LICENSE tags included in it, then he would not even take notice of this 
fact.

On the contrary if the LICENSE tags are omitted in the STM32 .conf 
files, then compilation of the applications will fail and the user has 
no clue why.

If the tags remain omitted in the .conf files then I suggest to add a 
#error directive to the STM32 headers which checks whether the tags are 
set and if not, give a hint that the user has to add those and by doing 
so accept the license. For example:

#ifndef LICENSE_MCD_ST_LIBERTY
#error You must add the tag LICENSE_MCD_ST_LIBERTY to the .conf file and 
by doing so accept the special license conditions of ST Microelectronics
#endif

Cheers,

Henrik



More information about the En-Nut-Discussion mailing list