diff --git a/include/aio.h b/include/aio.h index 107e061f46d..5f508028eec 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 306559477ca..9ca86afed51 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 4515914a81d..0e6beedae83 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 62e2df2da43..e400a37ba5e 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 d5a8c488728..a714c60e840 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 2e6f92c35c3..7dbed7fb602 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 aa0f4fceb79..5dbd11ba896 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 - * Copyright (c) 2016 Mike Belopuhov + * SPDX-License-Identifier: MIT + * SPDX-FileCopyrightText: 2016 Thomas Pornin + * 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 daf7941b869..ad0b01a139d 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 * - * Copyright 1997 Niels Provos * 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 df39af71190..8d423c757cf 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 af1d4dd03b0..49221058daf 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 ac44a0ebecd..1859ac2dc8e 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 + * SPDX-License-Identifier: ISC + * SPDX-FileCopyrightText: 2008 Damien Bergamini * * 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 623ee01fc45..ff3283e1b80 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 ed69bfae32d..517516c6cc7 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 + * SPDX-License-Identifier: ISC + * SPDX-FileCopyrightText: 2008 Damien Bergamini * * 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 0cb3ad1b493..05dad750465 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 + * SPDX-License-Identifier: ISC + * SPDX-FileCopyrightText: 2008 Damien Miller * * 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 e6b23c28f3f..a1fd9bd8258 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 + * + * SPDX-License-Identifier: ISC + * SPDX-FileCopyrightText: 2008 Damien Bergamini * * 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 aa67a9a8a58..e6a798d222f 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 270216114cf..77faa780ad4 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 + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2000-2001, Aaron D. Gifford + * SPDX-FileContributor: Aaron D. Gifford * - * 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 42d51fd3408..97e2048a2c9 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 + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2013 Andre Oppermann + * * 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 a24231030cf..6eaf6d50a90 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 75dbcaae81d..258332f6b8c 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 721e29ea0e4..19dd6a98748 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 42abd9203c9..3288ec46d08 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 3af45a8931a..4521aba7eb0 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 8ed7715dda2..7ebb84f691d 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 e103034c670..918f5ee909a 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 6c4ac38c297..20dfe272624 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 0de80568d79..e4e99abb130 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 d8456d3f0f9..f72b3e8d1b9 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 7c9b3eac462..ca65794aba0 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 800fcefd8bb..fb9f540aa85 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 ee301afb896..93d06254b0e 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 34483cdf9c0..87e350e2e5e 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 a4f1aa68030..570bdb784ff 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 ae4f14f2808..45b9aadcf64 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 6df46055f95..71ede8cda6f 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 3b9a2ec0074..e90426113f3 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 84dca402375..86739cb2e7f 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 2d9a478aef8..23da8e06bb9 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 efef0300665..8b6dba16fc3 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 b387c272482..436b42ac3ba 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 deef6128a6b..9b095fb6b2f 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 5de67bf2f22..ef6258c2b3a 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 5ba13771f19..5b5f27a3cd2 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 f5139255d56..865cc95a180 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 a428cdb71f5..a7af044e289 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 fec7f2729fc..ed8bc511122 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 eaa976c9939..615ebc818a0 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 1092843970c..20cc4fbbc84 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 9e897dba82b..4acbb64efba 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 95d049913f1..3f15ceddf4e 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 bac89d6623e..1dc3246bb71 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 372c1112d7f..2582a9c4980 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 265569b8ece..94a53068e7c 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 975063d3f88..cb4de40fa2e 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 db93fc2d809..d6297649eaf 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 a5b9eda35b4..09a230285ac 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 1a360b629b9..e73044d6e52 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 02f53842638..34de7ea2e05 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 58b1e6af93d..6111de0f8fa 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 7928ba13de5..25208cf634b 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 32edd88b806..e9259df2c5c 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 c735df5508f..2bcc66d9f86 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 8b555e368fd..a5ccf8eb3c2 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 13bb91d2a40..e46f30898d0 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 bc877dfc1ea..c0d95666a46 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 d7c82114688..81ba13762c8 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 - * This algorithm is believed to be patent-free. + * SPDX-License-Identifier: BSD-2-Clause + * SPDX-FileCopyrightText: 2000-2008 Marc Alexander Lehmann + * + * 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 aac2671b2ea..8168cd68a29 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 361e8e66fd5..8fb6c4470b2 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 a127c67c390..e8e589d0115 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 5a604ad979e..6d38a0ab7c6 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 0f7f31181f8..6b4f62f68e3 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 2df0c39b10b..98d7c51b88c 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 7f2a0ee32a4..ba8379fcf8c 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 e6ae6c96cda..b60a0a4f8d8 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 afcc591f516..afa9f08868d 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 532d95b3602..85a47db082c 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 b38cb138d46..7ed3aa5ba1a 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 564fa7b390c..154f785e2c7 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 ebc6a86a114..add76068135 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 4a94b515561..9ee1d4dc9ea 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 698140ff7af..0af530e563d 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 36a9a80aecb..39edd5e2b51 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 0dda89dba6c..e30d6169d91 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 711ab5000b9..542553e7739 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 7140c36ec5e..e5c631babab 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 31daae56a14..aba4ccaf15c 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 3c3f19c6a05..0d677a03834 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 46c93c0dfc8..1ae5a503541 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 88bf685d735..b73338cd523 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 1d67ed6b16c..274506b3bf6 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 481a915c338..7922c5792b4 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 c4fd3427483..e2ca27d7cd7 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 2c3807387c7..20f2982b5aa 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 97160ca07e6..f7dbc14a904 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 e068d3eec2e..8e8bb0c8578 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 be6cac2fff5..c2bf9abc731 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 18e12cb26ad..bd44b88c96b 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 05f989e78c0..3942e66d5c5 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 0455d4a3de9..fa8e84c9f3d 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 179f54bff4b..cb4c6a7c6c1 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 b8aa4daa1f1..b51077bd768 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 eedc4a9bc23..a18c4bf1904 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 f3f4e508937..78fcda93f64 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 e59acef71ef..b11a79e1fd4 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 64859f4eff8..517874ba74a 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 01fa9125855..dd35d44ec9f 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 f75f7a87897..410b12f7afd 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 b76fa8001bc..2cc317c4616 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 249ba1c58cd..b358be603b5 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 e316c876e0a..b2bec5492f0 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 84a0167f3aa..c7b32e1b7ff 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 1fbe2556e8b..6cdef92754d 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 8533350bf3c..15f69e2ae6f 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 4a98cb977e2..66119a652c5 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 4ad79431ab3..39f1c90e173 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 9cd90bceb15..170a996fa81 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 e469dd3d4dd..2a90fdd8aec 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 38b5fc9c7c2..8900229bba8 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 f7595dbe907..5455b57fa47 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 59ffc4d6527..6d7d58c674d 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 36056a044cc..9beea79f216 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 38b951e3867..2c8a16f77a9 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 8f6adec679d..61527b42edd 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 2daf048b12d..bf41c39d51f 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 35a9067b6ea..34591bec497 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 1407a5dfd2d..f5cd6320af5 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 287a51d9420..0138c6eb046 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 cf42da295bf..c07c0ec32b5 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 934bc8bafcb..044719692f5 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 52e39417900..854c0106883 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 ed5b25d6cfd..42d7404f3da 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 2a7a04fdac5..9b4df4732d7 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 9bbade8f1d0..2a7ad5c2e49 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 7d31e2e491d..7ae60aba534 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 9c64d539092..33053a2f93c 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 b978c01e7a5..030b6d7e3f7 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 76d45802d29..3803f105986 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 afc65221890..1ee02ae552e 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 b7a9fb400e4..5b1fecbe58d 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 f3faf094837..e3f032dd467 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 014fb77cc88..052c43430dc 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 8412fa7833b..0fd60e323b3 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 2739747a4aa..c64b174d4d4 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 f56c9e6bd6a..74b55d2ad5f 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 cb16527c016..c8bbe60e547 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 7981aecc753..8a98f533459 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 14ca7fb9ffd..9d1818368f5 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 08292a80a00..24558d1846f 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 db41e769b22..1c1df1b6d36 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 d0e14ddb76b..dc4a445f485 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 a6ed913b54a..f8a16cbe6d7 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 33822ea906a..d7a6bf90574 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 43e02fc306d..2a47f773c14 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 09e643a1a42..46910ed2755 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 83fcff99f05..be38cb5135b 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 99afb02c21a..199c8ea1854 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 d967dcd449a..a6aa78341b2 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 328f2b02265..1caa6812d73 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 3aa1abd3224..15b8ea47773 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 15ef4271c66..1b5b4dc19fa 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 469c2f04385..ab2ea070275 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 da16981888c..150b7b5cb0c 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 b06b264d7d0..f9b09ed91cf 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 9b82a38341e..9ce596a384c 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 2cad075abbe..d8502ad24b1 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 c671842f63f..46793eb4393 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 9456922a945..9f03bd1ecb9 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 3a44dc5b398..672242691bd 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 90120c57578..ae4ea70bbce 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 ab79e773c25..5260a07bd5c 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 ddffaa6071d..9f3bb5e65ee 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 3ee2a200563..0765b21f652 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 156f8c93263..1bef6e694c4 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 712ccf04297..32ce6db0e0f 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 3b231a1a64d..7761c454214 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 29fcc98cbf7..a9eb252a589 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 d40559727d1..1bc288a32a4 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 60fe1c34e2c..85448f837be 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 c7ba1337a36..522795de78a 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 e71a949c2ac..e3ff666a3fd 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 ed8ea4dc765..b8fc0ebfd1b 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 cd0bbcbbf6d..26412a6a1f4 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 d4dbdbca4a3..f3b42c87ef8 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 af55f87ed1c..70f8e252ac2 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 3405ae9f5ad..aa2a0d06343 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 0f87a2ea63b..f37896420fc 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 a04433129e2..3a71468f74f 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 3787879d234..6771334a399 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 9d7d045bcfe..fbf1e8bca18 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 8ed1e1b926a..6d98dc43a9c 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 c6844d67c72..3a8c71df473 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 eadc41365d5..23b11ded7ab 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 f5bb1e730fd..35e9e006b52 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 - * - * 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 * * 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 f8648b37af5..2dc829e2fb1 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 801b74673ca..16141d60c04 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 6d161b51a7f..efece595f9f 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 46aade7d584..7ff48a54e46 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 2a27a505ea4..6104f624c0c 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 769ce531362..83f40adff5d 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 bf946ddd0a0..50610fb0c2a 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 f2f5d3bb56f..68cc1404af4 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 f9b05390465..deee7ff183f 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 1e8e6c4f97d..16bcfb09279 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 da74c9faa29..652405a58c9 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 5948e1516a8..4fd7772a8ea 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 21cf71f651a..2b389738ff4 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 74de6a68446..ff11cc664ff 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 229f3210112..409ac882706 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 e8cc3d5f842..1a57ace9bd7 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 49b57771b09..716b6de6cb0 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 ce7924cdeeb..fc78722ea76 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 edb461556ee..0309bde1e84 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 9889fb58572..b2943826cfb 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 e3d3ff258db..02f16d91acb 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 a2d0c5db6ee..6a882fdb6d0 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 2e2a5ececa1..57fcca39d9a 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 757ac28d314..606465b5986 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 3f76baa1de7..45decc44b0b 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 d35f5505ef2..b01608de04c 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 0ae1f01cb8f..b3e3e18b390 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 b2ea7c5eb2e..947b2d72b42 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 356df28a688..ef81fa0cf4b 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 a62e8cebc66..910a3f2e75b 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 ccb49ac8ee1..b9d7dead8b7 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 0be4cbf3667..d81d526b349 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 9a1cb01c452..951e1ee472a 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 6a7e348ab0e..0f52d9bf179 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 cb74ce551d4..01425569137 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 ee445520634..2f7f3f0ae0d 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 b196b684baa..ae928a0fac3 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 95c63e314a2..170407b5f5f 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 4e6aa3d96cd..ba9de0eb478 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 4d52437765a..cb51418e097 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 34801e11deb..b5efd54e300 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 87558f9b392..05de716aa0e 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 83c84b95b29..cfc2ee6ffec 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 b8a2aa1f9cd..811f6aa894f 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 5200b6fd6f1..fd10964f64a 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 + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2016 Brian Webb. + * SPDX-FileContributor: Brian Webb * * 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 c39b9462acc..3467629b4e4 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 bd1bd5cd030..8e27b6a0773 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 aa133a4495d..20f4efd2fe0 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 8fe807736f0..f2dae0db3b1 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 24324dab213..4eebea8ce23 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 17529f0ed9e..06e2c240541 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 3c6c6e2da97..9293c83b1d9 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 f042ffb553f..e6efd1d5c40 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 706e26036cd..fb290c7b78b 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 d9a300a5e75..bd7cdc600fb 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 9e6f3b630cd..4e6d5ca642f 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 a42077ca112..f7b5c213fcd 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 da75714e57b..c6699762167 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 a61ce97ede4..4a5057e3865 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 96f7582675b..263524628b9 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 + * 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 6e1d70dd0f5..4b7c1c0804b 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 2177440c986..f4a4afabcd9 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 71b0fee0f8f..2eefa61c791 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 6b626376ac4..abc1ac70e13 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 d52682f84ed..4fd7197ed4d 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 6e04fb17019..1cb72e4fb54 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 667b6cbdc4b..d97afea61ce 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 8934dd23f05..05bb7ac6f95 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 9f35ef58a3e..8c465c2afcb 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 e4c158f9973..6508056bfb8 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 4ebdadef43a..be89a4caab6 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 75d0e2744ee..0eb5e4dd2f9 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 97fbcf40aa7..4dc9eaa9a2f 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 208357f70e1..b92a2db73eb 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 432c841d1e3..892472e31e6 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 b3758b57196..91f455b2905 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 fd07009220d..29aef0a9758 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 f986729b22d..823a07df7ce 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 2a5803aa9e0..770f0de95e0 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 5db8d4a7a67..12a5fa3618e 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 5b19c58d3b6..0fd86841446 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 fa2fc1bdebd..fe96d5b08c0 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 9ee277e9563..33eaf0cab6b 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 4234b98cfd7..024026fd2c1 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 152826970ab..f28f2dfb28a 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 4452e693914..e1865c8de91 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 4e3ecff6566..0eb6a5bbdbe 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 + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2015 Intuitive Aerial AB. All rights reserved. + * SPDX-FileContributor: Marten Svanfeldt * * 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 5ea6ce6166c..a04709c682e 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 c66abcede7b..10f14e8364d 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 43968b2cd79..a239ebfb98c 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 0815f04188a..244e27a5cfc 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 0bc5826744e..6aaefd16aaf 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 9fcdf37d879..facdaf4ed82 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 0aad550f4a4..a88731d7c45 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 e3b288a2e0e..de202902f89 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 4baeddbe8ae..59cb652916b 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 63715d1b81a..e39abf78769 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 254972cb3af..1df092ed9ff 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 f9d696434d0..0af0a07b572 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 069717efb7f..aaa809b56c9 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 96e196310a1..2951c868874 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 dadbc0b6496..a860d54e828 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 48a3eafa670..97506d0afe2 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 b3ec9761513..f2167c1d406 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 def762c6e60..0350bb1c75e 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 92422d79ec3..16c82d0e0aa 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 f3011ea263d..849429fedd4 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 d10fe9ed641..12442df3f66 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 99fefc22dc5..c87fd78e5d8 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 0877ac50f68..70d9ad90ba9 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 a7f43a92807..b15f52c3604 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 dc3b2e53986..9593d9bd74c 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 8915a197ffc..9e158cbda51 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 5a728d46fbb..e3e7bd165f2 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 e198b2c1c22..9533d8d5ec9 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 b7b41218753..17b6aef37ba 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 541c5b649dd..afe74d6eb53 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 fae2b32f1c9..64a581860c2 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 4b9718d40f8..3d5807c8df4 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 6b7113b3247..6e1ee3cd412 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 3a1d8adf7b8..e9218b5923f 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 80394ac351f..6e1eeac8b96 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 + * * 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 - * * 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 c4c6e40e5d5..37169216148 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 a8df1e2be15..ee53b8bf7db 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 097c6499eb4..bfe0ccd7a7e 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 c5d237dc050..389690e224e 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 c4e98958d3c..c8d7d3397b6 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 565a66fdd26..38a2b8a332d 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 71bb9998381..3f4027be706 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 e856d3b5e24..5334bd0ef52 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 30940efb842..cca09083262 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 0db63d0801c..6bca4693b2b 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 5fac2929567..1f93f35b42b 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 e9d9181807e..22df037e72c 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 7d14d91a34a..898ec72ee93 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 6a0bfbae78b..410bec31881 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 c3282174a27..af963e4779d 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 b466f2907c6..54ac1a6ccfa 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 df0066b93c6..3cf36503eac 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 145a566dcd4..b0635dd1a16 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 + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2016 Vladimir Komendantskiy. All rights reserved. + * SPDX-FileContributor: Vladimir Komendantskiy * * 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 682a7e55cbc..666f6260a39 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 bd4a0920320..985ab806b79 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 8f696d29cc5..29cb1841cfb 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 99272b12de7..284a126ac9c 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 293a14ec6ce..2efe7fedc64 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 a1ad509a7b7..84d290de1c2 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 f9378ed42f2..3c990bc6438 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 730847ea5d3..c424dfea62d 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 165225316b7..4b91a1c0752 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 c5c01df90d4..3e7e080ed2f 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 ef19c38767b..f1a5a4082c0 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 bcb2cf8c046..63fb5cdb3e9 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 cf4d8d2cc57..877bb3f6c6e 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 275370238c0..674589fbde9 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 8b3dc380819..096e2efce9f 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 59e86a5d4b6..9b8622b837c 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 4be864ee1e1..ef161d92be2 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 f62e0260346..3cd6342c31c 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 c342f7d2d81..7cd5af4d615 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 271cea21e9a..0c82a5fcd36 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 c3483ed06ac..e1004fdca20 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 cee12c313aa..a555083a15e 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 573286815a4..66da618f7e5 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 4dffe1b492c..03c2419865b 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 653ad49eb2b..d4e282ec222 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 51b59ae1e0d..230810fdf4a 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 315a2329240..c112a96137d 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 e208d76cd34..5eef47a82c2 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 80c406540b5..46e39f41a3c 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 - * - * Derived from uIP with has a similar BSD-styple license: - * - * Author: Adam Dunkels - * 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 + * SPDX-FileContributor: Adam Dunkels * * 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 0205ec67547..a5267deedfb 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 - * - * Inspired by/based on uIP logic by Adam Dunkels: - * - * Copyright (c) 2002-2003, Adam Dunkels. All rights reserved. - * Author Adam Dunkels + * 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 + * SPDX-FileContributor: Adam Dunkels * * 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 83ad6d44ada..f5e01216cfc 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 3973b0b2111..c07a836f619 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 5034470f83c..5b792a1d878 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 d35f4d0ac56..76a56b9b199 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 - * - * Derived from uIP with has a similar BSD-styple license: - * - * Author: Adam Dunkels - * 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 + * SPDX-FileContributor: Adam Dunkels * * 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 888ddcbafed..c196991e54a 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 ed8511461e7..8f44aa50be5 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 1afd13b77fa..364581805d5 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 - * - * This logic was leveraged from uIP which also has a BSD-style license: - * - * Author Adam Dunkels - * 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 + * SPDX-FileContributor: Adam Dunkels * * 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 acd32ea8d8c..74eae20fc1a 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 - * - * This logic was leveraged from uIP which also has a BSD-style license: - * - * Author Adam Dunkels - * 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 + * SPDX-FileContributor: Adam Dunkels * * 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 cf95b0ad0c8..c7416252dc7 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 bf0b10b3626..6a0516db0db 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 47f14cec8c1..566c531ddd0 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 ba382b46382..628fff5c5ca 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 - * - * 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 * * 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 7be38e6c319..0d0a7e37d88 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 eb712d09b28..fca8a3038e5 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 - * - * This logic was leveraged from uIP which also has a BSD-style license: - * - * Author Adam Dunkels - * 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 + * SPDX-FileContributor: Adam Dunkels * * 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 eea7e91b0e7..de7b0c5d50c 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 110d757b752..1dbaebb90cd 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 3af03d99f85..3ae290dc0f9 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 4e475b505f4..6372761babe 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 dc0d719b6db..73cd2221423 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 f2f5de944e2..44b07aec362 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 b9eeefc15ac..70304a275e3 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 3390f3d060e..90330587d04 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 9dc43144b55..e4f5db7ca23 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 a01e1e11f81..9a64c760994 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 4e3171926cb..46313631b66 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 - * - * This logic was leveraged from uIP which also has a BSD-style license: - * - * Author: Adam Dunkels - * 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 + * SPDX-FileContributor: Adam Dunkels * * 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 862e5538786..67f964e32ee 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 - * - * 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 * * 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 a500a8886ef..bf56e0f2671 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 31a7d14775f..3ea1698a716 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 70f412a5f14..341c0c668e6 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 9c743518845..f65eefb8327 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 8844885d764..a6940237fc0 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 6dc7e25f1c9..015628d2378 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 f2a28c37f03..23cbe62e886 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 f1f8cd09312..686a2dcda5f 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 - * - * This logic was leveraged from uIP which also has a BSD-style license: - * - * Author Adam Dunkels - * 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 + * SPDX-FileContributor: Adam Dunkels * * 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 b42c3cb9cf0..36fe4ca7e92 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 c5ea63f7c18..db943696d53 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 e1a52765f23..5baf18e0968 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 4dfd4abe2f4..6a0e4094397 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 7bbc9fac7e2..ff9137bb403 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 54f192026f5..061c0191b25 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 623dba99c72..6b3cfc5b8a8 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 + * 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 + * SPDX-FileContributor: Adam Dunkels + * SPDX-FileContributor: Nicolas Tsiftes + * SPDX-FileContributor: Niclas Finne + * SPDX-FileContributor: Mathilde Durvy + * SPDX-FileContributor: Julien Abeille * - * Derives from Contiki: - * - * Copyright (c) 2008, Swedish Institute of Computer Science. * All rights reserved. - * Authors: Adam Dunkels - * Nicolas Tsiftes - * Niclas Finne - * Mathilde Durvy - * Julien Abeille * * 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 6d271336767..ffa9a2fdea6 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 aeec9dab61c..87cd5e3b3a1 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 a8aa0165d01..d579c126856 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 9a76af558a5..5d921d6deb2 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 + * SPDX-FileContributor: Adam Dunkels * - * Copyright (C) 2007, 2009-2010, 2012-2014 Gregory Nutt. All rights - * reserved. - * Author: Gregory Nutt - * - * This logic was leveraged from uIP which also has a BSD-style license: - * - * Author Adam Dunkels - * 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 ada70b455c5..741ef598dae 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 c67ea6e65b7..6a95c9a7a92 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 - * - * 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 * * 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 41a25235048..47ed38fd62c 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 - * - * This logic was leveraged from uIP which also has a BSD-style license: - * - * Author Adam Dunkels - * 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 + * SPDX-FileContributor: Adam Dunkels * * 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 43c7ef604a5..92de83d51be 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 30d4c4f3796..b14761465ff 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 791a0396f29..1b3d473a6e6 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 ddea0337432..fae9b0685c8 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 1e2d191208a..2ba1e4c9610 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 432881a5634..d74385c8321 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 ae9ccc19585..1aae20d0161 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 fa2cbf5e107..a9de957e5ca 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 52955551aeb..eb67b378090 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 adeaf94fce3..e832bc0a2ef 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 b0e0010371a..e1108d636ba 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 ef20e64899a..e084224057f 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 7e35368b004..76ad6a6de8f 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 5e63b0b8206..f2b22efe103 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 57254df5e01..2ee6ac30ed7 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 5b861db1cd8..5f6ab2297af 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 40e0997351c..a687dc95200 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 7c14bca90c6..e75a0c2dfbe 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 b824f05453f..fbe9931bc3d 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 adce1c2ddb9..59e17da2506 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 a3679d9c494..02357722a17 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 7fd1926f7b5..3fbbb550c45 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 c2bfad49344..c40e4e3b0b5 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 ba4ac4edfea..5ea6dd972c9 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 f089e27ac96..6493509682d 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 6cad177e69b..ba410641c40 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 54323ea1963..29dae0200c8 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 f11fd605e17..f46d8394134 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 176b26beeb1..e846d881c8b 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 d22e55ae013..8f58c1b49a1 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 ca0ae42ac67..1a84e561597 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 b8301393c84..02f92601c77 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 8ef6e339149..676b829e053 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 80f8b96e8d5..99fa73977ff 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 04c1048907c..8a0f89ead60 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 952464a5cee..d365e423655 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 ee5a62d267c..8e7c89f31c8 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 f93129092d1..966e9dff28f 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 d88352c9c53..32edc062176 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 a8951b98909..4ac66b8c7fa 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 + * 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 * * 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 ab7d1120cfb..76d85ecc006 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 53942cca304..053b02f8de0 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 4ecd049b363..569b616d5fe 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 02d9ef021f3..49ff29e165d 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 3c434484f24..483d9276c08 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 4b739a622df..95bd22ddd8a 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 5b7086f2847..62c03fef349 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 9b72638a718..8675d7252df 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 5b1313d797f..bc9a8e86b84 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 ae75f974e8f..54710ca4e26 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 + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2015 Max Nekludov. All rights reserved. + * SPDX-FileContributor: Max Nekludov * * 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 acbecc189bb..54969cccc6e 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 719b5d4dd7e..373bc12f5fb 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 f482e3ba472..6a80835fc46 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 04bda577ee7..8037b8c4934 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 2ce5db0305a..8f56581f7bc 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 3b5385161a0..4c6eae356de 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 dcdc6893177..d6a3f36bba7 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 08ae2b4fcac..35bfb9368f3 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 b56ec3f9cee..69675d0c5ba 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 bd7e021c09b..301b5bd66f0 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 8df7ca0faa7..9d5d908b796 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 09f47d988e5..c525ff29a1f 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 000931c76d6..6338f2927bf 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 11fed0b09c7..77f582b47de 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 1f2b1b216ce..5afb391d5c1 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 6337e6ca8d7..af462ff11e8 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 4926fac7581..e942c5987af 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 db0884c8c56..4e1367f2347 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 b102ffd788b..48efd744f38 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 c6561974754..57fbc1a6b75 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 76ba8d683a8..e6ac1d547d2 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 d243be16751..e77d5580457 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 c06080e02ce..48f431d7d57 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 cfc8e0531fb..94597506de1 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 24ddb048978..0e0de5e527b 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 e62e42482d4..0781db468ea 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 af5fb82edf5..aa5e7d8daa9 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 728262352c6..10d7904aefe 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 60063f2eace..6b0d3c84588 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 6644b0422af..7d9c656081a 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 9a6ba4ca5cd..aff35af838c 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 497a64d6e74..a96440ec75b 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 7cb1242fb42..2af5fa7f08b 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 5d568b6978a..0cda790841d 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 d839878a0bc..dd83940a0a2 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 d11e869638c..70f1cf0311a 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 35a5dc48438..c4d61c5af23 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 900e63dc18b..3e0f7af4581 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 8102d9ffb84..d94b2bc24c4 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 3574e82901c..4fb0cd284bc 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 29ec4fdd414..36937ad6694 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 10cb8b1c014..cfc6cc8e7d8 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 f17000b2571..b5e6c4bdc03 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 6c3f134b615..a616f64c888 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 17e4dc28053..b647e499b65 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 5054e7af73d..f1bc86afced 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 711fbba65e1..ea78448fc70 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 5e8a92ac420..d1a98cc444b 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 9acd499d707..705859fbf8c 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 and - * Andreas Kurz + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2019 Fabian Justi. All rights reserved. + * SPDX-FileContributor: Fabian Justi and + * SPDX-FileContributor: Andreas Kurz * * 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 9ed15ad8e0f..4f1b89393ca 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 8d3247bf855..f1708472e50 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 9892ad885a6..abdf17976e6 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 15ef40e5adf..4a5819e27a3 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 73fc8152516..4408b7f62a8 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 2989558044a..c7d3ea332fb 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 213c199ea88..30c16ccf0c8 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 a9a1090384f..56e0a1aecff 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 d43c3de448f..b61516b5bf9 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 7dee91d68cb..733d08f0ea1 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 7fc3ef7a14e..ea4eb924dbf 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 f588d83a15d..6cf615e4f11 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 f91127480d3..0f20f018afb 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 781989d8c63..62a70896569 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 1b72199fb05..0d7e8ef1a1b 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 285125a92af..eb1505ab938 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 44afe141630..873e3174156 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 79669b47cb0..99ed1ee51b5 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 171f43ae5fd..17ebd545c24 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 f926f19d8ec..988af0eb74e 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 17636b3cb09..04d0e34a3e3 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 020048cd664..845968de5a2 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 1355de9120d..a9efd8bb3fa 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 a3ebf9836df..438177f4249 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 1593802f51d..543ddda5712 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 9d982f177e0..f06dfa668a4 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 5c05e697f0b..decc1b21aa4 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 ae3a50b3a50..d6057887627 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 d0339754808..0c9453b9321 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 3cd7700e822..2ebe303a7cf 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 e9fd00170e2..a77cd19c275 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 c249876088a..467ed4a915d 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 57cbd49b9b3..acb02e445c3 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 8537bb943fb..e2d83f3eceb 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 + * 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 cb0aad6b510..d31b594fc4b 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 c77d97b293b..3a0b69a2716 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 9aaa23dad9f..080195a1145 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 ac17068dc12..675b45d57ab 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 + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2018 Extent3D. All rights reserved. + * SPDX-FileContributor: Matt Thompson * * 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 2f0fdfdcac0..9134033f75d 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 244acddef9c..78537a5aff4 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 1a2f7b4c9a2..5b47507c5c6 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 9c728d37021..ab38a404719 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 ac45efa24ea..ab3eda2516b 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 f9486026d0e..03a2a1159c0 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 0cd6e9f7e69..8048bbd2c5f 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 c1b47038e9c..435858965ce 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 44ae703ca2c..806d8d26200 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 f0ecfbe43d9..6a24da2251f 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 fea14e5b56b..25e2716e664 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 d02b0281234..3a39099f26d 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 98610fb0b68..b061a1d45dc 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 afae126a288..9161f596ad9 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 2de72369303..c2a0e9e3bb8 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 2ed6906fa2c..3612268f0c8 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 fab1b354457..68f68159e68 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 4ccc49d06d9..c0c1ccc556a 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 56561885721..7bc1db70748 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 6b425dfcbb5..cf86f41cf33 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 338c586cd2c..f019ace11ea 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 adea6c1bf62..52b1961f104 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 61157b6db54..caef21bfb33 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 2d3f465396a..68fee7a71b3 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 79836231ddb..7e4d6d0ffdf 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 db9ff1d430f..7557c859554 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 f6afeff8e37..e1bf0b6cc72 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 8632165bafb..9431ccbcaaf 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 10d1980be98..f32941d4fc9 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 b48acdb0e05..5675ebce3fb 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 f3831363f66..b976eded962 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 ffd46dbfd41..24d21ed9c57 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 67eb820cf5e..16e845c0511 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 d3a1a915def..be623785e09 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 c90fd0b1a20..75f2ba57887 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 9a70036c19f..0c2af21daf5 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 b2057f888ab..a7df0c29daf 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 9c15b9bd87e..c86fb42407a 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 485f8e75f64..94c80028183 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 ca8f146c87c..0a43017d348 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) + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2019 Acutronics Robotics. All rights reserved. + * SPDX-FileContributor: Juan Flores Muñoz * * 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 e426d1545bd..b72e2206592 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 9b16bfbeb77..ded9c4925a9 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 b64df763c7f..d9570318343 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 682e7b98fc7..7615ebde0e6 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 542487b3c0e..90f32c8396f 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 7b6e1201dae..c66c54f7b08 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 23a38667f50..8124e7d964f 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 688281702f7..ad77ca391bb 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 f0e35b52f71..9855e7d3c0c 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 cd1ce424aca..c98f91b0d88 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 c0e6352fd03..4fd7124a1c7 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 e0e1555f725..f8ff0393fba 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 bd63cdc8ef0..549bc7f3b4b 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 24a4efb97c1..f606151c610 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 726db4abf0a..04cff1b1f03 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 d7029149b87..49de59cecbe 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 cd52a9d1e0a..3e4f9a08bbd 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 5e0f4da572e..13a331e9b3a 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 675c2df8ff5..749470a1336 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 469e3a1b3ae..79a037272df 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 d472c97f0af..f27df3fe7ec 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 b3a2d1052d3..962630f0729 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 3ca0f975a7f..a8ff32c04d1 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 02da3f8efd7..00dc5f02759 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 83f167391a9..69483b68299 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 1bce2772172..0842061b112 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 a3ea58e86cc..72c1f7a71af 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 72c3cb5c2ad..f32d3d1e359 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 db56878f9b2..38ce0a26bec 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 19d43a82035..1dcfa6ad50d 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 ebd3fdee422..81bc4301a47 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 156f8e0c0f6..b2b33dab993 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 ef3f501faec..6fb7430bd87 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 ebfa940b0ce..5915bc9c409 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 5a32c0d5948..a065a68c9a5 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 22bcce71a46..673c8416490 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 270a7737a0c..d3487cf6eaf 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 e4092bda75a..fe40778b42a 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 74c406bd24f..4deaeef054f 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 fb9e46d8b20..f2650d0f9ac 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 a28c770eeba..f59e4f72063 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 4fbb75ccd72..09135d0c9f7 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 d75c63356c7..827c07ccbc8 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 14bc90183c0..11e84b2e5af 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 16dae839a7d..6769ca2daef 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 6f041d4a6e4..645a15b4cac 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 3e7a7c9812c..76cbc3a6592 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 6d412d1ce2f..c10b75017ab 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 0fe4b63bae2..7f1ba2ac149 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 ba7e8f05a77..876e91171f9 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 b311d96cb7b..4a30b6b8969 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 2e001177f10..d29a7c80ff0 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 ca8b80a0cd8..cf23f942ead 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 70c68d3f673..f055936ecb8 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 8327197c911..e0176107c8c 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 73294d68683..0859864d306 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 6d98cb5123b..d3cbddbab02 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 b304ac88de1..b08abddc1bc 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 0b2a0104e2a..d703e146cab 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 75f1f2dfb17..68d0cddcd64 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 0c765e34239..5afd5383561 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 96ec222324b..5bc45c3133e 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 1d333d9dc69..97b22bdd500 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 ac351b6f4cf..95c80e9cb00 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 9d7d6cfb49e..6d7aeb31ad6 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 fee22e64087..e0b9fef8ae3 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 595377062ba..38b0735ee4c 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 5b9f3839e04..72003493664 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 180dc301021..e754b18684b 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 11bbc3f3226..d52f2b908d9 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 f2980ea35f2..954f539ca4b 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 da6a8cda7d4..195f5f2bf5c 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 aa619e651d8..66d7148970c 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 2e2ca7ba2b9..18eed19170d 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 a23146ba3f4..ddc75d5cc15 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 82800d09b94..6cbdf8ae3b6 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 be6888332c6..d9bffad3ce6 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 1199fb3801e..132e24c4322 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 0993af5a0db..2374b4ad451 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 5cb30e44ef1..af67ca48a43 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 4b11ee7e9c4..d567f22c1d0 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 ceb4f8b5310..ecbbd942ccc 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 diff --git a/include/nuttx/usb/usbmonitor.h b/include/nuttx/usb/usbmonitor.h index 5c31bfce012..227ae6e40aa 100644 --- a/include/nuttx/usb/usbmonitor.h +++ b/include/nuttx/usb/usbmonitor.h @@ -1,6 +1,8 @@ /**************************************************************************** * include/nuttx/usb/usbmonitor.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or 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/usbmsc.h b/include/nuttx/usb/usbmsc.h index 45b0ac920d0..fe97bcda850 100644 --- a/include/nuttx/usb/usbmsc.h +++ b/include/nuttx/usb/usbmsc.h @@ -1,6 +1,8 @@ /**************************************************************************** * include/nuttx/usb/usbmsc.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/include/nuttx/userspace.h b/include/nuttx/userspace.h index 506f8dbea32..59285ac9605 100644 --- a/include/nuttx/userspace.h +++ b/include/nuttx/userspace.h @@ -1,6 +1,8 @@ /**************************************************************************** * include/nuttx/userspace.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/include/nuttx/usrsock/usrsock_rpmsg.h b/include/nuttx/usrsock/usrsock_rpmsg.h index e950906aa47..50f7c8da65a 100644 --- a/include/nuttx/usrsock/usrsock_rpmsg.h +++ b/include/nuttx/usrsock/usrsock_rpmsg.h @@ -1,6 +1,8 @@ /**************************************************************************** * include/nuttx/usrsock/usrsock_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/video/edid.h b/include/nuttx/video/edid.h index b9cfe7e70e4..adbbeaa8183 100644 --- a/include/nuttx/video/edid.h +++ b/include/nuttx/video/edid.h @@ -1,17 +1,11 @@ /**************************************************************************** * include/nuttx/video/edid.h - * EDID (Extended Display Identification Data) Format * - * Copyright (C) 2019 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt - * - * Reference: Wikipedia (initial version) - * - * Updated and extended with definitions from FreeBSD which has a compatible - * 2-clause BSD license: - * - * Copyright (c) 2006 Itronix Inc. All rights reserved. - * Written by Garrett D'Amore for Itronix Inc. + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2019 Gregory Nutt. All rights reserved. + * SPDX-FileCopyrightText: 2006 Itronix Inc. All rights reserved. + * SPDX-FileContributor: Gregory Nutt + * SPDX-FileContributor: Garrett D'Amore for Itronix Inc. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/include/nuttx/video/fb.h b/include/nuttx/video/fb.h index c582ee23078..a467d6ac545 100644 --- a/include/nuttx/video/fb.h +++ b/include/nuttx/video/fb.h @@ -1,6 +1,8 @@ /**************************************************************************** * include/nuttx/video/fb.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/include/nuttx/video/goldfish_camera.h b/include/nuttx/video/goldfish_camera.h index 07a538edc93..b6639421542 100644 --- a/include/nuttx/video/goldfish_camera.h +++ b/include/nuttx/video/goldfish_camera.h @@ -1,6 +1,8 @@ /**************************************************************************** * include/nuttx/video/goldfish_camera.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/include/nuttx/video/goldfish_fb.h b/include/nuttx/video/goldfish_fb.h index 84f051e4f4c..36846ae8fde 100644 --- a/include/nuttx/video/goldfish_fb.h +++ b/include/nuttx/video/goldfish_fb.h @@ -1,6 +1,8 @@ /**************************************************************************** * include/nuttx/video/goldfish_fb.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/include/nuttx/video/goldfish_gpu_fb.h b/include/nuttx/video/goldfish_gpu_fb.h index 3156a19300b..4411dfcab72 100644 --- a/include/nuttx/video/goldfish_gpu_fb.h +++ b/include/nuttx/video/goldfish_gpu_fb.h @@ -1,6 +1,8 @@ /**************************************************************************** * include/nuttx/video/goldfish_gpu_fb.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/include/nuttx/video/imgdata.h b/include/nuttx/video/imgdata.h index 5f9af45873b..99a80338d37 100644 --- a/include/nuttx/video/imgdata.h +++ b/include/nuttx/video/imgdata.h @@ -1,6 +1,8 @@ /**************************************************************************** * include/nuttx/video/imgdata.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/include/nuttx/video/imgsensor.h b/include/nuttx/video/imgsensor.h index 920516e8a4a..3a3f9f3eb07 100644 --- a/include/nuttx/video/imgsensor.h +++ b/include/nuttx/video/imgsensor.h @@ -1,6 +1,8 @@ /**************************************************************************** * include/nuttx/video/imgsensor.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/include/nuttx/video/isx012.h b/include/nuttx/video/isx012.h index b4f3b797c32..87583bf0e05 100644 --- a/include/nuttx/video/isx012.h +++ b/include/nuttx/video/isx012.h @@ -1,6 +1,8 @@ /**************************************************************************** * include/nuttx/video/isx012.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/include/nuttx/video/isx019.h b/include/nuttx/video/isx019.h index 4116475a128..7d57fc69758 100644 --- a/include/nuttx/video/isx019.h +++ b/include/nuttx/video/isx019.h @@ -1,6 +1,8 @@ /**************************************************************************** * include/nuttx/video/isx019.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/include/nuttx/video/max7456.h b/include/nuttx/video/max7456.h index 5ec0dcad531..2be983dc531 100644 --- a/include/nuttx/video/max7456.h +++ b/include/nuttx/video/max7456.h @@ -1,6 +1,8 @@ /**************************************************************************** * include/nuttx/video/max7456.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/include/nuttx/video/mipi_display.h b/include/nuttx/video/mipi_display.h index 47619bd7473..7086ed484a5 100644 --- a/include/nuttx/video/mipi_display.h +++ b/include/nuttx/video/mipi_display.h @@ -1,6 +1,8 @@ /**************************************************************************** * include/nuttx/video/mipi_display.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/include/nuttx/video/mipi_dsi.h b/include/nuttx/video/mipi_dsi.h index 56f79c84720..242f623181d 100644 --- a/include/nuttx/video/mipi_dsi.h +++ b/include/nuttx/video/mipi_dsi.h @@ -1,6 +1,8 @@ /**************************************************************************** * include/nuttx/video/mipi_dsi.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/include/nuttx/video/ov2640.h b/include/nuttx/video/ov2640.h index 7a7d7ca3992..25aa1b82efa 100644 --- a/include/nuttx/video/ov2640.h +++ b/include/nuttx/video/ov2640.h @@ -1,6 +1,8 @@ /**************************************************************************** * include/nuttx/video/ov2640.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/include/nuttx/video/rfb.h b/include/nuttx/video/rfb.h index b8ff7d49a6a..f151a768cf9 100644 --- a/include/nuttx/video/rfb.h +++ b/include/nuttx/video/rfb.h @@ -1,6 +1,8 @@ /**************************************************************************** * include/nuttx/video/rfb.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/include/nuttx/video/rgbcolors.h b/include/nuttx/video/rgbcolors.h index a5bc3cb7bdd..62700c5e09c 100644 --- a/include/nuttx/video/rgbcolors.h +++ b/include/nuttx/video/rgbcolors.h @@ -1,6 +1,7 @@ /**************************************************************************** * include/nuttx/video/rgbcolors.h - * User-friendly RGB color 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/video/v4l2_cap.h b/include/nuttx/video/v4l2_cap.h index ead917eb29b..a3ef2edd0c5 100644 --- a/include/nuttx/video/v4l2_cap.h +++ b/include/nuttx/video/v4l2_cap.h @@ -1,6 +1,8 @@ /**************************************************************************** * include/nuttx/video/v4l2_cap.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/include/nuttx/video/v4l2_m2m.h b/include/nuttx/video/v4l2_m2m.h index 2b3f4767d50..489035708ad 100644 --- a/include/nuttx/video/v4l2_m2m.h +++ b/include/nuttx/video/v4l2_m2m.h @@ -1,6 +1,8 @@ /**************************************************************************** * include/nuttx/video/v4l2_m2m.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/include/nuttx/video/vesagtf.h b/include/nuttx/video/vesagtf.h index fed7ad68fe1..2cea86a723b 100644 --- a/include/nuttx/video/vesagtf.h +++ b/include/nuttx/video/vesagtf.h @@ -1,43 +1,22 @@ /**************************************************************************** * include/nuttx/video/vesagtf.h - * EDID (Extended Display Identification Data) Format * - * Copyright (C) 2019 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt + * SPDX-License-Identifier: Apache-2.0 * - * Derives from logic in FreeBSD which has an equivalent 3-clause BSD - * license: + * Licensed to the Apache Software 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) 2006 Itronix Inc. All rights reserved. - * Written by Garrett D'Amore for Itronix Inc. - * - * 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 NuttX 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 OWNER 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. + * http://www.apache.org/licenses/LICENSE-2.0 * + * 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. ****************************************************************************/ #ifndef __INCLUDE_NUTTX_VIDEO_VESAGTF_H diff --git a/include/nuttx/video/video.h b/include/nuttx/video/video.h index 44aa821fdcb..d0c7d4d28f7 100644 --- a/include/nuttx/video/video.h +++ b/include/nuttx/video/video.h @@ -1,6 +1,8 @@ /**************************************************************************** * include/nuttx/video/video.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/include/nuttx/video/videomode.h b/include/nuttx/video/videomode.h index 04dd1818c8c..aca537da6de 100644 --- a/include/nuttx/video/videomode.h +++ b/include/nuttx/video/videomode.h @@ -1,42 +1,22 @@ /**************************************************************************** * include/nuttx/video/videomode.h - * EDID (Extended Display Identification Data) Format * - * Copyright (C) 2019 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt + * SPDX-License-Identifier: Apache-2.0 * - * Some of structures in this file derive from FreeBSD which has a - * compatible 2-clause BSD license: + * Licensed to the Apache Software 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) 2006 Itronix Inc. All rights reserved. - * Written by Garrett D'Amore for Itronix Inc. + * 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 NuttX 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 OWNER 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/video/vnc.h b/include/nuttx/video/vnc.h index 42597f5b7ad..abe21a9a0c2 100644 --- a/include/nuttx/video/vnc.h +++ b/include/nuttx/video/vnc.h @@ -1,6 +1,8 @@ /**************************************************************************** * include/nuttx/video/vnc.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/include/nuttx/virtio/virtio-mmio.h b/include/nuttx/virtio/virtio-mmio.h index d7c0d0574af..cecf4cc8171 100644 --- a/include/nuttx/virtio/virtio-mmio.h +++ b/include/nuttx/virtio/virtio-mmio.h @@ -1,6 +1,8 @@ /**************************************************************************** * include/nuttx/virtio/virtio-mmio.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/include/nuttx/virtio/virtio-pci.h b/include/nuttx/virtio/virtio-pci.h index 3a39b1ca82c..55dbc6c14d8 100644 --- a/include/nuttx/virtio/virtio-pci.h +++ b/include/nuttx/virtio/virtio-pci.h @@ -1,6 +1,8 @@ /**************************************************************************** * include/nuttx/virtio/virtio-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/virtio/virtio.h b/include/nuttx/virtio/virtio.h index 7ad756b5274..b9fb92b1bcb 100644 --- a/include/nuttx/virtio/virtio.h +++ b/include/nuttx/virtio/virtio.h @@ -1,6 +1,8 @@ /**************************************************************************** * include/nuttx/virtio/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/vt100.h b/include/nuttx/vt100.h index 2b7e9c34435..3527348e0a3 100644 --- a/include/nuttx/vt100.h +++ b/include/nuttx/vt100.h @@ -1,6 +1,7 @@ /**************************************************************************** * include/nuttx/vt100.h - * VT100 Escape Sequences + * + * SPDX-License-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/wdog.h b/include/nuttx/wdog.h index a548c5611e8..84f7f6a3ad9 100644 --- a/include/nuttx/wdog.h +++ b/include/nuttx/wdog.h @@ -1,6 +1,8 @@ /**************************************************************************** * include/nuttx/wdog.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/include/nuttx/wireless/bluetooth/bt_bridge.h b/include/nuttx/wireless/bluetooth/bt_bridge.h index 323b6b37965..156c37572f5 100644 --- a/include/nuttx/wireless/bluetooth/bt_bridge.h +++ b/include/nuttx/wireless/bluetooth/bt_bridge.h @@ -1,6 +1,8 @@ /**************************************************************************** * include/nuttx/wireless/bluetooth/bt_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/wireless/bluetooth/bt_buf.h b/include/nuttx/wireless/bluetooth/bt_buf.h index 71db258af49..766847d975a 100644 --- a/include/nuttx/wireless/bluetooth/bt_buf.h +++ b/include/nuttx/wireless/bluetooth/bt_buf.h @@ -1,8 +1,8 @@ /**************************************************************************** * include/nuttx/wireless/bluetooth/bt_buf.h * - * Copyright (c) 2016, Intel Corporation - * All rights reserved. + * SPDX-License-Identifier: BSD-2-Clause + * SPDX-FileCopyrightText: 2016, Intel Corporation. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are diff --git a/include/nuttx/wireless/bluetooth/bt_core.h b/include/nuttx/wireless/bluetooth/bt_core.h index 4b0f6089653..178d8eefb18 100644 --- a/include/nuttx/wireless/bluetooth/bt_core.h +++ b/include/nuttx/wireless/bluetooth/bt_core.h @@ -1,8 +1,8 @@ /**************************************************************************** * include/nuttx/wireless/bluetooth/bt_core.h * - * Copyright (c) 2016, Intel Corporation - * All rights reserved. + * SPDX-License-Identifier: BSD-2-Clause + * SPDX-FileCopyrightText: 2016, Intel Corporation. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are diff --git a/include/nuttx/wireless/bluetooth/bt_driver.h b/include/nuttx/wireless/bluetooth/bt_driver.h index 9e85e1b5f5d..1f268b00f63 100644 --- a/include/nuttx/wireless/bluetooth/bt_driver.h +++ b/include/nuttx/wireless/bluetooth/bt_driver.h @@ -1,8 +1,8 @@ /**************************************************************************** * include/nuttx/wireless/bluetooth/bt_driver.h * - * Copyright (c) 2016, Intel Corporation - * All rights reserved. + * SPDX-License-Identifier: BSD-2-Clause + * SPDX-FileCopyrightText: 2016, Intel Corporation. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are diff --git a/include/nuttx/wireless/bluetooth/bt_gatt.h b/include/nuttx/wireless/bluetooth/bt_gatt.h index 68872df2f39..d523b908a99 100644 --- a/include/nuttx/wireless/bluetooth/bt_gatt.h +++ b/include/nuttx/wireless/bluetooth/bt_gatt.h @@ -1,8 +1,8 @@ /**************************************************************************** * include/nuttx/wireless/bluetooth/bt_gatt.h * - * Copyright (c) 2016, Intel Corporation - * All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2016, Intel Corporation. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are diff --git a/include/nuttx/wireless/bluetooth/bt_hci.h b/include/nuttx/wireless/bluetooth/bt_hci.h index bbf45fb5044..67d7cb3ca13 100644 --- a/include/nuttx/wireless/bluetooth/bt_hci.h +++ b/include/nuttx/wireless/bluetooth/bt_hci.h @@ -1,8 +1,8 @@ /**************************************************************************** * include/nuttx/wireless/bluetooth/bt_hci.h * - * Copyright (c) 2016, Intel Corporation - * All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2016, Intel Corporation. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are diff --git a/include/nuttx/wireless/bluetooth/bt_ioctl.h b/include/nuttx/wireless/bluetooth/bt_ioctl.h index c2c1d1f99ba..f3ccf07914f 100644 --- a/include/nuttx/wireless/bluetooth/bt_ioctl.h +++ b/include/nuttx/wireless/bluetooth/bt_ioctl.h @@ -1,8 +1,8 @@ /**************************************************************************** * include/nuttx/wireless/bluetooth/bt_ioctl.h * - * Copyright (c) 2016, Intel Corporation - * All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2016, Intel Corporation. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are diff --git a/include/nuttx/wireless/bluetooth/bt_null.h b/include/nuttx/wireless/bluetooth/bt_null.h index 893e431f0da..569a1f00686 100644 --- a/include/nuttx/wireless/bluetooth/bt_null.h +++ b/include/nuttx/wireless/bluetooth/bt_null.h @@ -1,6 +1,8 @@ /**************************************************************************** * include/nuttx/wireless/bluetooth/bt_null.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/include/nuttx/wireless/bluetooth/bt_rpmsghci.h b/include/nuttx/wireless/bluetooth/bt_rpmsghci.h index fb0381179af..051ba8b31a4 100644 --- a/include/nuttx/wireless/bluetooth/bt_rpmsghci.h +++ b/include/nuttx/wireless/bluetooth/bt_rpmsghci.h @@ -1,6 +1,8 @@ /**************************************************************************** * include/nuttx/wireless/bluetooth/bt_rpmsghci.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/include/nuttx/wireless/bluetooth/bt_uart.h b/include/nuttx/wireless/bluetooth/bt_uart.h index bd92e478a3e..c74b6955a62 100644 --- a/include/nuttx/wireless/bluetooth/bt_uart.h +++ b/include/nuttx/wireless/bluetooth/bt_uart.h @@ -1,8 +1,8 @@ /**************************************************************************** * include/nuttx/wireless/bluetooth/bt_uart.h * - * Copyright (c) 2016, Intel Corporation - * All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2016, Intel Corporation. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are diff --git a/include/nuttx/wireless/bluetooth/bt_uart_shim.h b/include/nuttx/wireless/bluetooth/bt_uart_shim.h index 6f3d82e8674..aa00d20349e 100644 --- a/include/nuttx/wireless/bluetooth/bt_uart_shim.h +++ b/include/nuttx/wireless/bluetooth/bt_uart_shim.h @@ -1,6 +1,8 @@ /**************************************************************************** * include/nuttx/wireless/bluetooth/bt_uart_shim.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/include/nuttx/wireless/bluetooth/bt_uuid.h b/include/nuttx/wireless/bluetooth/bt_uuid.h index b8aa0f5109e..5b1a72976ff 100644 --- a/include/nuttx/wireless/bluetooth/bt_uuid.h +++ b/include/nuttx/wireless/bluetooth/bt_uuid.h @@ -1,8 +1,8 @@ /**************************************************************************** * include/nuttx/wireless/bluetooth/bt_uuid.h * - * Copyright (c) 2016, Intel Corporation - * All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2016, Intel Corporation All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are diff --git a/include/nuttx/wireless/cc1101.h b/include/nuttx/wireless/cc1101.h index e2915bbd45b..e9ef9ca94d8 100644 --- a/include/nuttx/wireless/cc1101.h +++ b/include/nuttx/wireless/cc1101.h @@ -1,6 +1,8 @@ /**************************************************************************** * include/nuttx/wireless/cc1101.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/include/nuttx/wireless/cellular/cellular.h b/include/nuttx/wireless/cellular/cellular.h index f9378e93329..cbbbbe16e9f 100644 --- a/include/nuttx/wireless/cellular/cellular.h +++ b/include/nuttx/wireless/cellular/cellular.h @@ -1,6 +1,7 @@ /**************************************************************************** * include/nuttx/wireless/cellular/cellular.h - * Cellular network device commands + * + * SPDX-License-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/wireless/gs2200m.h b/include/nuttx/wireless/gs2200m.h index ffdc64ede51..7e9d9a77d15 100644 --- a/include/nuttx/wireless/gs2200m.h +++ b/include/nuttx/wireless/gs2200m.h @@ -1,6 +1,8 @@ /**************************************************************************** * include/nuttx/wireless/gs2200m.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/include/nuttx/wireless/ieee80211/bcmf_board.h b/include/nuttx/wireless/ieee80211/bcmf_board.h index e6df4b5afa6..6f625ef0203 100644 --- a/include/nuttx/wireless/ieee80211/bcmf_board.h +++ b/include/nuttx/wireless/ieee80211/bcmf_board.h @@ -1,6 +1,8 @@ /**************************************************************************** * include/nuttx/wireless/ieee80211/bcmf_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/wireless/ieee80211/bcmf_gpio.h b/include/nuttx/wireless/ieee80211/bcmf_gpio.h index d466a291a65..54b8cbcd518 100644 --- a/include/nuttx/wireless/ieee80211/bcmf_gpio.h +++ b/include/nuttx/wireless/ieee80211/bcmf_gpio.h @@ -1,6 +1,8 @@ /**************************************************************************** * include/nuttx/wireless/ieee80211/bcmf_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/wireless/ieee80211/bcmf_gspi.h b/include/nuttx/wireless/ieee80211/bcmf_gspi.h index a85ba06804d..4436cc599ba 100644 --- a/include/nuttx/wireless/ieee80211/bcmf_gspi.h +++ b/include/nuttx/wireless/ieee80211/bcmf_gspi.h @@ -1,6 +1,8 @@ /**************************************************************************** * include/nuttx/wireless/ieee80211/bcmf_gspi.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/include/nuttx/wireless/ieee80211/bcmf_netdev.h b/include/nuttx/wireless/ieee80211/bcmf_netdev.h index e98f82d93a2..e5b21cd763f 100644 --- a/include/nuttx/wireless/ieee80211/bcmf_netdev.h +++ b/include/nuttx/wireless/ieee80211/bcmf_netdev.h @@ -1,6 +1,8 @@ /**************************************************************************** * include/nuttx/wireless/ieee80211/bcmf_netdev.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/include/nuttx/wireless/ieee80211/bcmf_sdio.h b/include/nuttx/wireless/ieee80211/bcmf_sdio.h index 6797693ef46..1fb7addafdd 100644 --- a/include/nuttx/wireless/ieee80211/bcmf_sdio.h +++ b/include/nuttx/wireless/ieee80211/bcmf_sdio.h @@ -1,6 +1,8 @@ /**************************************************************************** * include/nuttx/wireless/ieee80211/bcmf_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/wireless/ieee80211/ieee80211.h b/include/nuttx/wireless/ieee80211/ieee80211.h index 22a0697743c..31874693ed9 100644 --- a/include/nuttx/wireless/ieee80211/ieee80211.h +++ b/include/nuttx/wireless/ieee80211/ieee80211.h @@ -1,8 +1,9 @@ /**************************************************************************** * include/nuttx/wireless/ieee80211/ieee80211.h - * 802.11 protocol definitions. * - * Copyright (c) 2002, 2003 Sam Leffler, Errno Consulting + * SPDX-License-Identifier: BSD-2-Clause + * SPDX-FileCopyrightText: 2002, 2003 Sam Leffler, Errno Consulting + * * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff --git a/include/nuttx/wireless/ieee80211/ieee80211_cypto.h b/include/nuttx/wireless/ieee80211/ieee80211_cypto.h index 5f49c9c0744..d1aba62bac4 100644 --- a/include/nuttx/wireless/ieee80211/ieee80211_cypto.h +++ b/include/nuttx/wireless/ieee80211/ieee80211_cypto.h @@ -1,8 +1,8 @@ /**************************************************************************** * include/nuttx/wireless/ieee80211/ieee80211_cypto.h - * 802.11 protocol crypto-related definitions. * - * Copyright (c) 2007, 2008 Damien Bergamini + * SPDX-License-Identifier: ISC + * SPDX-FileCopyrightText: 2007, 2008 Damien Bergamini * * 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/nuttx/wireless/ieee802154/at86rf23x.h b/include/nuttx/wireless/ieee802154/at86rf23x.h index e844ac32b2d..41c85b43baf 100644 --- a/include/nuttx/wireless/ieee802154/at86rf23x.h +++ b/include/nuttx/wireless/ieee802154/at86rf23x.h @@ -1,6 +1,8 @@ /**************************************************************************** * include/nuttx/wireless/ieee802154/at86rf23x.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/include/nuttx/wireless/ieee802154/ieee802154_device.h b/include/nuttx/wireless/ieee802154/ieee802154_device.h index 38bd147cb34..d5f2a4fd044 100644 --- a/include/nuttx/wireless/ieee802154/ieee802154_device.h +++ b/include/nuttx/wireless/ieee802154/ieee802154_device.h @@ -1,6 +1,7 @@ /**************************************************************************** * include/nuttx/wireless/ieee802154/ieee802154_device.h - * IEEE802.15.4 character 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/wireless/ieee802154/ieee802154_loopback.h b/include/nuttx/wireless/ieee802154/ieee802154_loopback.h index 80e7ab051d3..19686e0acbe 100644 --- a/include/nuttx/wireless/ieee802154/ieee802154_loopback.h +++ b/include/nuttx/wireless/ieee802154/ieee802154_loopback.h @@ -1,6 +1,8 @@ /**************************************************************************** * include/nuttx/wireless/ieee802154/ieee802154_loopback.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/include/nuttx/wireless/ieee802154/ieee802154_mac.h b/include/nuttx/wireless/ieee802154/ieee802154_mac.h index 35f345ab238..220ff8e91af 100644 --- a/include/nuttx/wireless/ieee802154/ieee802154_mac.h +++ b/include/nuttx/wireless/ieee802154/ieee802154_mac.h @@ -1,6 +1,8 @@ /***************************************************************************** * include/nuttx/wireless/ieee802154/ieee802154_mac.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/include/nuttx/wireless/ieee802154/ieee802154_radio.h b/include/nuttx/wireless/ieee802154/ieee802154_radio.h index a70cc545b60..904aa18e0e5 100644 --- a/include/nuttx/wireless/ieee802154/ieee802154_radio.h +++ b/include/nuttx/wireless/ieee802154/ieee802154_radio.h @@ -1,6 +1,8 @@ /**************************************************************************** * include/nuttx/wireless/ieee802154/ieee802154_radio.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/include/nuttx/wireless/ieee802154/mrf24j40.h b/include/nuttx/wireless/ieee802154/mrf24j40.h index 8c8e6ec3fb8..dc856dae489 100644 --- a/include/nuttx/wireless/ieee802154/mrf24j40.h +++ b/include/nuttx/wireless/ieee802154/mrf24j40.h @@ -1,6 +1,8 @@ /**************************************************************************** * include/nuttx/wireless/ieee802154/mrf24j40.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/include/nuttx/wireless/ieee802154/xbee.h b/include/nuttx/wireless/ieee802154/xbee.h index c5da192131b..d1bc8f902b7 100644 --- a/include/nuttx/wireless/ieee802154/xbee.h +++ b/include/nuttx/wireless/ieee802154/xbee.h @@ -1,6 +1,8 @@ /**************************************************************************** * include/nuttx/wireless/ieee802154/xbee.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/include/nuttx/wireless/ioctl.h b/include/nuttx/wireless/ioctl.h index 6d1614727b9..a4c2da3969c 100644 --- a/include/nuttx/wireless/ioctl.h +++ b/include/nuttx/wireless/ioctl.h @@ -1,6 +1,8 @@ /**************************************************************************** * include/nuttx/wireless/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/wireless/lpwan/sx127x.h b/include/nuttx/wireless/lpwan/sx127x.h index e1a5c12149c..1cac10654bd 100644 --- a/include/nuttx/wireless/lpwan/sx127x.h +++ b/include/nuttx/wireless/lpwan/sx127x.h @@ -1,6 +1,8 @@ /**************************************************************************** * include/nuttx/wireless/lpwan/sx127x.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/include/nuttx/wireless/lte/lte.h b/include/nuttx/wireless/lte/lte.h index cea69d72ae4..4cb0be2d5e8 100644 --- a/include/nuttx/wireless/lte/lte.h +++ b/include/nuttx/wireless/lte/lte.h @@ -1,6 +1,8 @@ /**************************************************************************** * include/nuttx/wireless/lte/lte.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/include/nuttx/wireless/lte/lte_ioctl.h b/include/nuttx/wireless/lte/lte_ioctl.h index d350a02af6e..841e3e837ee 100644 --- a/include/nuttx/wireless/lte/lte_ioctl.h +++ b/include/nuttx/wireless/lte/lte_ioctl.h @@ -1,6 +1,8 @@ /**************************************************************************** * include/nuttx/wireless/lte/lte_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/wireless/nrf24l01.h b/include/nuttx/wireless/nrf24l01.h index fce95a4ccf5..19f87355c2f 100644 --- a/include/nuttx/wireless/nrf24l01.h +++ b/include/nuttx/wireless/nrf24l01.h @@ -1,6 +1,8 @@ /**************************************************************************** * include/nuttx/wireless/nrf24l01.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/include/nuttx/wireless/pktradio.h b/include/nuttx/wireless/pktradio.h index f3668576885..906e92dd882 100644 --- a/include/nuttx/wireless/pktradio.h +++ b/include/nuttx/wireless/pktradio.h @@ -1,6 +1,8 @@ /**************************************************************************** * include/nuttx/wireless/pktradio.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/include/nuttx/wireless/spirit.h b/include/nuttx/wireless/spirit.h index afdbd52ddb2..dad897eba26 100644 --- a/include/nuttx/wireless/spirit.h +++ b/include/nuttx/wireless/spirit.h @@ -1,6 +1,8 @@ /**************************************************************************** * include/nuttx/wireless/spirit.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/include/nuttx/wireless/wireless.h b/include/nuttx/wireless/wireless.h index 35485923288..fe065a213fa 100644 --- a/include/nuttx/wireless/wireless.h +++ b/include/nuttx/wireless/wireless.h @@ -1,6 +1,7 @@ /**************************************************************************** * include/nuttx/wireless/wireless.h - * Wireless network IOCTL commands + * + * SPDX-License-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/wqueue.h b/include/nuttx/wqueue.h index a38125446a3..bdb7e60b500 100644 --- a/include/nuttx/wqueue.h +++ b/include/nuttx/wqueue.h @@ -1,6 +1,8 @@ /**************************************************************************** * include/nuttx/wqueue.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/include/nuttx/zoneinfo.h b/include/nuttx/zoneinfo.h index 1fcce556168..1b79a46f15f 100644 --- a/include/nuttx/zoneinfo.h +++ b/include/nuttx/zoneinfo.h @@ -1,6 +1,8 @@ /**************************************************************************** * include/nuttx/zoneinfo.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/include/nxflat.h b/include/nxflat.h index 08f8e309fb8..9b93c7bf8f2 100644 --- a/include/nxflat.h +++ b/include/nxflat.h @@ -1,6 +1,8 @@ /**************************************************************************** * include/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/obstack.h b/include/obstack.h index 86a6f4243f0..55fb5be6fc3 100644 --- a/include/obstack.h +++ b/include/obstack.h @@ -1,6 +1,8 @@ /**************************************************************************** * include/obstack.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/include/poll.h b/include/poll.h index df458530f9c..4b7b362a3e9 100644 --- a/include/poll.h +++ b/include/poll.h @@ -1,6 +1,8 @@ /**************************************************************************** * include/poll.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/include/pthread.h b/include/pthread.h index fd16979e7f9..0418dfacd07 100644 --- a/include/pthread.h +++ b/include/pthread.h @@ -1,6 +1,8 @@ /**************************************************************************** * include/pthread.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/include/pty.h b/include/pty.h index 2844d4d3eba..620b0e3bb32 100644 --- a/include/pty.h +++ b/include/pty.h @@ -1,6 +1,8 @@ /**************************************************************************** * include/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/pwd.h b/include/pwd.h index 205bd2f209a..cea9eaeb936 100644 --- a/include/pwd.h +++ b/include/pwd.h @@ -1,6 +1,8 @@ /**************************************************************************** * include/pwd.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/include/regex.h b/include/regex.h index 543f94545bb..f222d96032d 100644 --- a/include/regex.h +++ b/include/regex.h @@ -1,9 +1,9 @@ /**************************************************************************** * include/regex.h * - * regex.h - TRE POSIX compatible regex compilation functions. + * SPDX-License-Identifier: BSD-2-Clause + * SPDX-FileCopyrightText: 2001-2009 Ville Laurikari * - * Copyright (c) 2001-2009 Ville Laurikari * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff --git a/include/resolv.h b/include/resolv.h index 47ca8fb48c7..2acbf6271f4 100644 --- a/include/resolv.h +++ b/include/resolv.h @@ -1,6 +1,8 @@ /**************************************************************************** * include/resolv.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/include/sched.h b/include/sched.h index 95df0c87e9b..9fdd8d3f208 100644 --- a/include/sched.h +++ b/include/sched.h @@ -1,6 +1,8 @@ /**************************************************************************** * include/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/semaphore.h b/include/semaphore.h index a1a1db772ce..284973836e3 100644 --- a/include/semaphore.h +++ b/include/semaphore.h @@ -1,6 +1,8 @@ /**************************************************************************** * include/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/signal.h b/include/signal.h index d2765a07f1d..865819ee7b3 100644 --- a/include/signal.h +++ b/include/signal.h @@ -1,6 +1,8 @@ /**************************************************************************** * include/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/spawn.h b/include/spawn.h index 364944b6761..f23c6e4a7c6 100644 --- a/include/spawn.h +++ b/include/spawn.h @@ -1,6 +1,8 @@ /**************************************************************************** * include/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/ssp/ssp.h b/include/ssp/ssp.h index 1fd1c771835..ca2156e99a0 100644 --- a/include/ssp/ssp.h +++ b/include/ssp/ssp.h @@ -1,6 +1,8 @@ /**************************************************************************** * include/ssp/ssp.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/include/stdbool.h b/include/stdbool.h index 8c973cccd4b..daabbc69d05 100644 --- a/include/stdbool.h +++ b/include/stdbool.h @@ -1,6 +1,8 @@ /**************************************************************************** * include/stdbool.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/include/stddef.h b/include/stddef.h index 773f8228195..85d5da51bd4 100644 --- a/include/stddef.h +++ b/include/stddef.h @@ -1,6 +1,8 @@ /**************************************************************************** * include/stddef.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/include/stdint.h b/include/stdint.h index a6d8654970f..e14610ea146 100644 --- a/include/stdint.h +++ b/include/stdint.h @@ -1,6 +1,8 @@ /**************************************************************************** * include/stdint.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/include/stdio.h b/include/stdio.h index e01d3aee8a8..394628a7e9b 100644 --- a/include/stdio.h +++ b/include/stdio.h @@ -1,6 +1,8 @@ /**************************************************************************** * include/stdio.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/include/stdlib.h b/include/stdlib.h index eefce6b5710..0df2efa0d2a 100644 --- a/include/stdlib.h +++ b/include/stdlib.h @@ -1,6 +1,8 @@ /**************************************************************************** * include/stdlib.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/include/stdnoreturn.h b/include/stdnoreturn.h index cf05eb82dc1..a7baf87b0db 100644 --- a/include/stdnoreturn.h +++ b/include/stdnoreturn.h @@ -1,6 +1,8 @@ /**************************************************************************** * include/stdnoreturn.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/include/string.h b/include/string.h index 41ad7dc40bf..8c172aa5876 100644 --- a/include/string.h +++ b/include/string.h @@ -1,6 +1,8 @@ /**************************************************************************** * include/string.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/include/strings.h b/include/strings.h index b80c03248e7..276a8bff80f 100644 --- a/include/strings.h +++ b/include/strings.h @@ -1,6 +1,8 @@ /**************************************************************************** * include/strings.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/include/sys/boardctl.h b/include/sys/boardctl.h index 01fc405927e..934b8ea23f1 100644 --- a/include/sys/boardctl.h +++ b/include/sys/boardctl.h @@ -1,6 +1,8 @@ /**************************************************************************** * include/sys/boardctl.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/include/sys/custom_file.h b/include/sys/custom_file.h index a7fc0660152..5381c44ae71 100644 --- a/include/sys/custom_file.h +++ b/include/sys/custom_file.h @@ -1,6 +1,8 @@ /**************************************************************************** * include/sys/custom_file.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/include/sys/endian.h b/include/sys/endian.h index a2b3789d5d5..b127b681f9a 100644 --- a/include/sys/endian.h +++ b/include/sys/endian.h @@ -1,6 +1,8 @@ /**************************************************************************** * include/sys/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/sys/epoll.h b/include/sys/epoll.h index d56ba8eb62a..6147e9dce26 100644 --- a/include/sys/epoll.h +++ b/include/sys/epoll.h @@ -1,8 +1,9 @@ /**************************************************************************** * include/sys/epoll.h * - * Copyright (C) 2015 Anton D. Kachalov. All rights reserved. - * Author: Anton D. Kachalov + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2015 Anton D. Kachalov. All rights reserved. + * SPDX-FileContributor: Anton D. Kachalov * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/include/sys/eventfd.h b/include/sys/eventfd.h index 8fbb0442367..2c8867c6dca 100644 --- a/include/sys/eventfd.h +++ b/include/sys/eventfd.h @@ -1,6 +1,8 @@ /**************************************************************************** * include/sys/eventfd.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/include/sys/file.h b/include/sys/file.h index 7f48e93f009..690898d44ac 100644 --- a/include/sys/file.h +++ b/include/sys/file.h @@ -1,6 +1,8 @@ /**************************************************************************** * include/sys/file.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/include/sys/inotify.h b/include/sys/inotify.h index 2fb1edcefe1..fdc488800f6 100644 --- a/include/sys/inotify.h +++ b/include/sys/inotify.h @@ -1,6 +1,8 @@ /**************************************************************************** * include/sys/inotify.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/include/sys/ioctl.h b/include/sys/ioctl.h index ab84fdad6e9..61eaf31f2d1 100644 --- a/include/sys/ioctl.h +++ b/include/sys/ioctl.h @@ -1,6 +1,8 @@ /**************************************************************************** * include/sys/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/sys/ipc.h b/include/sys/ipc.h index 919b7676451..d8347e7ed0f 100644 --- a/include/sys/ipc.h +++ b/include/sys/ipc.h @@ -1,6 +1,8 @@ /**************************************************************************** * include/sys/ipc.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/include/sys/mman.h b/include/sys/mman.h index 3a4c5f7e26e..bedc91c1a17 100644 --- a/include/sys/mman.h +++ b/include/sys/mman.h @@ -1,6 +1,8 @@ /**************************************************************************** * include/sys/mman.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/include/sys/mount.h b/include/sys/mount.h index 7796dc3e7ac..9adbff6ec8a 100644 --- a/include/sys/mount.h +++ b/include/sys/mount.h @@ -1,6 +1,8 @@ /**************************************************************************** * include/sys/mount.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/include/sys/msg.h b/include/sys/msg.h index bc0c8ca7b64..fbb7f64286c 100644 --- a/include/sys/msg.h +++ b/include/sys/msg.h @@ -1,6 +1,8 @@ /**************************************************************************** * include/sys/msg.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/include/sys/param.h b/include/sys/param.h index 831a552eaea..1e0ad74a8b3 100644 --- a/include/sys/param.h +++ b/include/sys/param.h @@ -1,6 +1,8 @@ /**************************************************************************** * include/sys/param.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/include/sys/pciio.h b/include/sys/pciio.h index 1b1dc6b3ea0..bb80887bb32 100644 --- a/include/sys/pciio.h +++ b/include/sys/pciio.h @@ -1,6 +1,8 @@ /**************************************************************************** * include/sys/pciio.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/include/sys/poll.h b/include/sys/poll.h index d9665551df6..df1c4697fd7 100644 --- a/include/sys/poll.h +++ b/include/sys/poll.h @@ -1,6 +1,8 @@ /**************************************************************************** * include/sys/poll.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/include/sys/prctl.h b/include/sys/prctl.h index 202b724a7c0..d9f75f7ca89 100644 --- a/include/sys/prctl.h +++ b/include/sys/prctl.h @@ -1,6 +1,8 @@ /**************************************************************************** * include/sys/prctl.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/include/sys/queue.h b/include/sys/queue.h index 0f016105b1f..025a2fa9ecf 100644 --- a/include/sys/queue.h +++ b/include/sys/queue.h @@ -1,10 +1,10 @@ /**************************************************************************** * include/sys/queue.h - * $OpenBSD: queue.h,v 1.46 2020/12/30 13:33:12 millert Exp $ - * $NetBSD: queue.h,v 1.11 1996/05/16 05:17:14 mycroft Exp $ * - * Copyright (c) 1991, 1993 - * The Regents of the University of California. All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 1991, 1993 The Regents of the University of California. + * + * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions @@ -30,7 +30,6 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * @(#)queue.h 8.5 (Berkeley) 8/20/94 ****************************************************************************/ #ifndef __INCLUDE_SYS_QUEUE_H diff --git a/include/sys/random.h b/include/sys/random.h index 2d496c09bf1..98c75bb80e7 100644 --- a/include/sys/random.h +++ b/include/sys/random.h @@ -1,6 +1,8 @@ /**************************************************************************** * include/sys/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/sys/resource.h b/include/sys/resource.h index ca0be2c60b4..9cda4a407f8 100644 --- a/include/sys/resource.h +++ b/include/sys/resource.h @@ -1,6 +1,8 @@ /**************************************************************************** * include/sys/resource.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/include/sys/select.h b/include/sys/select.h index 542c0058d09..d7c6b7b5496 100644 --- a/include/sys/select.h +++ b/include/sys/select.h @@ -1,6 +1,8 @@ /**************************************************************************** * include/sys/select.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/include/sys/sendfile.h b/include/sys/sendfile.h index 0e562878689..08b65d3d350 100644 --- a/include/sys/sendfile.h +++ b/include/sys/sendfile.h @@ -1,6 +1,8 @@ /**************************************************************************** * include/sys/sendfile.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/include/sys/shm.h b/include/sys/shm.h index 9076b40357e..2ddd13ae9cf 100644 --- a/include/sys/shm.h +++ b/include/sys/shm.h @@ -1,6 +1,8 @@ /**************************************************************************** * include/sys/shm.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/include/sys/signalfd.h b/include/sys/signalfd.h index 29de6bf1e4f..b562c61a143 100644 --- a/include/sys/signalfd.h +++ b/include/sys/signalfd.h @@ -1,6 +1,8 @@ /**************************************************************************** * include/sys/signalfd.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/include/sys/socket.h b/include/sys/socket.h index 68310f361b1..28ee1861711 100644 --- a/include/sys/socket.h +++ b/include/sys/socket.h @@ -1,6 +1,8 @@ /**************************************************************************** * include/sys/socket.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/include/sys/sockio.h b/include/sys/sockio.h index a3a08575009..ca343db1c73 100644 --- a/include/sys/sockio.h +++ b/include/sys/sockio.h @@ -1,6 +1,8 @@ /**************************************************************************** * include/sys/sockio.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/include/sys/stat.h b/include/sys/stat.h index 74fc38d6614..fb3f6a38e62 100644 --- a/include/sys/stat.h +++ b/include/sys/stat.h @@ -1,6 +1,8 @@ /**************************************************************************** * include/sys/stat.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/include/sys/statfs.h b/include/sys/statfs.h index a1158f860a9..a47a7be2970 100644 --- a/include/sys/statfs.h +++ b/include/sys/statfs.h @@ -1,6 +1,8 @@ /**************************************************************************** * include/sys/statfs.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/include/sys/statvfs.h b/include/sys/statvfs.h index c5ef93ca258..e57790d5756 100644 --- a/include/sys/statvfs.h +++ b/include/sys/statvfs.h @@ -1,6 +1,8 @@ /**************************************************************************** * include/sys/statvfs.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/include/sys/syscall.h b/include/sys/syscall.h index 8267f4d1a31..ed1fbf9f9b3 100644 --- a/include/sys/syscall.h +++ b/include/sys/syscall.h @@ -1,6 +1,7 @@ /**************************************************************************** * include/sys/syscall.h - * This file contains the system call numbers. + * + * SPDX-License-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/sys/syscall_lookup.h b/include/sys/syscall_lookup.h index d64a9d75122..57ca1cc3e83 100644 --- a/include/sys/syscall_lookup.h +++ b/include/sys/syscall_lookup.h @@ -1,6 +1,8 @@ /**************************************************************************** * include/sys/syscall_lookup.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/include/sys/sysinfo.h b/include/sys/sysinfo.h index 1b918c2a070..d4ff63c667e 100644 --- a/include/sys/sysinfo.h +++ b/include/sys/sysinfo.h @@ -1,6 +1,8 @@ /**************************************************************************** * include/sys/sysinfo.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/include/sys/sysmacros.h b/include/sys/sysmacros.h index a56037eafb3..11259348d67 100644 --- a/include/sys/sysmacros.h +++ b/include/sys/sysmacros.h @@ -1,6 +1,8 @@ /**************************************************************************** * include/sys/sysmacros.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/include/sys/time.h b/include/sys/time.h index 8f1a3bba2e1..794293dc43c 100644 --- a/include/sys/time.h +++ b/include/sys/time.h @@ -1,6 +1,8 @@ /**************************************************************************** * include/sys/time.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/include/sys/timerfd.h b/include/sys/timerfd.h index f3a4ff5c26f..9395df12c50 100644 --- a/include/sys/timerfd.h +++ b/include/sys/timerfd.h @@ -1,6 +1,8 @@ /**************************************************************************** * include/sys/timerfd.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/include/sys/times.h b/include/sys/times.h index b2d99d5c139..1b416ba48c7 100644 --- a/include/sys/times.h +++ b/include/sys/times.h @@ -1,6 +1,8 @@ /**************************************************************************** * include/sys/times.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/include/sys/tree.h b/include/sys/tree.h index 5cf0bac4a75..5daf31c2d87 100644 --- a/include/sys/tree.h +++ b/include/sys/tree.h @@ -1,7 +1,9 @@ /**************************************************************************** * include/sys/tree.h * - * Copyright 2002 Niels Provos + * SPDX-License-Identifier: BSD-2-Clause + * SPDX-FileCopyrightText: 2002 Niels Provos + * * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff --git a/include/sys/types.h b/include/sys/types.h index ac4ba9fb244..557ed051cfa 100644 --- a/include/sys/types.h +++ b/include/sys/types.h @@ -1,6 +1,8 @@ /**************************************************************************** * include/sys/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/sys/uio.h b/include/sys/uio.h index 410c1483bee..63bc57831cd 100644 --- a/include/sys/uio.h +++ b/include/sys/uio.h @@ -1,10 +1,11 @@ /**************************************************************************** * include/sys/uio.h * - * Copyright (C) 2017 Grefory Nutt. All rights reserved. - * Copyright (C) 2015 Stavros Polymenis. All rights reserved. - * Author: Stavros Polymenis - * Gregory Nutt + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2017 Grefory Nutt. All rights reserved. + * SPDX-FileCopyrightText 2015 Stavros Polymenis. All rights reserved. + * SPDX-FileContributor: Stavros Polymenis + * SPDX-FileContributor: Gregory Nutt * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/include/sys/un.h b/include/sys/un.h index c6d60ef970f..8a761492e90 100644 --- a/include/sys/un.h +++ b/include/sys/un.h @@ -1,6 +1,8 @@ /**************************************************************************** * include/sys/un.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/include/sys/utsname.h b/include/sys/utsname.h index 03c4a080101..2b099067776 100644 --- a/include/sys/utsname.h +++ b/include/sys/utsname.h @@ -1,8 +1,9 @@ /**************************************************************************** * include/sys/utsname.h * - * Copyright (C) 2015 Stavros Polymenis. All rights reserved. - * Author: Stavros Polymenis + * SPDX-License-Identifier: BSD-2-Clause + * SPDX-FileCopyrightText: 2015 Stavros Polymenis. All rights reserved. + * SPDX-FileContributor: Stavros Polymenis * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/include/sys/vfs.h b/include/sys/vfs.h index 2c3f3c9df53..5e02997472d 100644 --- a/include/sys/vfs.h +++ b/include/sys/vfs.h @@ -1,6 +1,8 @@ /**************************************************************************** * include/sys/vfs.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/include/sys/video_controls.h b/include/sys/video_controls.h index ebba6c2aa50..2ea7f272258 100644 --- a/include/sys/video_controls.h +++ b/include/sys/video_controls.h @@ -1,6 +1,8 @@ /**************************************************************************** * include/sys/video_controls.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/include/sys/videoio.h b/include/sys/videoio.h index 182e3763d8a..5e44ae90b28 100644 --- a/include/sys/videoio.h +++ b/include/sys/videoio.h @@ -1,6 +1,8 @@ /**************************************************************************** * include/sys/videoio.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/include/sys/wait.h b/include/sys/wait.h index b1025fcd3b5..658a236d553 100644 --- a/include/sys/wait.h +++ b/include/sys/wait.h @@ -1,6 +1,8 @@ /**************************************************************************** * include/sys/wait.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/include/syscall.h b/include/syscall.h index 5ffc0f42831..f619dedd4de 100644 --- a/include/syscall.h +++ b/include/syscall.h @@ -1,6 +1,8 @@ /**************************************************************************** * include/syscall.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/include/syslog.h b/include/syslog.h index 0a7ae81e130..d7e54e745ac 100644 --- a/include/syslog.h +++ b/include/syslog.h @@ -1,6 +1,8 @@ /**************************************************************************** * include/syslog.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/include/termios.h b/include/termios.h index a96672446dd..d8a86073c54 100644 --- a/include/termios.h +++ b/include/termios.h @@ -1,6 +1,8 @@ /**************************************************************************** * include/termios.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/include/threads.h b/include/threads.h index 5044d470605..39d8a4932ae 100644 --- a/include/threads.h +++ b/include/threads.h @@ -1,6 +1,8 @@ /**************************************************************************** * include/threads.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/include/time.h b/include/time.h index 3c118faa839..19e03bec5b6 100644 --- a/include/time.h +++ b/include/time.h @@ -1,6 +1,8 @@ /**************************************************************************** * include/time.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/include/unistd.h b/include/unistd.h index 3c576d6e1f9..25a81134a90 100644 --- a/include/unistd.h +++ b/include/unistd.h @@ -1,6 +1,8 @@ /**************************************************************************** * include/unistd.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/include/utime.h b/include/utime.h index f9612f5d153..baa7e4db4cf 100644 --- a/include/utime.h +++ b/include/utime.h @@ -1,6 +1,8 @@ /**************************************************************************** * include/utime.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/include/uuid.h b/include/uuid.h index 9d98eaea71d..0ecf5b2793b 100644 --- a/include/uuid.h +++ b/include/uuid.h @@ -1,6 +1,8 @@ /**************************************************************************** * include/uuid.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/include/wchar.h b/include/wchar.h index 3027ad7dae0..8028a53e380 100644 --- a/include/wchar.h +++ b/include/wchar.h @@ -1,6 +1,8 @@ /**************************************************************************** * include/wchar.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/include/wctype.h b/include/wctype.h index 20f03cf98e1..8c221ad3e44 100644 --- a/include/wctype.h +++ b/include/wctype.h @@ -1,6 +1,8 @@ /**************************************************************************** * include/wctype.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The