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
29 lines
326 B
Text
29 lines
326 B
Text
# Copyright (c) 2020 The ZMK Contributors
|
|
# SPDX-License-Identifier: MIT
|
|
|
|
if BOARD_NRF52840_M2
|
|
|
|
config BOARD
|
|
default "nrf52480_m2"
|
|
|
|
if USB
|
|
|
|
config USB_NRFX
|
|
default y
|
|
|
|
config USB_DEVICE_STACK
|
|
default y
|
|
|
|
endif # USB
|
|
|
|
config BT_CTLR
|
|
default BT
|
|
|
|
config ZMK_BLE
|
|
default y
|
|
|
|
config ZMK_USB
|
|
default y
|
|
|
|
endif # BOARD_NRF52840_M2
|