This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git

commit e64335f24c59ccdd4fffd881ac6d91722527f904
Author: raiden00pl <[email protected]>
AuthorDate: Tue Jul 25 11:29:41 2023 +0200

    cmake: format Nordic boards
---
 boards/arm/nrf52/common/CMakeLists.txt             | 22 ++++++------
 boards/arm/nrf52/common/src/CMakeLists.txt         | 42 +++++++++++-----------
 boards/arm/nrf52/nrf52-feather/src/CMakeLists.txt  | 28 ++++++++-------
 boards/arm/nrf52/nrf52832-dk/src/CMakeLists.txt    | 28 ++++++++-------
 boards/arm/nrf52/nrf52832-mdk/src/CMakeLists.txt   | 28 ++++++++-------
 .../arm/nrf52/nrf52832-sparkfun/src/CMakeLists.txt | 28 ++++++++-------
 boards/arm/nrf52/nrf52840-dk/src/CMakeLists.txt    | 28 ++++++++-------
 .../arm/nrf52/nrf52840-dongle/src/CMakeLists.txt   | 28 ++++++++-------
 boards/arm/nrf52/thingy52/src/CMakeLists.txt       | 28 ++++++++-------
 boards/arm/nrf53/common/CMakeLists.txt             | 22 ++++++------
 boards/arm/nrf53/common/src/CMakeLists.txt         | 42 +++++++++++-----------
 .../arm/nrf53/nrf5340-audio-dk/src/CMakeLists.txt  | 34 ++++++++++--------
 boards/arm/nrf53/nrf5340-dk/src/CMakeLists.txt     | 34 ++++++++++--------
 boards/arm/nrf53/thingy53/src/CMakeLists.txt       | 34 ++++++++++--------
 boards/arm/nrf91/common/CMakeLists.txt             | 22 ++++++------
 boards/arm/nrf91/common/src/CMakeLists.txt         | 42 +++++++++++-----------
 boards/arm/nrf91/nrf9160-dk/src/CMakeLists.txt     | 28 ++++++++-------
 17 files changed, 273 insertions(+), 245 deletions(-)

diff --git a/boards/arm/nrf52/common/CMakeLists.txt 
b/boards/arm/nrf52/common/CMakeLists.txt
index 764af45a41..9f56781e40 100644
--- a/boards/arm/nrf52/common/CMakeLists.txt
+++ b/boards/arm/nrf52/common/CMakeLists.txt
@@ -1,22 +1,22 @@
-############################################################################
+# 
##############################################################################
 # boards/arm/nrf52/common/CMakeLists.txt
 #
-# Licensed to the Apache Software 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
+# Licensed to the Apache Software 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
+# 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.
+# License for the specific language governing permissions and limitations under
+# the License.
 #
-############################################################################
+# 
##############################################################################
 
 add_subdirectory(src)
 target_include_directories(board PRIVATE include)
diff --git a/boards/arm/nrf52/common/src/CMakeLists.txt 
b/boards/arm/nrf52/common/src/CMakeLists.txt
index ffd7a58e4b..5a2844de3e 100644
--- a/boards/arm/nrf52/common/src/CMakeLists.txt
+++ b/boards/arm/nrf52/common/src/CMakeLists.txt
@@ -1,37 +1,37 @@
-############################################################################
+# 
##############################################################################
 # boards/arm/nrf52/common/src/CMakeLists.txt
 #
-# Licensed to the Apache Software 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
+# Licensed to the Apache Software 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
+# 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.
+# License for the specific language governing permissions and limitations under
+# the License.
 #
-############################################################################
+# 
##############################################################################
 
 if(CONFIG_ARCH_BOARD_COMMON)
 
-if(CONFIG_NRF52_TIMER)
-  list(APPEND SRCS nrf52_timer.c)
-endif()
+  if(CONFIG_NRF52_TIMER)
+    list(APPEND SRCS nrf52_timer.c)
+  endif()
 
-if(CONFIG_BOARDCTL_BOOT_IMAGE)
-  list(APPEND SRCS nrf52_boot_image.c)
-endif()
+  if(CONFIG_BOARDCTL_BOOT_IMAGE)
+    list(APPEND SRCS nrf52_boot_image.c)
+  endif()
 
-if(CONFIG_NRF52_PROGMEM)
-  list(APPEND SRCS nrf52_progmem.c)
-endif()
+  if(CONFIG_NRF52_PROGMEM)
+    list(APPEND SRCS nrf52_progmem.c)
+  endif()
 
