diff options
author | innovaker <66737976+innovaker@users.noreply.github.com> | 2021-01-01 22:37:34 +0000 |
---|---|---|
committer | Pete Johanson <peter@peterjohanson.com> | 2021-01-06 17:00:44 -0500 |
commit | f17584ca0ee4d6bbc0893c0a62a0dc2fa293d2b8 (patch) | |
tree | 31f3d5d4b0fdc2f43cc4595f709ea216d0d06ea5 /app/boards | |
parent | 56ec200bae7610bae32c558cf1302b02d433471d (diff) |
chore: standardize # style headers
Changes made with regex plus some manual tweaks.
Find:
/(?:(?<!#!\/bin\/sh\n)(?:^#\n))*^#.*?[Cc]opyright.*?(\d{4}) *([0-9A-z,_\- ]+).*?\n(?:^#\n)*^#.*?SPDX-License-Identifier:? *(.+) *?\n(?:^#\n)*/gm
Replace:
# Copyright (c) $1 $2
# SPDX-License-Identifier: $3
PR: #564
Diffstat (limited to 'app/boards')
-rw-r--r-- | app/boards/arm/nrf52840_m2/CMakeLists.txt | 2 | ||||
-rw-r--r-- | app/boards/arm/nrf52840_m2/Kconfig | 2 | ||||
-rw-r--r-- | app/boards/arm/nrf52840_m2/Kconfig.board | 3 | ||||
-rw-r--r-- | app/boards/arm/nrf52840_m2/Kconfig.defconfig | 2 | ||||
-rw-r--r-- | app/boards/arm/nrf52840_m2/board.cmake | 2 | ||||
-rw-r--r-- | app/boards/arm/nrf52840_m2/nrf52840_m2_defconfig | 2 | ||||
-rw-r--r-- | app/boards/shields/crbn/Kconfig.defconfig | 2 | ||||
-rw-r--r-- | app/boards/shields/crbn/Kconfig.shield | 2 | ||||
-rw-r--r-- | app/boards/shields/eek/Kconfig.defconfig | 3 | ||||
-rw-r--r-- | app/boards/shields/jorne/Kconfig.shield | 2 | ||||
-rw-r--r-- | app/boards/shields/m60/Kconfig.defconfig | 2 | ||||
-rw-r--r-- | app/boards/shields/m60/Kconfig.shield | 2 | ||||
-rw-r--r-- | app/boards/shields/quefrency/Kconfig.defconfig | 4 | ||||
-rw-r--r-- | app/boards/shields/splitreus62/Kconfig.defconfig | 4 |
14 files changed, 6 insertions, 28 deletions
diff --git a/app/boards/arm/nrf52840_m2/CMakeLists.txt b/app/boards/arm/nrf52840_m2/CMakeLists.txt index 84b2ab9..044f93c 100644 --- a/app/boards/arm/nrf52840_m2/CMakeLists.txt +++ b/app/boards/arm/nrf52840_m2/CMakeLists.txt @@ -1,7 +1,5 @@ -# # Copyright (c) 2020 The ZMK Contributors # SPDX-License-Identifier: MIT -# set_property(GLOBAL APPEND PROPERTY extra_post_build_commands COMMAND ${PYTHON_EXECUTABLE} ${ZEPHYR_BASE}/../tools/uf2/utils/uf2conv.py diff --git a/app/boards/arm/nrf52840_m2/Kconfig b/app/boards/arm/nrf52840_m2/Kconfig index faff492..c7edeb8 100644 --- a/app/boards/arm/nrf52840_m2/Kconfig +++ b/app/boards/arm/nrf52840_m2/Kconfig @@ -1,7 +1,5 @@ -# # Copyright (c) 2020 The ZMK Contributors # SPDX-License-Identifier: MIT -# config BOARD_ENABLE_DCDC bool "Enable DCDC mode" diff --git a/app/boards/arm/nrf52840_m2/Kconfig.board b/app/boards/arm/nrf52840_m2/Kconfig.board index 6ade68c..4990103 100644 --- a/app/boards/arm/nrf52840_m2/Kconfig.board +++ b/app/boards/arm/nrf52840_m2/Kconfig.board @@ -1,8 +1,7 @@ # Maker Diary nrf52840 M.2 board configuration -# + # Copyright (c) 2020 The ZMK Contributors # SPDX-License-Identifier: MIT -# config BOARD_NRF52840_M2 bool "nrf52480_m2" diff --git a/app/boards/arm/nrf52840_m2/Kconfig.defconfig b/app/boards/arm/nrf52840_m2/Kconfig.defconfig index 98fcd08..f3e1f0e 100644 --- a/app/boards/arm/nrf52840_m2/Kconfig.defconfig +++ b/app/boards/arm/nrf52840_m2/Kconfig.defconfig @@ -1,7 +1,5 @@ -# # Copyright (c) 2020 The ZMK Contributors # SPDX-License-Identifier: MIT -# if BOARD_NRF52840_M2 diff --git a/app/boards/arm/nrf52840_m2/board.cmake b/app/boards/arm/nrf52840_m2/board.cmake index 55b44e2..ae1e260 100644 --- a/app/boards/arm/nrf52840_m2/board.cmake +++ b/app/boards/arm/nrf52840_m2/board.cmake @@ -1,7 +1,5 @@ -# # Copyright (c) 2020 The ZMK Contributors # SPDX-License-Identifier: MIT -# board_runner_args(nrfjprog "--nrf-family=NRF52" "--softreset") diff --git a/app/boards/arm/nrf52840_m2/nrf52840_m2_defconfig b/app/boards/arm/nrf52840_m2/nrf52840_m2_defconfig index e74438b..2f563c3 100644 --- a/app/boards/arm/nrf52840_m2/nrf52840_m2_defconfig +++ b/app/boards/arm/nrf52840_m2/nrf52840_m2_defconfig @@ -1,7 +1,5 @@ -# # Copyright (c) 2020 The ZMK Contributors # SPDX-License-Identifier: MIT -# CONFIG_SOC_SERIES_NRF52X=y CONFIG_SOC_NRF52840_QIAA=y diff --git a/app/boards/shields/crbn/Kconfig.defconfig b/app/boards/shields/crbn/Kconfig.defconfig index 378a3f8..2a5c8e3 100644 --- a/app/boards/shields/crbn/Kconfig.defconfig +++ b/app/boards/shields/crbn/Kconfig.defconfig @@ -1,7 +1,5 @@ -# # Copyright (c) 2020 The ZMK Contributors # SPDX-License-Identifier: MIT -# if SHIELD_CRBN diff --git a/app/boards/shields/crbn/Kconfig.shield b/app/boards/shields/crbn/Kconfig.shield index c66f280..ceeb5f6 100644 --- a/app/boards/shields/crbn/Kconfig.shield +++ b/app/boards/shields/crbn/Kconfig.shield @@ -1,7 +1,5 @@ -# # Copyright (c) 2020 The ZMK Contributors # SPDX-License-Identifier: MIT -# config SHIELD_CRBN def_bool $(shields_list_contains,crbn) diff --git a/app/boards/shields/eek/Kconfig.defconfig b/app/boards/shields/eek/Kconfig.defconfig index 65d69b7..b84dd28 100644 --- a/app/boards/shields/eek/Kconfig.defconfig +++ b/app/boards/shields/eek/Kconfig.defconfig @@ -1,8 +1,5 @@ -# # Copyright (c) 2020 The ZMK Contributors -# # SPDX-License-Identifier: MIT -# if SHIELD_EEK diff --git a/app/boards/shields/jorne/Kconfig.shield b/app/boards/shields/jorne/Kconfig.shield index 1176611..88fd4e5 100644 --- a/app/boards/shields/jorne/Kconfig.shield +++ b/app/boards/shields/jorne/Kconfig.shield @@ -1,4 +1,4 @@ -# Copyright (c) 2020 The ZMK Contributors +# Copyright (c) 2020 The ZMK Contributors # SPDX-License-Identifier: MIT config SHIELD_JORNE_LEFT diff --git a/app/boards/shields/m60/Kconfig.defconfig b/app/boards/shields/m60/Kconfig.defconfig index e31d5a5..ad105ed 100644 --- a/app/boards/shields/m60/Kconfig.defconfig +++ b/app/boards/shields/m60/Kconfig.defconfig @@ -1,7 +1,5 @@ -# # Copyright (c) 2020 The ZMK Contributors # SPDX-License-Identifier: MIT -# if SHIELD_M60 diff --git a/app/boards/shields/m60/Kconfig.shield b/app/boards/shields/m60/Kconfig.shield index 47a28e2..4ed58c4 100644 --- a/app/boards/shields/m60/Kconfig.shield +++ b/app/boards/shields/m60/Kconfig.shield @@ -1,7 +1,5 @@ -# # Copyright (c) 2020 The ZMK Contributors # SPDX-License-Identifier: MIT -# config SHIELD_M60 def_bool $(shields_list_contains,m60) diff --git a/app/boards/shields/quefrency/Kconfig.defconfig b/app/boards/shields/quefrency/Kconfig.defconfig index b4041cb..5a7d964 100644 --- a/app/boards/shields/quefrency/Kconfig.defconfig +++ b/app/boards/shields/quefrency/Kconfig.defconfig @@ -1,5 +1,5 @@ -#Copyright (c) 2020 The ZMK Contributors -#SPDX-License-Identifier: MIT +# Copyright (c) 2020 The ZMK Contributors +# SPDX-License-Identifier: MIT if SHIELD_QUEFRENCY_LEFT diff --git a/app/boards/shields/splitreus62/Kconfig.defconfig b/app/boards/shields/splitreus62/Kconfig.defconfig index 988041c..26c2e93 100644 --- a/app/boards/shields/splitreus62/Kconfig.defconfig +++ b/app/boards/shields/splitreus62/Kconfig.defconfig @@ -1,6 +1,6 @@ -#Copyright (c) 2020 Derek Schmell -#SPDX-License-Identifier: MIT +# Copyright (c) 2020 Derek Schmell +# SPDX-License-Identifier: MIT if SHIELD_SPLITREUS62_LEFT |