Hi, I just looked though all of the files in the larva repo to see how everything is licensed. I look at the other repos some time next week unless someone beats me to it.
If you’re not interested in licensing you can skip this as it’s long but there are a few minor issues that will need to be resolved at some point before graduation. Summary: - Most of what is bundled permissive BSD, MIT or public domain compatible with the Apache license. All good but makes for a long LICENSE file. - Need to double check how mbed ARM files we use are licensed. Looks to be Apache. - Probably remove this file .git/hooks/pre-rebase.sample (license in unknown) - Remove or replace boot-stm32f3discovery.ld and stm32f3discovery.ld (license contains restrictions). Is this possible? - Double check FatFS is permissive (It looks likely to me) - Work how to deal with MCD-ST Liberty SW License We could make a release without this issue being resolved if we bring attention to them and note so in the release note, so it doesn’t have to hold up the release plans. The MCD-ST Liberty SW License is probably the biggest issue while it's BSD-like but includes this clause: 4. This software, including modifications and/or derivative works of this software, must execute solely and exclusively on microcontroller or microprocessor devices manufactured by or for STMicroelectronics. We will probably have to raise a legal JIRA for this but lets discuss first. I assume the plan is for the code to run on there boards? Also a minor thing should the NOTICE file mention Stack Inc, Runtime Inc or both? In the repo is the following: BSD licensed microjson ./libs/json/src/json_decode.c Also BSD - Nordic Semiconductor ./hw/mcu/nordic/nrf5* And BSD - The Regents of the University of California. ./libs/os/src/os_mbuf.c ./libs/os/include/os/queue.h BSD - Kungliga Tekniska Högskolan ./libs/util/src/base64.c BSD - KEIL (ARM Germany GmbH) ./libs/os/src/arch/cortex_m0/m0/HAL_CM0.s ./libs/os/src/arch/cortex_m0/m0/SVC_Table.s ./libs/os/src/arch/cortex_m4/m4/HAL_CM4.s ./libs/os/src/arch/cortex_m4/m4/SVC_Table.s BSD-style (looks like Tcl/Tk license?) CodeSourcery ./hw/bsp/nrf51dk/boot-nrf51dk.ld ./hw/bsp/nrf51dk/nrf51dk.ld ./hw/bsp/nrf51dk/nrf51dk_no_boot.ld ./hw/bsp/nrf52pdk/nrf52pdk.ld Unknown from header but likely open source (see https://developer.mbed.org/blog/entry/mbed-SDK-is-now-Open-Source/) mbed ARM: ./hw/bsp/nrf51dk/include/bsp/cmsis_nvic.h ./hw/bsp/nrf52pdk/include/bsp/cmsis_nvic.h ./hw/bsp/olimex_stm32-e407_devboard/include/bsp/cmsis_nvic.h ./hw/bsp/stm32f3discovery/include/bsp/cmsis_nvic.h ./libs/cmsis-core/src/cmsis_nvic.c BSD ARM Limited ./hw/bsp/olimex_stm32-e407_devboard/src/arch/cortex_m4/startup_STM32F40x.s BSD Georges Meni ./fs/nffs/src/crc16.c ./fs/nffs/src/crc16.h Unknown but I assume can be removed? # Copyright (c) 2006, 2008 Junio C Hamano ./.git/hooks/pre-rebase.sample MIT Lua ./libs/elua/elua_base/src/lua.h ISSUE! - Copyright Atollic AB ./hw/bsp/stm32f3discovery/boot-stm32f3discovery.ld ./hw/bsp/stm32f3discovery/stm32f3discovery.ld As the header contains: “This file may only be built (assembled or compiled and linked) ** using the Atollic TrueSTUDIO(R) product. The use of this file together ** with other tools than Atollic TrueSTUDIO(R) is not permitted.” BSD cmsis core ARM LIMITED ./libs/cmsis-core/include/cmsis-core/* BSD Baselibc Kustaa Nyholm / SpareTimeLabs see ./libs/baselibc/LICENSE includes BSD licensed Tinyprintf and BSD files from Regents of The University of California, rest of the files are MIT Dual licensed BSD / GPL Tinyprintf ./libs/baselibc/src/tinyprintf.c MIT Lua Also includes XMODEM (BSD), lpack (public domain), bit (MIT), integer only lua (PD), dlmalloc (PD), uIP (BSD), FatFs(?), Lua-RPC(?), linenoise (BSD) I think the FatFS is permissive - see: https://github.com/elua/elua/blob/master/LICENSE.fatfs (but this file is missing form the repo) Lua RC is BSD but the file is missing from our repo. https://github.com/elua/elua/blob/master/LICENSE.luarpc Apache license - stack Inc ./hw/mcu/nordic/nrf51xxx/src/hal_cputime.c ./hw/mcu/nordic/nrf51xxx/src/hal_cputime.c ISSUE! - Licensed under MCD-ST Liberty SW License Agreement V2 ./hw/bsp/stm32f3discovery/src/arch/cortex_m4/startup_stm32f303xc.s ./hw/bsp/stm32f3discovery/src/system_stm32f30x.c ./hw/mcu/stm/stm32f3xx/include/mcu/* ./hw/mcu/stm/stm32f3xx/src/* ./hw/mcu/stm/stm32f4xx/include/mcu/system_stm32f4xx.h + a couple of other files Thanks, Justin