-target_sources(board PRIVATE ${SRCS})
+  target_sources(board PRIVATE ${SRCS})
 
 endif()
diff --git a/boards/arm/nrf52/nrf52-feather/src/CMakeLists.txt 
b/boards/arm/nrf52/nrf52-feather/src/CMakeLists.txt
index 50dd8a1976..e9e1b859aa 100644
--- a/boards/arm/nrf52/nrf52-feather/src/CMakeLists.txt
+++ b/boards/arm/nrf52/nrf52-feather/src/CMakeLists.txt
@@ -1,22 +1,22 @@
-############################################################################
+# 
##############################################################################
 # boards/arm/nrf52/nrf52-feather/src/CMakeLists.txt
 #
-# Licensed to the Apache Software 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
+# Licensed to the Apache Software 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
+# 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.
+# License for the specific language governing permissions and limitations under
+# the License.
 #
-############################################################################
+# 
##############################################################################
 
 set(SRCS nrf52_boot.c nrf52_bringup.c)
 
@@ -37,7 +37,9 @@ endif()
 target_sources(board PRIVATE ${SRCS})
 
 if(CONFIG_ARCH_BOARD_COMMON)
-  set_property(GLOBAL PROPERTY LD_SCRIPT 
"${NUTTX_COMMON_DIR}/scripts/flash_config.ld")
+  set_property(GLOBAL PROPERTY LD_SCRIPT
+                               "${NUTTX_COMMON_DIR}/scripts/flash_config.ld")
 else()
-  set_property(GLOBAL PROPERTY LD_SCRIPT 
"${NUTTX_BOARD_DIR}/scripts/flash_config.ld")
+  set_property(GLOBAL PROPERTY LD_SCRIPT
+                               "${NUTTX_BOARD_DIR}/scripts/flash_config.ld")
 endif()
diff --git a/boards/arm/nrf52/nrf52832-dk/src/CMakeLists.txt 
b/boards/arm/nrf52/nrf52832-dk/src/CMakeLists.txt
index 01ede843be..7e61a0d0a9 100644
--- a/boards/arm/nrf52/nrf52832-dk/src/CMakeLists.txt
+++ b/boards/arm/nrf52/nrf52832-dk/src/CMakeLists.txt
@@ -1,22 +1,22 @@
-############################################################################
+# 
##############################################################################
 # boards/arm/nrf52/nrf52832-dk/src/CMakeLists.txt
 #
-# Licensed to the Apache Software 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
+# Licensed to the Apache Software 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
+# 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.
+# License for the specific language governing permissions and limitations under
+# the License.
 #
-############################################################################
+# 
##############################################################################
 
 set(SRCS nrf52_boot.c nrf52_bringup.c)
 
@@ -37,7 +37,9 @@ endif()
 target_sources(board PRIVATE ${SRCS})
 
 if(CONFIG_ARCH_BOARD_COMMON)
-  set_property(GLOBAL PROPERTY LD_SCRIPT 
"${NUTTX_COMMON_DIR}/scripts/flash_config.ld")
+  set_property(GLOBAL PROPERTY LD_SCRIPT
+                               "${NUTTX_COMMON_DIR}/scripts/flash_config.ld")
 else()
-  set_property(GLOBAL PROPERTY LD_SCRIPT 
"${NUTTX_BOARD_DIR}/scripts/flash_config.ld")
+  set_property(GLOBAL PROPERTY LD_SCRIPT
+                               "${NUTTX_BOARD_DIR}/scripts/flash_config.ld")
 endif()
diff --git a/boards/arm/nrf52/nrf52832-mdk/src/CMakeLists.txt 
b/boards/arm/nrf52/nrf52832-mdk/src/CMakeLists.txt
index b361612bfe..7d55afff33 100644
--- a/boards/arm/nrf52/nrf52832-mdk/src/CMakeLists.txt
+++ b/boards/arm/nrf52/nrf52832-mdk/src/CMakeLists.txt
@@ -1,22 +1,22 @@
-############################################################################
+# 
##############################################################################
 # boards/arm/nrf52/nrf52832-mdk/src/CMakeLists.txt
 #
-# Licensed to the Apache Software 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
+# Licensed to the Apache Software 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
+# 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.
+# License for the specific language governing permissions and limitations under
+# the License.
 #
