Licenses problems in RIOT's header files
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:
- 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
- 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
- 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
- Nodric's style cpu/nrf51822/include/nrf51.h cpu/nrf51822/include/nrf51_bitfields.h
- ST's style cpu/stm32f1/include/stm32f10x.h
- 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. ;-)
I agree with 1. and 2.
Extension of license patterns is fairly easy and should be done for 3. and following.
BTW: https://github.com/RIOT-OS/RIOT/issues/392
@LudwigOrtmann : right, this is probably duplicated with #392. I will close it now ;-)