This repository has been archived by the owner on Dec 18, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
move UHK 80 boards into a single directory to eliminate duplicate files
- Loading branch information
1 parent
d8b0a62
commit 3e632c5
Showing
30 changed files
with
120 additions
and
183 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
8 changes: 8 additions & 0 deletions
8
boards/ugl/uhk-80-right/Kconfig.board → boards/ugl/uhk-80/Kconfig.board
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,14 @@ | ||
# Copyright (c) 2023 Nordic Semiconductor ASA | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
config BOARD_UHK_80_LEFT | ||
bool "UHK 80 left" | ||
depends on SOC_NRF52840_QIAA | ||
|
||
config BOARD_UHK_80_RIGHT | ||
bool "UHK 80 right" | ||
depends on SOC_NRF52840_QIAA | ||
|
||
config BOARD_UHK_DONGLE | ||
bool "UHK dongle" | ||
depends on SOC_NRF52840_QIAA |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
# SPDX-License-Identifier: Apache-2.0 | ||
# used for both zephyr and mcuboot -> no custom kconfig symbols here | ||
|
||
if SHELL_BACKEND_RTT | ||
if BOARD_UHK_80_LEFT | ||
config SHELL_PROMPT_RTT | ||
default "uhk80:left$ " | ||
endif | ||
if BOARD_UHK_80_RIGHT | ||
config SHELL_PROMPT_RTT | ||
default "uhk80:right$ " | ||
endif | ||
if BOARD_UHK_DONGLE | ||
config SHELL_PROMPT_RTT | ||
default "uhk-dongle$ " | ||
endif | ||
endif # SHELL_BACKEND_RTT | ||
|
||
if SHELL_BACKEND_SERIAL | ||
if BOARD_UHK_80_LEFT | ||
config SHELL_PROMPT_UART | ||
default "uhk80:left$ " | ||
endif | ||
if BOARD_UHK_80_RIGHT | ||
config SHELL_PROMPT_UART | ||
default "uhk80:right$ " | ||
endif | ||
if BOARD_UHK_DONGLE | ||
config SHELL_PROMPT_UART | ||
default "uhk-dongle$ " | ||
endif | ||
endif # SHELL_BACKEND_SERIAL | ||
|
||
if BOARD_UHK_80_LEFT | ||
config USB_DEVICE_PRODUCT | ||
default "UHK 80 left half" | ||
config USB_DEVICE_PID | ||
default 0x0007 | ||
if BT_DIS && BT_DIS_PNP | ||
config BT_DIS_PNP_PID | ||
default 0x8007 | ||
endif # BT_DIS && BT_DIS_PNP | ||
endif | ||
|
||
if BOARD_UHK_80_RIGHT | ||
config USB_DEVICE_PRODUCT | ||
default "UHK 80 right half" | ||
config USB_DEVICE_PID | ||
default 0x0009 | ||
if BT_DIS && BT_DIS_PNP | ||
config BT_DIS_PNP_PID | ||
default 0x8009 | ||
endif # BT_DIS && BT_DIS_PNP | ||
endif | ||
|
||
if BOARD_UHK_DONGLE | ||
config USB_DEVICE_PRODUCT | ||
default "UHK dongle" | ||
config USB_DEVICE_PID | ||
default 0x0005 | ||
if BT_DIS && BT_DIS_PNP | ||
config BT_DIS_PNP_PID | ||
default 0x8005 | ||
endif # BT_DIS && BT_DIS_PNP | ||
endif | ||
|
||
config BT_CTLR | ||
default BT |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
boards: | ||
- name: uhk-80-left | ||
vendor: ugl | ||
socs: | ||
- name: nrf52840 | ||
- name: uhk-80-right | ||
vendor: ugl | ||
socs: | ||
- name: nrf52840 | ||
- name: uhk-dongle | ||
vendor: ugl | ||
socs: | ||
- name: nrf52840 |
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.