-############################################################################
+# 
##############################################################################
 
 set(SRCS nrf52_boot.c nrf52_bringup.c)
 
@@ -31,7 +31,9 @@ endif()
 target_sources(board PRIVATE ${SRCS})
 
 if(CONFIG_ARCH_BOARD_COMMON)
-  set_property(GLOBAL PROPERTY LD_SCRIPT 
"${NUTTX_COMMON_DIR}/scripts/flash_config.ld")
+  set_property(GLOBAL PROPERTY LD_SCRIPT
+                               "${NUTTX_COMMON_DIR}/scripts/flash_config.ld")
 else()
-  set_property(GLOBAL PROPERTY LD_SCRIPT 
"${NUTTX_BOARD_DIR}/scripts/flash_config.ld")
+  set_property(GLOBAL PROPERTY LD_SCRIPT
+                               "${NUTTX_BOARD_DIR}/scripts/flash_config.ld")
 endif()
diff --git a/boards/arm/nrf52/nrf52832-sparkfun/src/CMakeLists.txt 
b/boards/arm/nrf52/nrf52832-sparkfun/src/CMakeLists.txt
index d5729e45b6..33d11db5c0 100644
--- a/boards/arm/nrf52/nrf52832-sparkfun/src/CMakeLists.txt
+++ b/boards/arm/nrf52/nrf52832-sparkfun/src/CMakeLists.txt
@@ -1,22 +1,22 @@
-############################################################################
+# 
##############################################################################
 # boards/arm/nrf52/nrf52832-sparkfun/src/CMakeLists.txt
 #
-# Licensed to the Apache Software 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
+# Licensed to the Apache Software 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
+# 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.
+# License for the specific language governing permissions and limitations under
+# the License.
 #
-############################################################################
+# 
##############################################################################
 
 set(SRCS nrf52_boot.c nrf52_bringup.c)
 
@@ -31,7 +31,9 @@ endif()
 target_sources(board PRIVATE ${SRCS})
 
 if(CONFIG_ARCH_BOARD_COMMON)
-  set_property(GLOBAL PROPERTY LD_SCRIPT 
"${NUTTX_COMMON_DIR}/scripts/flash_config.ld")
+  set_property(GLOBAL PROPERTY LD_SCRIPT
+                               "${NUTTX_COMMON_DIR}/scripts/flash_config.ld")
 else()
-  set_property(GLOBAL PROPERTY LD_SCRIPT 
"${NUTTX_BOARD_DIR}/scripts/flash_config.ld")
+  set_property(GLOBAL PROPERTY LD_SCRIPT
+                               "${NUTTX_BOARD_DIR}/scripts/flash_config.ld")
 endif()
diff --git a/boards/arm/nrf52/nrf52840-dk/src/CMakeLists.txt 
b/boards/arm/nrf52/nrf52840-dk/src/CMakeLists.txt
index 175cdfa05e..a027f1f7ed 100644
--- a/boards/arm/nrf52/nrf52840-dk/src/CMakeLists.txt
+++ b/boards/arm/nrf52/nrf52840-dk/src/CMakeLists.txt
@@ -1,22 +1,22 @@
-############################################################################
+# 
##############################################################################
 # boards/arm/nrf52/nrf52840-dk/src/CMakeLists.txt
 #
-# Licensed to the Apache Software 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
+# Licensed to the Apache Software 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
+# 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.
+# License for the specific language governing permissions and limitations under
+# the License.
 #
-############################################################################
+# 
##############################################################################
 
 set(SRCS nrf52_boot.c nrf52_bringup.c)
 
@@ -81,7 +81,9 @@ endif()
 target_sources(board PRIVATE ${SRCS})
 
 if(CONFIG_ARCH_BOARD_COMMON)
-  set_property(GLOBAL PROPERTY LD_SCRIPT 
"${NUTTX_COMMON_DIR}/scripts/flash_config.ld")
+  set_property(GLOBAL PROPERTY LD_SCRIPT
+                               "${NUTTX_COMMON_DIR}/scripts/flash_config.ld")
 else()
-  set_property(GLOBAL PROPERTY LD_SCRIPT 
"${NUTTX_BOARD_DIR}/scripts/flash_config.ld")
+  set_property(GLOBAL PROPERTY LD_SCRIPT
+                               "${NUTTX_BOARD_DIR}/scripts/flash_config.ld")
 endif()
