aboutcode-org / aboutcode-org/scancode-toolkit
Missing licenses from ST
- 主要语言
- Python
- 星标
- 2.6k
- 派生
- 791
- 平均合并
- 1 天 12 小时
- 30 天内合并 PR
- 5
描述
Hello,
ST uses two types of licenses, which are currently not detected.
The first one has additional requirements to the BSD-style license, and is currently detected as simply BSD.
You can find multiple samples of this here on Github, like:
https://github.com/akospasztor/stm32-bootloader/blob/master/Middlewares/Third_Party/FatFs/src/diskio.c
or
https://github.com/aws/amazon-freertos/blob/master/lib/third_party/mcu_vendor/st/stm32l475_discovery/BSP/B-L475E-IOT01/stm32l475e_iot01_tsensor.c
The second one is something "different":
https://github.com/micropython/micropython/blob/master/ports/stm32/usbhost/Class/AUDIO/Inc/usbh_audio.h
or
https://github.com/JoeMerten/Stm32-Tools-Evaluation/blob/master/STM32Cube_FW_F4_V1.9.0/Middlewares/ST/STM32_USB_Host_Library/Core/Src/usbh_core.c
The license is already named in #662 but is declared resolved in #900 however, the license text added in #900 is different.
The following rules add a detection, I welcome a better naming of the files/rules and category.
[missingLicenses.zip](https://github.com/nexB/scancode-toolkit/files/3147683/missingLicenses.zip)
贡献指南
评估
这个 Issue 还没有评估数据。