-
Notifications
You must be signed in to change notification settings - Fork 143
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move drivers up so they are shared across boards
- Loading branch information
Showing
29 changed files
with
16 additions
and
12 deletions.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
...s/arm/hw75_dynamic/drivers/CMakeLists.txt → config/CMakeLists.txt
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,4 +1,4 @@ | ||
# Copyright (c) 2022-2023 XiNGRZ | ||
# SPDX-License-Identifier: MIT | ||
|
||
add_subdirectory(sensor) | ||
add_subdirectory(drivers) |
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,4 +1,4 @@ | ||
# Copyright (c) 2022-2023 XiNGRZ | ||
# SPDX-License-Identifier: MIT | ||
|
||
rsource "sensor/Kconfig" | ||
rsource "drivers/Kconfig" |
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 |
---|---|---|
|
@@ -43,6 +43,4 @@ config BUILD_OUTPUT_UF2_USE_FLASH_OFFSET | |
|
||
endif # BUILD_OUTPUT_UF2 | ||
|
||
rsource "drivers/Kconfig" | ||
|
||
endif # BOARD_HW75 |
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 |
---|---|---|
|
@@ -69,6 +69,4 @@ config SSD1306_REVERSE_MODE | |
|
||
endif # SSD1306 | ||
|
||
rsource "drivers/Kconfig" | ||
|
||
endif # BOARD_HW75_DYNAMIC |
3 changes: 2 additions & 1 deletion
3
...ig/boards/arm/hw75/drivers/CMakeLists.txt → config/drivers/CMakeLists.txt
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,5 +1,6 @@ | ||
# Copyright (c) 2022 The ZMK Contributors | ||
# Copyright (c) 2022-2023 XiNGRZ | ||
# SPDX-License-Identifier: MIT | ||
|
||
add_subdirectory(kscan) | ||
add_subdirectory(led_strip) | ||
add_subdirectory(sensor) |
3 changes: 2 additions & 1 deletion
3
config/boards/arm/hw75/drivers/Kconfig → config/drivers/Kconfig
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,5 +1,6 @@ | ||
# Copyright (c) 2022 The ZMK Contributors | ||
# Copyright (c) 2022-2023 XiNGRZ | ||
# SPDX-License-Identifier: MIT | ||
|
||
rsource "kscan/Kconfig" | ||
rsource "led_strip/Kconfig" | ||
rsource "sensor/Kconfig" |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
7 changes: 5 additions & 2 deletions
7
...ynamic/drivers/sensor/knob/CMakeLists.txt → config/drivers/sensor/knob/CMakeLists.txt
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,9 +1,12 @@ | ||
# Copyright (c) 2022-2023 XiNGRZ | ||
# SPDX-License-Identifier: MIT | ||
|
||
if(CONFIG_KNOB) | ||
|
||
zephyr_library_named(helloword__drivers__knob) | ||
zephyr_library_include_directories(${CMAKE_CURRENT_SOURCE_DIR}/include) | ||
|
||
add_subdirectory_ifdef(CONFIG_KNOB lib) | ||
add_subdirectory(lib) | ||
add_subdirectory(encoder) | ||
|
||
add_subdirectory_ifdef(CONFIG_KNOB encoder) | ||
endif() |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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,5 @@ | ||
build: | ||
cmake: . | ||
kconfig: Kconfig | ||
settings: | ||
dts_root: . |