diff --git a/boards/arm/nrf52/nrf52840-dongle/src/CMakeLists.txt 
b/boards/arm/nrf52/nrf52840-dongle/src/CMakeLists.txt
index c633cf9235..08ea0cdd76 100644
--- a/boards/arm/nrf52/nrf52840-dongle/src/CMakeLists.txt
+++ b/boards/arm/nrf52/nrf52840-dongle/src/CMakeLists.txt
@@ -1,22 +1,22 @@
-############################################################################
+# 
##############################################################################
 # boards/arm/nrf52/nrf52840-dongle/src/CMakeLists.txt
 #
-# Licensed to the Apache Software 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
+# Licensed to the Apache Software 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
+# 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.
+# License for the specific language governing permissions and limitations under
+# the License.
 #
-############################################################################
+# 
##############################################################################
 
 set(SRCS nrf52_boot.c nrf52_bringup.c)
 
@@ -41,7 +41,9 @@ endif()
 target_sources(board PRIVATE ${SRCS})
 
 if(CONFIG_ARCH_BOARD_COMMON)
-  set_property(GLOBAL PROPERTY LD_SCRIPT 
"${NUTTX_COMMON_DIR}/scripts/flash_config.ld")
+  set_property(GLOBAL PROPERTY LD_SCRIPT
+                               "${NUTTX_COMMON_DIR}/scripts/flash_config.ld")
 else()
-  set_property(GLOBAL PROPERTY LD_SCRIPT 
"${NUTTX_BOARD_DIR}/scripts/flash_config.ld")
+  set_property(GLOBAL PROPERTY LD_SCRIPT
+                               "${NUTTX_BOARD_DIR}/scripts/flash_config.ld")
 endif()
diff --git a/boards/arm/nrf52/thingy52/src/CMakeLists.txt 
b/boards/arm/nrf52/thingy52/src/CMakeLists.txt
index acc49b5a39..fb36f68cc0 100644
--- a/boards/arm/nrf52/thingy52/src/CMakeLists.txt
+++ b/boards/arm/nrf52/thingy52/src/CMakeLists.txt
@@ -1,22 +1,22 @@
-############################################################################
+# 
##############################################################################
 # boards/arm/nrf52/thingy52/src/CMakeLists.txt
 #
-# Licensed to the Apache Software 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
+# Licensed to the Apache Software 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
+# 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.
+# License for the specific language governing permissions and limitations under
+# the License.
 #
-############################################################################
+# 
##############################################################################
 
 set(SRCS nrf52_boot.c nrf52_bringup.c)
 
@@ -35,7 +35,9 @@ endif()
 target_sources(board PRIVATE ${SRCS})
 
 if(CONFIG_ARCH_BOARD_COMMON)
-  set_property(GLOBAL PROPERTY LD_SCRIPT 
"${NUTTX_COMMON_DIR}/scripts/flash_config.ld")
+  set_property(GLOBAL PROPERTY LD_SCRIPT
+                               "${NUTTX_COMMON_DIR}/scripts/flash_config.ld")
 else()
-  set_property(GLOBAL PROPERTY LD_SCRIPT 
"${NUTTX_BOARD_DIR}/scripts/flash_config.ld")
+  set_property(GLOBAL PROPERTY LD_SCRIPT
+                               "${NUTTX_BOARD_DIR}/scripts/flash_config.ld")
 endif()
diff --git a/boards/arm/nrf53/common/CMakeLists.txt 
b/boards/arm/nrf53/common/CMakeLists.txt
index b42be3bbd8..51350838c9 100644
--- a/boards/arm/nrf53/common/CMakeLists.txt
+++ b/boards/arm/nrf53/common/CMakeLists.txt
@@ -1,22 +1,22 @@
-############################################################################
+# 
##############################################################################
 # boards/arm/nrf53/common/CMakeLists.txt
 #
-# Licensed to the Apache Software 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
+# Licensed to the Apache Software 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
+# 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.
+# License for the specific language governing permissions and limitations under
+# the License.
 #
-############################################################################
+# 
##############################################################################
 
 add_subdirectory(src)
 target_include_directories(board PRIVATE include)
diff --git a/boards/arm/nrf53/common/src/CMakeLists.txt 
b/boards/arm/nrf53/common/src/CMakeLists.txt
index e8dfce1417..b09c210700 100644
--- a/boards/arm/nrf53/common/src/CMakeLists.txt
+++ b/boards/arm/nrf53/common/src/CMakeLists.txt
@@ -1,37 +1,37 @@
-############################################################################
+# 
##############################################################################
 # boards/arm/nrf53/common/src/CMakeLists.txt
 #
