RIOT icon indicating copy to clipboard operation
RIOT copied to clipboard

Licenses problems in RIOT's header files

Open dangnhat opened this issue 12 years ago • 3 comments

While I was working with #1803 , there are a lot of header files with unknown licenses in cpu folder which can't be listed and categorized as:

  1. Don't have Liscence header cpu/arm_common/include/arm_cpu.h cpu/arm_common/include/hwtimer_cpu.h cpu/arm_common/include/iap.h cpu/msp430-common/include/sys/time.h cpu/msp430-common/include/time.h cpu/lpc1768/include/cmsis.h cpu/lpc1768/include/cpu-conf.h cpu/lpc1768/include/cpu.h cpu/lpc1768/include/hwtimer_cpu.h cpu/lpc2387/include/lpc2387.h cpu/lpc2387/include/lpc23xx.h (NXP's style ?) cpu/x86/include/x86_pci_init.h
  2. Old RIOT liscence style cpu/mc1322x/asm/include/adc.h cpu/mc1322x/asm/include/asm.h cpu/mc1322x/include/cpu-conf.h cpu/mc1322x/include/cpu.h cpu/mc1322x/include/gpio.h cpu/mc1322x/include/mc1322x.h cpu/mc1322x/maca/include/maca.h cpu/mc1322x/maca/include/maca_packet.h
  3. ARM's style - 2013 cpu/cortex-m0_common/include/core_cm0.h cpu/cortex-m4_common/include/core_cm4.h cpu/cortex-m4_common/include/core_cm4_simd.h
  4. Nodric's style cpu/nrf51822/include/nrf51.h cpu/nrf51822/include/nrf51_bitfields.h
  5. ST's style cpu/stm32f1/include/stm32f10x.h
  6. Stanford's style cpu/x86/include/x86_ports.h

There're also quite a lot of file with unknown licenses header in other folder (e.g. boards, drivers, sys etc.).

For the files in 1. and 2., we should add/replace with our new license header of course. For other files, I think we should extend the pattern for the licenses checking script or we can just make a blacklist files which will not be checked. ;-)

dangnhat avatar Oct 15 '14 16:10 dangnhat

I agree with 1. and 2.

Extension of license patterns is fairly easy and should be done for 3. and following.

LudwigKnuepfer avatar Oct 16 '14 08:10 LudwigKnuepfer

BTW: https://github.com/RIOT-OS/RIOT/issues/392

LudwigKnuepfer avatar Oct 30 '14 20:10 LudwigKnuepfer

@LudwigOrtmann : right, this is probably duplicated with #392. I will close it now ;-)

dangnhat avatar Oct 31 '14 00:10 dangnhat