-
Notifications
You must be signed in to change notification settings - Fork 68
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1038 from UltimateHackingKeyboard/master-uhk80
Master uhk80
- Loading branch information
Showing
387 changed files
with
1,971 additions
and
1,500 deletions.
There are no files selected for viewing
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
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
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
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,25 @@ | ||
cmake_minimum_required(VERSION 3.20) | ||
|
||
# until https://github.com/zephyrproject-rtos/zephyr/pull/69490 is merged | ||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fpermissive") | ||
|
||
set(CMAKE_EXPORT_COMPILE_COMMANDS ON) | ||
|
||
# zephyr's build system doesn't define standard build type symbols, fix that here | ||
if(NOT CONFIG_DEBUG) | ||
add_definitions(-DNDEBUG) | ||
endif() | ||
|
||
if(NOT CONFIG_DEVICE_ID) | ||
# uhk code isn't added to bootloader | ||
return() | ||
endif() | ||
|
||
project(uhk) | ||
add_library(${PROJECT_NAME}) | ||
target_link_libraries(${PROJECT_NAME} PUBLIC | ||
zephyr_interface | ||
) | ||
add_subdirectory(device/src) | ||
add_subdirectory(right/src) | ||
add_subdirectory(shared) |
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
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.
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
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,4 @@ | ||
zephyr_library() | ||
if(CONFIG_DEVICE_ID) # don't add it to bootloader image as well | ||
zephyr_library_sources(board.c) | ||
endif() |
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,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 |
Oops, something went wrong.