-# Licensed to the Apache Software 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
+# Licensed to the Apache Software 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
+# 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.
+# License for the specific language governing permissions and limitations under
+# the License.
 #
-############################################################################
+# 
##############################################################################
 
 if(CONFIG_ARCH_BOARD_COMMON)
 
-if(CONFIG_NRF53_TIMER)
-  list(APPEND SRCS nrf53_timer.c)
-endif()
+  if(CONFIG_NRF53_TIMER)
+    list(APPEND SRCS nrf53_timer.c)
+  endif()
 
-if(CONFIG_BOARDCTL_BOOT_IMAGE)
-  list(APPEND SRCS nrf53_boot_image.c)
-endif()
+  if(CONFIG_BOARDCTL_BOOT_IMAGE)
+    list(APPEND SRCS nrf53_boot_image.c)
+  endif()
 
-if(CONFIG_NRF53_PROGMEM)
-  list(APPEND SRCS nrf53_progmem.c)
-endif()
+  if(CONFIG_NRF53_PROGMEM)
+    list(APPEND SRCS nrf53_progmem.c)
+  endif()
 
-target_sources(board PRIVATE ${SRCS})
+  target_sources(board PRIVATE ${SRCS})
 
 endif()
diff --git a/boards/arm/nrf53/nrf5340-audio-dk/src/CMakeLists.txt 
b/boards/arm/nrf53/nrf5340-audio-dk/src/CMakeLists.txt
index b33c3fec5e..c9d1f4f812 100644
--- a/boards/arm/nrf53/nrf5340-audio-dk/src/CMakeLists.txt
+++ b/boards/arm/nrf53/nrf5340-audio-dk/src/CMakeLists.txt
@@ -1,22 +1,22 @@
-############################################################################
+# 
##############################################################################
 # boards/arm/nrf53/nrf5340-audio-dk/src/CMakeLists.txt
 #
-# Licensed to the Apache Software 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
+# Licensed to the Apache Software 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
+# 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.
+# License for the specific language governing permissions and limitations under
+# the License.
 #
-############################################################################
+# 
##############################################################################
 
 set(SRCS nrf53_boot.c nrf53_bringup.c)
 
@@ -34,14 +34,18 @@ target_sources(board PRIVATE ${SRCS})
 
 if(CONFIG_ARCH_BOARD_COMMON)
   if(CONFIG_ARCH_CHIP_NRF5340_CPUAPP)
-    set_property(GLOBAL PROPERTY LD_SCRIPT 
"${NUTTX_COMMON_DIR}/scripts/flash_app.ld")
+    set_property(GLOBAL PROPERTY LD_SCRIPT
+                                 "${NUTTX_COMMON_DIR}/scripts/flash_app.ld")
   else()
-    set_property(GLOBAL PROPERTY LD_SCRIPT 
"${NUTTX_COMMON_DIR}/scripts/flash_net.ld")
+    set_property(GLOBAL PROPERTY LD_SCRIPT
+                                 "${NUTTX_COMMON_DIR}/scripts/flash_net.ld")
   endif()
 else()
   if(CONFIG_ARCH_CHIP_NRF5340_CPUAPP)
-    set_property(GLOBAL PROPERTY LD_SCRIPT 
"${NUTTX_BOARD_DIR}/scripts/flash_app.ld")
+    set_property(GLOBAL PROPERTY LD_SCRIPT
+                                 "${NUTTX_BOARD_DIR}/scripts/flash_app.ld")
   else()
-    set_property(GLOBAL PROPERTY LD_SCRIPT 
"${NUTTX_BOARD_DIR}/scripts/flash_net.ld")
+    set_property(GLOBAL PROPERTY LD_SCRIPT
+                                 "${NUTTX_BOARD_DIR}/scripts/flash_net.ld")
   endif()
 endif()
diff --git a/boards/arm/nrf53/nrf5340-dk/src/CMakeLists.txt 
b/boards/arm/nrf53/nrf5340-dk/src/CMakeLists.txt
index f4844fad4b..7c733d635a 100644
--- a/boards/arm/nrf53/nrf5340-dk/src/CMakeLists.txt
+++ b/boards/arm/nrf53/nrf5340-dk/src/CMakeLists.txt
@@ -1,22 +1,22 @@
-############################################################################
+# 
##############################################################################
 # boards/arm/nrf53/nrf5340-dk/src/CMakeLists.txt
 #
