This is an automated email from the ASF dual-hosted git repository. xiaoxiang781216 pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx.git
commit fbc20eeddffd3123bca01fde45d70346fcae992e Author: Alin Jerpelea <[email protected]> AuthorDate: Wed Nov 18 14:08:34 2026 +0100 boards/arm: add license header add missing Apache 2.0 license header Signed-off-by: Alin Jerpelea <[email protected]> --- boards/arm/at32/at32f437-mini/tool/mkromfs.sh | 22 +++++++++++++++++++++- .../arm/lpc17xx_40xx/lpc4088-devkit/tools/oocd.sh | 20 ++++++++++++++++++++ .../lpc17xx_40xx/lpc4088-quickstart/tools/oocd.sh | 20 ++++++++++++++++++++ .../lpc17xx_40xx/lx_cpu/tools/lx_cpu-jt_usb5-ddd | 21 +++++++++++++++++++++ boards/arm/lpc17xx_40xx/lx_cpu/tools/oocd.sh | 21 +++++++++++++++++++++ .../lpc17xx_40xx/olimex-lpc1766stk/tools/oocd.sh | 21 +++++++++++++++++++++ boards/arm/lpc17xx_40xx/open1788/tools/oocd.sh | 21 +++++++++++++++++++++ boards/arm/lpc214x/zp214xpa/tools/oocd.sh | 21 +++++++++++++++++++++ boards/arm/lpc31xx/ea3131/tools/mklpc.sh | 22 +++++++++++++++++++++- boards/arm/lpc31xx/ea3131/tools/oocd.sh | 21 +++++++++++++++++++++ boards/arm/lpc31xx/ea3152/tools/mklpc.sh | 22 +++++++++++++++++++++- boards/arm/lpc31xx/ea3152/tools/oocd.sh | 22 +++++++++++++++++++++- boards/arm/lpc31xx/olimex-lpc-h3131/tools/mklpc.sh | 22 +++++++++++++++++++++- boards/arm/lpc31xx/olimex-lpc-h3131/tools/oocd.sh | 21 +++++++++++++++++++++ boards/arm/lpc43xx/lpc4337-ws/scripts/flash.bat | 19 +++++++++++++++++++ .../lpc4357-evb/scripts/bin_checksum_hex.sh | 21 +++++++++++++++++++++ boards/arm/lpc43xx/lpc4370-link2/scripts/flash.bat | 19 +++++++++++++++++++ .../sama5/sama5d3-xplained/helpers/netusb-up.sh | 21 +++++++++++++++++++++ boards/arm/samv7/common/tools/oocd.sh | 20 ++++++++++++++++++++ boards/arm/stm32f1/cloudctrl/tools/oocd.sh | 22 +++++++++++++++++++++- boards/arm/stm32f1/maple/tools/dfu.sh | 21 +++++++++++++++++++++ boards/arm/stm32f1/maple/tools/env.sh | 21 +++++++++++++++++++++ boards/arm/stm32f1/shenzhou/tools/oocd.sh | 22 +++++++++++++++++++++- boards/arm/stm32f1/stm3210e-eval/tools/oocd.sh | 22 +++++++++++++++++++++- boards/arm/stm32f2/stm3220g-eval/tools/oocd.sh | 22 +++++++++++++++++++++- boards/arm/str71x/olimex-strp711/scripts/oocd.sh | 22 +++++++++++++++++++++- boards/arm/tiva/dk-tm4c129x/tools/oocd.sh | 21 +++++++++++++++++++++ boards/arm/tiva/lm3s6965-ek/tools/oocd.sh | 21 +++++++++++++++++++++ boards/arm/tiva/lm4f120-launchpad/tools/oocd.sh | 21 +++++++++++++++++++++ boards/arm/tiva/tm4c123g-launchpad/tools/oocd.sh | 21 +++++++++++++++++++++ boards/arm/tiva/tm4c1294-launchpad/tools/oocd.sh | 21 +++++++++++++++++++++ boards/arm/tiva/tm4c129e-launchpad/tools/oocd.sh | 21 +++++++++++++++++++++ 32 files changed, 665 insertions(+), 10 deletions(-) diff --git a/boards/arm/at32/at32f437-mini/tool/mkromfs.sh b/boards/arm/at32/at32f437-mini/tool/mkromfs.sh index d831066fca4..c0ed923561f 100644 --- a/boards/arm/at32/at32f437-mini/tool/mkromfs.sh +++ b/boards/arm/at32/at32f437-mini/tool/mkromfs.sh @@ -1,5 +1,25 @@ #/bin/sh - +############################################################################ +# boards/arm/at32/at32f437-mini/tool/mkromfs.sh +# +# SPDX-License-Identifier: Apache-2.0 +# +# Licensed to the Apache Software 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 +# +# 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. +# +############################################################################ genromfs -f romfs.img -d ../romfs -v -V "romfs" diff --git a/boards/arm/lpc17xx_40xx/lpc4088-devkit/tools/oocd.sh b/boards/arm/lpc17xx_40xx/lpc4088-devkit/tools/oocd.sh index 9761a86cd34..298f1d46ed4 100755 --- a/boards/arm/lpc17xx_40xx/lpc4088-devkit/tools/oocd.sh +++ b/boards/arm/lpc17xx_40xx/lpc4088-devkit/tools/oocd.sh @@ -1,5 +1,25 @@ #!/bin/sh +############################################################################ +# boards/arm/lpc17xx_40xx/lpc4088-devkit/tools/oocd.sh # +# SPDX-License-Identifier: Apache-2.0 +# +# Licensed to the Apache Software 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 +# +# 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. +# +############################################################################# # See board documentation page for information about this file. TOPDIR=$1 diff --git a/boards/arm/lpc17xx_40xx/lpc4088-quickstart/tools/oocd.sh b/boards/arm/lpc17xx_40xx/lpc4088-quickstart/tools/oocd.sh index adec3d8c716..a551ca42d64 100755 --- a/boards/arm/lpc17xx_40xx/lpc4088-quickstart/tools/oocd.sh +++ b/boards/arm/lpc17xx_40xx/lpc4088-quickstart/tools/oocd.sh @@ -1,5 +1,25 @@ #!/bin/sh +############################################################################ +# boards/arm/lpc17xx_40xx/lpc4088-quickstart/tools/oocd.sh # +# SPDX-License-Identifier: Apache-2.0 +# +# Licensed to the Apache Software 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 +# +# 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. +# +############################################################################# # See board documentation page for information about this file. TOPDIR=$1 diff --git a/boards/arm/lpc17xx_40xx/lx_cpu/tools/lx_cpu-jt_usb5-ddd b/boards/arm/lpc17xx_40xx/lx_cpu/tools/lx_cpu-jt_usb5-ddd index 49e5c4b5d73..4fc55894d00 100644 --- a/boards/arm/lpc17xx_40xx/lx_cpu/tools/lx_cpu-jt_usb5-ddd +++ b/boards/arm/lpc17xx_40xx/lx_cpu/tools/lx_cpu-jt_usb5-ddd @@ -1,4 +1,25 @@ #!/bin/sh +############################################################################ +# boards/arm/lpc17xx_40xx/lx_cpu/tools/lx_cpu-jt_usb5-ddd +# +# SPDX-License-Identifier: Apache-2.0 +# +# Licensed to the Apache Software 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 +# +# 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. +# +############################################################################ SCRIP_DIR="$(dirname "$(readlink -f "$0")")" diff --git a/boards/arm/lpc17xx_40xx/lx_cpu/tools/oocd.sh b/boards/arm/lpc17xx_40xx/lx_cpu/tools/oocd.sh index f4f4520c856..fe2a400a47c 100644 --- a/boards/arm/lpc17xx_40xx/lx_cpu/tools/oocd.sh +++ b/boards/arm/lpc17xx_40xx/lx_cpu/tools/oocd.sh @@ -1,4 +1,25 @@ #!/bin/sh +############################################################################ +# boards/arm/lpc17xx_40xx/lx_cpu/tools/oocd.sh +# +# SPDX-License-Identifier: Apache-2.0 +# +# Licensed to the Apache Software 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 +# +# 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. +# +############################################################################ # # See board documentation page for information about this file. diff --git a/boards/arm/lpc17xx_40xx/olimex-lpc1766stk/tools/oocd.sh b/boards/arm/lpc17xx_40xx/olimex-lpc1766stk/tools/oocd.sh index f63e90d300d..90734827c20 100755 --- a/boards/arm/lpc17xx_40xx/olimex-lpc1766stk/tools/oocd.sh +++ b/boards/arm/lpc17xx_40xx/olimex-lpc1766stk/tools/oocd.sh @@ -1,4 +1,25 @@ #!/usr/bin/env bash +############################################################################ +# boards/arm/lpc17xx_40xx/olimex-lpc1766stk/tools/oocd.sh +# +# SPDX-License-Identifier: Apache-2.0 +# +# Licensed to the Apache Software 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 +# +# 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. +# +############################################################################ # # See board documentation page for information about this file. diff --git a/boards/arm/lpc17xx_40xx/open1788/tools/oocd.sh b/boards/arm/lpc17xx_40xx/open1788/tools/oocd.sh index 37989d62d27..0d919789f06 100755 --- a/boards/arm/lpc17xx_40xx/open1788/tools/oocd.sh +++ b/boards/arm/lpc17xx_40xx/open1788/tools/oocd.sh @@ -1,4 +1,25 @@ #!/usr/bin/env bash +############################################################################ +# boards/arm/lpc17xx_40xx/open1788/tools/oocd.sh +# +# SPDX-License-Identifier: Apache-2.0 +# +# Licensed to the Apache Software 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 +# +# 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. +# +############################################################################ # # See board documentation page for information about this file. diff --git a/boards/arm/lpc214x/zp214xpa/tools/oocd.sh b/boards/arm/lpc214x/zp214xpa/tools/oocd.sh index da7766c792d..7131739dfaf 100755 --- a/boards/arm/lpc214x/zp214xpa/tools/oocd.sh +++ b/boards/arm/lpc214x/zp214xpa/tools/oocd.sh @@ -1,4 +1,25 @@ #!/usr/bin/env bash +############################################################################ +# boards/arm/lpc214x/zp214xpa/tools/oocd.sh +# +# SPDX-License-Identifier: Apache-2.0 +# +# Licensed to the Apache Software 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 +# +# 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. +# +############################################################################ # # See board documentation page for information about this file. diff --git a/boards/arm/lpc31xx/ea3131/tools/mklpc.sh b/boards/arm/lpc31xx/ea3131/tools/mklpc.sh index 450709c90c2..9e73357713b 100755 --- a/boards/arm/lpc31xx/ea3131/tools/mklpc.sh +++ b/boards/arm/lpc31xx/ea3131/tools/mklpc.sh @@ -1,5 +1,25 @@ #!/usr/bin/env bash - +############################################################################ +# boards/arm/lpc31xx/ea3131/tools/mklpc.sh +# +# SPDX-License-Identifier: Apache-2.0 +# +# Licensed to the Apache Software 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 +# +# 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. +# +############################################################################ # This script lies in sub-directory boards/arm/lpc31xx/ea3131/tools but make be executed # from either that directory or TOPDIR diff --git a/boards/arm/lpc31xx/ea3131/tools/oocd.sh b/boards/arm/lpc31xx/ea3131/tools/oocd.sh index 73d0edd9c68..48b97b0c457 100755 --- a/boards/arm/lpc31xx/ea3131/tools/oocd.sh +++ b/boards/arm/lpc31xx/ea3131/tools/oocd.sh @@ -1,4 +1,25 @@ #!/usr/bin/env bash +############################################################################ +# boards/arm/lpc31xx/ea3131/tools/oocd.sh +# +# SPDX-License-Identifier: Apache-2.0 +# +# Licensed to the Apache Software 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 +# +# 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. +# +############################################################################ TOPDIR=$1 USAGE="$0 <TOPDIR> [-d]" diff --git a/boards/arm/lpc31xx/ea3152/tools/mklpc.sh b/boards/arm/lpc31xx/ea3152/tools/mklpc.sh index 10a6718666b..86bffe3aefc 100755 --- a/boards/arm/lpc31xx/ea3152/tools/mklpc.sh +++ b/boards/arm/lpc31xx/ea3152/tools/mklpc.sh @@ -1,5 +1,25 @@ #!/usr/bin/env bash - +############################################################################ +# boards/arm/lpc31xx/ea3152/tools/mklpc.sh +# +# SPDX-License-Identifier: Apache-2.0 +# +# Licensed to the Apache Software 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 +# +# 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. +# +############################################################################ # This script lies in sub-directory boards/arm/lpc31xx/ea3152/tools but make be executed # from either that directory or TOPDIR diff --git a/boards/arm/lpc31xx/ea3152/tools/oocd.sh b/boards/arm/lpc31xx/ea3152/tools/oocd.sh index 7730e5b8630..efecc125937 100755 --- a/boards/arm/lpc31xx/ea3152/tools/oocd.sh +++ b/boards/arm/lpc31xx/ea3152/tools/oocd.sh @@ -1,5 +1,25 @@ #!/usr/bin/env bash - +############################################################################ +# boards/arm/lpc31xx/ea3152/tools/oocd.sh +# +# SPDX-License-Identifier: Apache-2.0 +# +# Licensed to the Apache Software 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 +# +# 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. +# +############################################################################ # Get command line parameters USAGE="USAGE: $0 [-dhjo14] <TOPDIR>" diff --git a/boards/arm/lpc31xx/olimex-lpc-h3131/tools/mklpc.sh b/boards/arm/lpc31xx/olimex-lpc-h3131/tools/mklpc.sh index cd829be4255..f104a710689 100755 --- a/boards/arm/lpc31xx/olimex-lpc-h3131/tools/mklpc.sh +++ b/boards/arm/lpc31xx/olimex-lpc-h3131/tools/mklpc.sh @@ -1,5 +1,25 @@ #!/usr/bin/env bash - +############################################################################ +# boards/arm/lpc31xx/olimex-lpc-h3131/tools/mklpc.sh +# +# SPDX-License-Identifier: Apache-2.0 +# +# Licensed to the Apache Software 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 +# +# 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. +# +############################################################################ # This script lies in sub-directory boards/arm/lpc31xx/olimex-lpc-h3131/tools but make be executed # from either that directory or TOPDIR diff --git a/boards/arm/lpc31xx/olimex-lpc-h3131/tools/oocd.sh b/boards/arm/lpc31xx/olimex-lpc-h3131/tools/oocd.sh index 75b251d62da..073ca07a769 100755 --- a/boards/arm/lpc31xx/olimex-lpc-h3131/tools/oocd.sh +++ b/boards/arm/lpc31xx/olimex-lpc-h3131/tools/oocd.sh @@ -1,4 +1,25 @@ #!/usr/bin/env bash +############################################################################ +# boards/arm/lpc31xx/olimex-lpc-h3131/tools/oocd.sh +# +# SPDX-License-Identifier: Apache-2.0 +# +# Licensed to the Apache Software 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 +# +# 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. +# +############################################################################ # # See board documentation page for information about this file. diff --git a/boards/arm/lpc43xx/lpc4337-ws/scripts/flash.bat b/boards/arm/lpc43xx/lpc4337-ws/scripts/flash.bat index 75b4c746620..3d2856454b7 100644 --- a/boards/arm/lpc43xx/lpc4337-ws/scripts/flash.bat +++ b/boards/arm/lpc43xx/lpc4337-ws/scripts/flash.bat @@ -1,3 +1,22 @@ +rem boards/arm/lpc43xx/lpc4337-ws/scripts/flash.bat +rem +rem SPDX-License-Identifier: Apache-2.0 +rem +rem Licensed to the Apache Software Foundation (ASF) under one or more +rem contributor license agreements. See the NOTICE file distributed with +rem this work for additional information regarding copyright ownership. The +rem ASF licenses this file to you under the Apache License, Version 2.0 (the +rem "License"); you may not use this file except in compliance with the +rem License. You may obtain a copy of the License at +rem +rem http://www.apache.org/licenses/LICENSE-2.0 +rem +rem Unless required by applicable law or agreed to in writing, software +rem distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +rem WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +rem License for the specific language governing permissions and limitations +rem under the License. + set LPCScrypt=C:\NXP\LPCScrypt\bin call %LPCScrypt%\..\scripts\boot_lpcscrypt.cmd diff --git a/boards/arm/lpc43xx/lpc4357-evb/scripts/bin_checksum_hex.sh b/boards/arm/lpc43xx/lpc4357-evb/scripts/bin_checksum_hex.sh index 990b07ff3e8..14a85e1be2b 100755 --- a/boards/arm/lpc43xx/lpc4357-evb/scripts/bin_checksum_hex.sh +++ b/boards/arm/lpc43xx/lpc4357-evb/scripts/bin_checksum_hex.sh @@ -1,2 +1,23 @@ +############################################################################ +# boards/arm/lpc43xx/lpc4357-evb/scripts/bin_checksum_hex.sh +# +# SPDX-License-Identifier: Apache-2.0 +# +# Licensed to the Apache Software 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 +# +# 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. +# +############################################################################ checksum nuttx.bin -p LPC4357 -v srec_cat nuttx.bin -binary -offset 0x1a000000 -o nuttx.hex -intel --line-length=44 diff --git a/boards/arm/lpc43xx/lpc4370-link2/scripts/flash.bat b/boards/arm/lpc43xx/lpc4370-link2/scripts/flash.bat index 75b4c746620..d3b62ace644 100644 --- a/boards/arm/lpc43xx/lpc4370-link2/scripts/flash.bat +++ b/boards/arm/lpc43xx/lpc4370-link2/scripts/flash.bat @@ -1,3 +1,22 @@ +rem boards/arm/lpc43xx/lpc4370-link2/scripts/flash.bat +rem +rem SPDX-License-Identifier: Apache-2.0 +rem +rem Licensed to the Apache Software Foundation (ASF) under one or more +rem contributor license agreements. See the NOTICE file distributed with +rem this work for additional information regarding copyright ownership. The +rem ASF licenses this file to you under the Apache License, Version 2.0 (the +rem "License"); you may not use this file except in compliance with the +rem License. You may obtain a copy of the License at +rem +rem http://www.apache.org/licenses/LICENSE-2.0 +rem +rem Unless required by applicable law or agreed to in writing, software +rem distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +rem WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +rem License for the specific language governing permissions and limitations +rem under the License. + set LPCScrypt=C:\NXP\LPCScrypt\bin call %LPCScrypt%\..\scripts\boot_lpcscrypt.cmd diff --git a/boards/arm/sama5/sama5d3-xplained/helpers/netusb-up.sh b/boards/arm/sama5/sama5d3-xplained/helpers/netusb-up.sh index 5e650a161df..4e572624999 100755 --- a/boards/arm/sama5/sama5d3-xplained/helpers/netusb-up.sh +++ b/boards/arm/sama5/sama5d3-xplained/helpers/netusb-up.sh @@ -1,4 +1,25 @@ #!/bin/bash +############################################################################ +# boards/arm/sama5/sama5d3-xplained/helpers/netusb-up.sh +# +# SPDX-License-Identifier: Apache-2.0 +# +# Licensed to the Apache Software 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 +# +# 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. +# +############################################################################ set -x # This script can be used to set up the USB Ethernet Gadget interfaces diff --git a/boards/arm/samv7/common/tools/oocd.sh b/boards/arm/samv7/common/tools/oocd.sh index f3d188a5a7c..e8da0cd3d0c 100755 --- a/boards/arm/samv7/common/tools/oocd.sh +++ b/boards/arm/samv7/common/tools/oocd.sh @@ -1,5 +1,25 @@ #!/usr/bin/env bash +############################################################################ +# boards/arm/samv7/common/tools/oocd.sh # +# SPDX-License-Identifier: Apache-2.0 +# +# Licensed to the Apache Software 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 +# +# 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. +# +############################################################################# # See board documentation page for information about this file. TOPDIR=$1 diff --git a/boards/arm/stm32f1/cloudctrl/tools/oocd.sh b/boards/arm/stm32f1/cloudctrl/tools/oocd.sh index 624ef0d4434..89bbfde911f 100755 --- a/boards/arm/stm32f1/cloudctrl/tools/oocd.sh +++ b/boards/arm/stm32f1/cloudctrl/tools/oocd.sh @@ -1,5 +1,25 @@ #!/usr/bin/env bash - +############################################################################ +# boards/arm/stm32f1/cloudctrl/tools/oocd.sh +# +# SPDX-License-Identifier: Apache-2.0 +# +# Licensed to the Apache Software 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 +# +# 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. +# +############################################################################ # Get command line parameters USAGE="USAGE: $0 [-dh] <TOPDIR>" diff --git a/boards/arm/stm32f1/maple/tools/dfu.sh b/boards/arm/stm32f1/maple/tools/dfu.sh index 036db48661b..ec160387f89 100755 --- a/boards/arm/stm32f1/maple/tools/dfu.sh +++ b/boards/arm/stm32f1/maple/tools/dfu.sh @@ -1,3 +1,24 @@ #!/usr/bin/env bash +############################################################################ +# boards/arm/stm32f1/maple/tools/dfu.sh +# +# SPDX-License-Identifier: Apache-2.0 +# +# Licensed to the Apache Software 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 +# +# 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. +# +############################################################################ dfu-util -a1 -d 1eaf:0003 -D nuttx.bin -R diff --git a/boards/arm/stm32f1/maple/tools/env.sh b/boards/arm/stm32f1/maple/tools/env.sh index fbb2959f905..5ec2e9849ff 100755 --- a/boards/arm/stm32f1/maple/tools/env.sh +++ b/boards/arm/stm32f1/maple/tools/env.sh @@ -1,4 +1,25 @@ #!/usr/bin/env bash +############################################################################ +# boards/arm/stm32f1/maple/tools/env.sh +# +# SPDX-License-Identifier: Apache-2.0 +# +# Licensed to the Apache Software 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 +# +# 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. +# +############################################################################ cd tools ./configure.sh maple/$1 diff --git a/boards/arm/stm32f1/shenzhou/tools/oocd.sh b/boards/arm/stm32f1/shenzhou/tools/oocd.sh index e965ac36e90..cfac635ba26 100755 --- a/boards/arm/stm32f1/shenzhou/tools/oocd.sh +++ b/boards/arm/stm32f1/shenzhou/tools/oocd.sh @@ -1,5 +1,25 @@ #!/usr/bin/env bash - +############################################################################ +# boards/arm/stm32f1/shenzhou/tools/oocd.sh +# +# SPDX-License-Identifier: Apache-2.0 +# +# Licensed to the Apache Software 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 +# +# 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. +# +############################################################################ # Get command line parameters USAGE="USAGE: $0 [-dh] <TOPDIR>" diff --git a/boards/arm/stm32f1/stm3210e-eval/tools/oocd.sh b/boards/arm/stm32f1/stm3210e-eval/tools/oocd.sh index 04c7a7606c2..a81a2910b97 100755 --- a/boards/arm/stm32f1/stm3210e-eval/tools/oocd.sh +++ b/boards/arm/stm32f1/stm3210e-eval/tools/oocd.sh @@ -1,5 +1,25 @@ #!/usr/bin/env bash - +############################################################################ +# boards/arm/stm32f1/stm3210e-eval/tools/oocd.sh +# +# SPDX-License-Identifier: Apache-2.0 +# +# Licensed to the Apache Software 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 +# +# 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. +# +############################################################################ # Get command line parameters USAGE="USAGE: $0 [-dh] <TOPDIR>" diff --git a/boards/arm/stm32f2/stm3220g-eval/tools/oocd.sh b/boards/arm/stm32f2/stm3220g-eval/tools/oocd.sh index 9d01a7c8756..0fb9b637176 100755 --- a/boards/arm/stm32f2/stm3220g-eval/tools/oocd.sh +++ b/boards/arm/stm32f2/stm3220g-eval/tools/oocd.sh @@ -1,5 +1,25 @@ #!/usr/bin/env bash - +############################################################################ +# boards/arm/stm32f2/stm3220g-eval/tools/oocd.sh +# +# SPDX-License-Identifier: Apache-2.0 +# +# Licensed to the Apache Software 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 +# +# 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. +# +############################################################################ # Get command line parameters USAGE="USAGE: $0 [-dh] <TOPDIR>" diff --git a/boards/arm/str71x/olimex-strp711/scripts/oocd.sh b/boards/arm/str71x/olimex-strp711/scripts/oocd.sh index d1e8b9e7df1..0e67cefb684 100755 --- a/boards/arm/str71x/olimex-strp711/scripts/oocd.sh +++ b/boards/arm/str71x/olimex-strp711/scripts/oocd.sh @@ -1,5 +1,25 @@ #!/usr/bin/env bash - +############################################################################ +# boards/arm/str71x/olimex-strp711/scripts/oocd.sh +# +# SPDX-License-Identifier: Apache-2.0 +# +# Licensed to the Apache Software 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 +# +# 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. +# +############################################################################ # Set up paths to binaries, scripts, configuration files hostos=`uname -o 2>/dev/null || echo "Other"` diff --git a/boards/arm/tiva/dk-tm4c129x/tools/oocd.sh b/boards/arm/tiva/dk-tm4c129x/tools/oocd.sh index 512c28626aa..9345df41aed 100755 --- a/boards/arm/tiva/dk-tm4c129x/tools/oocd.sh +++ b/boards/arm/tiva/dk-tm4c129x/tools/oocd.sh @@ -1,4 +1,25 @@ #!/usr/bin/env bash +############################################################################ +# boards/arm/tiva/dk-tm4c129x/tools/oocd.sh +# +# SPDX-License-Identifier: Apache-2.0 +# +# Licensed to the Apache Software 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 +# +# 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. +# +############################################################################ # # See board documentation page for information about this file. diff --git a/boards/arm/tiva/lm3s6965-ek/tools/oocd.sh b/boards/arm/tiva/lm3s6965-ek/tools/oocd.sh index fb80027dd98..d1cb0d51182 100755 --- a/boards/arm/tiva/lm3s6965-ek/tools/oocd.sh +++ b/boards/arm/tiva/lm3s6965-ek/tools/oocd.sh @@ -1,4 +1,25 @@ #!/usr/bin/env bash +############################################################################ +# boards/arm/tiva/lm3s6965-ek/tools/oocd.sh +# +# SPDX-License-Identifier: Apache-2.0 +# +# Licensed to the Apache Software 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 +# +# 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. +# +############################################################################ # # See board documentation page for information about this file. diff --git a/boards/arm/tiva/lm4f120-launchpad/tools/oocd.sh b/boards/arm/tiva/lm4f120-launchpad/tools/oocd.sh index 074935a6e31..f793fd6b227 100755 --- a/boards/arm/tiva/lm4f120-launchpad/tools/oocd.sh +++ b/boards/arm/tiva/lm4f120-launchpad/tools/oocd.sh @@ -1,4 +1,25 @@ #!/usr/bin/env bash +############################################################################ +# boards/arm/tiva/lm4f120-launchpad/tools/oocd.sh +# +# SPDX-License-Identifier: Apache-2.0 +# +# Licensed to the Apache Software 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 +# +# 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. +# +############################################################################ # # See board documentation page for information about this file. diff --git a/boards/arm/tiva/tm4c123g-launchpad/tools/oocd.sh b/boards/arm/tiva/tm4c123g-launchpad/tools/oocd.sh index be9206d1de3..361348b91e0 100755 --- a/boards/arm/tiva/tm4c123g-launchpad/tools/oocd.sh +++ b/boards/arm/tiva/tm4c123g-launchpad/tools/oocd.sh @@ -1,4 +1,25 @@ #!/usr/bin/env bash +############################################################################ +# boards/arm/tiva/tm4c123g-launchpad/tools/oocd.sh +# +# SPDX-License-Identifier: Apache-2.0 +# +# Licensed to the Apache Software 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 +# +# 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. +# +############################################################################ # # See board documentation page for information about this file. diff --git a/boards/arm/tiva/tm4c1294-launchpad/tools/oocd.sh b/boards/arm/tiva/tm4c1294-launchpad/tools/oocd.sh index 7d986271aef..691f72ae9c5 100755 --- a/boards/arm/tiva/tm4c1294-launchpad/tools/oocd.sh +++ b/boards/arm/tiva/tm4c1294-launchpad/tools/oocd.sh @@ -1,4 +1,25 @@ #!/usr/bin/env bash +############################################################################ +# boards/arm/tiva/tm4c1294-launchpad/tools/oocd.sh +# +# SPDX-License-Identifier: Apache-2.0 +# +# Licensed to the Apache Software 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 +# +# 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. +# +############################################################################ # # See board documentation page for information about this file. diff --git a/boards/arm/tiva/tm4c129e-launchpad/tools/oocd.sh b/boards/arm/tiva/tm4c129e-launchpad/tools/oocd.sh index 1535dca539d..0cf4057297d 100755 --- a/boards/arm/tiva/tm4c129e-launchpad/tools/oocd.sh +++ b/boards/arm/tiva/tm4c129e-launchpad/tools/oocd.sh @@ -1,4 +1,25 @@ #!/usr/bin/env bash +############################################################################ +# boards/arm/tiva/tm4c129e-launchpad/tools/oocd.sh +# +# SPDX-License-Identifier: Apache-2.0 +# +# Licensed to the Apache Software 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 +# +# 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. +# +############################################################################ # # See board documentation page for information about this file.
