You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2024/10/04 00:18:50 UTC
(nuttx) branch master updated: include: migrate to SPDX identifier
This is an automated email from the ASF dual-hosted git repository.
xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git
The following commit(s) were added to refs/heads/master by this push:
new cd2fcf5252 include: migrate to SPDX identifier
cd2fcf5252 is described below
commit cd2fcf52520314bf375b4ffbf2ee527f53a0d23a
Author: Alin Jerpelea <al...@sony.com>
AuthorDate: Wed Oct 2 15:59:15 2024 +0200
include: migrate to SPDX identifier
Most tools used for compliance and SBOM generation use SPDX identifiers
This change brings us a step closer to an easy SBOM generation.
Signed-off-by: Alin Jerpelea <al...@sony.com>
---
include/aio.h | 2 +
include/alloca.h | 2 +
include/android/fdsan.h | 5 +-
include/arpa/inet.h | 2 +
include/assert.h | 2 +
include/byteswap.h | 2 +
include/crypto/aes.h | 6 +--
include/crypto/blf.h | 5 +-
include/crypto/bn.h | 3 ++
include/crypto/chachapoly.h | 5 +-
include/crypto/cmac.h | 4 +-
include/crypto/gmac.h | 4 +-
include/crypto/hmac.h | 4 +-
include/crypto/idgen.h | 6 +--
include/crypto/key_wrap.h | 5 +-
include/crypto/rmd160.h | 4 +-
include/crypto/sha2.h | 8 ++--
include/crypto/siphash.h | 7 ++-
include/ctype.h | 2 +
include/cxx/cassert | 2 +
include/cxx/cctype | 2 +
include/cxx/cerrno | 2 +
include/cxx/cinttypes | 4 +-
include/cxx/climits | 2 +
include/cxx/clocale | 2 +
include/cxx/cmath | 2 +
include/cxx/csignal | 2 +
include/cxx/cstdarg | 2 +
include/cxx/cstdbool | 2 +
include/cxx/cstddef | 2 +
include/cxx/cstdio | 2 +
include/cxx/cstdlib | 2 +
include/cxx/cstring | 2 +
include/cxx/ctime | 2 +
include/cxx/cwchar | 2 +
include/cxx/cwctype | 2 +
include/debug.h | 2 +
include/dirent.h | 2 +
include/dlfcn.h | 2 +
include/dsp.h | 2 +
include/dspb16.h | 2 +
include/elf.h | 2 +
include/elf32.h | 2 +
include/elf64.h | 2 +
include/endian.h | 2 +
include/err.h | 2 +
include/errno.h | 2 +
include/execinfo.h | 2 +
include/fcntl.h | 2 +
include/fixedmath.h | 2 +
include/fnmatch.h | 2 +
include/ftw.h | 2 +
include/getopt.h | 2 +
include/glob.h | 2 +
include/grp.h | 2 +
include/hex2bin.h | 2 +
include/iconv.h | 2 +
include/ifaddrs.h | 2 +
include/inttypes.h | 2 +
include/iso646.h | 4 +-
include/langinfo.h | 2 +
include/libgen.h | 2 +
include/libintl.h | 2 +
include/limits.h | 2 +
include/locale.h | 2 +
include/lzf.h | 7 +--
include/malloc.h | 2 +
include/mqueue.h | 2 +
include/net/ethernet.h | 2 +
include/net/if.h | 2 +
include/net/if_arp.h | 2 +
include/net/route.h | 2 +
include/netdb.h | 2 +
include/netinet/arp.h | 2 +
include/netinet/ether.h | 2 +
include/netinet/icmp6.h | 2 +
include/netinet/if_ether.h | 2 +
include/netinet/in.h | 2 +
include/netinet/ip.h | 2 +
include/netinet/ip6.h | 2 +
include/netinet/tcp.h | 2 +
include/netinet/udp.h | 2 +
include/netpacket/bluetooth.h | 2 +
include/netpacket/ieee802154.h | 2 +
include/netpacket/if_addr.h | 2 +
include/netpacket/netlink.h | 2 +
include/netpacket/packet.h | 2 +
include/netpacket/rpmsg.h | 2 +
include/nl_types.h | 2 +
include/nuttx/1wire/1wire.h | 2 +
include/nuttx/1wire/1wire_crc.h | 2 +
include/nuttx/1wire/1wire_master.h | 2 +
include/nuttx/1wire/ds28e17.h | 2 +
include/nuttx/addrenv.h | 2 +
include/nuttx/allsyms.h | 2 +
include/nuttx/analog/adc.h | 2 +
include/nuttx/analog/ads1242.h | 2 +
include/nuttx/analog/ads7828.h | 2 +
include/nuttx/analog/comp.h | 2 +
include/nuttx/analog/dac.h | 2 +
include/nuttx/analog/hx711.h | 2 +
include/nuttx/analog/ioctl.h | 2 +
include/nuttx/analog/lmp92001.h | 2 +
include/nuttx/analog/ltc1867l.h | 2 +
include/nuttx/analog/max1161x.h | 2 +
include/nuttx/analog/mcp48xx.h | 2 +
include/nuttx/analog/opamp.h | 2 +
include/nuttx/analog/pga11x.h | 2 +
include/nuttx/arch.h | 2 +
include/nuttx/ascii.h | 3 +-
include/nuttx/atexit.h | 2 +
include/nuttx/atomic.h | 2 +
include/nuttx/audio/audio.h | 2 +
include/nuttx/audio/audio_comp.h | 2 +
include/nuttx/audio/audio_dma.h | 2 +
include/nuttx/audio/audio_i2s.h | 2 +
include/nuttx/audio/audio_null.h | 3 +-
include/nuttx/audio/cs4344.h | 2 +
include/nuttx/audio/cs43l22.h | 2 +
include/nuttx/audio/es8311.h | 2 +
include/nuttx/audio/es8388.h | 2 +
include/nuttx/audio/i2s.h | 2 +
include/nuttx/audio/pcm.h | 2 +
include/nuttx/audio/tone.h | 2 +
include/nuttx/audio/vs1053.h | 2 +
include/nuttx/audio/wm8776.h | 2 +
include/nuttx/audio/wm8904.h | 2 +
include/nuttx/audio/wm8994.h | 2 +
include/nuttx/binfmt/binfmt.h | 2 +
include/nuttx/binfmt/elf.h | 2 +
include/nuttx/binfmt/ieee695.h | 2 +
include/nuttx/binfmt/nxflat.h | 2 +
include/nuttx/binfmt/symtab.h | 2 +
include/nuttx/bits.h | 2 +
include/nuttx/board.h | 2 +
include/nuttx/cache.h | 2 +
include/nuttx/can.h | 2 +
include/nuttx/can/can.h | 2 +
include/nuttx/can/mcp2515.h | 2 +
include/nuttx/can/sja1000.h | 4 +-
include/nuttx/cancelpt.h | 3 +-
include/nuttx/clk/clk.h | 2 +
include/nuttx/clk/clk_provider.h | 2 +
include/nuttx/clock.h | 2 +
include/nuttx/compiler.h | 2 +
include/nuttx/contactless/ioctl.h | 2 +
include/nuttx/contactless/mfrc522.h | 2 +
include/nuttx/contactless/pn532.h | 2 +
include/nuttx/coredump.h | 2 +
include/nuttx/coresight/coresight.h | 2 +
include/nuttx/coresight/coresight_etb.h | 2 +
include/nuttx/coresight/coresight_etm.h | 2 +
include/nuttx/coresight/coresight_funnel.h | 2 +
include/nuttx/coresight/coresight_replicator.h | 2 +
include/nuttx/coresight/coresight_stm.h | 2 +
include/nuttx/coresight/coresight_tmc.h | 2 +
include/nuttx/coresight/coresight_tpiu.h | 2 +
include/nuttx/crc16.h | 2 +
include/nuttx/crc32.h | 2 +
include/nuttx/crc64.h | 2 +
include/nuttx/crc8.h | 2 +
include/nuttx/crypto/blake2s.h | 2 +
include/nuttx/crypto/crypto.h | 2 +
include/nuttx/crypto/se05x.h | 2 +
include/nuttx/crypto/tea.h | 3 +-
include/nuttx/dma/dma.h | 2 +
include/nuttx/drivers/addrenv.h | 2 +
include/nuttx/drivers/drivers.h | 2 +
include/nuttx/drivers/goldfish_pipe.h | 2 +
include/nuttx/drivers/optee.h | 2 +
include/nuttx/drivers/ramdisk.h | 2 +
include/nuttx/drivers/rpmsgblk.h | 2 +
include/nuttx/drivers/rpmsgdev.h | 2 +
include/nuttx/drivers/rwbuffer.h | 2 +
include/nuttx/eeprom/i2c_xx24xx.h | 2 +
include/nuttx/eeprom/spi_xx25xx.h | 2 +
include/nuttx/efuse/efuse.h | 2 +
include/nuttx/efuse/sama5_sfc_fuses.h | 2 +
include/nuttx/elf.h | 2 +
include/nuttx/environ.h | 2 +
include/nuttx/envpath.h | 2 +
include/nuttx/ethtool.h | 2 +
include/nuttx/event.h | 2 +
include/nuttx/fdcheck.h | 2 +
include/nuttx/fdt.h | 2 +
include/nuttx/fs/automount.h | 2 +
include/nuttx/fs/fat.h | 2 +
include/nuttx/fs/fs.h | 2 +
include/nuttx/fs/hostfs.h | 2 +
include/nuttx/fs/ioctl.h | 2 +
include/nuttx/fs/loop.h | 2 +
include/nuttx/fs/loopmtd.h | 2 +
include/nuttx/fs/nfs.h | 16 ++-----
include/nuttx/fs/nxffs.h | 2 +
include/nuttx/fs/partition.h | 2 +
include/nuttx/fs/procfs.h | 2 +
include/nuttx/fs/smart.h | 2 +
include/nuttx/fs/userfs.h | 2 +
include/nuttx/gdbstub.h | 2 +
include/nuttx/hashtable.h | 2 +
include/nuttx/himem/himem.h | 2 +
include/nuttx/hwspinlock/hwspinlock.h | 2 +
include/nuttx/i2c/i2c_bitbang.h | 2 +
include/nuttx/i2c/i2c_master.h | 2 +
include/nuttx/i2c/i2c_slave.h | 2 +
include/nuttx/i2c/pca9540bdp.h | 2 +
include/nuttx/i2c/tca9548a.h | 2 +
include/nuttx/i3c/ccc.h | 2 +
include/nuttx/i3c/device.h | 2 +
include/nuttx/i3c/i3c_driver.h | 2 +
include/nuttx/i3c/master.h | 2 +
include/nuttx/idr.h | 2 +
include/nuttx/init.h | 2 +
include/nuttx/input/ads7843e.h | 2 +
include/nuttx/input/ajoystick.h | 2 +
include/nuttx/input/aw86225.h | 2 +
include/nuttx/input/buttons.h | 2 +
include/nuttx/input/cypress_mbr3108.h | 2 +
include/nuttx/input/djoystick.h | 2 +
include/nuttx/input/ff.h | 2 +
include/nuttx/input/ff_dummy.h | 2 +
include/nuttx/input/ft5x06.h | 2 +
include/nuttx/input/goldfish_events.h | 2 +
include/nuttx/input/gt9xx.h | 2 +
include/nuttx/input/ioctl.h | 2 +
include/nuttx/input/kbd_codec.h | 3 +-
include/nuttx/input/keyboard.h | 2 +
include/nuttx/input/max11802.h | 2 +
include/nuttx/input/mouse.h | 2 +
include/nuttx/input/mxt.h | 2 +
include/nuttx/input/nunchuck.h | 2 +
include/nuttx/input/spq10kbd.h | 2 +
include/nuttx/input/stmpe811.h | 2 +
include/nuttx/input/touchscreen.h | 2 +
include/nuttx/input/tsc2007.h | 2 +
include/nuttx/input/uinput.h | 2 +
include/nuttx/input/virtio-input-event-codes.h | 2 +
include/nuttx/input/xbox-controller.h | 5 +-
include/nuttx/instrument.h | 2 +
include/nuttx/ioexpander/gpio.h | 2 +
include/nuttx/ioexpander/icjx.h | 2 +
include/nuttx/ioexpander/ioe_dummy.h | 2 +
include/nuttx/ioexpander/ioe_rpmsg.h | 2 +
include/nuttx/ioexpander/ioexpander.h | 2 +
include/nuttx/ioexpander/iso1h812g.h | 2 +
include/nuttx/ioexpander/iso1i813t.h | 2 +
include/nuttx/ioexpander/mcp23x17.h | 2 +
include/nuttx/ioexpander/pca9538.h | 2 +
include/nuttx/ioexpander/pca9555.h | 2 +
include/nuttx/ioexpander/pcf8574.h | 2 +
include/nuttx/ioexpander/pcf8575.h | 2 +
include/nuttx/ioexpander/sx1509.h | 2 +
include/nuttx/ioexpander/tca64xx.h | 43 ++++++-----------
include/nuttx/ipcc.h | 2 +
include/nuttx/irq.h | 2 +
include/nuttx/kmalloc.h | 2 +
include/nuttx/kthread.h | 3 +-
include/nuttx/lcd/apa102.h | 2 +
include/nuttx/lcd/ft80x.h | 2 +
include/nuttx/lcd/gc9a01.h | 2 +
include/nuttx/lcd/hd4478ou.h | 3 +-
include/nuttx/lcd/ht16k33.h | 2 +
include/nuttx/lcd/ili9225.h | 2 +
include/nuttx/lcd/ili9325.h | 2 +
include/nuttx/lcd/ili9340.h | 2 +
include/nuttx/lcd/ili9341.h | 2 +
include/nuttx/lcd/jd9851.h | 2 +
include/nuttx/lcd/lcd.h | 2 +
include/nuttx/lcd/lcd_dev.h | 2 +
include/nuttx/lcd/lcd_ioctl.h | 3 +-
include/nuttx/lcd/lcddrv_spiif.h | 2 +
include/nuttx/lcd/lpm013m091a.h | 2 +
include/nuttx/lcd/max7219.h | 2 +
include/nuttx/lcd/memlcd.h | 3 +-
include/nuttx/lcd/mio283qt2.h | 4 +-
include/nuttx/lcd/mio283qt9a.h | 2 +
include/nuttx/lcd/p14201.h | 3 +-
include/nuttx/lcd/pcd8544.h | 2 +
include/nuttx/lcd/pcf8574_lcd_backpack.h | 2 +
include/nuttx/lcd/ra8875.h | 6 +--
include/nuttx/lcd/slcd_codec.h | 3 +-
include/nuttx/lcd/slcd_ioctl.h | 3 +-
include/nuttx/lcd/ssd1289.h | 3 +-
include/nuttx/lcd/ssd1306.h | 4 +-
include/nuttx/lcd/ssd1351.h | 2 +
include/nuttx/lcd/ssd1680.h | 2 +-
include/nuttx/lcd/st7032.h | 2 +
include/nuttx/lcd/st7565.h | 2 +
include/nuttx/lcd/st7567.h | 2 +
include/nuttx/lcd/st7735.h | 2 +
include/nuttx/lcd/st7789.h | 2 +
include/nuttx/lcd/tda19988.h | 2 +
include/nuttx/lcd/ug-2864ambag01.h | 3 +-
include/nuttx/lcd/ug-9664hswag01.h | 3 +-
include/nuttx/leds/apa102.h | 2 +
include/nuttx/leds/lp503x.h | 2 +
include/nuttx/leds/max7219.h | 2 +
include/nuttx/leds/ncp5623c.h | 2 +
include/nuttx/leds/pca9635pw.h | 2 +
include/nuttx/leds/rgbled.h | 2 +
include/nuttx/leds/userled.h | 2 +
include/nuttx/leds/ws2812.h | 2 +
include/nuttx/lib/builtin.h | 2 +
include/nuttx/lib/float.h | 2 +
include/nuttx/lib/lib.h | 3 +-
include/nuttx/lib/math.h | 2 +
include/nuttx/lib/math32.h | 2 +
include/nuttx/lib/modlib.h | 2 +
include/nuttx/lib/setjmp.h | 2 +
include/nuttx/lib/stdarg.h | 2 +
include/nuttx/lib/stdatomic.h | 2 +
include/nuttx/lib/xorshift128.h | 2 +
include/nuttx/lin.h | 2 +
include/nuttx/lirc.h | 2 +
include/nuttx/list.h | 7 +--
include/nuttx/math/cordic.h | 2 +
include/nuttx/math/fft.h | 2 +
include/nuttx/math/math.h | 2 +
include/nuttx/math/math_ioctl.h | 3 +-
include/nuttx/math/mpi.h | 2 +
include/nuttx/mbox/mbox.h | 2 +
include/nuttx/memoryregion.h | 2 +
include/nuttx/mm/circbuf.h | 2 +
include/nuttx/mm/gran.h | 3 +-
include/nuttx/mm/iob.h | 2 +
include/nuttx/mm/kmap.h | 2 +
include/nuttx/mm/map.h | 2 +
include/nuttx/mm/mempool.h | 2 +
include/nuttx/mm/mm.h | 2 +
include/nuttx/mmcsd.h | 2 +
include/nuttx/modem/alt1250.h | 2 +
include/nuttx/modem/ioctl.h | 2 +
include/nuttx/modem/u-blox.h | 5 +-
include/nuttx/module.h | 2 +
include/nuttx/motor/a4988.h | 2 +
include/nuttx/motor/drv8825.h | 2 +
include/nuttx/motor/foc/drv8301.h | 2 +
include/nuttx/motor/foc/foc.h | 2 +
include/nuttx/motor/foc/foc_dummy.h | 2 +
include/nuttx/motor/foc/foc_lower.h | 2 +
include/nuttx/motor/foc/foc_pwr.h | 2 +
include/nuttx/motor/motor.h | 2 +
include/nuttx/motor/motor_ioctl.h | 3 +-
include/nuttx/motor/stepper.h | 2 +
include/nuttx/motor/stepper_ioctl.h | 3 +-
include/nuttx/mqueue.h | 2 +
include/nuttx/mtd/configdata.h | 2 +
include/nuttx/mtd/hamming.h | 3 +-
include/nuttx/mtd/mtd.h | 3 +-
include/nuttx/mtd/nand.h | 3 +-
include/nuttx/mtd/nand_config.h | 3 +-
include/nuttx/mtd/nand_ecc.h | 3 +-
include/nuttx/mtd/nand_model.h | 3 +-
include/nuttx/mtd/nand_ram.h | 4 +-
include/nuttx/mtd/nand_raw.h | 3 +-
include/nuttx/mtd/nand_scheme.h | 3 +-
include/nuttx/mtd/nand_wrapper.h | 2 +
include/nuttx/mtd/onfi.h | 3 +-
include/nuttx/mtd/smart.h | 2 +
include/nuttx/mutex.h | 2 +
include/nuttx/net/bluetooth.h | 2 +
include/nuttx/net/can.h | 14 ++----
include/nuttx/net/dns.h | 14 ++----
include/nuttx/net/e1000.h | 2 +
include/nuttx/net/enc28j60.h | 2 +
include/nuttx/net/encx24j600.h | 2 +
include/nuttx/net/ethernet.h | 14 ++----
include/nuttx/net/ftmac100.h | 2 +
include/nuttx/net/gmii.h | 2 +
include/nuttx/net/icmp.h | 14 ++----
include/nuttx/net/icmpv6.h | 15 ++----
include/nuttx/net/ieee802154.h | 2 +
include/nuttx/net/if_bridge.h | 2 +
include/nuttx/net/igc.h | 2 +
include/nuttx/net/igmp.h | 14 ++----
include/nuttx/net/ioctl.h | 2 +
include/nuttx/net/ip.h | 17 ++-----
include/nuttx/net/ipopt.h | 3 +-
include/nuttx/net/ipv6ext.h | 3 +-
include/nuttx/net/ksz9477.h | 2 +
include/nuttx/net/lan91c111.h | 2 +
include/nuttx/net/lan9250.h | 2 +
include/nuttx/net/loopback.h | 3 +-
include/nuttx/net/mii.h | 2 +
include/nuttx/net/mld.h | 3 +-
include/nuttx/net/neighbor.h | 3 +-
include/nuttx/net/net.h | 2 +
include/nuttx/net/netconfig.h | 26 ++++-------
include/nuttx/net/netdev.h | 14 ++----
include/nuttx/net/netdev_lowerhalf.h | 4 +-
include/nuttx/net/netfilter/ip6_tables.h | 2 +
include/nuttx/net/netfilter/ip_tables.h | 2 +
include/nuttx/net/netfilter/netfilter.h | 2 +
include/nuttx/net/netfilter/nf_nat.h | 2 +
include/nuttx/net/netfilter/x_tables.h | 2 +
include/nuttx/net/netlink.h | 2 +
include/nuttx/net/netstats.h | 13 ++----
include/nuttx/net/phy.h | 2 +
include/nuttx/net/pkt.h | 2 +
include/nuttx/net/radiodev.h | 2 +
include/nuttx/net/rfc6775.h | 3 +-
include/nuttx/net/rpmsg.h | 2 +
include/nuttx/net/rpmsgdrv.h | 2 +
include/nuttx/net/sixlowpan.h | 21 ++++-----
include/nuttx/net/slip.h | 2 +
include/nuttx/net/sms.h | 2 +
include/nuttx/net/snoop.h | 2 +
include/nuttx/net/tcp.h | 19 +++-----
include/nuttx/net/telnet.h | 2 +
include/nuttx/net/tun.h | 8 ++--
include/nuttx/net/udp.h | 18 ++------
include/nuttx/net/usrsock.h | 2 +
include/nuttx/net/w5500.h | 3 +-
include/nuttx/net/wifi_sim.h | 2 +
include/nuttx/note/note_driver.h | 2 +
include/nuttx/note/notectl_driver.h | 2 +
include/nuttx/note/notelog_driver.h | 2 +
include/nuttx/note/noteram_driver.h | 2 +
include/nuttx/note/notesnap_driver.h | 2 +
include/nuttx/notifier.h | 2 +
include/nuttx/nuttx.h | 2 +
include/nuttx/nx/nx.h | 2 +
include/nuttx/nx/nxbe.h | 2 +
include/nuttx/nx/nxcursor.h | 2 +
include/nuttx/nx/nxfonts.h | 2 +
include/nuttx/nx/nxglib.h | 2 +
include/nuttx/nx/nxmu.h | 2 +
include/nuttx/nx/nxterm.h | 2 +
include/nuttx/nx/nxtk.h | 2 +
include/nuttx/nx/nxtypes.h | 2 +
include/nuttx/page.h | 3 +-
include/nuttx/panic_notifier.h | 2 +
include/nuttx/pci/pci.h | 2 +
include/nuttx/pci/pci_ecam.h | 2 +
include/nuttx/pci/pci_ep_test.h | 2 +
include/nuttx/pci/pci_epc.h | 2 +
include/nuttx/pci/pci_epf.h | 2 +
include/nuttx/pci/pci_ids.h | 2 +
include/nuttx/pci/pci_ivshmem.h | 2 +
include/nuttx/pci/pci_qemu_edu.h | 2 +
include/nuttx/pci/pci_qemu_test.h | 2 +
include/nuttx/pci/pci_regs.h | 2 +
include/nuttx/pgalloc.h | 3 +-
include/nuttx/pinctrl/pinctrl.h | 2 +
include/nuttx/power/act8945a.h | 2 +
include/nuttx/power/axp202.h | 3 +-
include/nuttx/power/battery_charger.h | 3 +-
include/nuttx/power/battery_gauge.h | 3 +-
include/nuttx/power/battery_ioctl.h | 3 +-
include/nuttx/power/battery_monitor.h | 3 +-
include/nuttx/power/bq2429x.h | 9 ++--
include/nuttx/power/bq27426.h | 3 +-
include/nuttx/power/bq769x0.h | 3 +-
include/nuttx/power/consumer.h | 2 +
include/nuttx/power/mcp73871.h | 3 +-
include/nuttx/power/pm.h | 2 +
include/nuttx/power/pm_runtime.h | 2 +
include/nuttx/power/power_ioctl.h | 3 +-
include/nuttx/power/powerled.h | 2 +
include/nuttx/power/regulator.h | 2 +
include/nuttx/power/relay.h | 6 +--
include/nuttx/power/smps.h | 2 +
include/nuttx/progmem.h | 2 +
include/nuttx/pthread.h | 3 +-
include/nuttx/queue.h | 2 +
include/nuttx/random.h | 2 +
include/nuttx/rc/dummy.h | 2 +
include/nuttx/rc/lirc_dev.h | 2 +
include/nuttx/reboot_notifier.h | 2 +
include/nuttx/regmap/regmap.h | 2 +
include/nuttx/reset/reset-controller.h | 2 +
include/nuttx/reset/reset.h | 2 +
include/nuttx/rf/attenuator.h | 2 +
include/nuttx/rf/dat-31r5-sp.h | 4 +-
include/nuttx/rf/ioctl.h | 2 +
include/nuttx/rmt/rmt.h | 2 +
include/nuttx/rmt/rmtchar.h | 2 +
include/nuttx/rpmsg/rpmsg.h | 2 +
include/nuttx/rpmsg/rpmsg_ping.h | 2 +
include/nuttx/rpmsg/rpmsg_port.h | 2 +
include/nuttx/rpmsg/rpmsg_router.h | 2 +
include/nuttx/rpmsg/rpmsg_virtio.h | 2 +
include/nuttx/rpmsg/rpmsg_virtio_ivshmem.h | 2 +
include/nuttx/rptun/openamp.h | 2 +
include/nuttx/rptun/rptun.h | 2 +
include/nuttx/rptun/rptun_ivshmem.h | 2 +
include/nuttx/rptun/rptun_secure.h | 2 +
include/nuttx/rwsem.h | 2 +
include/nuttx/sched.h | 2 +
include/nuttx/sched_note.h | 2 +
include/nuttx/scsi.h | 2 +
include/nuttx/sdio.h | 2 +
include/nuttx/sdio_slave.h | 2 +
include/nuttx/segger/note_rtt.h | 2 +
include/nuttx/segger/rtt.h | 2 +
include/nuttx/segger/sysview.h | 2 +
include/nuttx/semaphore.h | 2 +
include/nuttx/sensors/adt7320.h | 2 +
include/nuttx/sensors/adxl345.h | 2 +
include/nuttx/sensors/adxl362.h | 2 +
include/nuttx/sensors/adxl372.h | 2 +
include/nuttx/sensors/aht10.h | 2 +
include/nuttx/sensors/ak09912.h | 2 +
include/nuttx/sensors/amg88xx.h | 2 +
include/nuttx/sensors/apds9922.h | 2 +
include/nuttx/sensors/apds9930.h | 2 +
include/nuttx/sensors/apds9960.h | 2 +
include/nuttx/sensors/as5048a.h | 2 +
include/nuttx/sensors/as5048b.h | 2 +
include/nuttx/sensors/as726x.h | 7 +--
include/nuttx/sensors/bh1721fvc.h | 2 +
include/nuttx/sensors/bh1745nuc.h | 2 +
include/nuttx/sensors/bh1749nuc.h | 2 +
include/nuttx/sensors/bh1750fvi.h | 2 +
include/nuttx/sensors/bm1383glv.h | 2 +
include/nuttx/sensors/bm1422gmv.h | 2 +
include/nuttx/sensors/bme680.h | 2 +
include/nuttx/sensors/bmg160.h | 2 +
include/nuttx/sensors/bmi160.h | 2 +
include/nuttx/sensors/bmi270.h | 2 +
include/nuttx/sensors/bmm150.h | 2 +
include/nuttx/sensors/bmp180.h | 2 +
include/nuttx/sensors/bmp280.h | 2 +
include/nuttx/sensors/cluster_driver.h | 2 +
include/nuttx/sensors/cxd5610_gnss.h | 2 +
include/nuttx/sensors/dhtxx.h | 2 +
include/nuttx/sensors/ds18b20.h | 3 +-
include/nuttx/sensors/fakesensor.h | 2 +
include/nuttx/sensors/fxos8700cq.h | 3 +-
include/nuttx/sensors/gnss.h | 2 +
include/nuttx/sensors/goldfish_gnss.h | 2 +
include/nuttx/sensors/goldfish_sensor.h | 2 +
include/nuttx/sensors/hall3ph.h | 2 +
include/nuttx/sensors/hc_sr04.h | 2 +
include/nuttx/sensors/hdc1008.h | 2 +
include/nuttx/sensors/hts221.h | 2 +
include/nuttx/sensors/hyt271.h | 3 +-
include/nuttx/sensors/ina219.h | 2 +
include/nuttx/sensors/ina226.h | 2 +
include/nuttx/sensors/ina3221.h | 2 +
include/nuttx/sensors/ioctl.h | 2 +
include/nuttx/sensors/isl29023.h | 4 +-
include/nuttx/sensors/kx022.h | 2 +
include/nuttx/sensors/kxtj9.h | 42 ++++++-----------
include/nuttx/sensors/l3gd20.h | 2 +
include/nuttx/sensors/lis2dh.h | 2 +
include/nuttx/sensors/lis331dl.h | 2 +
include/nuttx/sensors/lis3dh.h | 5 +-
include/nuttx/sensors/lis3dsh.h | 2 +
include/nuttx/sensors/lis3mdl.h | 2 +
include/nuttx/sensors/lm75.h | 2 +
include/nuttx/sensors/lm92.h | 2 +
include/nuttx/sensors/lps25h.h | 2 +
include/nuttx/sensors/lsm303agr.h | 2 +
include/nuttx/sensors/lsm330.h | 2 +
include/nuttx/sensors/lsm6dsl.h | 2 +
include/nuttx/sensors/lsm9ds1.h | 2 +
include/nuttx/sensors/lt1pa01.h | 2 +
include/nuttx/sensors/ltc4151.h | 2 +
include/nuttx/sensors/ltr308.h | 3 +-
include/nuttx/sensors/max31855.h | 2 +
include/nuttx/sensors/max31865.h | 2 +
include/nuttx/sensors/max44009.h | 2 +
include/nuttx/sensors/max6675.h | 2 +
include/nuttx/sensors/mb7040.h | 2 +
include/nuttx/sensors/mcp9844.h | 2 +
include/nuttx/sensors/mlx90393.h | 2 +
include/nuttx/sensors/mlx90614.h | 2 +
include/nuttx/sensors/mpl115a.h | 2 +
include/nuttx/sensors/mpu60x0.h | 2 +
include/nuttx/sensors/mpu9250.h | 2 +
include/nuttx/sensors/ms56xx.h | 2 +
include/nuttx/sensors/ms58xx.h | 2 +
include/nuttx/sensors/msa301.h | 3 +-
include/nuttx/sensors/msxxxx_crc4.h | 2 +
include/nuttx/sensors/qencoder.h | 2 +
include/nuttx/sensors/rpr0521rs.h | 2 +
include/nuttx/sensors/scd30.h | 2 +
include/nuttx/sensors/scd41.h | 2 +
include/nuttx/sensors/sensor.h | 2 +
include/nuttx/sensors/sgp30.h | 2 +
include/nuttx/sensors/sht21.h | 2 +
include/nuttx/sensors/sht3x.h | 2 +
include/nuttx/sensors/sht4x.h | 2 +
include/nuttx/sensors/sps30.h | 2 +
include/nuttx/sensors/t67xx.h | 2 +
include/nuttx/sensors/veml6070.h | 2 +
include/nuttx/sensors/vl53l1x.h | 5 +-
include/nuttx/sensors/wtgahrs2.h | 4 +-
include/nuttx/sensors/xen1210.h | 2 +
include/nuttx/sensors/zerocross.h | 2 +
include/nuttx/serial/mxser.h | 2 +
include/nuttx/serial/pty.h | 2 +
include/nuttx/serial/serial.h | 2 +
include/nuttx/serial/tioctl.h | 2 +
include/nuttx/serial/uart_16550.h | 3 +-
include/nuttx/serial/uart_bth4.h | 2 +
include/nuttx/serial/uart_bth5.h | 2 +
include/nuttx/serial/uart_cmsdk.h | 2 +
include/nuttx/serial/uart_hostfs.h | 2 +
include/nuttx/serial/uart_pci_16550.h | 2 +
include/nuttx/serial/uart_pl011.h | 2 +
include/nuttx/serial/uart_ram.h | 2 +
include/nuttx/serial/uart_rpmsg.h | 2 +
include/nuttx/signal.h | 2 +
include/nuttx/spawn.h | 2 +
include/nuttx/spi/ice40.h | 4 +-
include/nuttx/spi/qspi.h | 2 +
include/nuttx/spi/qspi_flash.h | 2 +
include/nuttx/spi/slave.h | 2 +
include/nuttx/spi/spi.h | 2 +
include/nuttx/spi/spi_bitbang.c | 2 +
include/nuttx/spi/spi_bitbang.h | 2 +
include/nuttx/spi/spi_flash.h | 2 +
include/nuttx/spi/spi_transfer.h | 2 +
include/nuttx/spinlock.h | 2 +
include/nuttx/streams.h | 2 +
include/nuttx/symtab.h | 2 +
include/nuttx/syslog/ramlog.h | 3 +-
include/nuttx/syslog/syslog.h | 3 +-
include/nuttx/syslog/syslog_console.h | 2 +
include/nuttx/syslog/syslog_rpmsg.h | 2 +
include/nuttx/tee.h | 4 +-
include/nuttx/thermal.h | 2 +
include/nuttx/timers/arch_alarm.h | 2 +
include/nuttx/timers/arch_rtc.h | 2 +
include/nuttx/timers/arch_timer.h | 2 +
include/nuttx/timers/capture.h | 2 +
include/nuttx/timers/cs2100-cp.h | 2 +
include/nuttx/timers/ds3231.h | 2 +
include/nuttx/timers/mcp794xx.h | 2 +
include/nuttx/timers/oneshot.h | 2 +
include/nuttx/timers/pcf85263.h | 2 +
include/nuttx/timers/pl031.h | 2 +
include/nuttx/timers/pwm.h | 2 +
include/nuttx/timers/rpmsg_rtc.h | 2 +
include/nuttx/timers/rtc.h | 2 +
include/nuttx/timers/rx8010.h | 2 +
include/nuttx/timers/timer.h | 2 +
include/nuttx/timers/watchdog.h | 2 +
include/nuttx/tls.h | 2 +
include/nuttx/trace.h | 2 +
include/nuttx/uorb.h | 2 +
include/nuttx/usb/adb.h | 2 +
include/nuttx/usb/audio.h | 3 +-
include/nuttx/usb/cdc.h | 2 +
include/nuttx/usb/cdcacm.h | 2 +
include/nuttx/usb/cdcecm.h | 2 +
include/nuttx/usb/cdcncm.h | 2 +
include/nuttx/usb/composite.h | 2 +
include/nuttx/usb/dfu.h | 2 +
include/nuttx/usb/ehci.h | 2 +
include/nuttx/usb/fusb301.h | 2 +
include/nuttx/usb/fusb302.h | 2 +
include/nuttx/usb/fusb303.h | 2 +
include/nuttx/usb/hid.h | 2 +
include/nuttx/usb/hid_parser.h | 2 +
include/nuttx/usb/hub.h | 2 +
include/nuttx/usb/max3421e.h | 2 +
include/nuttx/usb/mtp.h | 2 +
include/nuttx/usb/ohci.h | 2 +
include/nuttx/usb/pl2303.h | 2 +
include/nuttx/usb/rndis.h | 2 +
include/nuttx/usb/storage.h | 2 +
include/nuttx/usb/usb.h | 2 +
include/nuttx/usb/usbdev.h | 2 +
include/nuttx/usb/usbdev_trace.h | 2 +
include/nuttx/usb/usbhost.h | 2 +
include/nuttx/usb/usbhost_devaddr.h | 3 +-
include/nuttx/usb/usbhost_trace.h | 2 +
include/nuttx/usb/usbmonitor.h | 2 +
include/nuttx/usb/usbmsc.h | 2 +
include/nuttx/userspace.h | 2 +
include/nuttx/usrsock/usrsock_rpmsg.h | 2 +
include/nuttx/video/edid.h | 16 ++-----
include/nuttx/video/fb.h | 2 +
include/nuttx/video/goldfish_camera.h | 2 +
include/nuttx/video/goldfish_fb.h | 2 +
include/nuttx/video/goldfish_gpu_fb.h | 2 +
include/nuttx/video/imgdata.h | 2 +
include/nuttx/video/imgsensor.h | 2 +
include/nuttx/video/isx012.h | 2 +
include/nuttx/video/isx019.h | 2 +
include/nuttx/video/max7456.h | 2 +
include/nuttx/video/mipi_display.h | 2 +
include/nuttx/video/mipi_dsi.h | 2 +
include/nuttx/video/ov2640.h | 2 +
include/nuttx/video/rfb.h | 2 +
include/nuttx/video/rgbcolors.h | 3 +-
include/nuttx/video/v4l2_cap.h | 2 +
include/nuttx/video/v4l2_m2m.h | 2 +
include/nuttx/video/vesagtf.h | 47 ++++++-------------
include/nuttx/video/video.h | 2 +
include/nuttx/video/videomode.h | 54 +++++++---------------
include/nuttx/video/vnc.h | 2 +
include/nuttx/virtio/virtio-mmio.h | 2 +
include/nuttx/virtio/virtio-pci.h | 2 +
include/nuttx/virtio/virtio.h | 2 +
include/nuttx/vt100.h | 3 +-
include/nuttx/wdog.h | 2 +
include/nuttx/wireless/bluetooth/bt_bridge.h | 2 +
include/nuttx/wireless/bluetooth/bt_buf.h | 4 +-
include/nuttx/wireless/bluetooth/bt_core.h | 4 +-
include/nuttx/wireless/bluetooth/bt_driver.h | 4 +-
include/nuttx/wireless/bluetooth/bt_gatt.h | 4 +-
include/nuttx/wireless/bluetooth/bt_hci.h | 4 +-
include/nuttx/wireless/bluetooth/bt_ioctl.h | 4 +-
include/nuttx/wireless/bluetooth/bt_null.h | 2 +
include/nuttx/wireless/bluetooth/bt_rpmsghci.h | 2 +
include/nuttx/wireless/bluetooth/bt_uart.h | 4 +-
include/nuttx/wireless/bluetooth/bt_uart_shim.h | 2 +
include/nuttx/wireless/bluetooth/bt_uuid.h | 4 +-
include/nuttx/wireless/cc1101.h | 2 +
include/nuttx/wireless/cellular/cellular.h | 3 +-
include/nuttx/wireless/gs2200m.h | 2 +
include/nuttx/wireless/ieee80211/bcmf_board.h | 2 +
include/nuttx/wireless/ieee80211/bcmf_gpio.h | 2 +
include/nuttx/wireless/ieee80211/bcmf_gspi.h | 2 +
include/nuttx/wireless/ieee80211/bcmf_netdev.h | 2 +
include/nuttx/wireless/ieee80211/bcmf_sdio.h | 2 +
include/nuttx/wireless/ieee80211/ieee80211.h | 5 +-
include/nuttx/wireless/ieee80211/ieee80211_cypto.h | 4 +-
include/nuttx/wireless/ieee802154/at86rf23x.h | 2 +
.../nuttx/wireless/ieee802154/ieee802154_device.h | 3 +-
.../wireless/ieee802154/ieee802154_loopback.h | 2 +
include/nuttx/wireless/ieee802154/ieee802154_mac.h | 2 +
.../nuttx/wireless/ieee802154/ieee802154_radio.h | 2 +
include/nuttx/wireless/ieee802154/mrf24j40.h | 2 +
include/nuttx/wireless/ieee802154/xbee.h | 2 +
include/nuttx/wireless/ioctl.h | 2 +
include/nuttx/wireless/lpwan/sx127x.h | 2 +
include/nuttx/wireless/lte/lte.h | 2 +
include/nuttx/wireless/lte/lte_ioctl.h | 2 +
include/nuttx/wireless/nrf24l01.h | 2 +
include/nuttx/wireless/pktradio.h | 2 +
include/nuttx/wireless/spirit.h | 2 +
include/nuttx/wireless/wireless.h | 3 +-
include/nuttx/wqueue.h | 2 +
include/nuttx/zoneinfo.h | 2 +
include/nxflat.h | 2 +
include/obstack.h | 2 +
include/poll.h | 2 +
include/pthread.h | 2 +
include/pty.h | 2 +
include/pwd.h | 2 +
include/regex.h | 4 +-
include/resolv.h | 2 +
include/sched.h | 2 +
include/semaphore.h | 2 +
include/signal.h | 2 +
include/spawn.h | 2 +
include/ssp/ssp.h | 2 +
include/stdbool.h | 2 +
include/stddef.h | 2 +
include/stdint.h | 2 +
include/stdio.h | 2 +
include/stdlib.h | 2 +
include/stdnoreturn.h | 2 +
include/string.h | 2 +
include/strings.h | 2 +
include/sys/boardctl.h | 2 +
include/sys/custom_file.h | 2 +
include/sys/endian.h | 2 +
include/sys/epoll.h | 5 +-
include/sys/eventfd.h | 2 +
include/sys/file.h | 2 +
include/sys/inotify.h | 2 +
include/sys/ioctl.h | 2 +
include/sys/ipc.h | 2 +
include/sys/mman.h | 2 +
include/sys/mount.h | 2 +
include/sys/msg.h | 2 +
include/sys/param.h | 2 +
include/sys/pciio.h | 2 +
include/sys/poll.h | 2 +
include/sys/prctl.h | 2 +
include/sys/queue.h | 9 ++--
include/sys/random.h | 2 +
include/sys/resource.h | 2 +
include/sys/select.h | 2 +
include/sys/sendfile.h | 2 +
include/sys/shm.h | 2 +
include/sys/signalfd.h | 2 +
include/sys/socket.h | 2 +
include/sys/sockio.h | 2 +
include/sys/stat.h | 2 +
include/sys/statfs.h | 2 +
include/sys/statvfs.h | 2 +
include/sys/syscall.h | 3 +-
include/sys/syscall_lookup.h | 2 +
include/sys/sysinfo.h | 2 +
include/sys/sysmacros.h | 2 +
include/sys/time.h | 2 +
include/sys/timerfd.h | 2 +
include/sys/times.h | 2 +
include/sys/tree.h | 4 +-
include/sys/types.h | 2 +
include/sys/uio.h | 9 ++--
include/sys/un.h | 2 +
include/sys/utsname.h | 5 +-
include/sys/vfs.h | 2 +
include/sys/video_controls.h | 2 +
include/sys/videoio.h | 2 +
include/sys/wait.h | 2 +
include/syscall.h | 2 +
include/syslog.h | 2 +
include/termios.h | 2 +
include/threads.h | 2 +
include/time.h | 2 +
include/unistd.h | 2 +
include/utime.h | 2 +
include/uuid.h | 2 +
include/wchar.h | 2 +
include/wctype.h | 2 +
814 files changed, 1759 insertions(+), 483 deletions(-)
diff --git a/include/aio.h b/include/aio.h
index 107e061f46..5f508028ee 100644
--- a/include/aio.h
+++ b/include/aio.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/aio.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/alloca.h b/include/alloca.h
index 306559477c..9ca86afed5 100644
--- a/include/alloca.h
+++ b/include/alloca.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/alloca.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/android/fdsan.h b/include/android/fdsan.h
index 4515914a81..0e6beedae8 100644
--- a/include/android/fdsan.h
+++ b/include/android/fdsan.h
@@ -1,6 +1,9 @@
/****************************************************************************
* include/android/fdsan.h
- * Copyright (C) 2018 The Android Open Source Project
+ *
+ * SPDX-License-Identifier: BSD-2-Clause
+ * SPDX-FileCopyrightText: 2018 The Android Open Source Project
+ *
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
diff --git a/include/arpa/inet.h b/include/arpa/inet.h
index 62e2df2da4..e400a37ba5 100644
--- a/include/arpa/inet.h
+++ b/include/arpa/inet.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/arpa/inet.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/assert.h b/include/assert.h
index d5a8c48872..a714c60e84 100644
--- a/include/assert.h
+++ b/include/assert.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/assert.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/byteswap.h b/include/byteswap.h
index 2e6f92c35c..7dbed7fb60 100644
--- a/include/byteswap.h
+++ b/include/byteswap.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/byteswap.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/crypto/aes.h b/include/crypto/aes.h
index aa0f4fceb7..5dbd11ba89 100644
--- a/include/crypto/aes.h
+++ b/include/crypto/aes.h
@@ -1,9 +1,9 @@
/****************************************************************************
* include/crypto/aes.h
- * $OpenBSD: aes.h,v 1.4 2020/07/22 13:54:30 tobhe Exp $
*
- * Copyright (c) 2016 Thomas Pornin <po...@bolet.org>
- * Copyright (c) 2016 Mike Belopuhov
+ * SPDX-License-Identifier: MIT
+ * SPDX-FileCopyrightText: 2016 Thomas Pornin <po...@bolet.org>
+ * SPDX-FileCopyrightText: 2016 Mike Belopuhov
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files (the
diff --git a/include/crypto/blf.h b/include/crypto/blf.h
index daf7941b86..ad0b01a139 100644
--- a/include/crypto/blf.h
+++ b/include/crypto/blf.h
@@ -1,10 +1,9 @@
/****************************************************************************
* include/crypto/blf.h
- * $OpenBSD: blf.h,v 1.7 2021/11/29 01:04:45 djm Exp $
*
- * Blowfish - a fast block cipher designed by Bruce Schneier
+ * SPDX-License-Identifier: BSD-3-Clause
+ * SPDX-FileCopyrightText: 1997 Niels Provos <pr...@physnet.uni-hamburg.de>
*
- * Copyright 1997 Niels Provos <pr...@physnet.uni-hamburg.de>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
diff --git a/include/crypto/bn.h b/include/crypto/bn.h
index df39af7119..8d423c757c 100644
--- a/include/crypto/bn.h
+++ b/include/crypto/bn.h
@@ -1,5 +1,8 @@
/****************************************************************************
* include/crypto/bn.h
+ *
+ * SPDX-License-Identifier: Unlicense
+ *
* This is free and unencumbered software released into the public domain.
* Anyone is free to copy, modify, publish, use, compile, sell, or
* distribute this software, either in source code form or as a compiled
diff --git a/include/crypto/chachapoly.h b/include/crypto/chachapoly.h
index af1d4dd03b..49221058da 100644
--- a/include/crypto/chachapoly.h
+++ b/include/crypto/chachapoly.h
@@ -1,7 +1,8 @@
/****************************************************************************
* include/crypto/chachapoly.h
- * $OpenBSD: chachapoly.h,v 1.4 2020/07/22 13:54:30 tobhe Exp $
- * Copyright (c) 2015 Mike Belopuhov
+ *
+ * SPDX-License-Identifier: ISC
+ * SPDX-FileCopyrightText:2015 Mike Belopuhov
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
diff --git a/include/crypto/cmac.h b/include/crypto/cmac.h
index ac44a0ebec..1859ac2dc8 100644
--- a/include/crypto/cmac.h
+++ b/include/crypto/cmac.h
@@ -1,8 +1,8 @@
/****************************************************************************
* include/crypto/cmac.h
- * $OpenBSD: cmac.h,v 1.3 2017/05/02 17:07:06 mikeb Exp $
*
- * Copyright (c) 2008 Damien Bergamini <da...@free.fr>
+ * SPDX-License-Identifier: ISC
+ * SPDX-FileCopyrightText: 2008 Damien Bergamini <da...@free.fr>
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
diff --git a/include/crypto/gmac.h b/include/crypto/gmac.h
index 623ee01fc4..ff3283e1b8 100644
--- a/include/crypto/gmac.h
+++ b/include/crypto/gmac.h
@@ -1,8 +1,8 @@
/****************************************************************************
* include/crypto/gmac.h
- * $OpenBSD: gmac.h,v 1.6 2017/05/02 11:44:32 mikeb Exp $
*
- * Copyright (c) 2010 Mike Belopuhov
+ * SPDX-License-Identifier: ISC
+ * SPDX-FileCopyrightText: 2010 Mike Belopuhov
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
diff --git a/include/crypto/hmac.h b/include/crypto/hmac.h
index ed69bfae32..517516c6cc 100644
--- a/include/crypto/hmac.h
+++ b/include/crypto/hmac.h
@@ -1,8 +1,8 @@
/****************************************************************************
* include/crypto/hmac.h
- * $OpenBSD: hmac.h,v 1.3 2012/12/05 23:20:15 deraadt Exp $
*
- * Copyright (c) 2008 Damien Bergamini <da...@free.fr>
+ * SPDX-License-Identifier: ISC
+ * SPDX-FileCopyrightText: 2008 Damien Bergamini <da...@free.fr>
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
diff --git a/include/crypto/idgen.h b/include/crypto/idgen.h
index 0cb3ad1b49..05dad75046 100644
--- a/include/crypto/idgen.h
+++ b/include/crypto/idgen.h
@@ -1,8 +1,8 @@
/****************************************************************************
* include/crypto/idgen.h
- * $OpenBSD: idgen.h,v 1.3 2013/06/05 05:45:54 djm Exp $
*
- * Copyright (c) 2008 Damien Miller <dj...@mindrot.org>
+ * SPDX-License-Identifier: ISC
+ * SPDX-FileCopyrightText: 2008 Damien Miller <dj...@mindrot.org>
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
@@ -38,4 +38,4 @@ struct idgen32_ctx
void idgen32_init(FAR struct idgen32_ctx *);
u_int32_t idgen32(FAR struct idgen32_ctx *);
-#endif /* __INCLUDE_CRYPTO_IDGEN_H_ */
\ No newline at end of file
+#endif /* __INCLUDE_CRYPTO_IDGEN_H_ */
diff --git a/include/crypto/key_wrap.h b/include/crypto/key_wrap.h
index e6b23c28f3..a1fd9bd825 100644
--- a/include/crypto/key_wrap.h
+++ b/include/crypto/key_wrap.h
@@ -1,7 +1,8 @@
/****************************************************************************
* include/crypto/key_wrap.h
- *$OpenBSD: key_wrap.h,v 1.3 2017/05/02 17:07:06 mikeb Exp $
- * Copyright (c) 2008 Damien Bergamini <da...@free.fr>
+ *
+ * SPDX-License-Identifier: ISC
+ * SPDX-FileCopyrightText: 2008 Damien Bergamini <da...@free.fr>
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
diff --git a/include/crypto/rmd160.h b/include/crypto/rmd160.h
index aa67a9a8a5..e6a798d222 100644
--- a/include/crypto/rmd160.h
+++ b/include/crypto/rmd160.h
@@ -1,8 +1,8 @@
/****************************************************************************
* include/crypto/rmd160.h
- * $OpenBSD: rmd160.h,v 1.5 2009/07/05 19:33:46 millert Exp $
*
- * Copyright (c) 2001 Markus Friedl. All rights reserved.
+ * SPDX-License-Identifier: BSD-2-Clause
+ * SPDX-FileCopyrightText: 2001 Markus Friedl. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
diff --git a/include/crypto/sha2.h b/include/crypto/sha2.h
index 270216114c..77faa780ad 100644
--- a/include/crypto/sha2.h
+++ b/include/crypto/sha2.h
@@ -1,11 +1,10 @@
/****************************************************************************
* include/crypto/sha2.h
- * $OpenBSD: sha2.h,v 1.5 2014/11/16 17:39:09 tedu Exp $
*
- * FILE: sha2.h
- * AUTHOR: Aaron D. Gifford <me...@aarongifford.com>
+ * SPDX-License-Identifier: BSD-3-Clause
+ * SPDX-FileCopyrightText: 2000-2001, Aaron D. Gifford
+ * SPDX-FileContributor: Aaron D. Gifford <me...@aarongifford.com>
*
- * Copyright (c) 2000-2001, Aaron D. Gifford
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -32,7 +31,6 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $From: sha2.h,v 1.1 2001/11/08 00:02:01 adg Exp adg $
****************************************************************************/
#ifndef __INCLUDE_CRYPTO_SHA2_H
diff --git a/include/crypto/siphash.h b/include/crypto/siphash.h
index 42d51fd340..97e2048a2c 100644
--- a/include/crypto/siphash.h
+++ b/include/crypto/siphash.h
@@ -1,8 +1,9 @@
/****************************************************************************
* include/crypto/siphash.h
- * $OpenBSD: siphash.h,v 1.5 2015/02/20 11:51:03 tedu Exp $
*
- * Copyright (c) 2013 Andre Oppermann <an...@FreeBSD.org>
+ * SPDX-License-Identifier: BSD-3-Clause
+ * SPDX-FileCopyrightText: 2013 Andre Oppermann <an...@FreeBSD.org>
+ *
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -29,8 +30,6 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $FreeBSD$
- *
****************************************************************************/
/* SipHash is a family of pseudorandom functions
diff --git a/include/ctype.h b/include/ctype.h
index a24231030c..6eaf6d50a9 100644
--- a/include/ctype.h
+++ b/include/ctype.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/ctype.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/cxx/cassert b/include/cxx/cassert
index 75dbcaae81..258332f6b8 100644
--- a/include/cxx/cassert
+++ b/include/cxx/cassert
@@ -1,6 +1,8 @@
//***************************************************************************
// include/cxx/cassert
//
+// SPDX-License-Identifier: Apache-2.0
+//
// Licensed to the Apache Software Foundation (ASF) under one or more
// contributor license agreements. See the NOTICE file distributed with
// this work for additional information regarding copyright ownership. The
diff --git a/include/cxx/cctype b/include/cxx/cctype
index 721e29ea0e..19dd6a9874 100644
--- a/include/cxx/cctype
+++ b/include/cxx/cctype
@@ -1,6 +1,8 @@
//***************************************************************************
// include/cxx/cctype
//
+// SPDX-License-Identifier: Apache-2.0
+//
// Licensed to the Apache Software Foundation (ASF) under one or more
// contributor license agreements. See the NOTICE file distributed with
// this work for additional information regarding copyright ownership. The
diff --git a/include/cxx/cerrno b/include/cxx/cerrno
index 42abd9203c..3288ec46d0 100644
--- a/include/cxx/cerrno
+++ b/include/cxx/cerrno
@@ -1,6 +1,8 @@
//***************************************************************************
// include/cxx/cerrno
//
+// SPDX-License-Identifier: Apache-2.0
+//
// Licensed to the Apache Software Foundation (ASF) under one or more
// contributor license agreements. See the NOTICE file distributed with
// this work for additional information regarding copyright ownership. The
diff --git a/include/cxx/cinttypes b/include/cxx/cinttypes
index 3af45a8931..4521aba7eb 100644
--- a/include/cxx/cinttypes
+++ b/include/cxx/cinttypes
@@ -1,6 +1,8 @@
//***************************************************************************
// include/cxx/cinttypes
//
+// SPDX-License-Identifier: Apache-2.0
+//
// Licensed to the Apache Software Foundation (ASF) under one or more
// contributor license agreements. See the NOTICE file distributed with
// this work for additional information regarding copyright ownership. The
@@ -42,4 +44,4 @@ namespace std
using::wcstoumax;
}
-#endif // __INCLUDE_CXX_CINTTYPES
\ No newline at end of file
+#endif // __INCLUDE_CXX_CINTTYPES
diff --git a/include/cxx/climits b/include/cxx/climits
index 8ed7715dda..7ebb84f691 100644
--- a/include/cxx/climits
+++ b/include/cxx/climits
@@ -1,6 +1,8 @@
//***************************************************************************
// include/cxx/climits
//
+// SPDX-License-Identifier: Apache-2.0
+//
// Licensed to the Apache Software Foundation (ASF) under one or more
// contributor license agreements. See the NOTICE file distributed with
// this work for additional information regarding copyright ownership. The
diff --git a/include/cxx/clocale b/include/cxx/clocale
index e103034c67..918f5ee909 100644
--- a/include/cxx/clocale
+++ b/include/cxx/clocale
@@ -1,6 +1,8 @@
//***************************************************************************
// include/cxx/clocale
//
+// SPDX-License-Identifier: Apache-2.0
+//
// Licensed to the Apache Software Foundation (ASF) under one or more
// contributor license agreements. See the NOTICE file distributed with
// this work for additional information regarding copyright ownership. The
diff --git a/include/cxx/cmath b/include/cxx/cmath
index 6c4ac38c29..20dfe27262 100644
--- a/include/cxx/cmath
+++ b/include/cxx/cmath
@@ -1,6 +1,8 @@
//***************************************************************************
// include/cxx/cmath
//
+// SPDX-License-Identifier: Apache-2.0
+//
// Licensed to the Apache Software Foundation (ASF) under one or more
// contributor license agreements. See the NOTICE file distributed with
// this work for additional information regarding copyright ownership. The
diff --git a/include/cxx/csignal b/include/cxx/csignal
index 0de80568d7..e4e99abb13 100644
--- a/include/cxx/csignal
+++ b/include/cxx/csignal
@@ -1,6 +1,8 @@
//***************************************************************************
// include/cxx/csignal
//
+// SPDX-License-Identifier: Apache-2.0
+//
// Licensed to the Apache Software Foundation (ASF) under one or more
// contributor license agreements. See the NOTICE file distributed with
// this work for additional information regarding copyright ownership. The
diff --git a/include/cxx/cstdarg b/include/cxx/cstdarg
index d8456d3f0f..f72b3e8d1b 100644
--- a/include/cxx/cstdarg
+++ b/include/cxx/cstdarg
@@ -1,6 +1,8 @@
//***************************************************************************
// include/cxx/cstdarg
//
+// SPDX-License-Identifier: Apache-2.0
+//
// Licensed to the Apache Software Foundation (ASF) under one or more
// contributor license agreements. See the NOTICE file distributed with
// this work for additional information regarding copyright ownership. The
diff --git a/include/cxx/cstdbool b/include/cxx/cstdbool
index 7c9b3eac46..ca65794aba 100644
--- a/include/cxx/cstdbool
+++ b/include/cxx/cstdbool
@@ -1,6 +1,8 @@
//***************************************************************************
// include/cxx/cstdbool
//
+// SPDX-License-Identifier: Apache-2.0
+//
// Licensed to the Apache Software Foundation (ASF) under one or more
// contributor license agreements. See the NOTICE file distributed with
// this work for additional information regarding copyright ownership. The
diff --git a/include/cxx/cstddef b/include/cxx/cstddef
index 800fcefd8b..fb9f540aa8 100644
--- a/include/cxx/cstddef
+++ b/include/cxx/cstddef
@@ -1,6 +1,8 @@
//***************************************************************************
// include/cxx/cstddef
//
+// SPDX-License-Identifier: Apache-2.0
+//
// Licensed to the Apache Software Foundation (ASF) under one or more
// contributor license agreements. See the NOTICE file distributed with
// this work for additional information regarding copyright ownership. The
diff --git a/include/cxx/cstdio b/include/cxx/cstdio
index ee301afb89..93d06254b0 100644
--- a/include/cxx/cstdio
+++ b/include/cxx/cstdio
@@ -1,6 +1,8 @@
//***************************************************************************
// include/cxx/cstdio
//
+// SPDX-License-Identifier: Apache-2.0
+//
// Licensed to the Apache Software Foundation (ASF) under one or more
// contributor license agreements. See the NOTICE file distributed with
// this work for additional information regarding copyright ownership. The
diff --git a/include/cxx/cstdlib b/include/cxx/cstdlib
index 34483cdf9c..87e350e2e5 100644
--- a/include/cxx/cstdlib
+++ b/include/cxx/cstdlib
@@ -1,6 +1,8 @@
//***************************************************************************
// include/cxx/cstdlib
//
+// SPDX-License-Identifier: Apache-2.0
+//
// Licensed to the Apache Software Foundation (ASF) under one or more
// contributor license agreements. See the NOTICE file distributed with
// this work for additional information regarding copyright ownership. The
diff --git a/include/cxx/cstring b/include/cxx/cstring
index a4f1aa6803..570bdb784f 100644
--- a/include/cxx/cstring
+++ b/include/cxx/cstring
@@ -1,6 +1,8 @@
//***************************************************************************
// include/cxx/cstring
//
+// SPDX-License-Identifier: Apache-2.0
+//
// Licensed to the Apache Software Foundation (ASF) under one or more
// contributor license agreements. See the NOTICE file distributed with
// this work for additional information regarding copyright ownership. The
diff --git a/include/cxx/ctime b/include/cxx/ctime
index ae4f14f280..45b9aadcf6 100644
--- a/include/cxx/ctime
+++ b/include/cxx/ctime
@@ -1,6 +1,8 @@
//***************************************************************************
// include/cxx/ctime
//
+// SPDX-License-Identifier: Apache-2.0
+//
// Licensed to the Apache Software Foundation (ASF) under one or more
// contributor license agreements. See the NOTICE file distributed with
// this work for additional information regarding copyright ownership. The
diff --git a/include/cxx/cwchar b/include/cxx/cwchar
index 6df46055f9..71ede8cda6 100644
--- a/include/cxx/cwchar
+++ b/include/cxx/cwchar
@@ -1,6 +1,8 @@
//***************************************************************************
// include/cxx/cwchar
//
+// SPDX-License-Identifier: Apache-2.0
+//
// Licensed to the Apache Software Foundation (ASF) under one or more
// contributor license agreements. See the NOTICE file distributed with
// this work for additional information regarding copyright ownership. The
diff --git a/include/cxx/cwctype b/include/cxx/cwctype
index 3b9a2ec007..e90426113f 100644
--- a/include/cxx/cwctype
+++ b/include/cxx/cwctype
@@ -1,6 +1,8 @@
//***************************************************************************
// include/cxx/cwctype
//
+// SPDX-License-Identifier: Apache-2.0
+//
// Licensed to the Apache Software Foundation (ASF) under one or more
// contributor license agreements. See the NOTICE file distributed with
// this work for additional information regarding copyright ownership. The
diff --git a/include/debug.h b/include/debug.h
index 84dca40237..86739cb2e7 100644
--- a/include/debug.h
+++ b/include/debug.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/debug.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/dirent.h b/include/dirent.h
index 2d9a478aef..23da8e06bb 100644
--- a/include/dirent.h
+++ b/include/dirent.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/dirent.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/dlfcn.h b/include/dlfcn.h
index efef030066..8b6dba16fc 100644
--- a/include/dlfcn.h
+++ b/include/dlfcn.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/dlfcn.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/dsp.h b/include/dsp.h
index b387c27248..436b42ac3b 100644
--- a/include/dsp.h
+++ b/include/dsp.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/dsp.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/dspb16.h b/include/dspb16.h
index deef6128a6..9b095fb6b2 100644
--- a/include/dspb16.h
+++ b/include/dspb16.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/dspb16.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/elf.h b/include/elf.h
index 5de67bf2f2..ef6258c2b3 100644
--- a/include/elf.h
+++ b/include/elf.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/elf.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/elf32.h b/include/elf32.h
index 5ba13771f1..5b5f27a3cd 100644
--- a/include/elf32.h
+++ b/include/elf32.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/elf32.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/elf64.h b/include/elf64.h
index f5139255d5..865cc95a18 100644
--- a/include/elf64.h
+++ b/include/elf64.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/elf64.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/endian.h b/include/endian.h
index a428cdb71f..a7af044e28 100644
--- a/include/endian.h
+++ b/include/endian.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/endian.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/err.h b/include/err.h
index fec7f2729f..ed8bc51112 100644
--- a/include/err.h
+++ b/include/err.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/err.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/errno.h b/include/errno.h
index eaa976c993..615ebc818a 100644
--- a/include/errno.h
+++ b/include/errno.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/errno.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/execinfo.h b/include/execinfo.h
index 1092843970..20cc4fbbc8 100644
--- a/include/execinfo.h
+++ b/include/execinfo.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/execinfo.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/fcntl.h b/include/fcntl.h
index 9e897dba82..4acbb64efb 100644
--- a/include/fcntl.h
+++ b/include/fcntl.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/fcntl.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/fixedmath.h b/include/fixedmath.h
index 95d049913f..3f15ceddf4 100644
--- a/include/fixedmath.h
+++ b/include/fixedmath.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/fixedmath.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/fnmatch.h b/include/fnmatch.h
index bac89d6623..1dc3246bb7 100644
--- a/include/fnmatch.h
+++ b/include/fnmatch.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/fnmatch.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/ftw.h b/include/ftw.h
index 372c1112d7..2582a9c498 100644
--- a/include/ftw.h
+++ b/include/ftw.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/ftw.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/getopt.h b/include/getopt.h
index 265569b8ec..94a53068e7 100644
--- a/include/getopt.h
+++ b/include/getopt.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/getopt.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/glob.h b/include/glob.h
index 975063d3f8..cb4de40fa2 100644
--- a/include/glob.h
+++ b/include/glob.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/glob.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/grp.h b/include/grp.h
index db93fc2d80..d6297649ea 100644
--- a/include/grp.h
+++ b/include/grp.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/grp.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/hex2bin.h b/include/hex2bin.h
index a5b9eda35b..09a230285a 100644
--- a/include/hex2bin.h
+++ b/include/hex2bin.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/hex2bin.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/iconv.h b/include/iconv.h
index 1a360b629b..e73044d6e5 100644
--- a/include/iconv.h
+++ b/include/iconv.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/iconv.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/ifaddrs.h b/include/ifaddrs.h
index 02f5384263..34de7ea2e0 100644
--- a/include/ifaddrs.h
+++ b/include/ifaddrs.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/ifaddrs.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/inttypes.h b/include/inttypes.h
index 58b1e6af93..6111de0f8f 100644
--- a/include/inttypes.h
+++ b/include/inttypes.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/inttypes.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/iso646.h b/include/iso646.h
index 7928ba13de..25208cf634 100644
--- a/include/iso646.h
+++ b/include/iso646.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/iso646.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
@@ -68,4 +70,4 @@ extern "C"
}
#endif
-#endif /* __INCLUDE_ISO646_H */
\ No newline at end of file
+#endif /* __INCLUDE_ISO646_H */
diff --git a/include/langinfo.h b/include/langinfo.h
index 32edd88b80..e9259df2c5 100644
--- a/include/langinfo.h
+++ b/include/langinfo.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/langinfo.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/libgen.h b/include/libgen.h
index c735df5508..2bcc66d9f8 100644
--- a/include/libgen.h
+++ b/include/libgen.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/libgen.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/libintl.h b/include/libintl.h
index 8b555e368f..a5ccf8eb3c 100644
--- a/include/libintl.h
+++ b/include/libintl.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/libintl.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/limits.h b/include/limits.h
index 13bb91d2a4..e46f30898d 100644
--- a/include/limits.h
+++ b/include/limits.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/limits.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/locale.h b/include/locale.h
index bc877dfc1e..c0d95666a4 100644
--- a/include/locale.h
+++ b/include/locale.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/locale.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/lzf.h b/include/lzf.h
index d7c8211468..81ba13762c 100644
--- a/include/lzf.h
+++ b/include/lzf.h
@@ -1,9 +1,10 @@
/****************************************************************************
* include/lzf.h
- * http://liblzf.plan9.de/
*
- * Copyright (c) 2000-2008 Marc Alexander Lehmann <sc...@schmorp.de>
- * This algorithm is believed to be patent-free.
+ * SPDX-License-Identifier: BSD-2-Clause
+ * SPDX-FileCopyrightText: 2000-2008 Marc Alexander Lehmann <sc...@schmorp.de>
+ *
+ * This algorithm is believed to be patent-free.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
diff --git a/include/malloc.h b/include/malloc.h
index aac2671b2e..8168cd68a2 100644
--- a/include/malloc.h
+++ b/include/malloc.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/malloc.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/mqueue.h b/include/mqueue.h
index 361e8e66fd..8fb6c4470b 100644
--- a/include/mqueue.h
+++ b/include/mqueue.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/mqueue.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/net/ethernet.h b/include/net/ethernet.h
index a127c67c39..e8e589d011 100644
--- a/include/net/ethernet.h
+++ b/include/net/ethernet.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/net/ethernet.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/net/if.h b/include/net/if.h
index 5a604ad979..6d38a0ab7c 100644
--- a/include/net/if.h
+++ b/include/net/if.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/net/if.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/net/if_arp.h b/include/net/if_arp.h
index 0f7f31181f..6b4f62f68e 100644
--- a/include/net/if_arp.h
+++ b/include/net/if_arp.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/net/if_arp.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/net/route.h b/include/net/route.h
index 2df0c39b10..98d7c51b88 100644
--- a/include/net/route.h
+++ b/include/net/route.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/net/route.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/netdb.h b/include/netdb.h
index 7f2a0ee32a..ba8379fcf8 100644
--- a/include/netdb.h
+++ b/include/netdb.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/netdb.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/netinet/arp.h b/include/netinet/arp.h
index e6ae6c96cd..b60a0a4f8d 100644
--- a/include/netinet/arp.h
+++ b/include/netinet/arp.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/netinet/arp.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/netinet/ether.h b/include/netinet/ether.h
index afcc591f51..afa9f08868 100644
--- a/include/netinet/ether.h
+++ b/include/netinet/ether.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/netinet/ether.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/netinet/icmp6.h b/include/netinet/icmp6.h
index 532d95b360..85a47db082 100644
--- a/include/netinet/icmp6.h
+++ b/include/netinet/icmp6.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/netinet/icmp6.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/netinet/if_ether.h b/include/netinet/if_ether.h
index b38cb138d4..7ed3aa5ba1 100644
--- a/include/netinet/if_ether.h
+++ b/include/netinet/if_ether.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/netinet/if_ether.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/netinet/in.h b/include/netinet/in.h
index 564fa7b390..154f785e2c 100644
--- a/include/netinet/in.h
+++ b/include/netinet/in.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/netinet/in.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/netinet/ip.h b/include/netinet/ip.h
index ebc6a86a11..add7606813 100644
--- a/include/netinet/ip.h
+++ b/include/netinet/ip.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/netinet/ip.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/netinet/ip6.h b/include/netinet/ip6.h
index 4a94b51556..9ee1d4dc9e 100644
--- a/include/netinet/ip6.h
+++ b/include/netinet/ip6.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/netinet/ip6.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/netinet/tcp.h b/include/netinet/tcp.h
index 698140ff7a..0af530e563 100644
--- a/include/netinet/tcp.h
+++ b/include/netinet/tcp.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/netinet/tcp.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/netinet/udp.h b/include/netinet/udp.h
index 36a9a80aec..39edd5e2b5 100644
--- a/include/netinet/udp.h
+++ b/include/netinet/udp.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/netinet/udp.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/netpacket/bluetooth.h b/include/netpacket/bluetooth.h
index 0dda89dba6..e30d6169d9 100644
--- a/include/netpacket/bluetooth.h
+++ b/include/netpacket/bluetooth.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/netpacket/bluetooth.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/netpacket/ieee802154.h b/include/netpacket/ieee802154.h
index 711ab5000b..542553e773 100644
--- a/include/netpacket/ieee802154.h
+++ b/include/netpacket/ieee802154.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/netpacket/ieee802154.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/netpacket/if_addr.h b/include/netpacket/if_addr.h
index 7140c36ec5..e5c631baba 100644
--- a/include/netpacket/if_addr.h
+++ b/include/netpacket/if_addr.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/netpacket/if_addr.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/netpacket/netlink.h b/include/netpacket/netlink.h
index 31daae56a1..aba4ccaf15 100644
--- a/include/netpacket/netlink.h
+++ b/include/netpacket/netlink.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/netpacket/netlink.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/netpacket/packet.h b/include/netpacket/packet.h
index 3c3f19c6a0..0d677a0383 100644
--- a/include/netpacket/packet.h
+++ b/include/netpacket/packet.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/netpacket/packet.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/netpacket/rpmsg.h b/include/netpacket/rpmsg.h
index 46c93c0dfc..1ae5a50354 100644
--- a/include/netpacket/rpmsg.h
+++ b/include/netpacket/rpmsg.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/netpacket/rpmsg.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nl_types.h b/include/nl_types.h
index 88bf685d73..b73338cd52 100644
--- a/include/nl_types.h
+++ b/include/nl_types.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nl_types.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/1wire/1wire.h b/include/nuttx/1wire/1wire.h
index 1d67ed6b16..274506b3bf 100644
--- a/include/nuttx/1wire/1wire.h
+++ b/include/nuttx/1wire/1wire.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/1wire/1wire.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/1wire/1wire_crc.h b/include/nuttx/1wire/1wire_crc.h
index 481a915c33..7922c5792b 100644
--- a/include/nuttx/1wire/1wire_crc.h
+++ b/include/nuttx/1wire/1wire_crc.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/1wire/1wire_crc.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/1wire/1wire_master.h b/include/nuttx/1wire/1wire_master.h
index c4fd342748..e2ca27d7cd 100644
--- a/include/nuttx/1wire/1wire_master.h
+++ b/include/nuttx/1wire/1wire_master.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/1wire/1wire_master.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/1wire/ds28e17.h b/include/nuttx/1wire/ds28e17.h
index 2c3807387c..20f2982b5a 100644
--- a/include/nuttx/1wire/ds28e17.h
+++ b/include/nuttx/1wire/ds28e17.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/1wire/ds28e17.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/addrenv.h b/include/nuttx/addrenv.h
index 97160ca07e..f7dbc14a90 100644
--- a/include/nuttx/addrenv.h
+++ b/include/nuttx/addrenv.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/addrenv.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/allsyms.h b/include/nuttx/allsyms.h
index e068d3eec2..8e8bb0c857 100644
--- a/include/nuttx/allsyms.h
+++ b/include/nuttx/allsyms.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/allsyms.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/analog/adc.h b/include/nuttx/analog/adc.h
index be6cac2fff..c2bf9abc73 100644
--- a/include/nuttx/analog/adc.h
+++ b/include/nuttx/analog/adc.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/analog/adc.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/analog/ads1242.h b/include/nuttx/analog/ads1242.h
index 18e12cb26a..bd44b88c96 100644
--- a/include/nuttx/analog/ads1242.h
+++ b/include/nuttx/analog/ads1242.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/analog/ads1242.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/analog/ads7828.h b/include/nuttx/analog/ads7828.h
index 05f989e78c..3942e66d5c 100644
--- a/include/nuttx/analog/ads7828.h
+++ b/include/nuttx/analog/ads7828.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/analog/ads7828.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/analog/comp.h b/include/nuttx/analog/comp.h
index 0455d4a3de..fa8e84c9f3 100644
--- a/include/nuttx/analog/comp.h
+++ b/include/nuttx/analog/comp.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/analog/comp.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/analog/dac.h b/include/nuttx/analog/dac.h
index 179f54bff4..cb4c6a7c6c 100644
--- a/include/nuttx/analog/dac.h
+++ b/include/nuttx/analog/dac.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/analog/dac.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/analog/hx711.h b/include/nuttx/analog/hx711.h
index b8aa4daa1f..b51077bd76 100644
--- a/include/nuttx/analog/hx711.h
+++ b/include/nuttx/analog/hx711.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/analog/hx711.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/analog/ioctl.h b/include/nuttx/analog/ioctl.h
index eedc4a9bc2..a18c4bf190 100644
--- a/include/nuttx/analog/ioctl.h
+++ b/include/nuttx/analog/ioctl.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/analog/ioctl.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/analog/lmp92001.h b/include/nuttx/analog/lmp92001.h
index f3f4e50893..78fcda93f6 100644
--- a/include/nuttx/analog/lmp92001.h
+++ b/include/nuttx/analog/lmp92001.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/analog/lmp92001.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/analog/ltc1867l.h b/include/nuttx/analog/ltc1867l.h
index e59acef71e..b11a79e1fd 100644
--- a/include/nuttx/analog/ltc1867l.h
+++ b/include/nuttx/analog/ltc1867l.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/analog/ltc1867l.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/analog/max1161x.h b/include/nuttx/analog/max1161x.h
index 64859f4eff..517874ba74 100644
--- a/include/nuttx/analog/max1161x.h
+++ b/include/nuttx/analog/max1161x.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/analog/max1161x.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/analog/mcp48xx.h b/include/nuttx/analog/mcp48xx.h
index 01fa912585..dd35d44ec9 100644
--- a/include/nuttx/analog/mcp48xx.h
+++ b/include/nuttx/analog/mcp48xx.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/analog/mcp48xx.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/analog/opamp.h b/include/nuttx/analog/opamp.h
index f75f7a8789..410b12f7af 100644
--- a/include/nuttx/analog/opamp.h
+++ b/include/nuttx/analog/opamp.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/analog/opamp.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/analog/pga11x.h b/include/nuttx/analog/pga11x.h
index b76fa8001b..2cc317c461 100644
--- a/include/nuttx/analog/pga11x.h
+++ b/include/nuttx/analog/pga11x.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/analog/pga11x.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/arch.h b/include/nuttx/arch.h
index 249ba1c58c..b358be603b 100644
--- a/include/nuttx/arch.h
+++ b/include/nuttx/arch.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/arch.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/ascii.h b/include/nuttx/ascii.h
index e316c876e0..b2bec5492f 100644
--- a/include/nuttx/ascii.h
+++ b/include/nuttx/ascii.h
@@ -1,6 +1,7 @@
/****************************************************************************
* include/nuttx/ascii.h
- * ASCII Control Codes
+ *
+ * SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
diff --git a/include/nuttx/atexit.h b/include/nuttx/atexit.h
index 84a0167f3a..c7b32e1b7f 100644
--- a/include/nuttx/atexit.h
+++ b/include/nuttx/atexit.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/atexit.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/atomic.h b/include/nuttx/atomic.h
index 1fbe2556e8..6cdef92754 100644
--- a/include/nuttx/atomic.h
+++ b/include/nuttx/atomic.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/atomic.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/audio/audio.h b/include/nuttx/audio/audio.h
index 8533350bf3..15f69e2ae6 100644
--- a/include/nuttx/audio/audio.h
+++ b/include/nuttx/audio/audio.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/audio/audio.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/audio/audio_comp.h b/include/nuttx/audio/audio_comp.h
index 4a98cb977e..66119a652c 100644
--- a/include/nuttx/audio/audio_comp.h
+++ b/include/nuttx/audio/audio_comp.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/audio/audio_comp.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/audio/audio_dma.h b/include/nuttx/audio/audio_dma.h
index 4ad79431ab..39f1c90e17 100644
--- a/include/nuttx/audio/audio_dma.h
+++ b/include/nuttx/audio/audio_dma.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/audio/audio_dma.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/audio/audio_i2s.h b/include/nuttx/audio/audio_i2s.h
index 9cd90bceb1..170a996fa8 100644
--- a/include/nuttx/audio/audio_i2s.h
+++ b/include/nuttx/audio/audio_i2s.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/audio/audio_i2s.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/audio/audio_null.h b/include/nuttx/audio/audio_null.h
index e469dd3d4d..2a90fdd8ae 100644
--- a/include/nuttx/audio/audio_null.h
+++ b/include/nuttx/audio/audio_null.h
@@ -1,6 +1,7 @@
/****************************************************************************
* include/nuttx/audio/audio_null.h
- * A do-nothinig audio device driver to simplify testing of audio decoders.
+ *
+ * SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
diff --git a/include/nuttx/audio/cs4344.h b/include/nuttx/audio/cs4344.h
index 38b5fc9c7c..8900229bba 100644
--- a/include/nuttx/audio/cs4344.h
+++ b/include/nuttx/audio/cs4344.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/audio/cs4344.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/audio/cs43l22.h b/include/nuttx/audio/cs43l22.h
index f7595dbe90..5455b57fa4 100644
--- a/include/nuttx/audio/cs43l22.h
+++ b/include/nuttx/audio/cs43l22.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/audio/cs43l22.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/audio/es8311.h b/include/nuttx/audio/es8311.h
index 59ffc4d652..6d7d58c674 100644
--- a/include/nuttx/audio/es8311.h
+++ b/include/nuttx/audio/es8311.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/audio/es8311.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/audio/es8388.h b/include/nuttx/audio/es8388.h
index 36056a044c..9beea79f21 100644
--- a/include/nuttx/audio/es8388.h
+++ b/include/nuttx/audio/es8388.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/audio/es8388.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/audio/i2s.h b/include/nuttx/audio/i2s.h
index 38b951e386..2c8a16f77a 100644
--- a/include/nuttx/audio/i2s.h
+++ b/include/nuttx/audio/i2s.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/audio/i2s.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/audio/pcm.h b/include/nuttx/audio/pcm.h
index 8f6adec679..61527b42ed 100644
--- a/include/nuttx/audio/pcm.h
+++ b/include/nuttx/audio/pcm.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/audio/pcm.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/audio/tone.h b/include/nuttx/audio/tone.h
index 2daf048b12..bf41c39d51 100644
--- a/include/nuttx/audio/tone.h
+++ b/include/nuttx/audio/tone.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/audio/tone.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/audio/vs1053.h b/include/nuttx/audio/vs1053.h
index 35a9067b6e..34591bec49 100644
--- a/include/nuttx/audio/vs1053.h
+++ b/include/nuttx/audio/vs1053.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/audio/vs1053.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/audio/wm8776.h b/include/nuttx/audio/wm8776.h
index 1407a5dfd2..f5cd6320af 100644
--- a/include/nuttx/audio/wm8776.h
+++ b/include/nuttx/audio/wm8776.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/audio/wm8776.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/audio/wm8904.h b/include/nuttx/audio/wm8904.h
index 287a51d942..0138c6eb04 100644
--- a/include/nuttx/audio/wm8904.h
+++ b/include/nuttx/audio/wm8904.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/audio/wm8904.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/audio/wm8994.h b/include/nuttx/audio/wm8994.h
index cf42da295b..c07c0ec32b 100644
--- a/include/nuttx/audio/wm8994.h
+++ b/include/nuttx/audio/wm8994.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/audio/wm8994.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/binfmt/binfmt.h b/include/nuttx/binfmt/binfmt.h
index 934bc8bafc..044719692f 100644
--- a/include/nuttx/binfmt/binfmt.h
+++ b/include/nuttx/binfmt/binfmt.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/binfmt/binfmt.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/binfmt/elf.h b/include/nuttx/binfmt/elf.h
index 52e3941790..854c010688 100644
--- a/include/nuttx/binfmt/elf.h
+++ b/include/nuttx/binfmt/elf.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/binfmt/elf.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/binfmt/ieee695.h b/include/nuttx/binfmt/ieee695.h
index ed5b25d6cf..42d7404f3d 100644
--- a/include/nuttx/binfmt/ieee695.h
+++ b/include/nuttx/binfmt/ieee695.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/binfmt/ieee695.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/binfmt/nxflat.h b/include/nuttx/binfmt/nxflat.h
index 2a7a04fdac..9b4df4732d 100644
--- a/include/nuttx/binfmt/nxflat.h
+++ b/include/nuttx/binfmt/nxflat.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/binfmt/nxflat.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/binfmt/symtab.h b/include/nuttx/binfmt/symtab.h
index 9bbade8f1d..2a7ad5c2e4 100644
--- a/include/nuttx/binfmt/symtab.h
+++ b/include/nuttx/binfmt/symtab.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/binfmt/symtab.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/bits.h b/include/nuttx/bits.h
index 7d31e2e491..7ae60aba53 100644
--- a/include/nuttx/bits.h
+++ b/include/nuttx/bits.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/bits.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/board.h b/include/nuttx/board.h
index 9c64d53909..33053a2f93 100644
--- a/include/nuttx/board.h
+++ b/include/nuttx/board.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/board.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/cache.h b/include/nuttx/cache.h
index b978c01e7a..030b6d7e3f 100644
--- a/include/nuttx/cache.h
+++ b/include/nuttx/cache.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/cache.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/can.h b/include/nuttx/can.h
index 76d45802d2..3803f10598 100644
--- a/include/nuttx/can.h
+++ b/include/nuttx/can.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/can.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/can/can.h b/include/nuttx/can/can.h
index afc6522189..1ee02ae552 100644
--- a/include/nuttx/can/can.h
+++ b/include/nuttx/can/can.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/can/can.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/can/mcp2515.h b/include/nuttx/can/mcp2515.h
index b7a9fb400e..5b1fecbe58 100644
--- a/include/nuttx/can/mcp2515.h
+++ b/include/nuttx/can/mcp2515.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/can/mcp2515.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/can/sja1000.h b/include/nuttx/can/sja1000.h
index f3faf09483..e3f032dd46 100644
--- a/include/nuttx/can/sja1000.h
+++ b/include/nuttx/can/sja1000.h
@@ -1,9 +1,7 @@
/****************************************************************************
* include/nuttx/can/sja1000.h
*
- * SJA1000 CAN driver based on esp32c3_twai.h
- *
- * License header retained from original source.
+ * SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
diff --git a/include/nuttx/cancelpt.h b/include/nuttx/cancelpt.h
index 014fb77cc8..052c43430d 100644
--- a/include/nuttx/cancelpt.h
+++ b/include/nuttx/cancelpt.h
@@ -1,6 +1,7 @@
/****************************************************************************
* include/nuttx/cancelpt.h
- * Definitions related to cancellation points
+ *
+ * SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
diff --git a/include/nuttx/clk/clk.h b/include/nuttx/clk/clk.h
index 8412fa7833..0fd60e323b 100644
--- a/include/nuttx/clk/clk.h
+++ b/include/nuttx/clk/clk.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/clk/clk.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/clk/clk_provider.h b/include/nuttx/clk/clk_provider.h
index 2739747a4a..c64b174d4d 100644
--- a/include/nuttx/clk/clk_provider.h
+++ b/include/nuttx/clk/clk_provider.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/clk/clk_provider.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/clock.h b/include/nuttx/clock.h
index f56c9e6bd6..74b55d2ad5 100644
--- a/include/nuttx/clock.h
+++ b/include/nuttx/clock.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/clock.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/compiler.h b/include/nuttx/compiler.h
index cb16527c01..c8bbe60e54 100644
--- a/include/nuttx/compiler.h
+++ b/include/nuttx/compiler.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/compiler.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/contactless/ioctl.h b/include/nuttx/contactless/ioctl.h
index 7981aecc75..8a98f53345 100644
--- a/include/nuttx/contactless/ioctl.h
+++ b/include/nuttx/contactless/ioctl.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/contactless/ioctl.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/contactless/mfrc522.h b/include/nuttx/contactless/mfrc522.h
index 14ca7fb9ff..9d1818368f 100644
--- a/include/nuttx/contactless/mfrc522.h
+++ b/include/nuttx/contactless/mfrc522.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/contactless/mfrc522.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/contactless/pn532.h b/include/nuttx/contactless/pn532.h
index 08292a80a0..24558d1846 100644
--- a/include/nuttx/contactless/pn532.h
+++ b/include/nuttx/contactless/pn532.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/contactless/pn532.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/coredump.h b/include/nuttx/coredump.h
index db41e769b2..1c1df1b6d3 100644
--- a/include/nuttx/coredump.h
+++ b/include/nuttx/coredump.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/coredump.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/coresight/coresight.h b/include/nuttx/coresight/coresight.h
index d0e14ddb76..dc4a445f48 100644
--- a/include/nuttx/coresight/coresight.h
+++ b/include/nuttx/coresight/coresight.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/coresight/coresight.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/coresight/coresight_etb.h b/include/nuttx/coresight/coresight_etb.h
index a6ed913b54..f8a16cbe6d 100644
--- a/include/nuttx/coresight/coresight_etb.h
+++ b/include/nuttx/coresight/coresight_etb.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/coresight/coresight_etb.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/coresight/coresight_etm.h b/include/nuttx/coresight/coresight_etm.h
index 33822ea906..d7a6bf9057 100644
--- a/include/nuttx/coresight/coresight_etm.h
+++ b/include/nuttx/coresight/coresight_etm.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/coresight/coresight_etm.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/coresight/coresight_funnel.h b/include/nuttx/coresight/coresight_funnel.h
index 43e02fc306..2a47f773c1 100644
--- a/include/nuttx/coresight/coresight_funnel.h
+++ b/include/nuttx/coresight/coresight_funnel.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/coresight/coresight_funnel.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/coresight/coresight_replicator.h b/include/nuttx/coresight/coresight_replicator.h
index 09e643a1a4..46910ed275 100644
--- a/include/nuttx/coresight/coresight_replicator.h
+++ b/include/nuttx/coresight/coresight_replicator.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/coresight/coresight_replicator.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/coresight/coresight_stm.h b/include/nuttx/coresight/coresight_stm.h
index 83fcff99f0..be38cb5135 100644
--- a/include/nuttx/coresight/coresight_stm.h
+++ b/include/nuttx/coresight/coresight_stm.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/coresight/coresight_stm.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/coresight/coresight_tmc.h b/include/nuttx/coresight/coresight_tmc.h
index 99afb02c21..199c8ea185 100644
--- a/include/nuttx/coresight/coresight_tmc.h
+++ b/include/nuttx/coresight/coresight_tmc.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/coresight/coresight_tmc.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/coresight/coresight_tpiu.h b/include/nuttx/coresight/coresight_tpiu.h
index d967dcd449..a6aa78341b 100644
--- a/include/nuttx/coresight/coresight_tpiu.h
+++ b/include/nuttx/coresight/coresight_tpiu.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/coresight/coresight_tpiu.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/crc16.h b/include/nuttx/crc16.h
index 328f2b0226..1caa6812d7 100644
--- a/include/nuttx/crc16.h
+++ b/include/nuttx/crc16.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/crc16.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/crc32.h b/include/nuttx/crc32.h
index 3aa1abd322..15b8ea4777 100644
--- a/include/nuttx/crc32.h
+++ b/include/nuttx/crc32.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/crc32.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/crc64.h b/include/nuttx/crc64.h
index 15ef4271c6..1b5b4dc19f 100644
--- a/include/nuttx/crc64.h
+++ b/include/nuttx/crc64.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/crc64.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/crc8.h b/include/nuttx/crc8.h
index 469c2f0438..ab2ea07027 100644
--- a/include/nuttx/crc8.h
+++ b/include/nuttx/crc8.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/crc8.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/crypto/blake2s.h b/include/nuttx/crypto/blake2s.h
index da16981888..150b7b5cb0 100644
--- a/include/nuttx/crypto/blake2s.h
+++ b/include/nuttx/crypto/blake2s.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/crypto/blake2s.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/crypto/crypto.h b/include/nuttx/crypto/crypto.h
index b06b264d7d..f9b09ed91c 100644
--- a/include/nuttx/crypto/crypto.h
+++ b/include/nuttx/crypto/crypto.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/crypto/crypto.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/crypto/se05x.h b/include/nuttx/crypto/se05x.h
index 9b82a38341..9ce596a384 100644
--- a/include/nuttx/crypto/se05x.h
+++ b/include/nuttx/crypto/se05x.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/crypto/se05x.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/crypto/tea.h b/include/nuttx/crypto/tea.h
index 2cad075abb..d8502ad24b 100644
--- a/include/nuttx/crypto/tea.h
+++ b/include/nuttx/crypto/tea.h
@@ -1,6 +1,7 @@
/****************************************************************************
* include/nuttx/crypto/tea.h
- * Tiny Encryption Algorithm
+ *
+ * SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
diff --git a/include/nuttx/dma/dma.h b/include/nuttx/dma/dma.h
index c671842f63..46793eb439 100644
--- a/include/nuttx/dma/dma.h
+++ b/include/nuttx/dma/dma.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/dma/dma.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/drivers/addrenv.h b/include/nuttx/drivers/addrenv.h
index 9456922a94..9f03bd1ecb 100644
--- a/include/nuttx/drivers/addrenv.h
+++ b/include/nuttx/drivers/addrenv.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/drivers/addrenv.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/drivers/drivers.h b/include/nuttx/drivers/drivers.h
index 3a44dc5b39..672242691b 100644
--- a/include/nuttx/drivers/drivers.h
+++ b/include/nuttx/drivers/drivers.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/drivers/drivers.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/drivers/goldfish_pipe.h b/include/nuttx/drivers/goldfish_pipe.h
index 90120c5757..ae4ea70bbc 100644
--- a/include/nuttx/drivers/goldfish_pipe.h
+++ b/include/nuttx/drivers/goldfish_pipe.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/drivers/goldfish_pipe.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/drivers/optee.h b/include/nuttx/drivers/optee.h
index ab79e773c2..5260a07bd5 100644
--- a/include/nuttx/drivers/optee.h
+++ b/include/nuttx/drivers/optee.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/drivers/optee.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/drivers/ramdisk.h b/include/nuttx/drivers/ramdisk.h
index ddffaa6071..9f3bb5e65e 100644
--- a/include/nuttx/drivers/ramdisk.h
+++ b/include/nuttx/drivers/ramdisk.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/drivers/ramdisk.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/drivers/rpmsgblk.h b/include/nuttx/drivers/rpmsgblk.h
index 3ee2a20056..0765b21f65 100644
--- a/include/nuttx/drivers/rpmsgblk.h
+++ b/include/nuttx/drivers/rpmsgblk.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/drivers/rpmsgblk.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/drivers/rpmsgdev.h b/include/nuttx/drivers/rpmsgdev.h
index 156f8c9326..1bef6e694c 100644
--- a/include/nuttx/drivers/rpmsgdev.h
+++ b/include/nuttx/drivers/rpmsgdev.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/drivers/rpmsgdev.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/drivers/rwbuffer.h b/include/nuttx/drivers/rwbuffer.h
index 712ccf0429..32ce6db0e0 100644
--- a/include/nuttx/drivers/rwbuffer.h
+++ b/include/nuttx/drivers/rwbuffer.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/drivers/rwbuffer.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/eeprom/i2c_xx24xx.h b/include/nuttx/eeprom/i2c_xx24xx.h
index 3b231a1a64..7761c45421 100644
--- a/include/nuttx/eeprom/i2c_xx24xx.h
+++ b/include/nuttx/eeprom/i2c_xx24xx.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/eeprom/i2c_xx24xx.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/eeprom/spi_xx25xx.h b/include/nuttx/eeprom/spi_xx25xx.h
index 29fcc98cbf..a9eb252a58 100644
--- a/include/nuttx/eeprom/spi_xx25xx.h
+++ b/include/nuttx/eeprom/spi_xx25xx.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/eeprom/spi_xx25xx.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/efuse/efuse.h b/include/nuttx/efuse/efuse.h
index d40559727d..1bc288a32a 100644
--- a/include/nuttx/efuse/efuse.h
+++ b/include/nuttx/efuse/efuse.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/efuse/efuse.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/efuse/sama5_sfc_fuses.h b/include/nuttx/efuse/sama5_sfc_fuses.h
index 60fe1c34e2..85448f837b 100644
--- a/include/nuttx/efuse/sama5_sfc_fuses.h
+++ b/include/nuttx/efuse/sama5_sfc_fuses.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/efuse/sama5_sfc_fuses.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/elf.h b/include/nuttx/elf.h
index c7ba1337a3..522795de78 100644
--- a/include/nuttx/elf.h
+++ b/include/nuttx/elf.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/elf.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/environ.h b/include/nuttx/environ.h
index e71a949c2a..e3ff666a3f 100644
--- a/include/nuttx/environ.h
+++ b/include/nuttx/environ.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/environ.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/envpath.h b/include/nuttx/envpath.h
index ed8ea4dc76..b8fc0ebfd1 100644
--- a/include/nuttx/envpath.h
+++ b/include/nuttx/envpath.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/envpath.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/ethtool.h b/include/nuttx/ethtool.h
index cd0bbcbbf6..26412a6a1f 100644
--- a/include/nuttx/ethtool.h
+++ b/include/nuttx/ethtool.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/ethtool.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/event.h b/include/nuttx/event.h
index d4dbdbca4a..f3b42c87ef 100644
--- a/include/nuttx/event.h
+++ b/include/nuttx/event.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/event.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/fdcheck.h b/include/nuttx/fdcheck.h
index af55f87ed1..70f8e252ac 100644
--- a/include/nuttx/fdcheck.h
+++ b/include/nuttx/fdcheck.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/fdcheck.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/fdt.h b/include/nuttx/fdt.h
index 3405ae9f5a..aa2a0d0634 100644
--- a/include/nuttx/fdt.h
+++ b/include/nuttx/fdt.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/fdt.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/fs/automount.h b/include/nuttx/fs/automount.h
index 0f87a2ea63..f37896420f 100644
--- a/include/nuttx/fs/automount.h
+++ b/include/nuttx/fs/automount.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/fs/automount.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/fs/fat.h b/include/nuttx/fs/fat.h
index a04433129e..3a71468f74 100644
--- a/include/nuttx/fs/fat.h
+++ b/include/nuttx/fs/fat.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/fs/fat.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/fs/fs.h b/include/nuttx/fs/fs.h
index 3787879d23..6771334a39 100644
--- a/include/nuttx/fs/fs.h
+++ b/include/nuttx/fs/fs.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/fs/fs.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/fs/hostfs.h b/include/nuttx/fs/hostfs.h
index 9d7d045bcf..fbf1e8bca1 100644
--- a/include/nuttx/fs/hostfs.h
+++ b/include/nuttx/fs/hostfs.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/fs/hostfs.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/fs/ioctl.h b/include/nuttx/fs/ioctl.h
index 8ed1e1b926..6d98dc43a9 100644
--- a/include/nuttx/fs/ioctl.h
+++ b/include/nuttx/fs/ioctl.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/fs/ioctl.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/fs/loop.h b/include/nuttx/fs/loop.h
index c6844d67c7..3a8c71df47 100644
--- a/include/nuttx/fs/loop.h
+++ b/include/nuttx/fs/loop.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/fs/loop.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/fs/loopmtd.h b/include/nuttx/fs/loopmtd.h
index eadc41365d..23b11ded7a 100644
--- a/include/nuttx/fs/loopmtd.h
+++ b/include/nuttx/fs/loopmtd.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/fs/loopmtd.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/fs/nfs.h b/include/nuttx/fs/nfs.h
index f5bb1e730f..35e9e006b5 100644
--- a/include/nuttx/fs/nfs.h
+++ b/include/nuttx/fs/nfs.h
@@ -1,17 +1,11 @@
/****************************************************************************
* include/nuttx/fs/nfs.h
*
- * Copyright (C) 2012 Gregory Nutt. All rights reserved.
- * Copyright (C) 2012 Jose Pablo Rojas Vargas. All rights reserved.
- * Author: Jose Pablo Rojas Vargas <jr...@nx-engineering.com>
- *
- * Some of the content of this file was leveraged from OpenBSD:
- *
- * Copyright (c) 1989, 1993, 1995
- * The Regents of the University of California. All rights reserved.
- *
- * This code is derived from software contributed to Berkeley by
- * Rick Macklem at The University of Guelph.
+ * SPDX-License-Identifier: BSD-3-Clause
+ * SPDX-FileCopyrightText: 2012 Gregory Nutt. All rights reserved.
+ * SPDX-FileCopyrightText: 2012 Jose Pablo Rojas Vargas. All rights reserved.
+ * SPDX-FileCopyrightText: 1989, 1993, 1995 The Regents of the University of California. All rights reserved.
+ * SPDX-FileContributor: Jose Pablo Rojas Vargas <jr...@nx-engineering.com>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
diff --git a/include/nuttx/fs/nxffs.h b/include/nuttx/fs/nxffs.h
index f8648b37af..2dc829e2fb 100644
--- a/include/nuttx/fs/nxffs.h
+++ b/include/nuttx/fs/nxffs.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/fs/nxffs.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/fs/partition.h b/include/nuttx/fs/partition.h
index 801b74673c..16141d60c0 100644
--- a/include/nuttx/fs/partition.h
+++ b/include/nuttx/fs/partition.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/fs/partition.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/fs/procfs.h b/include/nuttx/fs/procfs.h
index 6d161b51a7..efece595f9 100644
--- a/include/nuttx/fs/procfs.h
+++ b/include/nuttx/fs/procfs.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/fs/procfs.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/fs/smart.h b/include/nuttx/fs/smart.h
index 46aade7d58..7ff48a54e4 100644
--- a/include/nuttx/fs/smart.h
+++ b/include/nuttx/fs/smart.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/fs/smart.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/fs/userfs.h b/include/nuttx/fs/userfs.h
index 2a27a505ea..6104f624c0 100644
--- a/include/nuttx/fs/userfs.h
+++ b/include/nuttx/fs/userfs.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/fs/userfs.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/gdbstub.h b/include/nuttx/gdbstub.h
index 769ce53136..83f40adff5 100644
--- a/include/nuttx/gdbstub.h
+++ b/include/nuttx/gdbstub.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/gdbstub.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/hashtable.h b/include/nuttx/hashtable.h
index bf946ddd0a..50610fb0c2 100644
--- a/include/nuttx/hashtable.h
+++ b/include/nuttx/hashtable.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/hashtable.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/himem/himem.h b/include/nuttx/himem/himem.h
index f2f5d3bb56..68cc1404af 100644
--- a/include/nuttx/himem/himem.h
+++ b/include/nuttx/himem/himem.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/himem/himem.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/hwspinlock/hwspinlock.h b/include/nuttx/hwspinlock/hwspinlock.h
index f9b0539046..deee7ff183 100644
--- a/include/nuttx/hwspinlock/hwspinlock.h
+++ b/include/nuttx/hwspinlock/hwspinlock.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/hwspinlock/hwspinlock.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/i2c/i2c_bitbang.h b/include/nuttx/i2c/i2c_bitbang.h
index 1e8e6c4f97..16bcfb0927 100644
--- a/include/nuttx/i2c/i2c_bitbang.h
+++ b/include/nuttx/i2c/i2c_bitbang.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/i2c/i2c_bitbang.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/i2c/i2c_master.h b/include/nuttx/i2c/i2c_master.h
index da74c9faa2..652405a58c 100644
--- a/include/nuttx/i2c/i2c_master.h
+++ b/include/nuttx/i2c/i2c_master.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/i2c/i2c_master.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/i2c/i2c_slave.h b/include/nuttx/i2c/i2c_slave.h
index 5948e1516a..4fd7772a8e 100644
--- a/include/nuttx/i2c/i2c_slave.h
+++ b/include/nuttx/i2c/i2c_slave.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/i2c/i2c_slave.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/i2c/pca9540bdp.h b/include/nuttx/i2c/pca9540bdp.h
index 21cf71f651..2b389738ff 100644
--- a/include/nuttx/i2c/pca9540bdp.h
+++ b/include/nuttx/i2c/pca9540bdp.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/i2c/pca9540bdp.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/i2c/tca9548a.h b/include/nuttx/i2c/tca9548a.h
index 74de6a6844..ff11cc664f 100644
--- a/include/nuttx/i2c/tca9548a.h
+++ b/include/nuttx/i2c/tca9548a.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/i2c/tca9548a.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/i3c/ccc.h b/include/nuttx/i3c/ccc.h
index 229f321011..409ac88270 100644
--- a/include/nuttx/i3c/ccc.h
+++ b/include/nuttx/i3c/ccc.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/i3c/ccc.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/i3c/device.h b/include/nuttx/i3c/device.h
index e8cc3d5f84..1a57ace9bd 100644
--- a/include/nuttx/i3c/device.h
+++ b/include/nuttx/i3c/device.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/i3c/device.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/i3c/i3c_driver.h b/include/nuttx/i3c/i3c_driver.h
index 49b57771b0..716b6de6cb 100644
--- a/include/nuttx/i3c/i3c_driver.h
+++ b/include/nuttx/i3c/i3c_driver.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/i3c/i3c_driver.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/i3c/master.h b/include/nuttx/i3c/master.h
index ce7924cdee..fc78722ea7 100644
--- a/include/nuttx/i3c/master.h
+++ b/include/nuttx/i3c/master.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/i3c/master.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/idr.h b/include/nuttx/idr.h
index edb461556e..0309bde1e8 100644
--- a/include/nuttx/idr.h
+++ b/include/nuttx/idr.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/idr.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/init.h b/include/nuttx/init.h
index 9889fb5857..b2943826cf 100644
--- a/include/nuttx/init.h
+++ b/include/nuttx/init.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/init.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/input/ads7843e.h b/include/nuttx/input/ads7843e.h
index e3d3ff258d..02f16d91ac 100644
--- a/include/nuttx/input/ads7843e.h
+++ b/include/nuttx/input/ads7843e.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/input/ads7843e.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/input/ajoystick.h b/include/nuttx/input/ajoystick.h
index a2d0c5db6e..6a882fdb6d 100644
--- a/include/nuttx/input/ajoystick.h
+++ b/include/nuttx/input/ajoystick.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/input/ajoystick.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/input/aw86225.h b/include/nuttx/input/aw86225.h
index 2e2a5ececa..57fcca39d9 100644
--- a/include/nuttx/input/aw86225.h
+++ b/include/nuttx/input/aw86225.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/input/aw86225.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/input/buttons.h b/include/nuttx/input/buttons.h
index 757ac28d31..606465b598 100644
--- a/include/nuttx/input/buttons.h
+++ b/include/nuttx/input/buttons.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/input/buttons.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/input/cypress_mbr3108.h b/include/nuttx/input/cypress_mbr3108.h
index 3f76baa1de..45decc44b0 100644
--- a/include/nuttx/input/cypress_mbr3108.h
+++ b/include/nuttx/input/cypress_mbr3108.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/input/cypress_mbr3108.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/input/djoystick.h b/include/nuttx/input/djoystick.h
index d35f5505ef..b01608de04 100644
--- a/include/nuttx/input/djoystick.h
+++ b/include/nuttx/input/djoystick.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/input/djoystick.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/input/ff.h b/include/nuttx/input/ff.h
index 0ae1f01cb8..b3e3e18b39 100644
--- a/include/nuttx/input/ff.h
+++ b/include/nuttx/input/ff.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/input/ff.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/input/ff_dummy.h b/include/nuttx/input/ff_dummy.h
index b2ea7c5eb2..947b2d72b4 100644
--- a/include/nuttx/input/ff_dummy.h
+++ b/include/nuttx/input/ff_dummy.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/input/ff_dummy.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/input/ft5x06.h b/include/nuttx/input/ft5x06.h
index 356df28a68..ef81fa0cf4 100644
--- a/include/nuttx/input/ft5x06.h
+++ b/include/nuttx/input/ft5x06.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/input/ft5x06.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/input/goldfish_events.h b/include/nuttx/input/goldfish_events.h
index a62e8cebc6..910a3f2e75 100644
--- a/include/nuttx/input/goldfish_events.h
+++ b/include/nuttx/input/goldfish_events.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/input/goldfish_events.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/input/gt9xx.h b/include/nuttx/input/gt9xx.h
index ccb49ac8ee..b9d7dead8b 100644
--- a/include/nuttx/input/gt9xx.h
+++ b/include/nuttx/input/gt9xx.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/input/gt9xx.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/input/ioctl.h b/include/nuttx/input/ioctl.h
index 0be4cbf366..d81d526b34 100644
--- a/include/nuttx/input/ioctl.h
+++ b/include/nuttx/input/ioctl.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/input/ioctl.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/input/kbd_codec.h b/include/nuttx/input/kbd_codec.h
index 9a1cb01c45..951e1ee472 100644
--- a/include/nuttx/input/kbd_codec.h
+++ b/include/nuttx/input/kbd_codec.h
@@ -1,6 +1,7 @@
/****************************************************************************
* include/nuttx/input/kbd_codec.h
- * Serialize and marshaling keyboard data and events
+ *
+ * SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
diff --git a/include/nuttx/input/keyboard.h b/include/nuttx/input/keyboard.h
index 6a7e348ab0..0f52d9bf17 100644
--- a/include/nuttx/input/keyboard.h
+++ b/include/nuttx/input/keyboard.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/input/keyboard.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/input/max11802.h b/include/nuttx/input/max11802.h
index cb74ce551d..0142556913 100644
--- a/include/nuttx/input/max11802.h
+++ b/include/nuttx/input/max11802.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/input/max11802.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/input/mouse.h b/include/nuttx/input/mouse.h
index ee44552063..2f7f3f0ae0 100644
--- a/include/nuttx/input/mouse.h
+++ b/include/nuttx/input/mouse.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/input/mouse.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/input/mxt.h b/include/nuttx/input/mxt.h
index b196b684ba..ae928a0fac 100644
--- a/include/nuttx/input/mxt.h
+++ b/include/nuttx/input/mxt.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/input/mxt.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/input/nunchuck.h b/include/nuttx/input/nunchuck.h
index 95c63e314a..170407b5f5 100644
--- a/include/nuttx/input/nunchuck.h
+++ b/include/nuttx/input/nunchuck.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/input/nunchuck.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/input/spq10kbd.h b/include/nuttx/input/spq10kbd.h
index 4e6aa3d96c..ba9de0eb47 100644
--- a/include/nuttx/input/spq10kbd.h
+++ b/include/nuttx/input/spq10kbd.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/input/spq10kbd.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/input/stmpe811.h b/include/nuttx/input/stmpe811.h
index 4d52437765..cb51418e09 100644
--- a/include/nuttx/input/stmpe811.h
+++ b/include/nuttx/input/stmpe811.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/input/stmpe811.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/input/touchscreen.h b/include/nuttx/input/touchscreen.h
index 34801e11de..b5efd54e30 100644
--- a/include/nuttx/input/touchscreen.h
+++ b/include/nuttx/input/touchscreen.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/input/touchscreen.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/input/tsc2007.h b/include/nuttx/input/tsc2007.h
index 87558f9b39..05de716aa0 100644
--- a/include/nuttx/input/tsc2007.h
+++ b/include/nuttx/input/tsc2007.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/input/tsc2007.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/input/uinput.h b/include/nuttx/input/uinput.h
index 83c84b95b2..cfc2ee6ffe 100644
--- a/include/nuttx/input/uinput.h
+++ b/include/nuttx/input/uinput.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/input/uinput.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
diff --git a/include/nuttx/input/virtio-input-event-codes.h b/include/nuttx/input/virtio-input-event-codes.h
index b8a2aa1f9c..811f6aa894 100644
--- a/include/nuttx/input/virtio-input-event-codes.h
+++ b/include/nuttx/input/virtio-input-event-codes.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/input/virtio-input-event-codes.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/input/xbox-controller.h b/include/nuttx/input/xbox-controller.h
index 5200b6fd6f..fd10964f64 100644
--- a/include/nuttx/input/xbox-controller.h
+++ b/include/nuttx/input/xbox-controller.h
@@ -1,8 +1,9 @@
/****************************************************************************
* include/nuttx/input/xbox-controller.h
*
- * Copyright (C) 2016 Brian Webb.
- * Author: Brian Webb <we...@gmail.com>
+ * SPDX-License-Identifier: BSD-3-Clause
+ * SPDX-FileCopyrightText: 2016 Brian Webb.
+ * SPDX-FileContributor: Brian Webb <we...@gmail.com>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
diff --git a/include/nuttx/instrument.h b/include/nuttx/instrument.h
index c39b9462ac..3467629b4e 100644
--- a/include/nuttx/instrument.h
+++ b/include/nuttx/instrument.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/instrument.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/ioexpander/gpio.h b/include/nuttx/ioexpander/gpio.h
index bd1bd5cd03..8e27b6a077 100644
--- a/include/nuttx/ioexpander/gpio.h
+++ b/include/nuttx/ioexpander/gpio.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/ioexpander/gpio.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/ioexpander/icjx.h b/include/nuttx/ioexpander/icjx.h
index aa133a4495..20f4efd2fe 100644
--- a/include/nuttx/ioexpander/icjx.h
+++ b/include/nuttx/ioexpander/icjx.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/ioexpander/icjx.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/ioexpander/ioe_dummy.h b/include/nuttx/ioexpander/ioe_dummy.h
index 8fe807736f..f2dae0db3b 100644
--- a/include/nuttx/ioexpander/ioe_dummy.h
+++ b/include/nuttx/ioexpander/ioe_dummy.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/ioexpander/ioe_dummy.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/ioexpander/ioe_rpmsg.h b/include/nuttx/ioexpander/ioe_rpmsg.h
index 24324dab21..4eebea8ce2 100644
--- a/include/nuttx/ioexpander/ioe_rpmsg.h
+++ b/include/nuttx/ioexpander/ioe_rpmsg.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/ioexpander/ioe_rpmsg.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/ioexpander/ioexpander.h b/include/nuttx/ioexpander/ioexpander.h
index 17529f0ed9..06e2c24054 100644
--- a/include/nuttx/ioexpander/ioexpander.h
+++ b/include/nuttx/ioexpander/ioexpander.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/ioexpander/ioexpander.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/ioexpander/iso1h812g.h b/include/nuttx/ioexpander/iso1h812g.h
index 3c6c6e2da9..9293c83b1d 100644
--- a/include/nuttx/ioexpander/iso1h812g.h
+++ b/include/nuttx/ioexpander/iso1h812g.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/ioexpander/iso1h812g.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/ioexpander/iso1i813t.h b/include/nuttx/ioexpander/iso1i813t.h
index f042ffb553..e6efd1d5c4 100644
--- a/include/nuttx/ioexpander/iso1i813t.h
+++ b/include/nuttx/ioexpander/iso1i813t.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/ioexpander/iso1i813t.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/ioexpander/mcp23x17.h b/include/nuttx/ioexpander/mcp23x17.h
index 706e26036c..fb290c7b78 100644
--- a/include/nuttx/ioexpander/mcp23x17.h
+++ b/include/nuttx/ioexpander/mcp23x17.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/ioexpander/mcp23x17.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/ioexpander/pca9538.h b/include/nuttx/ioexpander/pca9538.h
index d9a300a5e7..bd7cdc600f 100644
--- a/include/nuttx/ioexpander/pca9538.h
+++ b/include/nuttx/ioexpander/pca9538.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/ioexpander/pca9538.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/ioexpander/pca9555.h b/include/nuttx/ioexpander/pca9555.h
index 9e6f3b630c..4e6d5ca642 100644
--- a/include/nuttx/ioexpander/pca9555.h
+++ b/include/nuttx/ioexpander/pca9555.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/ioexpander/pca9555.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/ioexpander/pcf8574.h b/include/nuttx/ioexpander/pcf8574.h
index a42077ca11..f7b5c213fc 100644
--- a/include/nuttx/ioexpander/pcf8574.h
+++ b/include/nuttx/ioexpander/pcf8574.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/ioexpander/pcf8574.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/ioexpander/pcf8575.h b/include/nuttx/ioexpander/pcf8575.h
index da75714e57..c669976216 100644
--- a/include/nuttx/ioexpander/pcf8575.h
+++ b/include/nuttx/ioexpander/pcf8575.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/ioexpander/pcf8575.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/ioexpander/sx1509.h b/include/nuttx/ioexpander/sx1509.h
index a61ce97ede..4a5057e386 100644
--- a/include/nuttx/ioexpander/sx1509.h
+++ b/include/nuttx/ioexpander/sx1509.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/ioexpander/sx1509.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/ioexpander/tca64xx.h b/include/nuttx/ioexpander/tca64xx.h
index 96f7582675..263524628b 100644
--- a/include/nuttx/ioexpander/tca64xx.h
+++ b/include/nuttx/ioexpander/tca64xx.h
@@ -1,39 +1,22 @@
/****************************************************************************
* include/nuttx/ioexpander/tca64xx.h
*
- * Copyright (C) 2016 Gregory Nutt. All rights reserved.
- * Author: Gregory Nutt <gn...@nuttx.org>
+ * SPDX-License-Identifier: Apache-2.0
*
- * This header file derives, in part, from the Project Ara TCA64xx driver
- * which has this copyright:
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership. The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License. You may obtain a copy of the License at
*
- * Copyright (c) 2014-2015 Google Inc.
- * All rights reserved.
+ * http://www.apache.org/licenses/LICENSE-2.0
*
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
- *
- * 1. Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- * 3. Neither the name of the copyright holder nor the names of its
- * contributors may be used to endorse or promote products derived from this
- * software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
- * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
- * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER
- * OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
*
****************************************************************************/
diff --git a/include/nuttx/ipcc.h b/include/nuttx/ipcc.h
index 6e1d70dd0f..4b7c1c0804 100644
--- a/include/nuttx/ipcc.h
+++ b/include/nuttx/ipcc.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/ipcc.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/irq.h b/include/nuttx/irq.h
index 2177440c98..f4a4afabcd 100644
--- a/include/nuttx/irq.h
+++ b/include/nuttx/irq.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/irq.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/kmalloc.h b/include/nuttx/kmalloc.h
index 71b0fee0f8..2eefa61c79 100644
--- a/include/nuttx/kmalloc.h
+++ b/include/nuttx/kmalloc.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/kmalloc.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/kthread.h b/include/nuttx/kthread.h
index 6b626376ac..abc1ac70e1 100644
--- a/include/nuttx/kthread.h
+++ b/include/nuttx/kthread.h
@@ -1,6 +1,7 @@
/****************************************************************************
* include/nuttx/kthread.h
- * Non-standard, NuttX-specific kernel thread-related declarations.
+ *
+ * SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
diff --git a/include/nuttx/lcd/apa102.h b/include/nuttx/lcd/apa102.h
index d52682f84e..4fd7197ed4 100644
--- a/include/nuttx/lcd/apa102.h
+++ b/include/nuttx/lcd/apa102.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/lcd/apa102.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/lcd/ft80x.h b/include/nuttx/lcd/ft80x.h
index 6e04fb1701..1cb72e4fb5 100644
--- a/include/nuttx/lcd/ft80x.h
+++ b/include/nuttx/lcd/ft80x.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/lcd/ft80x.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/lcd/gc9a01.h b/include/nuttx/lcd/gc9a01.h
index 667b6cbdc4..d97afea61c 100644
--- a/include/nuttx/lcd/gc9a01.h
+++ b/include/nuttx/lcd/gc9a01.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/lcd/gc9a01.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/lcd/hd4478ou.h b/include/nuttx/lcd/hd4478ou.h
index 8934dd23f0..05bb7ac6f9 100644
--- a/include/nuttx/lcd/hd4478ou.h
+++ b/include/nuttx/lcd/hd4478ou.h
@@ -1,8 +1,7 @@
/****************************************************************************
* include/nuttx/lcd/hd4478ou.h
*
- * Definitions for the Hitachi HD44780U LCD controller (as used in the
- * LCD1602).
+ * SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
diff --git a/include/nuttx/lcd/ht16k33.h b/include/nuttx/lcd/ht16k33.h
index 9f35ef58a3..8c465c2afc 100644
--- a/include/nuttx/lcd/ht16k33.h
+++ b/include/nuttx/lcd/ht16k33.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/lcd/ht16k33.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/lcd/ili9225.h b/include/nuttx/lcd/ili9225.h
index e4c158f997..6508056bfb 100644
--- a/include/nuttx/lcd/ili9225.h
+++ b/include/nuttx/lcd/ili9225.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/lcd/ili9225.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/lcd/ili9325.h b/include/nuttx/lcd/ili9325.h
index 4ebdadef43..be89a4caab 100644
--- a/include/nuttx/lcd/ili9325.h
+++ b/include/nuttx/lcd/ili9325.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/lcd/ili9325.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/lcd/ili9340.h b/include/nuttx/lcd/ili9340.h
index 75d0e2744e..0eb5e4dd2f 100644
--- a/include/nuttx/lcd/ili9340.h
+++ b/include/nuttx/lcd/ili9340.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/lcd/ili9340.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/lcd/ili9341.h b/include/nuttx/lcd/ili9341.h
index 97fbcf40aa..4dc9eaa9a2 100644
--- a/include/nuttx/lcd/ili9341.h
+++ b/include/nuttx/lcd/ili9341.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/lcd/ili9341.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/lcd/jd9851.h b/include/nuttx/lcd/jd9851.h
index 208357f70e..b92a2db73e 100644
--- a/include/nuttx/lcd/jd9851.h
+++ b/include/nuttx/lcd/jd9851.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/lcd/jd9851.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/lcd/lcd.h b/include/nuttx/lcd/lcd.h
index 432c841d1e..892472e31e 100644
--- a/include/nuttx/lcd/lcd.h
+++ b/include/nuttx/lcd/lcd.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/lcd/lcd.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/lcd/lcd_dev.h b/include/nuttx/lcd/lcd_dev.h
index b3758b5719..91f455b290 100644
--- a/include/nuttx/lcd/lcd_dev.h
+++ b/include/nuttx/lcd/lcd_dev.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/lcd/lcd_dev.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/lcd/lcd_ioctl.h b/include/nuttx/lcd/lcd_ioctl.h
index fd07009220..29aef0a975 100644
--- a/include/nuttx/lcd/lcd_ioctl.h
+++ b/include/nuttx/lcd/lcd_ioctl.h
@@ -1,6 +1,7 @@
/****************************************************************************
* include/nuttx/lcd/lcd_ioctl.h
- * IOCTL commands for segment LCDs
+ *
+ * SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
diff --git a/include/nuttx/lcd/lcddrv_spiif.h b/include/nuttx/lcd/lcddrv_spiif.h
index f986729b22..823a07df7c 100644
--- a/include/nuttx/lcd/lcddrv_spiif.h
+++ b/include/nuttx/lcd/lcddrv_spiif.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/lcd/lcddrv_spiif.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/lcd/lpm013m091a.h b/include/nuttx/lcd/lpm013m091a.h
index 2a5803aa9e..770f0de95e 100644
--- a/include/nuttx/lcd/lpm013m091a.h
+++ b/include/nuttx/lcd/lpm013m091a.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/lcd/lpm013m091a.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/lcd/max7219.h b/include/nuttx/lcd/max7219.h
index 5db8d4a7a6..12a5fa3618 100644
--- a/include/nuttx/lcd/max7219.h
+++ b/include/nuttx/lcd/max7219.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/lcd/max7219.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/lcd/memlcd.h b/include/nuttx/lcd/memlcd.h
index 5b19c58d3b..0fd8684144 100644
--- a/include/nuttx/lcd/memlcd.h
+++ b/include/nuttx/lcd/memlcd.h
@@ -1,6 +1,7 @@
/****************************************************************************
* include/nuttx/lcd/memlcd.h
- * Common definitions for the Sharp Memory LCD driver
+ *
+ * SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
diff --git a/include/nuttx/lcd/mio283qt2.h b/include/nuttx/lcd/mio283qt2.h
index fa2fc1bdeb..fe96d5b08c 100644
--- a/include/nuttx/lcd/mio283qt2.h
+++ b/include/nuttx/lcd/mio283qt2.h
@@ -1,9 +1,7 @@
/****************************************************************************
* include/nuttx/lcd/mio283qt2.h
*
- * Interface definition for the
- * MI0283QT-2 LCD from Multi-Inno Technology Co., Ltd.
- * This LCD is based on the Himax HX8347-D LCD controller.
+ * SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
diff --git a/include/nuttx/lcd/mio283qt9a.h b/include/nuttx/lcd/mio283qt9a.h
index 9ee277e956..33eaf0cab6 100644
--- a/include/nuttx/lcd/mio283qt9a.h
+++ b/include/nuttx/lcd/mio283qt9a.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/lcd/mio283qt9a.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/lcd/p14201.h b/include/nuttx/lcd/p14201.h
index 4234b98cfd..024026fd2c 100644
--- a/include/nuttx/lcd/p14201.h
+++ b/include/nuttx/lcd/p14201.h
@@ -1,6 +1,7 @@
/****************************************************************************
* include/nuttx/lcd/p14201.h
- * Application interface to the RiT P14201 OLED driver
+ *
+ * SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
diff --git a/include/nuttx/lcd/pcd8544.h b/include/nuttx/lcd/pcd8544.h
index 152826970a..f28f2dfb28 100644
--- a/include/nuttx/lcd/pcd8544.h
+++ b/include/nuttx/lcd/pcd8544.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/lcd/pcd8544.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/lcd/pcf8574_lcd_backpack.h b/include/nuttx/lcd/pcf8574_lcd_backpack.h
index 4452e69391..e1865c8de9 100644
--- a/include/nuttx/lcd/pcf8574_lcd_backpack.h
+++ b/include/nuttx/lcd/pcf8574_lcd_backpack.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/lcd/pcf8574_lcd_backpack.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/lcd/ra8875.h b/include/nuttx/lcd/ra8875.h
index 4e3ecff656..0eb6a5bbdb 100644
--- a/include/nuttx/lcd/ra8875.h
+++ b/include/nuttx/lcd/ra8875.h
@@ -1,9 +1,9 @@
/****************************************************************************
* include/nuttx/lcd/ra8875.h
- * Definitions for the RAiO Technologies RA8875 LCD controller
*
- * Copyright (C) 2015 Intuitive Aerial AB. All rights reserved.
- * Author: Marten Svanfeldt <ma...@intuitiveaerial.com>
+ * SPDX-License-Identifier: BSD-3-Clause
+ * SPDX-FileCopyrightText: 2015 Intuitive Aerial AB. All rights reserved.
+ * SPDX-FileContributor: Marten Svanfeldt <ma...@intuitiveaerial.com>
*
* References: RA8875, Rev 1.6, Apr 2013, RAiO Technologies Inc
*
diff --git a/include/nuttx/lcd/slcd_codec.h b/include/nuttx/lcd/slcd_codec.h
index 5ea6ce6166..a04709c682 100644
--- a/include/nuttx/lcd/slcd_codec.h
+++ b/include/nuttx/lcd/slcd_codec.h
@@ -1,6 +1,7 @@
/****************************************************************************
* include/nuttx/lcd/slcd_codec.h
- * Serialize and marshaling data and events for character-based, segment LCDs
+ *
+ * SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
diff --git a/include/nuttx/lcd/slcd_ioctl.h b/include/nuttx/lcd/slcd_ioctl.h
index c66abcede7..10f14e8364 100644
--- a/include/nuttx/lcd/slcd_ioctl.h
+++ b/include/nuttx/lcd/slcd_ioctl.h
@@ -1,6 +1,7 @@
/****************************************************************************
* include/nuttx/lcd/slcd_ioctl.h
- * IOCTL commands for segment LCDs
+ *
+ * SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
diff --git a/include/nuttx/lcd/ssd1289.h b/include/nuttx/lcd/ssd1289.h
index 43968b2cd7..a239ebfb98 100644
--- a/include/nuttx/lcd/ssd1289.h
+++ b/include/nuttx/lcd/ssd1289.h
@@ -1,6 +1,7 @@
/****************************************************************************
* include/nuttx/lcd/ssd1289.h
- * Definitions for the Solomon Systech SSD1289 LCD controller
+ *
+ * SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
diff --git a/include/nuttx/lcd/ssd1306.h b/include/nuttx/lcd/ssd1306.h
index 0815f04188..244e27a5cf 100644
--- a/include/nuttx/lcd/ssd1306.h
+++ b/include/nuttx/lcd/ssd1306.h
@@ -1,9 +1,7 @@
/****************************************************************************
* include/nuttx/lcd/ssd1306.h
*
- * Driver for Univision UG-2864HSWEG01 OLED display or UG-2832HSWEG04 both
- * with the Univision SSD1306 controller in SPI mode and Densitron
- * DD-12864WO-4A with SSD1309 in SPI mode.
+ * SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
diff --git a/include/nuttx/lcd/ssd1351.h b/include/nuttx/lcd/ssd1351.h
index 0bc5826744..6aaefd16aa 100644
--- a/include/nuttx/lcd/ssd1351.h
+++ b/include/nuttx/lcd/ssd1351.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/lcd/ssd1351.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/lcd/ssd1680.h b/include/nuttx/lcd/ssd1680.h
index 9fcdf37d87..facdaf4ed8 100644
--- a/include/nuttx/lcd/ssd1680.h
+++ b/include/nuttx/lcd/ssd1680.h
@@ -1,7 +1,7 @@
/****************************************************************************
* include/nuttx/lcd/ssd1680.h
*
- * Driver for Solomon Systech SSD1680 e-paper controller
+ * SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
diff --git a/include/nuttx/lcd/st7032.h b/include/nuttx/lcd/st7032.h
index 0aad550f4a..a88731d7c4 100644
--- a/include/nuttx/lcd/st7032.h
+++ b/include/nuttx/lcd/st7032.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/lcd/st7032.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/lcd/st7565.h b/include/nuttx/lcd/st7565.h
index e3b288a2e0..de202902f8 100644
--- a/include/nuttx/lcd/st7565.h
+++ b/include/nuttx/lcd/st7565.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/lcd/st7565.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/lcd/st7567.h b/include/nuttx/lcd/st7567.h
index 4baeddbe8a..59cb652916 100644
--- a/include/nuttx/lcd/st7567.h
+++ b/include/nuttx/lcd/st7567.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/lcd/st7567.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/lcd/st7735.h b/include/nuttx/lcd/st7735.h
index 63715d1b81..e39abf7876 100644
--- a/include/nuttx/lcd/st7735.h
+++ b/include/nuttx/lcd/st7735.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/lcd/st7735.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/lcd/st7789.h b/include/nuttx/lcd/st7789.h
index 254972cb3a..1df092ed9f 100644
--- a/include/nuttx/lcd/st7789.h
+++ b/include/nuttx/lcd/st7789.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/lcd/st7789.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/lcd/tda19988.h b/include/nuttx/lcd/tda19988.h
index f9d696434d..0af0a07b57 100644
--- a/include/nuttx/lcd/tda19988.h
+++ b/include/nuttx/lcd/tda19988.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/lcd/tda19988.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/lcd/ug-2864ambag01.h b/include/nuttx/lcd/ug-2864ambag01.h
index 069717efb7..aaa809b56c 100644
--- a/include/nuttx/lcd/ug-2864ambag01.h
+++ b/include/nuttx/lcd/ug-2864ambag01.h
@@ -1,8 +1,7 @@
/****************************************************************************
* include/nuttx/lcd/ug-2864ambag01.h
*
- * Driver for Univision UG-2864AMBAG01 OLED display (with SH1101A controller)
- * in SPI mode
+ * SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
diff --git a/include/nuttx/lcd/ug-9664hswag01.h b/include/nuttx/lcd/ug-9664hswag01.h
index 96e196310a..2951c86887 100644
--- a/include/nuttx/lcd/ug-9664hswag01.h
+++ b/include/nuttx/lcd/ug-9664hswag01.h
@@ -1,8 +1,7 @@
/****************************************************************************
* include/nuttx/lcd/ug-9664hswag01.h
*
- * Driver for the Univision UG-9664HSWAG01 Display with the Solomon Systech
- * SSD1305 LCD controller.
+ * SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
diff --git a/include/nuttx/leds/apa102.h b/include/nuttx/leds/apa102.h
index dadbc0b649..a860d54e82 100644
--- a/include/nuttx/leds/apa102.h
+++ b/include/nuttx/leds/apa102.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/leds/apa102.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/leds/lp503x.h b/include/nuttx/leds/lp503x.h
index 48a3eafa67..97506d0afe 100644
--- a/include/nuttx/leds/lp503x.h
+++ b/include/nuttx/leds/lp503x.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/leds/lp503x.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/leds/max7219.h b/include/nuttx/leds/max7219.h
index b3ec976151..f2167c1d40 100644
--- a/include/nuttx/leds/max7219.h
+++ b/include/nuttx/leds/max7219.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/leds/max7219.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/leds/ncp5623c.h b/include/nuttx/leds/ncp5623c.h
index def762c6e6..0350bb1c75 100644
--- a/include/nuttx/leds/ncp5623c.h
+++ b/include/nuttx/leds/ncp5623c.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/leds/ncp5623c.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/leds/pca9635pw.h b/include/nuttx/leds/pca9635pw.h
index 92422d79ec..16c82d0e0a 100644
--- a/include/nuttx/leds/pca9635pw.h
+++ b/include/nuttx/leds/pca9635pw.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/leds/pca9635pw.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/leds/rgbled.h b/include/nuttx/leds/rgbled.h
index f3011ea263..849429fedd 100644
--- a/include/nuttx/leds/rgbled.h
+++ b/include/nuttx/leds/rgbled.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/leds/rgbled.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/leds/userled.h b/include/nuttx/leds/userled.h
index d10fe9ed64..12442df3f6 100644
--- a/include/nuttx/leds/userled.h
+++ b/include/nuttx/leds/userled.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/leds/userled.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/leds/ws2812.h b/include/nuttx/leds/ws2812.h
index 99fefc22dc..c87fd78e5d 100644
--- a/include/nuttx/leds/ws2812.h
+++ b/include/nuttx/leds/ws2812.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/leds/ws2812.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/lib/builtin.h b/include/nuttx/lib/builtin.h
index 0877ac50f6..70d9ad90ba 100644
--- a/include/nuttx/lib/builtin.h
+++ b/include/nuttx/lib/builtin.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/lib/builtin.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/lib/float.h b/include/nuttx/lib/float.h
index a7f43a9280..b15f52c360 100644
--- a/include/nuttx/lib/float.h
+++ b/include/nuttx/lib/float.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/lib/float.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/lib/lib.h b/include/nuttx/lib/lib.h
index dc3b2e5398..9593d9bd74 100644
--- a/include/nuttx/lib/lib.h
+++ b/include/nuttx/lib/lib.h
@@ -1,6 +1,7 @@
/****************************************************************************
* include/nuttx/lib/lib.h
- * Non-standard, internal APIs available in lib/.
+ *
+ * SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
diff --git a/include/nuttx/lib/math.h b/include/nuttx/lib/math.h
index 8915a197ff..9e158cbda5 100644
--- a/include/nuttx/lib/math.h
+++ b/include/nuttx/lib/math.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/lib/math.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/lib/math32.h b/include/nuttx/lib/math32.h
index 5a728d46fb..e3e7bd165f 100644
--- a/include/nuttx/lib/math32.h
+++ b/include/nuttx/lib/math32.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/lib/math32.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/lib/modlib.h b/include/nuttx/lib/modlib.h
index e198b2c1c2..9533d8d5ec 100644
--- a/include/nuttx/lib/modlib.h
+++ b/include/nuttx/lib/modlib.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/lib/modlib.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/lib/setjmp.h b/include/nuttx/lib/setjmp.h
index b7b4121875..17b6aef37b 100644
--- a/include/nuttx/lib/setjmp.h
+++ b/include/nuttx/lib/setjmp.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/lib/setjmp.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/lib/stdarg.h b/include/nuttx/lib/stdarg.h
index 541c5b649d..afe74d6eb5 100644
--- a/include/nuttx/lib/stdarg.h
+++ b/include/nuttx/lib/stdarg.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/lib/stdarg.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/lib/stdatomic.h b/include/nuttx/lib/stdatomic.h
index fae2b32f1c..64a581860c 100644
--- a/include/nuttx/lib/stdatomic.h
+++ b/include/nuttx/lib/stdatomic.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/lib/stdatomic.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/lib/xorshift128.h b/include/nuttx/lib/xorshift128.h
index 4b9718d40f..3d5807c8df 100644
--- a/include/nuttx/lib/xorshift128.h
+++ b/include/nuttx/lib/xorshift128.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/lib/xorshift128.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/lin.h b/include/nuttx/lin.h
index 6b7113b324..6e1ee3cd41 100644
--- a/include/nuttx/lin.h
+++ b/include/nuttx/lin.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/lin.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/lirc.h b/include/nuttx/lirc.h
index 3a1d8adf7b..e9218b5923 100644
--- a/include/nuttx/lirc.h
+++ b/include/nuttx/lirc.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/lirc.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/list.h b/include/nuttx/list.h
index 80394ac351..6e1eeac8b9 100644
--- a/include/nuttx/list.h
+++ b/include/nuttx/list.h
@@ -1,13 +1,14 @@
/****************************************************************************
* include/nuttx/list.h
*
+ * SPDX-License-Identifier: BSD-2-Clause
+ * SPDX-FileCopyrightText: 2008 Travis Geiselbrecht. All rights reserved.
+ * SPDX-FileContributor: Travis Geiselbrecht <ge...@foobox.com>
+ *
* Extracted from logic originally written by Travis Geiselbrecht and
* released under a public domain license. Re-released here under the 3-
* clause BSD license by Pinecone, Inc.
*
- * Copyright (C) 2008 Travis Geiselbrecht. All rights reserved.
- * Author: Travis Geiselbrecht <ge...@foobox.com>
- *
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
diff --git a/include/nuttx/math/cordic.h b/include/nuttx/math/cordic.h
index c4c6e40e5d..3716921614 100644
--- a/include/nuttx/math/cordic.h
+++ b/include/nuttx/math/cordic.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/math/cordic.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/math/fft.h b/include/nuttx/math/fft.h
index a8df1e2be1..ee53b8bf7d 100644
--- a/include/nuttx/math/fft.h
+++ b/include/nuttx/math/fft.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/math/fft.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/math/math.h b/include/nuttx/math/math.h
index 097c6499eb..bfe0ccd7a7 100644
--- a/include/nuttx/math/math.h
+++ b/include/nuttx/math/math.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/math/math.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/math/math_ioctl.h b/include/nuttx/math/math_ioctl.h
index c5d237dc05..389690e224 100644
--- a/include/nuttx/math/math_ioctl.h
+++ b/include/nuttx/math/math_ioctl.h
@@ -1,6 +1,7 @@
/****************************************************************************
* include/nuttx/math/math_ioctl.h
- * NuttX MATH-related IOCTLs definitions
+ *
+ * SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
diff --git a/include/nuttx/math/mpi.h b/include/nuttx/math/mpi.h
index c4e98958d3..c8d7d3397b 100644
--- a/include/nuttx/math/mpi.h
+++ b/include/nuttx/math/mpi.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/math/mpi.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/mbox/mbox.h b/include/nuttx/mbox/mbox.h
index 565a66fdd2..38a2b8a332 100644
--- a/include/nuttx/mbox/mbox.h
+++ b/include/nuttx/mbox/mbox.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/mbox/mbox.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/memoryregion.h b/include/nuttx/memoryregion.h
index 71bb999838..3f4027be70 100644
--- a/include/nuttx/memoryregion.h
+++ b/include/nuttx/memoryregion.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/memoryregion.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/mm/circbuf.h b/include/nuttx/mm/circbuf.h
index e856d3b5e2..5334bd0ef5 100644
--- a/include/nuttx/mm/circbuf.h
+++ b/include/nuttx/mm/circbuf.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/mm/circbuf.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/mm/gran.h b/include/nuttx/mm/gran.h
index 30940efb84..cca0908326 100644
--- a/include/nuttx/mm/gran.h
+++ b/include/nuttx/mm/gran.h
@@ -1,6 +1,7 @@
/****************************************************************************
* include/nuttx/mm/gran.h
- * General purpose granule memory allocator.
+ *
+ * SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
diff --git a/include/nuttx/mm/iob.h b/include/nuttx/mm/iob.h
index 0db63d0801..6bca4693b2 100644
--- a/include/nuttx/mm/iob.h
+++ b/include/nuttx/mm/iob.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/mm/iob.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/mm/kmap.h b/include/nuttx/mm/kmap.h
index 5fac292956..1f93f35b42 100644
--- a/include/nuttx/mm/kmap.h
+++ b/include/nuttx/mm/kmap.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/mm/kmap.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/mm/map.h b/include/nuttx/mm/map.h
index e9d9181807..22df037e72 100644
--- a/include/nuttx/mm/map.h
+++ b/include/nuttx/mm/map.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/mm/map.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/mm/mempool.h b/include/nuttx/mm/mempool.h
index 7d14d91a34..898ec72ee9 100644
--- a/include/nuttx/mm/mempool.h
+++ b/include/nuttx/mm/mempool.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/mm/mempool.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/mm/mm.h b/include/nuttx/mm/mm.h
index 6a0bfbae78..410bec3188 100644
--- a/include/nuttx/mm/mm.h
+++ b/include/nuttx/mm/mm.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/mm/mm.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/mmcsd.h b/include/nuttx/mmcsd.h
index c3282174a2..af963e4779 100644
--- a/include/nuttx/mmcsd.h
+++ b/include/nuttx/mmcsd.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/mmcsd.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/modem/alt1250.h b/include/nuttx/modem/alt1250.h
index b466f2907c..54ac1a6ccf 100644
--- a/include/nuttx/modem/alt1250.h
+++ b/include/nuttx/modem/alt1250.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/modem/alt1250.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/modem/ioctl.h b/include/nuttx/modem/ioctl.h
index df0066b93c..3cf36503ea 100644
--- a/include/nuttx/modem/ioctl.h
+++ b/include/nuttx/modem/ioctl.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/modem/ioctl.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/modem/u-blox.h b/include/nuttx/modem/u-blox.h
index 145a566dcd..b0635dd1a1 100644
--- a/include/nuttx/modem/u-blox.h
+++ b/include/nuttx/modem/u-blox.h
@@ -1,8 +1,9 @@
/****************************************************************************
* include/nuttx/modem/u-blox.h
*
- * Copyright (C) 2016 Vladimir Komendantskiy. All rights reserved.
- * Author: Vladimir Komendantskiy <vl...@moixaenergy.com>
+ * SPDX-License-Identifier: BSD-3-Clause
+ * SPDX-FileCopyrightText: 2016 Vladimir Komendantskiy. All rights reserved.
+ * SPDX-FileContributor: Vladimir Komendantskiy <vl...@moixaenergy.com>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
diff --git a/include/nuttx/module.h b/include/nuttx/module.h
index 682a7e55cb..666f6260a3 100644
--- a/include/nuttx/module.h
+++ b/include/nuttx/module.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/module.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/motor/a4988.h b/include/nuttx/motor/a4988.h
index bd4a092032..985ab806b7 100644
--- a/include/nuttx/motor/a4988.h
+++ b/include/nuttx/motor/a4988.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/motor/a4988.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/motor/drv8825.h b/include/nuttx/motor/drv8825.h
index 8f696d29cc..29cb1841cf 100644
--- a/include/nuttx/motor/drv8825.h
+++ b/include/nuttx/motor/drv8825.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/motor/drv8825.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/motor/foc/drv8301.h b/include/nuttx/motor/foc/drv8301.h
index 99272b12de..284a126ac9 100644
--- a/include/nuttx/motor/foc/drv8301.h
+++ b/include/nuttx/motor/foc/drv8301.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/motor/foc/drv8301.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/motor/foc/foc.h b/include/nuttx/motor/foc/foc.h
index 293a14ec6c..2efe7fedc6 100644
--- a/include/nuttx/motor/foc/foc.h
+++ b/include/nuttx/motor/foc/foc.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/motor/foc/foc.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/motor/foc/foc_dummy.h b/include/nuttx/motor/foc/foc_dummy.h
index a1ad509a7b..84d290de1c 100644
--- a/include/nuttx/motor/foc/foc_dummy.h
+++ b/include/nuttx/motor/foc/foc_dummy.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/motor/foc/foc_dummy.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/motor/foc/foc_lower.h b/include/nuttx/motor/foc/foc_lower.h
index f9378ed42f..3c990bc643 100644
--- a/include/nuttx/motor/foc/foc_lower.h
+++ b/include/nuttx/motor/foc/foc_lower.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/motor/foc/foc_lower.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/motor/foc/foc_pwr.h b/include/nuttx/motor/foc/foc_pwr.h
index 730847ea5d..c424dfea62 100644
--- a/include/nuttx/motor/foc/foc_pwr.h
+++ b/include/nuttx/motor/foc/foc_pwr.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/motor/foc/foc_pwr.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/motor/motor.h b/include/nuttx/motor/motor.h
index 165225316b..4b91a1c075 100644
--- a/include/nuttx/motor/motor.h
+++ b/include/nuttx/motor/motor.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/motor/motor.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/motor/motor_ioctl.h b/include/nuttx/motor/motor_ioctl.h
index c5c01df90d..3e7e080ed2 100644
--- a/include/nuttx/motor/motor_ioctl.h
+++ b/include/nuttx/motor/motor_ioctl.h
@@ -1,6 +1,7 @@
/****************************************************************************
* include/nuttx/motor/motor_ioctl.h
- * NuttX Motor-Related IOCTLs definitions
+ *
+ * SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
diff --git a/include/nuttx/motor/stepper.h b/include/nuttx/motor/stepper.h
index ef19c38767..f1a5a4082c 100644
--- a/include/nuttx/motor/stepper.h
+++ b/include/nuttx/motor/stepper.h
@@ -1,6 +1,8 @@
/*****************************************************************************
* include/nuttx/motor/stepper.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/motor/stepper_ioctl.h b/include/nuttx/motor/stepper_ioctl.h
index bcb2cf8c04..63fb5cdb3e 100644
--- a/include/nuttx/motor/stepper_ioctl.h
+++ b/include/nuttx/motor/stepper_ioctl.h
@@ -1,6 +1,7 @@
/****************************************************************************
* include/nuttx/motor/stepper_ioctl.h
- * NuttX Motor-Related IOCTLs definitions
+ *
+ * SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
diff --git a/include/nuttx/mqueue.h b/include/nuttx/mqueue.h
index cf4d8d2cc5..877bb3f6c6 100644
--- a/include/nuttx/mqueue.h
+++ b/include/nuttx/mqueue.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/mqueue.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/mtd/configdata.h b/include/nuttx/mtd/configdata.h
index 275370238c..674589fbde 100644
--- a/include/nuttx/mtd/configdata.h
+++ b/include/nuttx/mtd/configdata.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/mtd/configdata.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/mtd/hamming.h b/include/nuttx/mtd/hamming.h
index 8b3dc38081..096e2efce9 100644
--- a/include/nuttx/mtd/hamming.h
+++ b/include/nuttx/mtd/hamming.h
@@ -1,7 +1,8 @@
/****************************************************************************
* include/nuttx/mtd/hamming.h
*
- * Copyright (c) 2011, Atmel Corporation
+ * SPDX-License-Identifier: BSD-3-Clause
+ * SPDX-FileCopyrightText: 2011, Atmel Corporation
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
diff --git a/include/nuttx/mtd/mtd.h b/include/nuttx/mtd/mtd.h
index 59e86a5d4b..9b8622b837 100644
--- a/include/nuttx/mtd/mtd.h
+++ b/include/nuttx/mtd/mtd.h
@@ -1,6 +1,7 @@
/****************************************************************************
* include/nuttx/mtd/mtd.h
- * Memory Technology Device (MTD) interface
+ *
+ * SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
diff --git a/include/nuttx/mtd/nand.h b/include/nuttx/mtd/nand.h
index 4be864ee1e..ef161d92be 100644
--- a/include/nuttx/mtd/nand.h
+++ b/include/nuttx/mtd/nand.h
@@ -1,7 +1,8 @@
/****************************************************************************
* include/nuttx/mtd/nand.h
*
- * Copyright (c) 2012, Atmel Corporation
+ * SPDX-License-Identifier: BSD-3-Clause
+ * SPDX-FileCopyrightText: 2012, Atmel Corporation
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
diff --git a/include/nuttx/mtd/nand_config.h b/include/nuttx/mtd/nand_config.h
index f62e026034..3cd6342c31 100644
--- a/include/nuttx/mtd/nand_config.h
+++ b/include/nuttx/mtd/nand_config.h
@@ -1,7 +1,8 @@
/****************************************************************************
* include/nuttx/mtd/nand_config.h
*
- * Copyright (c) 2012, Atmel Corporation
+ * SPDX-License-Identifier: BSD-3-Clause
+ * SPDX-FileCopyrightText: 2012, Atmel Corporation
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
diff --git a/include/nuttx/mtd/nand_ecc.h b/include/nuttx/mtd/nand_ecc.h
index c342f7d2d8..7cd5af4d61 100644
--- a/include/nuttx/mtd/nand_ecc.h
+++ b/include/nuttx/mtd/nand_ecc.h
@@ -1,7 +1,8 @@
/****************************************************************************
* include/nuttx/mtd/nand_ecc.h
*
- * Copyright (c) 2012, Atmel Corporation
+ * SPDX-License-Identifier: BSD-3-Clause
+ * SPDX-FileCopyrightText: 2012, Atmel Corporation
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
diff --git a/include/nuttx/mtd/nand_model.h b/include/nuttx/mtd/nand_model.h
index 271cea21e9..0c82a5fcd3 100644
--- a/include/nuttx/mtd/nand_model.h
+++ b/include/nuttx/mtd/nand_model.h
@@ -1,7 +1,8 @@
/****************************************************************************
* include/nuttx/mtd/nand_model.h
*
- * Copyright (c) 2012, Atmel Corporation
+ * SPDX-License-Identifier: BSD-3-Clause
+ * SPDX-FileCopyrightText: 2012, Atmel Corporation
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
diff --git a/include/nuttx/mtd/nand_ram.h b/include/nuttx/mtd/nand_ram.h
index c3483ed06a..e1004fdca2 100644
--- a/include/nuttx/mtd/nand_ram.h
+++ b/include/nuttx/mtd/nand_ram.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/mtd/nand_ram.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
@@ -98,4 +100,4 @@ FAR struct mtd_dev_s *nand_ram_initialize(struct nand_raw_s *raw);
}
#endif
-#endif /* __TESTING_NAND_RAM_NAND_RAM_H */
\ No newline at end of file
+#endif /* __TESTING_NAND_RAM_NAND_RAM_H */
diff --git a/include/nuttx/mtd/nand_raw.h b/include/nuttx/mtd/nand_raw.h
index cee12c313a..a555083a15 100644
--- a/include/nuttx/mtd/nand_raw.h
+++ b/include/nuttx/mtd/nand_raw.h
@@ -1,7 +1,8 @@
/****************************************************************************
* include/nuttx/mtd/nand_raw.h
*
- * Copyright (c) 2012, Atmel Corporation
+ * SPDX-License-Identifier: BSD-3-Clause
+ * SPDX-FileCopyrightText: 2012, Atmel Corporation
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
diff --git a/include/nuttx/mtd/nand_scheme.h b/include/nuttx/mtd/nand_scheme.h
index 573286815a..66da618f7e 100644
--- a/include/nuttx/mtd/nand_scheme.h
+++ b/include/nuttx/mtd/nand_scheme.h
@@ -1,7 +1,8 @@
/****************************************************************************
* include/nuttx/mtd/nand_scheme.h
*
- * Copyright (c) 2012, Atmel Corporation
+ * SPDX-License-Identifier: BSD-3-Clause
+ * SPDX-FileCopyrightText: 2012, Atmel Corporation
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
diff --git a/include/nuttx/mtd/nand_wrapper.h b/include/nuttx/mtd/nand_wrapper.h
index 4dffe1b492..03c2419865 100644
--- a/include/nuttx/mtd/nand_wrapper.h
+++ b/include/nuttx/mtd/nand_wrapper.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/mtd/nand_wrapper.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/mtd/onfi.h b/include/nuttx/mtd/onfi.h
index 653ad49eb2..d4e282ec22 100644
--- a/include/nuttx/mtd/onfi.h
+++ b/include/nuttx/mtd/onfi.h
@@ -1,7 +1,8 @@
/****************************************************************************
* include/nuttx/mtd/onfi.h
*
- * Copyright (c) 2010, Atmel Corporation
+ * SPDX-License-Identifier: BSD-3-Clause
+ * SPDX-FileCopyrightText: 2010, Atmel Corporation
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
diff --git a/include/nuttx/mtd/smart.h b/include/nuttx/mtd/smart.h
index 51b59ae1e0..230810fdf4 100644
--- a/include/nuttx/mtd/smart.h
+++ b/include/nuttx/mtd/smart.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/mtd/smart.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/mutex.h b/include/nuttx/mutex.h
index 315a232924..c112a96137 100644
--- a/include/nuttx/mutex.h
+++ b/include/nuttx/mutex.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/mutex.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/net/bluetooth.h b/include/nuttx/net/bluetooth.h
index e208d76cd3..5eef47a82c 100644
--- a/include/nuttx/net/bluetooth.h
+++ b/include/nuttx/net/bluetooth.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/net/bluetooth.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/net/can.h b/include/nuttx/net/can.h
index 80c406540b..46e39f41a3 100644
--- a/include/nuttx/net/can.h
+++ b/include/nuttx/net/can.h
@@ -1,15 +1,11 @@
/****************************************************************************
* include/nuttx/net/can.h
- * Macros and definitions for the CAN link layer.
*
- * Copyright (C) 2007, 2009-2012, 2015 Gregory Nutt. All rights reserved.
- * Author: Gregory Nutt <gn...@nuttx.org>
- *
- * Derived from uIP with has a similar BSD-styple license:
- *
- * Author: Adam Dunkels <ad...@dunkels.com>
- * Copyright (c) 2001-2003, Adam Dunkels.
- * All rights reserved.
+ * SPDX-License-Identifier: BSD-3-Clause
+ * SPDX-FileCopyrightText: 2007, 2009-2012, 2015 Gregory Nutt. All rights reserved.
+ * SPDX-FileCopyrightText: 2001-2003, Adam Dunkels. All rights reserved.
+ * SPDX-FileContributor: Gregory Nutt <gn...@nuttx.org>
+ * SPDX-FileContributor: Adam Dunkels <ad...@dunkels.com>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
diff --git a/include/nuttx/net/dns.h b/include/nuttx/net/dns.h
index 0205ec6754..a5267deedf 100644
--- a/include/nuttx/net/dns.h
+++ b/include/nuttx/net/dns.h
@@ -1,15 +1,11 @@
/****************************************************************************
* include/nuttx/net/dns.h
- * DNS resolver code header file.
*
- * Copyright (C) 2007-2009, 2011-2012, 2014-2015, 2018 Gregory Nutt. All
- * rights reserved.
- * Author: Gregory Nutt <gn...@nuttx.org>
- *
- * Inspired by/based on uIP logic by Adam Dunkels:
- *
- * Copyright (c) 2002-2003, Adam Dunkels. All rights reserved.
- * Author Adam Dunkels <ad...@dunkels.com>
+ * SPDX-License-Identifier: BSD-3-Clause
+ * SPDX-FileCopyrightText: 2007-2009, 2011-2012, 2014-2015, 2018 Gregory Nutt. All rights reserved.
+ * SPDX-FileCopyrightText: 2002-2003, Adam Dunkels. All rights reserved.
+ * SPDX-FileContributor: Gregory Nutt <gn...@nuttx.org>
+ * SPDX-FileContributor: Adam Dunkels <ad...@dunkels.com>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
diff --git a/include/nuttx/net/e1000.h b/include/nuttx/net/e1000.h
index 83ad6d44ad..f5e01216cf 100644
--- a/include/nuttx/net/e1000.h
+++ b/include/nuttx/net/e1000.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/net/e1000.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/net/enc28j60.h b/include/nuttx/net/enc28j60.h
index 3973b0b211..c07a836f61 100644
--- a/include/nuttx/net/enc28j60.h
+++ b/include/nuttx/net/enc28j60.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/net/enc28j60.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/net/encx24j600.h b/include/nuttx/net/encx24j600.h
index 5034470f83..5b792a1d87 100644
--- a/include/nuttx/net/encx24j600.h
+++ b/include/nuttx/net/encx24j600.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/net/encx24j600.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/net/ethernet.h b/include/nuttx/net/ethernet.h
index d35f4d0ac5..76a56b9b19 100644
--- a/include/nuttx/net/ethernet.h
+++ b/include/nuttx/net/ethernet.h
@@ -1,15 +1,11 @@
/****************************************************************************
* include/nuttx/net/ethernet.h
- * Macros and definitions for the Ethernet link layer.
*
- * Copyright (C) 2007, 2009-2012, 2015 Gregory Nutt. All rights reserved.
- * Author: Gregory Nutt <gn...@nuttx.org>
- *
- * Derived from uIP with has a similar BSD-styple license:
- *
- * Author: Adam Dunkels <ad...@dunkels.com>
- * Copyright (c) 2001-2003, Adam Dunkels.
- * All rights reserved.
+ * SPDX-License-Identifier: BSD-3-Clause
+ * SPDX-FileCopyrightText: 2007, 2009-2012, 2015 Gregory Nutt. All rights reserved.
+ * SPDX-FileCopyrightText: 2001-2003, Adam Dunkels. All rights reserved.
+ * SPDX-FileContributor: Gregory Nutt <gn...@nuttx.org>
+ * SPDX-FileContributor: Adam Dunkels <ad...@dunkels.com>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
diff --git a/include/nuttx/net/ftmac100.h b/include/nuttx/net/ftmac100.h
index 888ddcbafe..c196991e54 100644
--- a/include/nuttx/net/ftmac100.h
+++ b/include/nuttx/net/ftmac100.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/net/ftmac100.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/net/gmii.h b/include/nuttx/net/gmii.h
index ed8511461e..8f44aa50be 100644
--- a/include/nuttx/net/gmii.h
+++ b/include/nuttx/net/gmii.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/net/gmii.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/net/icmp.h b/include/nuttx/net/icmp.h
index 1afd13b77f..364581805d 100644
--- a/include/nuttx/net/icmp.h
+++ b/include/nuttx/net/icmp.h
@@ -1,15 +1,11 @@
/****************************************************************************
* include/nuttx/net/icmp.h
- * Header file for the NuttX ICMP stack.
*
- * Copyright (C) 2007-2009, 2012, 2014 Gregory Nutt. All rights reserved.
- * Author: Gregory Nutt <gn...@nuttx.org>
- *
- * This logic was leveraged from uIP which also has a BSD-style license:
- *
- * Author Adam Dunkels <ad...@dunkels.com>
- * Copyright (c) 2001-2003, Adam Dunkels.
- * All rights reserved.
+ * SPDX-License-Identifier: BSD-3-Clause
+ * SPDX-FileCopyrightText: 2007-2009, 2012, 2014 Gregory Nutt. All rights reserved.
+ * SPDX-FileCopyrightText: 2001-2003, Adam Dunkels. All rights reserved.
+ * SPDX-FileContributor: Gregory Nutt <gn...@nuttx.org>
+ * SPDX-FileContributor: Adam Dunkels <ad...@dunkels.com>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
diff --git a/include/nuttx/net/icmpv6.h b/include/nuttx/net/icmpv6.h
index acd32ea8d8..74eae20fc1 100644
--- a/include/nuttx/net/icmpv6.h
+++ b/include/nuttx/net/icmpv6.h
@@ -1,16 +1,11 @@
/****************************************************************************
* include/nuttx/net/icmpv6.h
- * Header file for the NuttX ICMPv6 stack.
*
- * Copyright (C) 2007-2009, 2012, 2014, 2017 Gregory Nutt.
- * All rights reserved.
- * Author: Gregory Nutt <gn...@nuttx.org>
- *
- * This logic was leveraged from uIP which also has a BSD-style license:
- *
- * Author Adam Dunkels <ad...@dunkels.com>
- * Copyright (c) 2001-2003, Adam Dunkels.
- * All rights reserved.
+ * SPDX-License-Identifier: BSD-3-Clause
+ * SPDX-FileCopyrightText: 2007-2009, 2012, 2014, 2017 Gregory Nutt. All rights reserved.
+ * SPDX-FileCopyrightText: 2001-2003, Adam Dunkels. All rights reserved.
+ * SPDX-FileContributor: Gregory Nutt <gn...@nuttx.org>
+ * SPDX-FileContributor: Adam Dunkels <ad...@dunkels.com>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
diff --git a/include/nuttx/net/ieee802154.h b/include/nuttx/net/ieee802154.h
index cf95b0ad0c..c7416252dc 100644
--- a/include/nuttx/net/ieee802154.h
+++ b/include/nuttx/net/ieee802154.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/net/ieee802154.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/net/if_bridge.h b/include/nuttx/net/if_bridge.h
index bf0b10b362..6a0516db0d 100644
--- a/include/nuttx/net/if_bridge.h
+++ b/include/nuttx/net/if_bridge.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/net/if_bridge.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/net/igc.h b/include/nuttx/net/igc.h
index 47f14cec8c..566c531ddd 100644
--- a/include/nuttx/net/igc.h
+++ b/include/nuttx/net/igc.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/net/igc.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/net/igmp.h b/include/nuttx/net/igmp.h
index ba382b4638..628fff5c5c 100644
--- a/include/nuttx/net/igmp.h
+++ b/include/nuttx/net/igmp.h
@@ -1,16 +1,10 @@
/****************************************************************************
* include/nuttx/net/igmp.h
- * The definitions in this header file are intended only for internal use
- * by the NuttX network stack.
*
- * Copyright (C) 2010, 2012, 2014, 2019 Gregory Nutt. All rights reserved.
- * Author: Gregory Nutt <gn...@nuttx.org>
- *
- * The NuttX implementation of IGMP was inspired by the IGMP add-on for the
- * lwIP TCP/IP stack by Steve Reynolds:
- *
- * Copyright (c) 2002 CITEL Technologies Ltd.
- * All rights reserved.
+ * SPDX-License-Identifier: BSD-3-Clause
+ * SPDX-FileCopyrightText: 2010, 2012, 2014, 2019 Gregory Nutt. All rights reserved.
+ * SPDX-FileCopyrightText: Copyright (c) 2002 CITEL Technologies Ltd. All rights reserved.
+ * SPDX-FileContributor: Gregory Nutt <gn...@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
diff --git a/include/nuttx/net/ioctl.h b/include/nuttx/net/ioctl.h
index 7be38e6c31..0d0a7e37d8 100644
--- a/include/nuttx/net/ioctl.h
+++ b/include/nuttx/net/ioctl.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/net/ioctl.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/net/ip.h b/include/nuttx/net/ip.h
index eb712d09b2..fca8a3038e 100644
--- a/include/nuttx/net/ip.h
+++ b/include/nuttx/net/ip.h
@@ -1,18 +1,11 @@
/****************************************************************************
* include/nuttx/net/ip.h
*
- * This header file contains IP-related definitions for a number of C
- * macros that are used by applications as well as internally by the
- * OS networking logic.
- *
- * Copyright (C) 2007-2012, 2014 Gregory Nutt. All rights reserved.
- * Author: Gregory Nutt <gn...@nuttx.org>
- *
- * This logic was leveraged from uIP which also has a BSD-style license:
- *
- * Author Adam Dunkels <ad...@dunkels.com>
- * Copyright (c) 2001-2003, Adam Dunkels.
- * All rights reserved.
+ * SPDX-License-Identifier: BSD-3-Clause
+ * SPDX-FileCopyrightText: 2007-2012, 2014 Gregory Nutt. All rights reserved.
+ * SPDX-FileCopyrightText: 2001-2003, Adam Dunkels. All rights reserved.
+ * SPDX-FileContributor: Gregory Nutt <gn...@nuttx.org>
+ * SPDX-FileContributor: Adam Dunkels <ad...@dunkels.com>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
diff --git a/include/nuttx/net/ipopt.h b/include/nuttx/net/ipopt.h
index eea7e91b0e..de7b0c5d50 100644
--- a/include/nuttx/net/ipopt.h
+++ b/include/nuttx/net/ipopt.h
@@ -1,6 +1,7 @@
/****************************************************************************
* include/nuttx/net/ipopt.h
- * Defines values for the IPv4 header options
+ *
+ * SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
diff --git a/include/nuttx/net/ipv6ext.h b/include/nuttx/net/ipv6ext.h
index 110d757b75..1dbaebb90c 100644
--- a/include/nuttx/net/ipv6ext.h
+++ b/include/nuttx/net/ipv6ext.h
@@ -1,6 +1,7 @@
/****************************************************************************
* include/nuttx/net/ipv6ext.h
- * IPv6 Extension Header Definitions
+ *
+ * SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
diff --git a/include/nuttx/net/ksz9477.h b/include/nuttx/net/ksz9477.h
index 3af03d99f8..3ae290dc0f 100644
--- a/include/nuttx/net/ksz9477.h
+++ b/include/nuttx/net/ksz9477.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/net/ksz9477.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/net/lan91c111.h b/include/nuttx/net/lan91c111.h
index 4e475b505f..6372761bab 100644
--- a/include/nuttx/net/lan91c111.h
+++ b/include/nuttx/net/lan91c111.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/net/lan91c111.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/net/lan9250.h b/include/nuttx/net/lan9250.h
index dc0d719b6d..73cd222142 100644
--- a/include/nuttx/net/lan9250.h
+++ b/include/nuttx/net/lan9250.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/net/lan9250.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/net/loopback.h b/include/nuttx/net/loopback.h
index f2f5de944e..44b07aec36 100644
--- a/include/nuttx/net/loopback.h
+++ b/include/nuttx/net/loopback.h
@@ -1,6 +1,7 @@
/****************************************************************************
* include/nuttx/net/loopback.h
- * Definitions for use with local loopback device
+ *
+ * SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
diff --git a/include/nuttx/net/mii.h b/include/nuttx/net/mii.h
index b9eeefc15a..70304a275e 100644
--- a/include/nuttx/net/mii.h
+++ b/include/nuttx/net/mii.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/net/mii.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/net/mld.h b/include/nuttx/net/mld.h
index 3390f3d060..90330587d0 100644
--- a/include/nuttx/net/mld.h
+++ b/include/nuttx/net/mld.h
@@ -1,6 +1,7 @@
/****************************************************************************
* include/nuttx/net/mld.h
- * Multicast Listener Discovery (MLD) Definitions
+ *
+ * SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
diff --git a/include/nuttx/net/neighbor.h b/include/nuttx/net/neighbor.h
index 9dc43144b5..e4f5db7ca2 100644
--- a/include/nuttx/net/neighbor.h
+++ b/include/nuttx/net/neighbor.h
@@ -1,6 +1,7 @@
/****************************************************************************
* include/nuttx/net/neighbor.h
- * Definitions for use with IPv6 Neighbor Table
+ *
+ * SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
diff --git a/include/nuttx/net/net.h b/include/nuttx/net/net.h
index a01e1e11f8..9a64c76099 100644
--- a/include/nuttx/net/net.h
+++ b/include/nuttx/net/net.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/net/net.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/net/netconfig.h b/include/nuttx/net/netconfig.h
index 4e3171926c..46313631b6 100644
--- a/include/nuttx/net/netconfig.h
+++ b/include/nuttx/net/netconfig.h
@@ -1,23 +1,11 @@
/****************************************************************************
* include/nuttx/net/netconfig.h
- * Configuration options for NuttX networking.
*
- * This file is used for tweaking various configuration options for the
- * network. This is most assuring the correct default values are provided
- * and that configured options are valid.
- *
- * Note: Network configuration options the netconfig.h should not be changed,
- * but rather the per-project defconfig file.
- *
- * Copyright (C) 2007, 2011, 2014-2015, 2017-2019 Gregory Nutt. All rights
- * reserved.
- * Author: Gregory Nutt <gn...@nuttx.org>
- *
- * This logic was leveraged from uIP which also has a BSD-style license:
- *
- * Author: Adam Dunkels <ad...@dunkels.com>
- * Copyright (c) 2001-2003, Adam Dunkels.
- * All rights reserved.
+ * SPDX-License-Identifier: BSD-3-Clause
+ * SPDX-FileCopyrightText: 2007, 2011, 2014-2015, 2017-2019 Gregory Nutt. All rights reserved.
+ * SPDX-FileCopyrightText: 2001-2003, Adam Dunkels. All rights reserved.
+ * SPDX-FileContributor: Gregory Nutt <gn...@nuttx.org>
+ * SPDX-FileContributor: Adam Dunkels <ad...@dunkels.com>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@@ -48,6 +36,10 @@
#ifndef __INCLUDE_NUTTX_NET_NETCONFG_H
#define __INCLUDE_NUTTX_NET_NETCONFG_H
+/* Note: Network configuration options the netconfig.h should not be changed,
+ * but rather the per-project defconfig file.
+ */
+
/****************************************************************************
* Included Files
****************************************************************************/
diff --git a/include/nuttx/net/netdev.h b/include/nuttx/net/netdev.h
index 862e553878..67f964e32e 100644
--- a/include/nuttx/net/netdev.h
+++ b/include/nuttx/net/netdev.h
@@ -1,16 +1,10 @@
/****************************************************************************
* include/nuttx/net/netdev.h
- * Defines architecture-specific device driver interfaces to the NuttX
- * network.
*
- * Copyright (C) 2007, 2009, 2011-2018 Gregory Nutt. All rights reserved.
- * Author: Gregory Nutt <gn...@nuttx.org>
- *
- * Derived largely from portions of uIP with has a similar BSD-styple
- * license:
- *
- * Copyright (c) 2001-2003, Adam Dunkels.
- * All rights reserved.
+ * SPDX-License-Identifier: BSD-3-Clause
+ * SPDX-FileCopyrightText: 2007, 2009, 2011-2018 Gregory Nutt. All rights reserved.
+ * SPDX-FileCopyrightText: 2001-2003, Adam Dunkels. All rights reserved.
+ * SPDX-FileContributor: Gregory Nutt <gn...@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
diff --git a/include/nuttx/net/netdev_lowerhalf.h b/include/nuttx/net/netdev_lowerhalf.h
index a500a8886e..bf56e0f267 100644
--- a/include/nuttx/net/netdev_lowerhalf.h
+++ b/include/nuttx/net/netdev_lowerhalf.h
@@ -1,7 +1,7 @@
/****************************************************************************
* include/nuttx/net/netdev_lowerhalf.h
- * Defines architecture-specific device driver interfaces to the NuttX
- * network.
+ *
+ * SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
diff --git a/include/nuttx/net/netfilter/ip6_tables.h b/include/nuttx/net/netfilter/ip6_tables.h
index 31a7d14775..3ea1698a71 100644
--- a/include/nuttx/net/netfilter/ip6_tables.h
+++ b/include/nuttx/net/netfilter/ip6_tables.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/net/netfilter/ip6_tables.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/net/netfilter/ip_tables.h b/include/nuttx/net/netfilter/ip_tables.h
index 70f412a5f1..341c0c668e 100644
--- a/include/nuttx/net/netfilter/ip_tables.h
+++ b/include/nuttx/net/netfilter/ip_tables.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/net/netfilter/ip_tables.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/net/netfilter/netfilter.h b/include/nuttx/net/netfilter/netfilter.h
index 9c74351884..f65eefb832 100644
--- a/include/nuttx/net/netfilter/netfilter.h
+++ b/include/nuttx/net/netfilter/netfilter.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/net/netfilter/netfilter.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/net/netfilter/nf_nat.h b/include/nuttx/net/netfilter/nf_nat.h
index 8844885d76..a6940237fc 100644
--- a/include/nuttx/net/netfilter/nf_nat.h
+++ b/include/nuttx/net/netfilter/nf_nat.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/net/netfilter/nf_nat.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/net/netfilter/x_tables.h b/include/nuttx/net/netfilter/x_tables.h
index 6dc7e25f1c..015628d237 100644
--- a/include/nuttx/net/netfilter/x_tables.h
+++ b/include/nuttx/net/netfilter/x_tables.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/net/netfilter/x_tables.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/net/netlink.h b/include/nuttx/net/netlink.h
index f2a28c37f0..23cbe62e88 100644
--- a/include/nuttx/net/netlink.h
+++ b/include/nuttx/net/netlink.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/net/netlink.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/net/netstats.h b/include/nuttx/net/netstats.h
index f1f8cd0931..686a2dcda5 100644
--- a/include/nuttx/net/netstats.h
+++ b/include/nuttx/net/netstats.h
@@ -1,14 +1,11 @@
/****************************************************************************
* include/nuttx/net/netstats.h
*
- * Copyright (C) 2007-2012 Gregory Nutt. All rights reserved.
- * Author: Gregory Nutt <gn...@nuttx.org>
- *
- * This logic was leveraged from uIP which also has a BSD-style license:
- *
- * Author Adam Dunkels <ad...@dunkels.com>
- * Copyright (c) 2001-2003, Adam Dunkels.
- * All rights reserved.
+ * SPDX-License-Identifier: BSD-3-Clause
+ * SPDX-FileCopyrightText: 2007-2012 Gregory Nutt. All rights reserved.
+ * SPDX-FileCopyrightText: 2001-2003, Adam Dunkels. All rights reserved.
+ * SPDX-FileContributor: Gregory Nutt <gn...@nuttx.org>
+ * SPDX-FileContributor: Adam Dunkels <ad...@dunkels.com>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
diff --git a/include/nuttx/net/phy.h b/include/nuttx/net/phy.h
index b42c3cb9cf..36fe4ca7e9 100644
--- a/include/nuttx/net/phy.h
+++ b/include/nuttx/net/phy.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/net/phy.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/net/pkt.h b/include/nuttx/net/pkt.h
index c5ea63f7c1..db943696d5 100644
--- a/include/nuttx/net/pkt.h
+++ b/include/nuttx/net/pkt.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/net/pkt.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/net/radiodev.h b/include/nuttx/net/radiodev.h
index e1a52765f2..5baf18e096 100644
--- a/include/nuttx/net/radiodev.h
+++ b/include/nuttx/net/radiodev.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/net/radiodev.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/net/rfc6775.h b/include/nuttx/net/rfc6775.h
index 4dfd4abe2f..6a0e409439 100644
--- a/include/nuttx/net/rfc6775.h
+++ b/include/nuttx/net/rfc6775.h
@@ -1,6 +1,7 @@
/****************************************************************************
* include/nuttx/net/rfc6775.h
- * Definitions for 6LoWPAN Neighbor Discovery
+ *
+ * SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
diff --git a/include/nuttx/net/rpmsg.h b/include/nuttx/net/rpmsg.h
index 7bbc9fac7e..ff9137bb40 100644
--- a/include/nuttx/net/rpmsg.h
+++ b/include/nuttx/net/rpmsg.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/net/rpmsg.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/net/rpmsgdrv.h b/include/nuttx/net/rpmsgdrv.h
index 54f192026f..061c0191b2 100644
--- a/include/nuttx/net/rpmsgdrv.h
+++ b/include/nuttx/net/rpmsgdrv.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/net/rpmsgdrv.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/net/sixlowpan.h b/include/nuttx/net/sixlowpan.h
index 623dba99c7..6b3cfc5b8a 100644
--- a/include/nuttx/net/sixlowpan.h
+++ b/include/nuttx/net/sixlowpan.h
@@ -1,20 +1,17 @@
/****************************************************************************
* include/nuttx/net/sixlowpan.h
- * Header file for the 6lowpan implementation (RFC4944 and
- * draft-hui-6lowpan-hc-01)
*
- * Copyright (C) 2017, Gregory Nutt, all rights reserved
- * Author: Gregory Nutt <gn...@nuttx.org>
+ * SPDX-License-Identifier: BSD-3-Clause
+ * SPDX-FileCopyrightText: 2017, Gregory Nutt, all rights reserved
+ * SPDX-FileCopyrightText: Copyright (c) 2008, Swedish Institute of Computer Science.
+ * SPDX-FileContributor: Gregory Nutt <gn...@nuttx.org>
+ * SPDX-FileContributor: Adam Dunkels <ad...@sics.se>
+ * SPDX-FileContributor: Nicolas Tsiftes <nv...@sics.se>
+ * SPDX-FileContributor: Niclas Finne <nf...@sics.se>
+ * SPDX-FileContributor: Mathilde Durvy <md...@cisco.com>
+ * SPDX-FileContributor: Julien Abeille <ja...@cisco.com>
*
- * Derives from Contiki:
- *
- * Copyright (c) 2008, Swedish Institute of Computer Science.
* All rights reserved.
- * Authors: Adam Dunkels <ad...@sics.se>
- * Nicolas Tsiftes <nv...@sics.se>
- * Niclas Finne <nf...@sics.se>
- * Mathilde Durvy <md...@cisco.com>
- * Julien Abeille <ja...@cisco.com>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
diff --git a/include/nuttx/net/slip.h b/include/nuttx/net/slip.h
index 6d27133676..ffa9a2fdea 100644
--- a/include/nuttx/net/slip.h
+++ b/include/nuttx/net/slip.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/net/slip.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/net/sms.h b/include/nuttx/net/sms.h
index aeec9dab61..87cd5e3b3a 100644
--- a/include/nuttx/net/sms.h
+++ b/include/nuttx/net/sms.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/net/sms.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/net/snoop.h b/include/nuttx/net/snoop.h
index a8aa0165d0..d579c12685 100644
--- a/include/nuttx/net/snoop.h
+++ b/include/nuttx/net/snoop.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/net/snoop.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/net/tcp.h b/include/nuttx/net/tcp.h
index 9a76af558a..5d921d6deb 100644
--- a/include/nuttx/net/tcp.h
+++ b/include/nuttx/net/tcp.h
@@ -1,20 +1,13 @@
/****************************************************************************
* include/nuttx/net/tcp.h
- * Header file for the NuttX TCP/IP stack.
*
- * This TCP/IP stack header file contains definitions for a number of C
- * macros that are used by internal network structures, TCP/IP header
- * structures and function declarations.
+ * SPDX-License-Identifier: BSD-3-Clause
+ * SPDX-FileCopyrightText: 2007, 2009-2010, 2012-2014 Gregory Nutt.
+ * SPDX-FileCopyrightText: 2001-2003, Adam Dunkels.
+ * SPDX-FileContributor: Gregory Nutt <gn...@nuttx.org>
+ * SPDX-FileContributor: Adam Dunkels <ad...@dunkels.com>
*
- * Copyright (C) 2007, 2009-2010, 2012-2014 Gregory Nutt. All rights
- * reserved.
- * Author: Gregory Nutt <gn...@nuttx.org>
- *
- * This logic was leveraged from uIP which also has a BSD-style license:
- *
- * Author Adam Dunkels <ad...@dunkels.com>
- * Copyright (c) 2001-2003, Adam Dunkels.
- * All rights reserved.
+ * All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
diff --git a/include/nuttx/net/telnet.h b/include/nuttx/net/telnet.h
index ada70b455c..741ef598da 100644
--- a/include/nuttx/net/telnet.h
+++ b/include/nuttx/net/telnet.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/net/telnet.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/net/tun.h b/include/nuttx/net/tun.h
index c67ea6e65b..6a95c9a7a9 100644
--- a/include/nuttx/net/tun.h
+++ b/include/nuttx/net/tun.h
@@ -1,11 +1,9 @@
/****************************************************************************
* include/nuttx/net/tun.h
*
- * Copyright (C) 2015 Max Nekludov. All rights reserved.
- * Author : Max Nekludov <ma...@gmail.com>
- *
- * Includes some definitions that a compatible with the LGPL GNU C Library
- * header file of the same name.
+ * SPDX-License-Identifier: BSD-3-Clause
+ * SPDX-FileCopyrightText: 2015 Max Nekludov. All rights reserved.
+ * SPDX-FileContributor: Max Nekludov <ma...@gmail.com>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
diff --git a/include/nuttx/net/udp.h b/include/nuttx/net/udp.h
index 41a2523504..47ed38fd62 100644
--- a/include/nuttx/net/udp.h
+++ b/include/nuttx/net/udp.h
@@ -1,19 +1,11 @@
/****************************************************************************
* include/nuttx/net/udp.h
- * Header file for the NuttX UDP stack.
*
- * The UDP stack header file contains definitions for a number of C macros
- * that are used by the internal network structures, UDP header structures
- * and function declarations.
- *
- * Copyright (C) 2007, 2009, 2012, 2014 Gregory Nutt. All rights reserved.
- * Author: Gregory Nutt <gn...@nuttx.org>
- *
- * This logic was leveraged from uIP which also has a BSD-style license:
- *
- * Author Adam Dunkels <ad...@dunkels.com>
- * Copyright (c) 2001-2003, Adam Dunkels.
- * All rights reserved.
+ * SPDX-License-Identifier: BSD-3-Clause
+ * SPDX-FileCopyrightText: 2007, 2009, 2012, 2014 Gregory Nutt. All rights reserved.
+ * SPDX-FileCopyrightText: 2001-2003, Adam Dunkels. All rights reserved.
+ * SPDX-FileContributor: Gregory Nutt <gn...@nuttx.org>
+ * SPDX-FileContributor: Adam Dunkels <ad...@dunkels.com>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
diff --git a/include/nuttx/net/usrsock.h b/include/nuttx/net/usrsock.h
index 43c7ef604a..92de83d51b 100644
--- a/include/nuttx/net/usrsock.h
+++ b/include/nuttx/net/usrsock.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/net/usrsock.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/net/w5500.h b/include/nuttx/net/w5500.h
index 30d4c4f379..b14761465f 100644
--- a/include/nuttx/net/w5500.h
+++ b/include/nuttx/net/w5500.h
@@ -1,6 +1,7 @@
/****************************************************************************
* include/nuttx/net/w5500.h
- * WIZnet W5500 Ethernet Controller
+ *
+ * SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
diff --git a/include/nuttx/net/wifi_sim.h b/include/nuttx/net/wifi_sim.h
index 791a0396f2..1b3d473a6e 100644
--- a/include/nuttx/net/wifi_sim.h
+++ b/include/nuttx/net/wifi_sim.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/net/wifi_sim.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/note/note_driver.h b/include/nuttx/note/note_driver.h
index ddea033743..fae9b0685c 100644
--- a/include/nuttx/note/note_driver.h
+++ b/include/nuttx/note/note_driver.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/note/note_driver.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/note/notectl_driver.h b/include/nuttx/note/notectl_driver.h
index 1e2d191208..2ba1e4c961 100644
--- a/include/nuttx/note/notectl_driver.h
+++ b/include/nuttx/note/notectl_driver.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/note/notectl_driver.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/note/notelog_driver.h b/include/nuttx/note/notelog_driver.h
index 432881a563..d74385c832 100644
--- a/include/nuttx/note/notelog_driver.h
+++ b/include/nuttx/note/notelog_driver.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/note/notelog_driver.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/note/noteram_driver.h b/include/nuttx/note/noteram_driver.h
index ae9ccc1958..1aae20d016 100644
--- a/include/nuttx/note/noteram_driver.h
+++ b/include/nuttx/note/noteram_driver.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/note/noteram_driver.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/note/notesnap_driver.h b/include/nuttx/note/notesnap_driver.h
index fa2cbf5e10..a9de957e5c 100644
--- a/include/nuttx/note/notesnap_driver.h
+++ b/include/nuttx/note/notesnap_driver.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/note/notesnap_driver.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/notifier.h b/include/nuttx/notifier.h
index 52955551ae..eb67b37809 100644
--- a/include/nuttx/notifier.h
+++ b/include/nuttx/notifier.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/notifier.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/nuttx.h b/include/nuttx/nuttx.h
index adeaf94fce..e832bc0a2e 100644
--- a/include/nuttx/nuttx.h
+++ b/include/nuttx/nuttx.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/nuttx.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/nx/nx.h b/include/nuttx/nx/nx.h
index b0e0010371..e1108d636b 100644
--- a/include/nuttx/nx/nx.h
+++ b/include/nuttx/nx/nx.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/nx/nx.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/nx/nxbe.h b/include/nuttx/nx/nxbe.h
index ef20e64899..e084224057 100644
--- a/include/nuttx/nx/nxbe.h
+++ b/include/nuttx/nx/nxbe.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/nx/nxbe.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/nx/nxcursor.h b/include/nuttx/nx/nxcursor.h
index 7e35368b00..76ad6a6de8 100644
--- a/include/nuttx/nx/nxcursor.h
+++ b/include/nuttx/nx/nxcursor.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/nx/nxcursor.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/nx/nxfonts.h b/include/nuttx/nx/nxfonts.h
index 5e63b0b820..f2b22efe10 100644
--- a/include/nuttx/nx/nxfonts.h
+++ b/include/nuttx/nx/nxfonts.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/nx/nxfonts.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/nx/nxglib.h b/include/nuttx/nx/nxglib.h
index 57254df5e0..2ee6ac30ed 100644
--- a/include/nuttx/nx/nxglib.h
+++ b/include/nuttx/nx/nxglib.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/nx/nxglib.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/nx/nxmu.h b/include/nuttx/nx/nxmu.h
index 5b861db1cd..5f6ab2297a 100644
--- a/include/nuttx/nx/nxmu.h
+++ b/include/nuttx/nx/nxmu.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/nx/nxmu.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/nx/nxterm.h b/include/nuttx/nx/nxterm.h
index 40e0997351..a687dc9520 100644
--- a/include/nuttx/nx/nxterm.h
+++ b/include/nuttx/nx/nxterm.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/nx/nxterm.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/nx/nxtk.h b/include/nuttx/nx/nxtk.h
index 7c14bca90c..e75a0c2dfb 100644
--- a/include/nuttx/nx/nxtk.h
+++ b/include/nuttx/nx/nxtk.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/nx/nxtk.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/nx/nxtypes.h b/include/nuttx/nx/nxtypes.h
index b824f05453..fbe9931bc3 100644
--- a/include/nuttx/nx/nxtypes.h
+++ b/include/nuttx/nx/nxtypes.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/nx/nxtypes.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/page.h b/include/nuttx/page.h
index adce1c2ddb..59e17da250 100644
--- a/include/nuttx/page.h
+++ b/include/nuttx/page.h
@@ -1,6 +1,7 @@
/****************************************************************************
* include/nuttx/page.h
- * This file defines interfaces used to support NuttX On-Demand Paging.
+ *
+ * SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
diff --git a/include/nuttx/panic_notifier.h b/include/nuttx/panic_notifier.h
index a3679d9c49..02357722a1 100644
--- a/include/nuttx/panic_notifier.h
+++ b/include/nuttx/panic_notifier.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/panic_notifier.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/pci/pci.h b/include/nuttx/pci/pci.h
index 7fd1926f7b..3fbbb550c4 100644
--- a/include/nuttx/pci/pci.h
+++ b/include/nuttx/pci/pci.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/pci/pci.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/pci/pci_ecam.h b/include/nuttx/pci/pci_ecam.h
index c2bfad4934..c40e4e3b0b 100644
--- a/include/nuttx/pci/pci_ecam.h
+++ b/include/nuttx/pci/pci_ecam.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/pci/pci_ecam.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/pci/pci_ep_test.h b/include/nuttx/pci/pci_ep_test.h
index ba4ac4edfe..5ea6dd972c 100644
--- a/include/nuttx/pci/pci_ep_test.h
+++ b/include/nuttx/pci/pci_ep_test.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/pci/pci_ep_test.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/pci/pci_epc.h b/include/nuttx/pci/pci_epc.h
index f089e27ac9..6493509682 100644
--- a/include/nuttx/pci/pci_epc.h
+++ b/include/nuttx/pci/pci_epc.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/pci/pci_epc.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/pci/pci_epf.h b/include/nuttx/pci/pci_epf.h
index 6cad177e69..ba410641c4 100644
--- a/include/nuttx/pci/pci_epf.h
+++ b/include/nuttx/pci/pci_epf.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/pci/pci_epf.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/pci/pci_ids.h b/include/nuttx/pci/pci_ids.h
index 54323ea196..29dae0200c 100644
--- a/include/nuttx/pci/pci_ids.h
+++ b/include/nuttx/pci/pci_ids.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/pci/pci_ids.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/pci/pci_ivshmem.h b/include/nuttx/pci/pci_ivshmem.h
index f11fd605e1..f46d839413 100644
--- a/include/nuttx/pci/pci_ivshmem.h
+++ b/include/nuttx/pci/pci_ivshmem.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/pci/pci_ivshmem.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/pci/pci_qemu_edu.h b/include/nuttx/pci/pci_qemu_edu.h
index 176b26beeb..e846d881c8 100644
--- a/include/nuttx/pci/pci_qemu_edu.h
+++ b/include/nuttx/pci/pci_qemu_edu.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/pci/pci_qemu_edu.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/pci/pci_qemu_test.h b/include/nuttx/pci/pci_qemu_test.h
index d22e55ae01..8f58c1b49a 100644
--- a/include/nuttx/pci/pci_qemu_test.h
+++ b/include/nuttx/pci/pci_qemu_test.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/pci/pci_qemu_test.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/pci/pci_regs.h b/include/nuttx/pci/pci_regs.h
index ca0ae42ac6..1a84e56159 100644
--- a/include/nuttx/pci/pci_regs.h
+++ b/include/nuttx/pci/pci_regs.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/pci/pci_regs.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/pgalloc.h b/include/nuttx/pgalloc.h
index b8301393c8..02f92601c7 100644
--- a/include/nuttx/pgalloc.h
+++ b/include/nuttx/pgalloc.h
@@ -1,6 +1,7 @@
/****************************************************************************
* include/nuttx/pgalloc.h
- * Page memory allocator.
+ *
+ * SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
diff --git a/include/nuttx/pinctrl/pinctrl.h b/include/nuttx/pinctrl/pinctrl.h
index 8ef6e33914..676b829e05 100644
--- a/include/nuttx/pinctrl/pinctrl.h
+++ b/include/nuttx/pinctrl/pinctrl.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/pinctrl/pinctrl.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/power/act8945a.h b/include/nuttx/power/act8945a.h
index 80f8b96e8d..99fa73977f 100644
--- a/include/nuttx/power/act8945a.h
+++ b/include/nuttx/power/act8945a.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/power/act8945a.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/power/axp202.h b/include/nuttx/power/axp202.h
index 04c1048907..8a0f89ead6 100644
--- a/include/nuttx/power/axp202.h
+++ b/include/nuttx/power/axp202.h
@@ -1,6 +1,7 @@
/****************************************************************************
* include/nuttx/power/axp202.h
- * msa301 Driver declaration
+ *
+ * SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
diff --git a/include/nuttx/power/battery_charger.h b/include/nuttx/power/battery_charger.h
index 952464a5ce..d365e42365 100644
--- a/include/nuttx/power/battery_charger.h
+++ b/include/nuttx/power/battery_charger.h
@@ -1,6 +1,7 @@
/****************************************************************************
* include/nuttx/power/battery_charger.h
- * NuttX Battery Charger Interfaces
+ *
+ * SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
diff --git a/include/nuttx/power/battery_gauge.h b/include/nuttx/power/battery_gauge.h
index ee5a62d267..8e7c89f31c 100644
--- a/include/nuttx/power/battery_gauge.h
+++ b/include/nuttx/power/battery_gauge.h
@@ -1,6 +1,7 @@
/****************************************************************************
* include/nuttx/power/battery_gauge.h
- * NuttX Battery Fuel Gauge Interfaces
+ *
+ * SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
diff --git a/include/nuttx/power/battery_ioctl.h b/include/nuttx/power/battery_ioctl.h
index f93129092d..966e9dff28 100644
--- a/include/nuttx/power/battery_ioctl.h
+++ b/include/nuttx/power/battery_ioctl.h
@@ -1,6 +1,7 @@
/****************************************************************************
* include/nuttx/power/battery_ioctl.h
- * NuttX Battery IOCTLs definition
+ *
+ * SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
diff --git a/include/nuttx/power/battery_monitor.h b/include/nuttx/power/battery_monitor.h
index d88352c9c5..32edc06217 100644
--- a/include/nuttx/power/battery_monitor.h
+++ b/include/nuttx/power/battery_monitor.h
@@ -1,6 +1,7 @@
/****************************************************************************
* include/nuttx/power/battery_monitor.h
- * NuttX Battery battery manager & monitor interfaces
+ *
+ * SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
diff --git a/include/nuttx/power/bq2429x.h b/include/nuttx/power/bq2429x.h
index a8951b9890..4ac66b8c7f 100644
--- a/include/nuttx/power/bq2429x.h
+++ b/include/nuttx/power/bq2429x.h
@@ -1,11 +1,10 @@
/****************************************************************************
* include/nuttx/power/bq2429x.h
- * Lower half driver for BQ2429X battery charger
*
- * Copyright (C) 2017 Neil Hancock. All rights reserved.
- *
- * Copyright (C) 2017 Haltian Ltd. All rights reserved.
- * Author: Juha Niskanen <ju...@haltian.com>
+ * SPDX-License-Identifier: BSD-3-Clause
+ * SPDX-FileCopyrightText: 2017 Neil Hancock. All rights reserved.
+ * SPDX-FileCopyrightText: 2017 Haltian Ltd. All rights reserved.
+ * SPDX-FileContributor: Juha Niskanen <ju...@haltian.com>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
diff --git a/include/nuttx/power/bq27426.h b/include/nuttx/power/bq27426.h
index ab7d1120cf..76d85ecc00 100644
--- a/include/nuttx/power/bq27426.h
+++ b/include/nuttx/power/bq27426.h
@@ -1,6 +1,7 @@
/****************************************************************************
* include/nuttx/power/bq27426.h
- * Lower half driver for bq27426 battery fuel gauge.
+ *
+ * SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
diff --git a/include/nuttx/power/bq769x0.h b/include/nuttx/power/bq769x0.h
index 53942cca30..053b02f8de 100644
--- a/include/nuttx/power/bq769x0.h
+++ b/include/nuttx/power/bq769x0.h
@@ -1,6 +1,7 @@
/****************************************************************************
* include/nuttx/power/bq769x0.h
- * Lower half driver for 769x0 battery monitor
+ *
+ * SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
diff --git a/include/nuttx/power/consumer.h b/include/nuttx/power/consumer.h
index 4ecd049b36..569b616d5f 100644
--- a/include/nuttx/power/consumer.h
+++ b/include/nuttx/power/consumer.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/power/consumer.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/power/mcp73871.h b/include/nuttx/power/mcp73871.h
index 02d9ef021f..49ff29e165 100644
--- a/include/nuttx/power/mcp73871.h
+++ b/include/nuttx/power/mcp73871.h
@@ -1,6 +1,7 @@
/****************************************************************************
* include/nuttx/power/mcp73871.h
- * Lower half driver for MCP73871 battery charger
+ *
+ * SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
diff --git a/include/nuttx/power/pm.h b/include/nuttx/power/pm.h
index 3c434484f2..483d9276c0 100644
--- a/include/nuttx/power/pm.h
+++ b/include/nuttx/power/pm.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/power/pm.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/power/pm_runtime.h b/include/nuttx/power/pm_runtime.h
index 4b739a622d..95bd22ddd8 100644
--- a/include/nuttx/power/pm_runtime.h
+++ b/include/nuttx/power/pm_runtime.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/power/pm_runtime.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/power/power_ioctl.h b/include/nuttx/power/power_ioctl.h
index 5b7086f284..62c03fef34 100644
--- a/include/nuttx/power/power_ioctl.h
+++ b/include/nuttx/power/power_ioctl.h
@@ -1,6 +1,7 @@
/****************************************************************************
* include/nuttx/power/power_ioctl.h
- * NuttX Power-Related IOCTLs definitions
+ *
+ * SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
diff --git a/include/nuttx/power/powerled.h b/include/nuttx/power/powerled.h
index 9b72638a71..8675d7252d 100644
--- a/include/nuttx/power/powerled.h
+++ b/include/nuttx/power/powerled.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/power/powerled.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/power/regulator.h b/include/nuttx/power/regulator.h
index 5b1313d797..bc9a8e86b8 100644
--- a/include/nuttx/power/regulator.h
+++ b/include/nuttx/power/regulator.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/power/regulator.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/power/relay.h b/include/nuttx/power/relay.h
index ae75f974e8..54710ca4e2 100644
--- a/include/nuttx/power/relay.h
+++ b/include/nuttx/power/relay.h
@@ -1,9 +1,9 @@
/****************************************************************************
* include/nuttx/power/relay.h
- * NuttX Relay Interfaces
*
- * Copyright (C) 2015 Max Nekludov. All rights reserved.
- * Author: Max Nekludov <ma...@gmail.com>
+ * SPDX-License-Identifier: BSD-3-Clause
+ * SPDX-FileCopyrightText: 2015 Max Nekludov. All rights reserved.
+ * SPDX-FileContributor: Max Nekludov <ma...@gmail.com>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
diff --git a/include/nuttx/power/smps.h b/include/nuttx/power/smps.h
index acbecc189b..54969cccc6 100644
--- a/include/nuttx/power/smps.h
+++ b/include/nuttx/power/smps.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/power/smps.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/progmem.h b/include/nuttx/progmem.h
index 719b5d4dd7..373bc12f5f 100644
--- a/include/nuttx/progmem.h
+++ b/include/nuttx/progmem.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/progmem.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/pthread.h b/include/nuttx/pthread.h
index f482e3ba47..6a80835fc4 100644
--- a/include/nuttx/pthread.h
+++ b/include/nuttx/pthread.h
@@ -1,6 +1,7 @@
/****************************************************************************
* include/nuttx/pthread.h
- * Non-standard, NuttX-specific pthread-related declarations.
+ *
+ * SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
diff --git a/include/nuttx/queue.h b/include/nuttx/queue.h
index 04bda577ee..8037b8c493 100644
--- a/include/nuttx/queue.h
+++ b/include/nuttx/queue.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/queue.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/random.h b/include/nuttx/random.h
index 2ce5db0305..8f56581f7b 100644
--- a/include/nuttx/random.h
+++ b/include/nuttx/random.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/random.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/rc/dummy.h b/include/nuttx/rc/dummy.h
index 3b5385161a..4c6eae356d 100644
--- a/include/nuttx/rc/dummy.h
+++ b/include/nuttx/rc/dummy.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/rc/dummy.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/rc/lirc_dev.h b/include/nuttx/rc/lirc_dev.h
index dcdc689317..d6a3f36bba 100644
--- a/include/nuttx/rc/lirc_dev.h
+++ b/include/nuttx/rc/lirc_dev.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/rc/lirc_dev.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/reboot_notifier.h b/include/nuttx/reboot_notifier.h
index 08ae2b4fca..35bfb9368f 100644
--- a/include/nuttx/reboot_notifier.h
+++ b/include/nuttx/reboot_notifier.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/reboot_notifier.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/regmap/regmap.h b/include/nuttx/regmap/regmap.h
index b56ec3f9ce..69675d0c5b 100644
--- a/include/nuttx/regmap/regmap.h
+++ b/include/nuttx/regmap/regmap.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/regmap/regmap.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/reset/reset-controller.h b/include/nuttx/reset/reset-controller.h
index bd7e021c09..301b5bd66f 100644
--- a/include/nuttx/reset/reset-controller.h
+++ b/include/nuttx/reset/reset-controller.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/reset/reset-controller.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/reset/reset.h b/include/nuttx/reset/reset.h
index 8df7ca0faa..9d5d908b79 100644
--- a/include/nuttx/reset/reset.h
+++ b/include/nuttx/reset/reset.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/reset/reset.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/rf/attenuator.h b/include/nuttx/rf/attenuator.h
index 09f47d988e..c525ff29a1 100644
--- a/include/nuttx/rf/attenuator.h
+++ b/include/nuttx/rf/attenuator.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/rf/attenuator.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
diff --git a/include/nuttx/rf/dat-31r5-sp.h b/include/nuttx/rf/dat-31r5-sp.h
index 000931c76d..6338f2927b 100644
--- a/include/nuttx/rf/dat-31r5-sp.h
+++ b/include/nuttx/rf/dat-31r5-sp.h
@@ -1,7 +1,7 @@
/****************************************************************************
* include/nuttx/rf/dat-31r5-sp.h
- * Character driver for the Mini-Circuits DAT-31R5-SP+ digital step
- * attenuator.
+ *
+ * SPDX-License-Identifier: Apache-2.0
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/include/nuttx/rf/ioctl.h b/include/nuttx/rf/ioctl.h
index 11fed0b09c..77f582b47d 100644
--- a/include/nuttx/rf/ioctl.h
+++ b/include/nuttx/rf/ioctl.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/rf/ioctl.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
diff --git a/include/nuttx/rmt/rmt.h b/include/nuttx/rmt/rmt.h
index 1f2b1b216c..5afb391d5c 100644
--- a/include/nuttx/rmt/rmt.h
+++ b/include/nuttx/rmt/rmt.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/rmt/rmt.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/rmt/rmtchar.h b/include/nuttx/rmt/rmtchar.h
index 6337e6ca8d..af462ff11e 100644
--- a/include/nuttx/rmt/rmtchar.h
+++ b/include/nuttx/rmt/rmtchar.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/rmt/rmtchar.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/rpmsg/rpmsg.h b/include/nuttx/rpmsg/rpmsg.h
index 4926fac758..e942c5987a 100644
--- a/include/nuttx/rpmsg/rpmsg.h
+++ b/include/nuttx/rpmsg/rpmsg.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/rpmsg/rpmsg.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/rpmsg/rpmsg_ping.h b/include/nuttx/rpmsg/rpmsg_ping.h
index db0884c8c5..4e1367f234 100644
--- a/include/nuttx/rpmsg/rpmsg_ping.h
+++ b/include/nuttx/rpmsg/rpmsg_ping.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/rpmsg/rpmsg_ping.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/rpmsg/rpmsg_port.h b/include/nuttx/rpmsg/rpmsg_port.h
index b102ffd788..48efd744f3 100644
--- a/include/nuttx/rpmsg/rpmsg_port.h
+++ b/include/nuttx/rpmsg/rpmsg_port.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/rpmsg/rpmsg_port.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/rpmsg/rpmsg_router.h b/include/nuttx/rpmsg/rpmsg_router.h
index c656197475..57fbc1a6b7 100644
--- a/include/nuttx/rpmsg/rpmsg_router.h
+++ b/include/nuttx/rpmsg/rpmsg_router.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/rpmsg/rpmsg_router.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/rpmsg/rpmsg_virtio.h b/include/nuttx/rpmsg/rpmsg_virtio.h
index 76ba8d683a..e6ac1d547d 100644
--- a/include/nuttx/rpmsg/rpmsg_virtio.h
+++ b/include/nuttx/rpmsg/rpmsg_virtio.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/rpmsg/rpmsg_virtio.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/rpmsg/rpmsg_virtio_ivshmem.h b/include/nuttx/rpmsg/rpmsg_virtio_ivshmem.h
index d243be1675..e77d558045 100644
--- a/include/nuttx/rpmsg/rpmsg_virtio_ivshmem.h
+++ b/include/nuttx/rpmsg/rpmsg_virtio_ivshmem.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/rpmsg/rpmsg_virtio_ivshmem.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/rptun/openamp.h b/include/nuttx/rptun/openamp.h
index c06080e02c..48f431d7d5 100644
--- a/include/nuttx/rptun/openamp.h
+++ b/include/nuttx/rptun/openamp.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/rptun/openamp.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/rptun/rptun.h b/include/nuttx/rptun/rptun.h
index cfc8e0531f..94597506de 100644
--- a/include/nuttx/rptun/rptun.h
+++ b/include/nuttx/rptun/rptun.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/rptun/rptun.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/rptun/rptun_ivshmem.h b/include/nuttx/rptun/rptun_ivshmem.h
index 24ddb04897..0e0de5e527 100644
--- a/include/nuttx/rptun/rptun_ivshmem.h
+++ b/include/nuttx/rptun/rptun_ivshmem.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/rptun/rptun_ivshmem.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/rptun/rptun_secure.h b/include/nuttx/rptun/rptun_secure.h
index e62e42482d..0781db468e 100644
--- a/include/nuttx/rptun/rptun_secure.h
+++ b/include/nuttx/rptun/rptun_secure.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/rptun/rptun_secure.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/rwsem.h b/include/nuttx/rwsem.h
index af5fb82edf..aa5e7d8daa 100644
--- a/include/nuttx/rwsem.h
+++ b/include/nuttx/rwsem.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/rwsem.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/sched.h b/include/nuttx/sched.h
index 728262352c..10d7904aef 100644
--- a/include/nuttx/sched.h
+++ b/include/nuttx/sched.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/sched.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/sched_note.h b/include/nuttx/sched_note.h
index 60063f2eac..6b0d3c8458 100644
--- a/include/nuttx/sched_note.h
+++ b/include/nuttx/sched_note.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/sched_note.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/scsi.h b/include/nuttx/scsi.h
index 6644b0422a..7d9c656081 100644
--- a/include/nuttx/scsi.h
+++ b/include/nuttx/scsi.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/scsi.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/sdio.h b/include/nuttx/sdio.h
index 9a6ba4ca5c..aff35af838 100644
--- a/include/nuttx/sdio.h
+++ b/include/nuttx/sdio.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/sdio.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/sdio_slave.h b/include/nuttx/sdio_slave.h
index 497a64d6e7..a96440ec75 100644
--- a/include/nuttx/sdio_slave.h
+++ b/include/nuttx/sdio_slave.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/sdio_slave.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/segger/note_rtt.h b/include/nuttx/segger/note_rtt.h
index 7cb1242fb4..2af5fa7f08 100644
--- a/include/nuttx/segger/note_rtt.h
+++ b/include/nuttx/segger/note_rtt.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/segger/note_rtt.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/segger/rtt.h b/include/nuttx/segger/rtt.h
index 5d568b6978..0cda790841 100644
--- a/include/nuttx/segger/rtt.h
+++ b/include/nuttx/segger/rtt.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/segger/rtt.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/segger/sysview.h b/include/nuttx/segger/sysview.h
index d839878a0b..dd83940a0a 100644
--- a/include/nuttx/segger/sysview.h
+++ b/include/nuttx/segger/sysview.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/segger/sysview.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/semaphore.h b/include/nuttx/semaphore.h
index d11e869638..70f1cf0311 100644
--- a/include/nuttx/semaphore.h
+++ b/include/nuttx/semaphore.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/semaphore.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/sensors/adt7320.h b/include/nuttx/sensors/adt7320.h
index 35a5dc4843..c4d61c5af2 100644
--- a/include/nuttx/sensors/adt7320.h
+++ b/include/nuttx/sensors/adt7320.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/sensors/adt7320.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
diff --git a/include/nuttx/sensors/adxl345.h b/include/nuttx/sensors/adxl345.h
index 900e63dc18..3e0f7af458 100644
--- a/include/nuttx/sensors/adxl345.h
+++ b/include/nuttx/sensors/adxl345.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/sensors/adxl345.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/sensors/adxl362.h b/include/nuttx/sensors/adxl362.h
index 8102d9ffb8..d94b2bc24c 100644
--- a/include/nuttx/sensors/adxl362.h
+++ b/include/nuttx/sensors/adxl362.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/sensors/adxl362.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/sensors/adxl372.h b/include/nuttx/sensors/adxl372.h
index 3574e82901..4fb0cd284b 100644
--- a/include/nuttx/sensors/adxl372.h
+++ b/include/nuttx/sensors/adxl372.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/sensors/adxl372.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/sensors/aht10.h b/include/nuttx/sensors/aht10.h
index 29ec4fdd41..36937ad669 100644
--- a/include/nuttx/sensors/aht10.h
+++ b/include/nuttx/sensors/aht10.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/sensors/aht10.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/sensors/ak09912.h b/include/nuttx/sensors/ak09912.h
index 10cb8b1c01..cfc6cc8e7d 100644
--- a/include/nuttx/sensors/ak09912.h
+++ b/include/nuttx/sensors/ak09912.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/sensors/ak09912.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/sensors/amg88xx.h b/include/nuttx/sensors/amg88xx.h
index f17000b257..b5e6c4bdc0 100644
--- a/include/nuttx/sensors/amg88xx.h
+++ b/include/nuttx/sensors/amg88xx.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/sensors/amg88xx.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/sensors/apds9922.h b/include/nuttx/sensors/apds9922.h
index 6c3f134b61..a616f64c88 100644
--- a/include/nuttx/sensors/apds9922.h
+++ b/include/nuttx/sensors/apds9922.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/sensors/apds9922.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/sensors/apds9930.h b/include/nuttx/sensors/apds9930.h
index 17e4dc2805..b647e499b6 100644
--- a/include/nuttx/sensors/apds9930.h
+++ b/include/nuttx/sensors/apds9930.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/sensors/apds9930.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/sensors/apds9960.h b/include/nuttx/sensors/apds9960.h
index 5054e7af73..f1bc86afce 100644
--- a/include/nuttx/sensors/apds9960.h
+++ b/include/nuttx/sensors/apds9960.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/sensors/apds9960.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/sensors/as5048a.h b/include/nuttx/sensors/as5048a.h
index 711fbba65e..ea78448fc7 100644
--- a/include/nuttx/sensors/as5048a.h
+++ b/include/nuttx/sensors/as5048a.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/sensors/as5048a.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/sensors/as5048b.h b/include/nuttx/sensors/as5048b.h
index 5e8a92ac42..d1a98cc444 100644
--- a/include/nuttx/sensors/as5048b.h
+++ b/include/nuttx/sensors/as5048b.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/sensors/as5048b.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/sensors/as726x.h b/include/nuttx/sensors/as726x.h
index 9acd499d70..705859fbf8 100644
--- a/include/nuttx/sensors/as726x.h
+++ b/include/nuttx/sensors/as726x.h
@@ -1,9 +1,10 @@
/****************************************************************************
* include/nuttx/sensors/as726x.h
*
- * Copyright (C) 2019 Fabian Justi. All rights reserved.
- * Author: Fabian Justi <Fa...@gmx.de> and
- * Andreas Kurz <an...@methodpark.de>
+ * SPDX-License-Identifier: BSD-3-Clause
+ * SPDX-FileCopyrightText: 2019 Fabian Justi. All rights reserved.
+ * SPDX-FileContributor: Fabian Justi <Fa...@gmx.de> and
+ * SPDX-FileContributor: Andreas Kurz <an...@methodpark.de>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
diff --git a/include/nuttx/sensors/bh1721fvc.h b/include/nuttx/sensors/bh1721fvc.h
index 9ed15ad8e0..4f1b89393c 100644
--- a/include/nuttx/sensors/bh1721fvc.h
+++ b/include/nuttx/sensors/bh1721fvc.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/sensors/bh1721fvc.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/sensors/bh1745nuc.h b/include/nuttx/sensors/bh1745nuc.h
index 8d3247bf85..f1708472e5 100644
--- a/include/nuttx/sensors/bh1745nuc.h
+++ b/include/nuttx/sensors/bh1745nuc.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/sensors/bh1745nuc.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/sensors/bh1749nuc.h b/include/nuttx/sensors/bh1749nuc.h
index 9892ad885a..abdf17976e 100644
--- a/include/nuttx/sensors/bh1749nuc.h
+++ b/include/nuttx/sensors/bh1749nuc.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/sensors/bh1749nuc.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/sensors/bh1750fvi.h b/include/nuttx/sensors/bh1750fvi.h
index 15ef40e5ad..4a5819e27a 100644
--- a/include/nuttx/sensors/bh1750fvi.h
+++ b/include/nuttx/sensors/bh1750fvi.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/sensors/bh1750fvi.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/sensors/bm1383glv.h b/include/nuttx/sensors/bm1383glv.h
index 73fc815251..4408b7f62a 100644
--- a/include/nuttx/sensors/bm1383glv.h
+++ b/include/nuttx/sensors/bm1383glv.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/sensors/bm1383glv.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/sensors/bm1422gmv.h b/include/nuttx/sensors/bm1422gmv.h
index 2989558044..c7d3ea332f 100644
--- a/include/nuttx/sensors/bm1422gmv.h
+++ b/include/nuttx/sensors/bm1422gmv.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/sensors/bm1422gmv.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/sensors/bme680.h b/include/nuttx/sensors/bme680.h
index 213c199ea8..30c16ccf0c 100644
--- a/include/nuttx/sensors/bme680.h
+++ b/include/nuttx/sensors/bme680.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/sensors/bme680.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/sensors/bmg160.h b/include/nuttx/sensors/bmg160.h
index a9a1090384..56e0a1aecf 100644
--- a/include/nuttx/sensors/bmg160.h
+++ b/include/nuttx/sensors/bmg160.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/sensors/bmg160.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/sensors/bmi160.h b/include/nuttx/sensors/bmi160.h
index d43c3de448..b61516b5bf 100644
--- a/include/nuttx/sensors/bmi160.h
+++ b/include/nuttx/sensors/bmi160.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/sensors/bmi160.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/sensors/bmi270.h b/include/nuttx/sensors/bmi270.h
index 7dee91d68c..733d08f0ea 100644
--- a/include/nuttx/sensors/bmi270.h
+++ b/include/nuttx/sensors/bmi270.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/sensors/bmi270.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/sensors/bmm150.h b/include/nuttx/sensors/bmm150.h
index 7fc3ef7a14..ea4eb924db 100644
--- a/include/nuttx/sensors/bmm150.h
+++ b/include/nuttx/sensors/bmm150.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/sensors/bmm150.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/sensors/bmp180.h b/include/nuttx/sensors/bmp180.h
index f588d83a15..6cf615e4f1 100644
--- a/include/nuttx/sensors/bmp180.h
+++ b/include/nuttx/sensors/bmp180.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/sensors/bmp180.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/sensors/bmp280.h b/include/nuttx/sensors/bmp280.h
index f91127480d..0f20f018af 100644
--- a/include/nuttx/sensors/bmp280.h
+++ b/include/nuttx/sensors/bmp280.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/sensors/bmp280.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/sensors/cluster_driver.h b/include/nuttx/sensors/cluster_driver.h
index 781989d8c6..62a7089656 100644
--- a/include/nuttx/sensors/cluster_driver.h
+++ b/include/nuttx/sensors/cluster_driver.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/sensors/cluster_driver.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/sensors/cxd5610_gnss.h b/include/nuttx/sensors/cxd5610_gnss.h
index 1b72199fb0..0d7e8ef1a1 100644
--- a/include/nuttx/sensors/cxd5610_gnss.h
+++ b/include/nuttx/sensors/cxd5610_gnss.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/sensors/cxd5610_gnss.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/sensors/dhtxx.h b/include/nuttx/sensors/dhtxx.h
index 285125a92a..eb1505ab93 100644
--- a/include/nuttx/sensors/dhtxx.h
+++ b/include/nuttx/sensors/dhtxx.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/sensors/dhtxx.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/sensors/ds18b20.h b/include/nuttx/sensors/ds18b20.h
index 44afe14163..873e317415 100644
--- a/include/nuttx/sensors/ds18b20.h
+++ b/include/nuttx/sensors/ds18b20.h
@@ -1,6 +1,7 @@
/****************************************************************************
* include/nuttx/sensors/ds18b20.h
- * Character driver for DS18B20 Digital Temperature Module.
+ *
+ * SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
diff --git a/include/nuttx/sensors/fakesensor.h b/include/nuttx/sensors/fakesensor.h
index 79669b47cb..99ed1ee51b 100644
--- a/include/nuttx/sensors/fakesensor.h
+++ b/include/nuttx/sensors/fakesensor.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/sensors/fakesensor.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/sensors/fxos8700cq.h b/include/nuttx/sensors/fxos8700cq.h
index 171f43ae5f..17ebd545c2 100644
--- a/include/nuttx/sensors/fxos8700cq.h
+++ b/include/nuttx/sensors/fxos8700cq.h
@@ -1,6 +1,7 @@
/****************************************************************************
* include/nuttx/sensors/fxos8700cq.h
- * FXOS8700CQ Driver declaration
+ *
+ * SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
diff --git a/include/nuttx/sensors/gnss.h b/include/nuttx/sensors/gnss.h
index f926f19d8e..988af0eb74 100644
--- a/include/nuttx/sensors/gnss.h
+++ b/include/nuttx/sensors/gnss.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/sensors/gnss.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/sensors/goldfish_gnss.h b/include/nuttx/sensors/goldfish_gnss.h
index 17636b3cb0..04d0e34a3e 100644
--- a/include/nuttx/sensors/goldfish_gnss.h
+++ b/include/nuttx/sensors/goldfish_gnss.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/sensors/goldfish_gnss.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/sensors/goldfish_sensor.h b/include/nuttx/sensors/goldfish_sensor.h
index 020048cd66..845968de5a 100644
--- a/include/nuttx/sensors/goldfish_sensor.h
+++ b/include/nuttx/sensors/goldfish_sensor.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/sensors/goldfish_sensor.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/sensors/hall3ph.h b/include/nuttx/sensors/hall3ph.h
index 1355de9120..a9efd8bb3f 100644
--- a/include/nuttx/sensors/hall3ph.h
+++ b/include/nuttx/sensors/hall3ph.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/sensors/hall3ph.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/sensors/hc_sr04.h b/include/nuttx/sensors/hc_sr04.h
index a3ebf9836d..438177f424 100644
--- a/include/nuttx/sensors/hc_sr04.h
+++ b/include/nuttx/sensors/hc_sr04.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/sensors/hc_sr04.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/sensors/hdc1008.h b/include/nuttx/sensors/hdc1008.h
index 1593802f51..543ddda571 100644
--- a/include/nuttx/sensors/hdc1008.h
+++ b/include/nuttx/sensors/hdc1008.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/sensors/hdc1008.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/sensors/hts221.h b/include/nuttx/sensors/hts221.h
index 9d982f177e..f06dfa668a 100644
--- a/include/nuttx/sensors/hts221.h
+++ b/include/nuttx/sensors/hts221.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/sensors/hts221.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/sensors/hyt271.h b/include/nuttx/sensors/hyt271.h
index 5c05e697f0..decc1b21aa 100644
--- a/include/nuttx/sensors/hyt271.h
+++ b/include/nuttx/sensors/hyt271.h
@@ -1,6 +1,7 @@
/****************************************************************************
* include/nuttx/sensors/hyt271.h
- * Character driver for HYT271 Digital Humidity and Temperature Module.
+ *
+ * SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
diff --git a/include/nuttx/sensors/ina219.h b/include/nuttx/sensors/ina219.h
index ae3a50b3a5..d605788762 100644
--- a/include/nuttx/sensors/ina219.h
+++ b/include/nuttx/sensors/ina219.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/sensors/ina219.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/sensors/ina226.h b/include/nuttx/sensors/ina226.h
index d033975480..0c9453b932 100644
--- a/include/nuttx/sensors/ina226.h
+++ b/include/nuttx/sensors/ina226.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/sensors/ina226.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/sensors/ina3221.h b/include/nuttx/sensors/ina3221.h
index 3cd7700e82..2ebe303a7c 100644
--- a/include/nuttx/sensors/ina3221.h
+++ b/include/nuttx/sensors/ina3221.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/sensors/ina3221.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/sensors/ioctl.h b/include/nuttx/sensors/ioctl.h
index e9fd00170e..a77cd19c27 100644
--- a/include/nuttx/sensors/ioctl.h
+++ b/include/nuttx/sensors/ioctl.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/sensors/ioctl.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/sensors/isl29023.h b/include/nuttx/sensors/isl29023.h
index c249876088..467ed4a915 100644
--- a/include/nuttx/sensors/isl29023.h
+++ b/include/nuttx/sensors/isl29023.h
@@ -1,7 +1,9 @@
/****************************************************************************
* include/nuttx/sensors/isl29023.h
*
- * Licensed to the Apache Software Foundation (ASF) under one or more
+ * SPDX-License-Identifier: Apache-2.0
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
* ASF licenses this file to you under the Apache License, Version 2.0 (the
diff --git a/include/nuttx/sensors/kx022.h b/include/nuttx/sensors/kx022.h
index 57cbd49b9b..acb02e445c 100644
--- a/include/nuttx/sensors/kx022.h
+++ b/include/nuttx/sensors/kx022.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/sensors/kx022.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/sensors/kxtj9.h b/include/nuttx/sensors/kxtj9.h
index 8537bb943f..e2d83f3ece 100644
--- a/include/nuttx/sensors/kxtj9.h
+++ b/include/nuttx/sensors/kxtj9.h
@@ -1,38 +1,22 @@
/****************************************************************************
* include/nuttx/sensors/kxtj9.h
*
- * Copyright (C) 2016 Gregory Nutt. All rights reserved.
- * Author: Gregory Nutt <gn...@nuttx.org>
+ * SPDX-License-Identifier: Apache-2.0
*
- * This driver derives from the Motorola Moto Z MDK:
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership. The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License. You may obtain a copy of the License at
*
- * Copyright (c) 2016 Motorola Mobility, LLC.
- * All rights reserved.
+ * http://www.apache.org/licenses/LICENSE-2.0
*
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
- *
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- * 3. Neither the name of the copyright holder nor the names of its
- * contributors may be used to endorse or promote products derived from
- * this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
- * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
- * HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
- * TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
*
****************************************************************************/
diff --git a/include/nuttx/sensors/l3gd20.h b/include/nuttx/sensors/l3gd20.h
index cb0aad6b51..d31b594fc4 100644
--- a/include/nuttx/sensors/l3gd20.h
+++ b/include/nuttx/sensors/l3gd20.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/sensors/l3gd20.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/sensors/lis2dh.h b/include/nuttx/sensors/lis2dh.h
index c77d97b293..3a0b69a271 100644
--- a/include/nuttx/sensors/lis2dh.h
+++ b/include/nuttx/sensors/lis2dh.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/sensors/lis2dh.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/sensors/lis331dl.h b/include/nuttx/sensors/lis331dl.h
index 9aaa23dad9..080195a114 100644
--- a/include/nuttx/sensors/lis331dl.h
+++ b/include/nuttx/sensors/lis331dl.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/sensors/lis331dl.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/sensors/lis3dh.h b/include/nuttx/sensors/lis3dh.h
index ac17068dc1..675b45d57a 100644
--- a/include/nuttx/sensors/lis3dh.h
+++ b/include/nuttx/sensors/lis3dh.h
@@ -1,8 +1,9 @@
/****************************************************************************
* include/nuttx/sensors/lis3dh.h
*
- * Copyright (C) 2018 Extent3D. All rights reserved.
- * Author: Matt Thompson <ma...@extent3d.com>
+ * SPDX-License-Identifier: BSD-3-Clause
+ * SPDX-FileCopyrightText: 2018 Extent3D. All rights reserved.
+ * SPDX-FileContributor: Matt Thompson <ma...@extent3d.com>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
diff --git a/include/nuttx/sensors/lis3dsh.h b/include/nuttx/sensors/lis3dsh.h
index 2f0fdfdcac..9134033f75 100644
--- a/include/nuttx/sensors/lis3dsh.h
+++ b/include/nuttx/sensors/lis3dsh.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/sensors/lis3dsh.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/sensors/lis3mdl.h b/include/nuttx/sensors/lis3mdl.h
index 244acddef9..78537a5aff 100644
--- a/include/nuttx/sensors/lis3mdl.h
+++ b/include/nuttx/sensors/lis3mdl.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/sensors/lis3mdl.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/sensors/lm75.h b/include/nuttx/sensors/lm75.h
index 1a2f7b4c9a..5b47507c5c 100644
--- a/include/nuttx/sensors/lm75.h
+++ b/include/nuttx/sensors/lm75.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/sensors/lm75.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/sensors/lm92.h b/include/nuttx/sensors/lm92.h
index 9c728d3702..ab38a40471 100644
--- a/include/nuttx/sensors/lm92.h
+++ b/include/nuttx/sensors/lm92.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/sensors/lm92.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/sensors/lps25h.h b/include/nuttx/sensors/lps25h.h
index ac45efa24e..ab3eda2516 100644
--- a/include/nuttx/sensors/lps25h.h
+++ b/include/nuttx/sensors/lps25h.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/sensors/lps25h.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/sensors/lsm303agr.h b/include/nuttx/sensors/lsm303agr.h
index f9486026d0..03a2a1159c 100644
--- a/include/nuttx/sensors/lsm303agr.h
+++ b/include/nuttx/sensors/lsm303agr.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/sensors/lsm303agr.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/sensors/lsm330.h b/include/nuttx/sensors/lsm330.h
index 0cd6e9f7e6..8048bbd2c5 100644
--- a/include/nuttx/sensors/lsm330.h
+++ b/include/nuttx/sensors/lsm330.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/sensors/lsm330.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/sensors/lsm6dsl.h b/include/nuttx/sensors/lsm6dsl.h
index c1b47038e9..435858965c 100644
--- a/include/nuttx/sensors/lsm6dsl.h
+++ b/include/nuttx/sensors/lsm6dsl.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/sensors/lsm6dsl.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/sensors/lsm9ds1.h b/include/nuttx/sensors/lsm9ds1.h
index 44ae703ca2..806d8d2620 100644
--- a/include/nuttx/sensors/lsm9ds1.h
+++ b/include/nuttx/sensors/lsm9ds1.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/sensors/lsm9ds1.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/sensors/lt1pa01.h b/include/nuttx/sensors/lt1pa01.h
index f0ecfbe43d..6a24da2251 100644
--- a/include/nuttx/sensors/lt1pa01.h
+++ b/include/nuttx/sensors/lt1pa01.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/sensors/lt1pa01.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/sensors/ltc4151.h b/include/nuttx/sensors/ltc4151.h
index fea14e5b56..25e2716e66 100644
--- a/include/nuttx/sensors/ltc4151.h
+++ b/include/nuttx/sensors/ltc4151.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/sensors/ltc4151.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/sensors/ltr308.h b/include/nuttx/sensors/ltr308.h
index d02b028123..3a39099f26 100644
--- a/include/nuttx/sensors/ltr308.h
+++ b/include/nuttx/sensors/ltr308.h
@@ -1,6 +1,7 @@
/****************************************************************************
* include/nuttx/sensors/ltr308.h
- * Character driver for the LTR-308ALS-01 Lite-On ambient light sensor.
+ *
+ * SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
diff --git a/include/nuttx/sensors/max31855.h b/include/nuttx/sensors/max31855.h
index 98610fb0b6..b061a1d45d 100644
--- a/include/nuttx/sensors/max31855.h
+++ b/include/nuttx/sensors/max31855.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/sensors/max31855.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/sensors/max31865.h b/include/nuttx/sensors/max31865.h
index afae126a28..9161f596ad 100644
--- a/include/nuttx/sensors/max31865.h
+++ b/include/nuttx/sensors/max31865.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/sensors/max31865.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/sensors/max44009.h b/include/nuttx/sensors/max44009.h
index 2de7236930..c2a0e9e3bb 100644
--- a/include/nuttx/sensors/max44009.h
+++ b/include/nuttx/sensors/max44009.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/sensors/max44009.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/sensors/max6675.h b/include/nuttx/sensors/max6675.h
index 2ed6906fa2..3612268f0c 100644
--- a/include/nuttx/sensors/max6675.h
+++ b/include/nuttx/sensors/max6675.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/sensors/max6675.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/sensors/mb7040.h b/include/nuttx/sensors/mb7040.h
index fab1b35445..68f68159e6 100644
--- a/include/nuttx/sensors/mb7040.h
+++ b/include/nuttx/sensors/mb7040.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/sensors/mb7040.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/sensors/mcp9844.h b/include/nuttx/sensors/mcp9844.h
index 4ccc49d06d..c0c1ccc556 100644
--- a/include/nuttx/sensors/mcp9844.h
+++ b/include/nuttx/sensors/mcp9844.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/sensors/mcp9844.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/sensors/mlx90393.h b/include/nuttx/sensors/mlx90393.h
index 5656188572..7bc1db7074 100644
--- a/include/nuttx/sensors/mlx90393.h
+++ b/include/nuttx/sensors/mlx90393.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/sensors/mlx90393.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/sensors/mlx90614.h b/include/nuttx/sensors/mlx90614.h
index 6b425dfcbb..cf86f41cf3 100644
--- a/include/nuttx/sensors/mlx90614.h
+++ b/include/nuttx/sensors/mlx90614.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/sensors/mlx90614.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/sensors/mpl115a.h b/include/nuttx/sensors/mpl115a.h
index 338c586cd2..f019ace11e 100644
--- a/include/nuttx/sensors/mpl115a.h
+++ b/include/nuttx/sensors/mpl115a.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/sensors/mpl115a.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/sensors/mpu60x0.h b/include/nuttx/sensors/mpu60x0.h
index adea6c1bf6..52b1961f10 100644
--- a/include/nuttx/sensors/mpu60x0.h
+++ b/include/nuttx/sensors/mpu60x0.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/sensors/mpu60x0.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/sensors/mpu9250.h b/include/nuttx/sensors/mpu9250.h
index 61157b6db5..caef21bfb3 100644
--- a/include/nuttx/sensors/mpu9250.h
+++ b/include/nuttx/sensors/mpu9250.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/sensors/mpu9250.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/sensors/ms56xx.h b/include/nuttx/sensors/ms56xx.h
index 2d3f465396..68fee7a71b 100644
--- a/include/nuttx/sensors/ms56xx.h
+++ b/include/nuttx/sensors/ms56xx.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/sensors/ms56xx.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/sensors/ms58xx.h b/include/nuttx/sensors/ms58xx.h
index 79836231dd..7e4d6d0ffd 100644
--- a/include/nuttx/sensors/ms58xx.h
+++ b/include/nuttx/sensors/ms58xx.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/sensors/ms58xx.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/sensors/msa301.h b/include/nuttx/sensors/msa301.h
index db9ff1d430..7557c85955 100644
--- a/include/nuttx/sensors/msa301.h
+++ b/include/nuttx/sensors/msa301.h
@@ -1,6 +1,7 @@
/****************************************************************************
* include/nuttx/sensors/msa301.h
- * msa301 Driver declaration
+ *
+ * SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
diff --git a/include/nuttx/sensors/msxxxx_crc4.h b/include/nuttx/sensors/msxxxx_crc4.h
index f6afeff8e3..e1bf0b6cc7 100644
--- a/include/nuttx/sensors/msxxxx_crc4.h
+++ b/include/nuttx/sensors/msxxxx_crc4.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/sensors/msxxxx_crc4.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/sensors/qencoder.h b/include/nuttx/sensors/qencoder.h
index 8632165baf..9431ccbcaa 100644
--- a/include/nuttx/sensors/qencoder.h
+++ b/include/nuttx/sensors/qencoder.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/sensors/qencoder.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/sensors/rpr0521rs.h b/include/nuttx/sensors/rpr0521rs.h
index 10d1980be9..f32941d4fc 100644
--- a/include/nuttx/sensors/rpr0521rs.h
+++ b/include/nuttx/sensors/rpr0521rs.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/sensors/rpr0521rs.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/sensors/scd30.h b/include/nuttx/sensors/scd30.h
index b48acdb0e0..5675ebce3f 100644
--- a/include/nuttx/sensors/scd30.h
+++ b/include/nuttx/sensors/scd30.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/sensors/scd30.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/sensors/scd41.h b/include/nuttx/sensors/scd41.h
index f3831363f6..b976eded96 100644
--- a/include/nuttx/sensors/scd41.h
+++ b/include/nuttx/sensors/scd41.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/sensors/scd41.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/sensors/sensor.h b/include/nuttx/sensors/sensor.h
index ffd46dbfd4..24d21ed9c5 100644
--- a/include/nuttx/sensors/sensor.h
+++ b/include/nuttx/sensors/sensor.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/sensors/sensor.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/sensors/sgp30.h b/include/nuttx/sensors/sgp30.h
index 67eb820cf5..16e845c051 100644
--- a/include/nuttx/sensors/sgp30.h
+++ b/include/nuttx/sensors/sgp30.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/sensors/sgp30.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/sensors/sht21.h b/include/nuttx/sensors/sht21.h
index d3a1a915de..be623785e0 100644
--- a/include/nuttx/sensors/sht21.h
+++ b/include/nuttx/sensors/sht21.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/sensors/sht21.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/sensors/sht3x.h b/include/nuttx/sensors/sht3x.h
index c90fd0b1a2..75f2ba5788 100644
--- a/include/nuttx/sensors/sht3x.h
+++ b/include/nuttx/sensors/sht3x.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/sensors/sht3x.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/sensors/sht4x.h b/include/nuttx/sensors/sht4x.h
index 9a70036c19..0c2af21daf 100644
--- a/include/nuttx/sensors/sht4x.h
+++ b/include/nuttx/sensors/sht4x.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/sensors/sht4x.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/sensors/sps30.h b/include/nuttx/sensors/sps30.h
index b2057f888a..a7df0c29da 100644
--- a/include/nuttx/sensors/sps30.h
+++ b/include/nuttx/sensors/sps30.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/sensors/sps30.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/sensors/t67xx.h b/include/nuttx/sensors/t67xx.h
index 9c15b9bd87..c86fb42407 100644
--- a/include/nuttx/sensors/t67xx.h
+++ b/include/nuttx/sensors/t67xx.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/sensors/t67xx.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/sensors/veml6070.h b/include/nuttx/sensors/veml6070.h
index 485f8e75f6..94c8002818 100644
--- a/include/nuttx/sensors/veml6070.h
+++ b/include/nuttx/sensors/veml6070.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/sensors/veml6070.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/sensors/vl53l1x.h b/include/nuttx/sensors/vl53l1x.h
index ca8f146c87..0a43017d34 100644
--- a/include/nuttx/sensors/vl53l1x.h
+++ b/include/nuttx/sensors/vl53l1x.h
@@ -1,8 +1,9 @@
/****************************************************************************
* include/nuttx/sensors/vl53l1x.h
*
- * Copyright (C) 2019 Acutronics Robotics. All rights reserved.
- * Author: Acutronics Robotics (Juan Flores Muñoz) <ju...@erlerobotics.com>
+ * SPDX-License-Identifier: BSD-3-Clause
+ * SPDX-FileCopyrightText: 2019 Acutronics Robotics. All rights reserved.
+ * SPDX-FileContributor: Juan Flores Muñoz <ju...@erlerobotics.com>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
diff --git a/include/nuttx/sensors/wtgahrs2.h b/include/nuttx/sensors/wtgahrs2.h
index e426d1545b..b72e220659 100644
--- a/include/nuttx/sensors/wtgahrs2.h
+++ b/include/nuttx/sensors/wtgahrs2.h
@@ -1,7 +1,7 @@
/****************************************************************************
* include/nuttx/sensors/wtgahrs2.h
- * Driver for the Wit-Motion WTGAHRS2 accelerometer, gyroscope, magnetic,
- * angle, barometer, temperature, GNSS sensors by serial interface with host
+ *
+ * SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
diff --git a/include/nuttx/sensors/xen1210.h b/include/nuttx/sensors/xen1210.h
index 9b16bfbeb7..ded9c4925a 100644
--- a/include/nuttx/sensors/xen1210.h
+++ b/include/nuttx/sensors/xen1210.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/sensors/xen1210.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/sensors/zerocross.h b/include/nuttx/sensors/zerocross.h
index b64df763c7..d957031834 100644
--- a/include/nuttx/sensors/zerocross.h
+++ b/include/nuttx/sensors/zerocross.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/sensors/zerocross.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/serial/mxser.h b/include/nuttx/serial/mxser.h
index 682e7b98fc..7615ebde0e 100644
--- a/include/nuttx/serial/mxser.h
+++ b/include/nuttx/serial/mxser.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/serial/mxser.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/serial/pty.h b/include/nuttx/serial/pty.h
index 542487b3c0..90f32c8396 100644
--- a/include/nuttx/serial/pty.h
+++ b/include/nuttx/serial/pty.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/serial/pty.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/serial/serial.h b/include/nuttx/serial/serial.h
index 7b6e1201da..c66c54f7b0 100644
--- a/include/nuttx/serial/serial.h
+++ b/include/nuttx/serial/serial.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/serial/serial.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/serial/tioctl.h b/include/nuttx/serial/tioctl.h
index 23a38667f5..8124e7d964 100644
--- a/include/nuttx/serial/tioctl.h
+++ b/include/nuttx/serial/tioctl.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/serial/tioctl.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/serial/uart_16550.h b/include/nuttx/serial/uart_16550.h
index 688281702f..ad77ca391b 100644
--- a/include/nuttx/serial/uart_16550.h
+++ b/include/nuttx/serial/uart_16550.h
@@ -1,6 +1,7 @@
/****************************************************************************
* include/nuttx/serial/uart_16550.h
- * Serial driver for 16550 UART
+ *
+ * SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
diff --git a/include/nuttx/serial/uart_bth4.h b/include/nuttx/serial/uart_bth4.h
index f0e35b52f7..9855e7d3c0 100644
--- a/include/nuttx/serial/uart_bth4.h
+++ b/include/nuttx/serial/uart_bth4.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/serial/uart_bth4.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/serial/uart_bth5.h b/include/nuttx/serial/uart_bth5.h
index cd1ce424ac..c98f91b0d8 100644
--- a/include/nuttx/serial/uart_bth5.h
+++ b/include/nuttx/serial/uart_bth5.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/serial/uart_bth5.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/serial/uart_cmsdk.h b/include/nuttx/serial/uart_cmsdk.h
index c0e6352fd0..4fd7124a1c 100644
--- a/include/nuttx/serial/uart_cmsdk.h
+++ b/include/nuttx/serial/uart_cmsdk.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/serial/uart_cmsdk.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/serial/uart_hostfs.h b/include/nuttx/serial/uart_hostfs.h
index e0e1555f72..f8ff0393fb 100644
--- a/include/nuttx/serial/uart_hostfs.h
+++ b/include/nuttx/serial/uart_hostfs.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/serial/uart_hostfs.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/serial/uart_pci_16550.h b/include/nuttx/serial/uart_pci_16550.h
index bd63cdc8ef..549bc7f3b4 100644
--- a/include/nuttx/serial/uart_pci_16550.h
+++ b/include/nuttx/serial/uart_pci_16550.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/serial/uart_pci_16550.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/serial/uart_pl011.h b/include/nuttx/serial/uart_pl011.h
index 24a4efb97c..f606151c61 100644
--- a/include/nuttx/serial/uart_pl011.h
+++ b/include/nuttx/serial/uart_pl011.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/serial/uart_pl011.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/serial/uart_ram.h b/include/nuttx/serial/uart_ram.h
index 726db4abf0..04cff1b1f0 100644
--- a/include/nuttx/serial/uart_ram.h
+++ b/include/nuttx/serial/uart_ram.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/serial/uart_ram.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/serial/uart_rpmsg.h b/include/nuttx/serial/uart_rpmsg.h
index d7029149b8..49de59cecb 100644
--- a/include/nuttx/serial/uart_rpmsg.h
+++ b/include/nuttx/serial/uart_rpmsg.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/serial/uart_rpmsg.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/signal.h b/include/nuttx/signal.h
index cd52a9d1e0..3e4f9a08bb 100644
--- a/include/nuttx/signal.h
+++ b/include/nuttx/signal.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/signal.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/spawn.h b/include/nuttx/spawn.h
index 5e0f4da572..13a331e9b3 100644
--- a/include/nuttx/spawn.h
+++ b/include/nuttx/spawn.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/spawn.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/spi/ice40.h b/include/nuttx/spi/ice40.h
index 675c2df8ff..749470a133 100644
--- a/include/nuttx/spi/ice40.h
+++ b/include/nuttx/spi/ice40.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/spi/ice40.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
@@ -90,4 +92,4 @@ int ice40_register(FAR const char *path, FAR struct ice40_dev_s *dev);
#endif /* CONFIG_SPI && CONFIG_SPI_ICE40 */
-#endif /* __INCLUDE_NUTTX_SPI_ICE40_H */
\ No newline at end of file
+#endif /* __INCLUDE_NUTTX_SPI_ICE40_H */
diff --git a/include/nuttx/spi/qspi.h b/include/nuttx/spi/qspi.h
index 469e3a1b3a..79a037272d 100644
--- a/include/nuttx/spi/qspi.h
+++ b/include/nuttx/spi/qspi.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/spi/qspi.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/spi/qspi_flash.h b/include/nuttx/spi/qspi_flash.h
index d472c97f0a..f27df3fe7e 100644
--- a/include/nuttx/spi/qspi_flash.h
+++ b/include/nuttx/spi/qspi_flash.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/spi/qspi_flash.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/spi/slave.h b/include/nuttx/spi/slave.h
index b3a2d1052d..962630f072 100644
--- a/include/nuttx/spi/slave.h
+++ b/include/nuttx/spi/slave.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/spi/slave.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/spi/spi.h b/include/nuttx/spi/spi.h
index 3ca0f975a7..a8ff32c04d 100644
--- a/include/nuttx/spi/spi.h
+++ b/include/nuttx/spi/spi.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/spi/spi.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/spi/spi_bitbang.c b/include/nuttx/spi/spi_bitbang.c
index 02da3f8efd..00dc5f0275 100644
--- a/include/nuttx/spi/spi_bitbang.c
+++ b/include/nuttx/spi/spi_bitbang.c
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/spi/spi_bitbang.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/spi/spi_bitbang.h b/include/nuttx/spi/spi_bitbang.h
index 83f167391a..69483b6829 100644
--- a/include/nuttx/spi/spi_bitbang.h
+++ b/include/nuttx/spi/spi_bitbang.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/spi/spi_bitbang.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/spi/spi_flash.h b/include/nuttx/spi/spi_flash.h
index 1bce277217..0842061b11 100644
--- a/include/nuttx/spi/spi_flash.h
+++ b/include/nuttx/spi/spi_flash.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/spi/spi_flash.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/spi/spi_transfer.h b/include/nuttx/spi/spi_transfer.h
index a3ea58e86c..72c1f7a71a 100644
--- a/include/nuttx/spi/spi_transfer.h
+++ b/include/nuttx/spi/spi_transfer.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/spi/spi_transfer.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/spinlock.h b/include/nuttx/spinlock.h
index 72c3cb5c2a..f32d3d1e35 100644
--- a/include/nuttx/spinlock.h
+++ b/include/nuttx/spinlock.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/spinlock.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/streams.h b/include/nuttx/streams.h
index db56878f9b..38ce0a26be 100644
--- a/include/nuttx/streams.h
+++ b/include/nuttx/streams.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/streams.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/symtab.h b/include/nuttx/symtab.h
index 19d43a8203..1dcfa6ad50 100644
--- a/include/nuttx/symtab.h
+++ b/include/nuttx/symtab.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/symtab.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/syslog/ramlog.h b/include/nuttx/syslog/ramlog.h
index ebd3fdee42..81bc4301a4 100644
--- a/include/nuttx/syslog/ramlog.h
+++ b/include/nuttx/syslog/ramlog.h
@@ -1,6 +1,7 @@
/****************************************************************************
* include/nuttx/syslog/ramlog.h
- * The RAM logging driver
+ *
+ * SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
diff --git a/include/nuttx/syslog/syslog.h b/include/nuttx/syslog/syslog.h
index 156f8e0c0f..b2b33dab99 100644
--- a/include/nuttx/syslog/syslog.h
+++ b/include/nuttx/syslog/syslog.h
@@ -1,6 +1,7 @@
/****************************************************************************
* include/nuttx/syslog/syslog.h
- * The NuttX SYSLOGing interface
+ *
+ * SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
diff --git a/include/nuttx/syslog/syslog_console.h b/include/nuttx/syslog/syslog_console.h
index ef3f501fae..6fb7430bd8 100644
--- a/include/nuttx/syslog/syslog_console.h
+++ b/include/nuttx/syslog/syslog_console.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/syslog/syslog_console.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/syslog/syslog_rpmsg.h b/include/nuttx/syslog/syslog_rpmsg.h
index ebfa940b0c..5915bc9c40 100644
--- a/include/nuttx/syslog/syslog_rpmsg.h
+++ b/include/nuttx/syslog/syslog_rpmsg.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/syslog/syslog_rpmsg.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/tee.h b/include/nuttx/tee.h
index 5a32c0d594..a065a68c9a 100644
--- a/include/nuttx/tee.h
+++ b/include/nuttx/tee.h
@@ -1,8 +1,8 @@
/****************************************************************************
* include/nuttx/tee.h
*
- * Copyright (c) 2015-2016, Linaro Limited
- * All rights reserved.
+ * SPDX-License-Identifier: BSD-2-Clause
+ * SPDX-FileCopyrightText: 2015-2016, Linaro Limited. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following
diff --git a/include/nuttx/thermal.h b/include/nuttx/thermal.h
index 22bcce71a4..673c841649 100644
--- a/include/nuttx/thermal.h
+++ b/include/nuttx/thermal.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/thermal.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/timers/arch_alarm.h b/include/nuttx/timers/arch_alarm.h
index 270a7737a0..d3487cf6ea 100644
--- a/include/nuttx/timers/arch_alarm.h
+++ b/include/nuttx/timers/arch_alarm.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/timers/arch_alarm.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/timers/arch_rtc.h b/include/nuttx/timers/arch_rtc.h
index e4092bda75..fe40778b42 100644
--- a/include/nuttx/timers/arch_rtc.h
+++ b/include/nuttx/timers/arch_rtc.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/timers/arch_rtc.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/timers/arch_timer.h b/include/nuttx/timers/arch_timer.h
index 74c406bd24..4deaeef054 100644
--- a/include/nuttx/timers/arch_timer.h
+++ b/include/nuttx/timers/arch_timer.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/timers/arch_timer.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/timers/capture.h b/include/nuttx/timers/capture.h
index fb9e46d8b2..f2650d0f9a 100644
--- a/include/nuttx/timers/capture.h
+++ b/include/nuttx/timers/capture.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/timers/capture.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/timers/cs2100-cp.h b/include/nuttx/timers/cs2100-cp.h
index a28c770eeb..f59e4f7206 100644
--- a/include/nuttx/timers/cs2100-cp.h
+++ b/include/nuttx/timers/cs2100-cp.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/timers/cs2100-cp.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/timers/ds3231.h b/include/nuttx/timers/ds3231.h
index 4fbb75ccd7..09135d0c9f 100644
--- a/include/nuttx/timers/ds3231.h
+++ b/include/nuttx/timers/ds3231.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/timers/ds3231.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/timers/mcp794xx.h b/include/nuttx/timers/mcp794xx.h
index d75c63356c..827c07ccbc 100644
--- a/include/nuttx/timers/mcp794xx.h
+++ b/include/nuttx/timers/mcp794xx.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/timers/mcp794xx.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/timers/oneshot.h b/include/nuttx/timers/oneshot.h
index 14bc90183c..11e84b2e5a 100644
--- a/include/nuttx/timers/oneshot.h
+++ b/include/nuttx/timers/oneshot.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/timers/oneshot.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/timers/pcf85263.h b/include/nuttx/timers/pcf85263.h
index 16dae839a7..6769ca2dae 100644
--- a/include/nuttx/timers/pcf85263.h
+++ b/include/nuttx/timers/pcf85263.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/timers/pcf85263.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/timers/pl031.h b/include/nuttx/timers/pl031.h
index 6f041d4a6e..645a15b4ca 100644
--- a/include/nuttx/timers/pl031.h
+++ b/include/nuttx/timers/pl031.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/timers/pl031.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/timers/pwm.h b/include/nuttx/timers/pwm.h
index 3e7a7c9812..76cbc3a659 100644
--- a/include/nuttx/timers/pwm.h
+++ b/include/nuttx/timers/pwm.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/timers/pwm.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/timers/rpmsg_rtc.h b/include/nuttx/timers/rpmsg_rtc.h
index 6d412d1ce2..c10b75017a 100644
--- a/include/nuttx/timers/rpmsg_rtc.h
+++ b/include/nuttx/timers/rpmsg_rtc.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/timers/rpmsg_rtc.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/timers/rtc.h b/include/nuttx/timers/rtc.h
index 0fe4b63bae..7f1ba2ac14 100644
--- a/include/nuttx/timers/rtc.h
+++ b/include/nuttx/timers/rtc.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/timers/rtc.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/timers/rx8010.h b/include/nuttx/timers/rx8010.h
index ba7e8f05a7..876e91171f 100644
--- a/include/nuttx/timers/rx8010.h
+++ b/include/nuttx/timers/rx8010.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/timers/rx8010.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/timers/timer.h b/include/nuttx/timers/timer.h
index b311d96cb7..4a30b6b896 100644
--- a/include/nuttx/timers/timer.h
+++ b/include/nuttx/timers/timer.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/timers/timer.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/timers/watchdog.h b/include/nuttx/timers/watchdog.h
index 2e001177f1..d29a7c80ff 100644
--- a/include/nuttx/timers/watchdog.h
+++ b/include/nuttx/timers/watchdog.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/timers/watchdog.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/tls.h b/include/nuttx/tls.h
index ca8b80a0cd..cf23f942ea 100644
--- a/include/nuttx/tls.h
+++ b/include/nuttx/tls.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/tls.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/trace.h b/include/nuttx/trace.h
index 70c68d3f67..f055936ecb 100644
--- a/include/nuttx/trace.h
+++ b/include/nuttx/trace.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/trace.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/uorb.h b/include/nuttx/uorb.h
index 8327197c91..e0176107c8 100644
--- a/include/nuttx/uorb.h
+++ b/include/nuttx/uorb.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/uorb.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/usb/adb.h b/include/nuttx/usb/adb.h
index 73294d6868..0859864d30 100644
--- a/include/nuttx/usb/adb.h
+++ b/include/nuttx/usb/adb.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/usb/adb.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/usb/audio.h b/include/nuttx/usb/audio.h
index 6d98cb5123..d3cbddbab0 100644
--- a/include/nuttx/usb/audio.h
+++ b/include/nuttx/usb/audio.h
@@ -1,6 +1,7 @@
/****************************************************************************
* include/nuttx/usb/audio.h
- * Audio Device Class (ADC) definitions
+ *
+ * SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
diff --git a/include/nuttx/usb/cdc.h b/include/nuttx/usb/cdc.h
index b304ac88de..b08abddc1b 100644
--- a/include/nuttx/usb/cdc.h
+++ b/include/nuttx/usb/cdc.h
@@ -1,6 +1,8 @@
/*****************************************************************************
* include/nuttx/usb/cdc.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/usb/cdcacm.h b/include/nuttx/usb/cdcacm.h
index 0b2a0104e2..d703e146ca 100644
--- a/include/nuttx/usb/cdcacm.h
+++ b/include/nuttx/usb/cdcacm.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/usb/cdcacm.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/usb/cdcecm.h b/include/nuttx/usb/cdcecm.h
index 75f1f2dfb1..68d0cddcd6 100644
--- a/include/nuttx/usb/cdcecm.h
+++ b/include/nuttx/usb/cdcecm.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/usb/cdcecm.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/usb/cdcncm.h b/include/nuttx/usb/cdcncm.h
index 0c765e3423..5afd538356 100644
--- a/include/nuttx/usb/cdcncm.h
+++ b/include/nuttx/usb/cdcncm.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/usb/cdcncm.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/usb/composite.h b/include/nuttx/usb/composite.h
index 96ec222324..5bc45c3133 100644
--- a/include/nuttx/usb/composite.h
+++ b/include/nuttx/usb/composite.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/usb/composite.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/usb/dfu.h b/include/nuttx/usb/dfu.h
index 1d333d9dc6..97b22bdd50 100644
--- a/include/nuttx/usb/dfu.h
+++ b/include/nuttx/usb/dfu.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/usb/dfu.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/usb/ehci.h b/include/nuttx/usb/ehci.h
index ac351b6f4c..95c80e9cb0 100644
--- a/include/nuttx/usb/ehci.h
+++ b/include/nuttx/usb/ehci.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/usb/ehci.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/usb/fusb301.h b/include/nuttx/usb/fusb301.h
index 9d7d6cfb49..6d7aeb31ad 100644
--- a/include/nuttx/usb/fusb301.h
+++ b/include/nuttx/usb/fusb301.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/usb/fusb301.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/usb/fusb302.h b/include/nuttx/usb/fusb302.h
index fee22e6408..e0b9fef8ae 100644
--- a/include/nuttx/usb/fusb302.h
+++ b/include/nuttx/usb/fusb302.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/usb/fusb302.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/usb/fusb303.h b/include/nuttx/usb/fusb303.h
index 595377062b..38b0735ee4 100644
--- a/include/nuttx/usb/fusb303.h
+++ b/include/nuttx/usb/fusb303.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/usb/fusb303.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/usb/hid.h b/include/nuttx/usb/hid.h
index 5b9f3839e0..7200349366 100644
--- a/include/nuttx/usb/hid.h
+++ b/include/nuttx/usb/hid.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/usb/hid.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/usb/hid_parser.h b/include/nuttx/usb/hid_parser.h
index 180dc30102..e754b18684 100644
--- a/include/nuttx/usb/hid_parser.h
+++ b/include/nuttx/usb/hid_parser.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/usb/hid_parser.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/usb/hub.h b/include/nuttx/usb/hub.h
index 11bbc3f322..d52f2b908d 100644
--- a/include/nuttx/usb/hub.h
+++ b/include/nuttx/usb/hub.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/usb/hub.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/usb/max3421e.h b/include/nuttx/usb/max3421e.h
index f2980ea35f..954f539ca4 100644
--- a/include/nuttx/usb/max3421e.h
+++ b/include/nuttx/usb/max3421e.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/usb/max3421e.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/usb/mtp.h b/include/nuttx/usb/mtp.h
index da6a8cda7d..195f5f2bf5 100644
--- a/include/nuttx/usb/mtp.h
+++ b/include/nuttx/usb/mtp.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/usb/mtp.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/usb/ohci.h b/include/nuttx/usb/ohci.h
index aa619e651d..66d7148970 100644
--- a/include/nuttx/usb/ohci.h
+++ b/include/nuttx/usb/ohci.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/usb/ohci.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/usb/pl2303.h b/include/nuttx/usb/pl2303.h
index 2e2ca7ba2b..18eed19170 100644
--- a/include/nuttx/usb/pl2303.h
+++ b/include/nuttx/usb/pl2303.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/usb/pl2303.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/usb/rndis.h b/include/nuttx/usb/rndis.h
index a23146ba3f..ddc75d5cc1 100644
--- a/include/nuttx/usb/rndis.h
+++ b/include/nuttx/usb/rndis.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/usb/rndis.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/usb/storage.h b/include/nuttx/usb/storage.h
index 82800d09b9..6cbdf8ae3b 100644
--- a/include/nuttx/usb/storage.h
+++ b/include/nuttx/usb/storage.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/usb/storage.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/usb/usb.h b/include/nuttx/usb/usb.h
index be6888332c..d9bffad3ce 100644
--- a/include/nuttx/usb/usb.h
+++ b/include/nuttx/usb/usb.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/usb/usb.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/usb/usbdev.h b/include/nuttx/usb/usbdev.h
index 1199fb3801..132e24c432 100644
--- a/include/nuttx/usb/usbdev.h
+++ b/include/nuttx/usb/usbdev.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/usb/usbdev.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/usb/usbdev_trace.h b/include/nuttx/usb/usbdev_trace.h
index 0993af5a0d..2374b4ad45 100644
--- a/include/nuttx/usb/usbdev_trace.h
+++ b/include/nuttx/usb/usbdev_trace.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/usb/usbdev_trace.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/usb/usbhost.h b/include/nuttx/usb/usbhost.h
index 5cb30e44ef..af67ca48a4 100644
--- a/include/nuttx/usb/usbhost.h
+++ b/include/nuttx/usb/usbhost.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/usb/usbhost.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/include/nuttx/usb/usbhost_devaddr.h b/include/nuttx/usb/usbhost_devaddr.h
index 4b11ee7e9c..d567f22c1d 100644
--- a/include/nuttx/usb/usbhost_devaddr.h
+++ b/include/nuttx/usb/usbhost_devaddr.h
@@ -1,6 +1,7 @@
/****************************************************************************
* include/nuttx/usb/usbhost_devaddr.h
- * Manage USB device addresses
+ *
+ * SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
diff --git a/include/nuttx/usb/usbhost_trace.h b/include/nuttx/usb/usbhost_trace.h
index ceb4f8b531..ecbbd942cc 100644
--- a/include/nuttx/usb/usbhost_trace.h
+++ b/include/nuttx/usb/usbhost_trace.h
@@ -1,6 +1,8 @@
/****************************************************************************
* include/nuttx/usb/usbhost_trace.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
... 2038 lines suppressed ...