-# Licensed to the Apache Software 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
+# Licensed to the Apache Software 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
+# 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.
+# License for the specific language governing permissions and limitations under
+# the License.
 #
-############################################################################
+# 
##############################################################################
 
 set(SRCS nrf53_boot.c nrf53_bringup.c)
 
@@ -62,14 +62,18 @@ target_sources(board PRIVATE ${SRCS})
 
 if(CONFIG_ARCH_BOARD_COMMON)
   if(CONFIG_ARCH_CHIP_NRF5340_CPUAPP)
-    set_property(GLOBAL PROPERTY LD_SCRIPT 
"${NUTTX_COMMON_DIR}/scripts/flash_app.ld")
+    set_property(GLOBAL PROPERTY LD_SCRIPT
+                                 "${NUTTX_COMMON_DIR}/scripts/flash_app.ld")
   else()
-    set_property(GLOBAL PROPERTY LD_SCRIPT 
"${NUTTX_COMMON_DIR}/scripts/flash_net.ld")
+    set_property(GLOBAL PROPERTY LD_SCRIPT
+                                 "${NUTTX_COMMON_DIR}/scripts/flash_net.ld")
   endif()
 else()
   if(CONFIG_ARCH_CHIP_NRF5340_CPUAPP)
-    set_property(GLOBAL PROPERTY LD_SCRIPT 
"${NUTTX_BOARD_DIR}/scripts/flash_app.ld")
+    set_property(GLOBAL PROPERTY LD_SCRIPT
+                                 "${NUTTX_BOARD_DIR}/scripts/flash_app.ld")
   else()
-    set_property(GLOBAL PROPERTY LD_SCRIPT 
"${NUTTX_BOARD_DIR}/scripts/flash_net.ld")
+    set_property(GLOBAL PROPERTY LD_SCRIPT
+                                 "${NUTTX_BOARD_DIR}/scripts/flash_net.ld")
   endif()
 endif()
diff --git a/boards/arm/nrf53/thingy53/src/CMakeLists.txt 
b/boards/arm/nrf53/thingy53/src/CMakeLists.txt
index 788259ed2e..f9c66a4372 100644
--- a/boards/arm/nrf53/thingy53/src/CMakeLists.txt
+++ b/boards/arm/nrf53/thingy53/src/CMakeLists.txt
@@ -1,22 +1,22 @@
-############################################################################
+# 
##############################################################################
 # boards/arm/nrf53/thingy53/src/CMakeLists.txt
 #
-# Licensed to the Apache Software 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
+# Licensed to the Apache Software 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
+# 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.
+# License for the specific language governing permissions and limitations under
+# the License.
 #
-############################################################################
+# 
##############################################################################
 
 set(SRCS nrf53_boot.c nrf53_bringup.c)
 
@@ -44,14 +44,18 @@ target_sources(board PRIVATE ${SRCS})
 
 if(CONFIG_ARCH_BOARD_COMMON)
   if(CONFIG_ARCH_CHIP_NRF5340_CPUAPP)
-    set_property(GLOBAL PROPERTY LD_SCRIPT 
"${NUTTX_COMMON_DIR}/scripts/flash_app.ld")
+    set_property(GLOBAL PROPERTY LD_SCRIPT
+                                 "${NUTTX_COMMON_DIR}/scripts/flash_app.ld")
   else()
-    set_property(GLOBAL PROPERTY LD_SCRIPT 
"${NUTTX_COMMON_DIR}/scripts/flash_net.ld")
+    set_property(GLOBAL PROPERTY LD_SCRIPT
+                                 "${NUTTX_COMMON_DIR}/scripts/flash_net.ld")
   endif()
 else()
   if(CONFIG_ARCH_CHIP_NRF5340_CPUAPP)
-    set_property(GLOBAL PROPERTY LD_SCRIPT 
"${NUTTX_BOARD_DIR}/scripts/flash_app.ld")
+    set_property(GLOBAL PROPERTY LD_SCRIPT
+                                 "${NUTTX_BOARD_DIR}/scripts/flash_app.ld")
   else()
-    set_property(GLOBAL PROPERTY LD_SCRIPT 
"${NUTTX_BOARD_DIR}/scripts/flash_net.ld")
+    set_property(GLOBAL PROPERTY LD_SCRIPT
+                                 "${NUTTX_BOARD_DIR}/scripts/flash_net.ld")
   endif()
 endif()
diff --git a/boards/arm/nrf91/common/CMakeLists.txt 
b/boards/arm/nrf91/common/CMakeLists.txt
index 9f9b95e1c6..b4555d0140 100644
--- a/boards/arm/nrf91/common/CMakeLists.txt
+++ b/boards/arm/nrf91/common/CMakeLists.txt
@@ -1,22 +1,22 @@
-############################################################################
+# 
##############################################################################
 # boards/arm/nrf91/common/CMakeLists.txt
 #
-# Licensed to the Apache Software 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
+# Licensed to the Apache Software 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
+# 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.
+# License for the specific language governing permissions and limitations under
+# the License.
 #
-############################################################################
+# 
##############################################################################
 
 add_subdirectory(src)
 target_include_directories(board PRIVATE include)
diff --git a/boards/arm/nrf91/common/src/CMakeLists.txt 
b/boards/arm/nrf91/common/src/CMakeLists.txt
index 2c21fb05af..9492508ab4 100644
--- a/boards/arm/nrf91/common/src/CMakeLists.txt
+++ b/boards/arm/nrf91/common/src/CMakeLists.txt
@@ -1,37 +1,37 @@
-############################################################################
+# 
##############################################################################
 # boards/arm/nrf91/common/src/CMakeLists.txt
 #
-# Licensed to the Apache Software 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
+# Licensed to the Apache Software 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
+# 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.
+# License for the specific language governing permissions and limitations under
+# the License.
 #
-############################################################################
+# 
##############################################################################
 
 if(CONFIG_ARCH_BOARD_COMMON)
 
-if(CONFIG_NRF91_TIMER)
-  list(APPEND SRCS nrf91_timer.c)
-endif()
+  if(CONFIG_NRF91_TIMER)
+    list(APPEND SRCS nrf91_timer.c)
+  endif()
 
-if(CONFIG_BOARDCTL_BOOT_IMAGE)
-  list(APPEND SRCS nrf91_boot_image.c)
-endif()
+  if(CONFIG_BOARDCTL_BOOT_IMAGE)
+    list(APPEND SRCS nrf91_boot_image.c)
+  endif()
 
-if(CONFIG_NRF91_PROGMEM)
-  list(APPEND SRCS nrf91_progmem.c)
-endif()
+  if(CONFIG_NRF91_PROGMEM)
+    list(APPEND SRCS nrf91_progmem.c)
+  endif()
 
-target_sources(board PRIVATE ${SRCS})
+  target_sources(board PRIVATE ${SRCS})
 
 endif()
diff --git a/boards/arm/nrf91/nrf9160-dk/src/CMakeLists.txt 
b/boards/arm/nrf91/nrf9160-dk/src/CMakeLists.txt
index 752ff5e10f..8996928853 100644
--- a/boards/arm/nrf91/nrf9160-dk/src/CMakeLists.txt
+++ b/boards/arm/nrf91/nrf9160-dk/src/CMakeLists.txt
@@ -1,22 +1,22 @@
-############################################################################
+# 
##############################################################################
 # boards/arm/nrf91/nrf9160-dk/src/CMakeLists.txt
 #
-# Licensed to the Apache Software 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
+# Licensed to the Apache Software 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
+# 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.
+# License for the specific language governing permissions and limitations under
+# the License.
 #
-############################################################################
+# 
##############################################################################
 
 set(SRCS nrf91_boot.c nrf91_bringup.c)
 
@@ -37,7 +37,9 @@ endif()
 target_sources(board PRIVATE ${SRCS})
 
 if(CONFIG_ARCH_BOARD_COMMON)
-  set_property(GLOBAL PROPERTY LD_SCRIPT 
"${NUTTX_COMMON_DIR}/scripts/flash_app.ld")
+  set_property(GLOBAL PROPERTY LD_SCRIPT
+                               "${NUTTX_COMMON_DIR}/scripts/flash_app.ld")
 else()
-  set_property(GLOBAL PROPERTY LD_SCRIPT 
"${NUTTX_BOARD_DIR}/scripts/flash_app.ld")
+  set_property(GLOBAL PROPERTY LD_SCRIPT
+                               "${NUTTX_BOARD_DIR}/scripts/flash_app.ld")
 endif()


Reply via email to