Skip to content

Commit

Permalink
use zephyr aliases to handle mikoto_520
Browse files Browse the repository at this point in the history
  • Loading branch information
zhiayang committed Nov 20, 2024
1 parent 2ceb737 commit a440fe6
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 62 deletions.
1 change: 1 addition & 0 deletions app/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ cmake_minimum_required(VERSION 3.13.1)

set(CONFIG_APPLICATION_DEFINED_SYSCALL true)

set(ZEPHYR_BOARD_ALIASES "boards/aliases.cmake")
set(ZEPHYR_EXTRA_MODULES "${ZMK_EXTRA_MODULES};${CMAKE_CURRENT_SOURCE_DIR}/module;${CMAKE_CURRENT_SOURCE_DIR}/keymap-module")

# Find Zephyr. This also loads Zephyr's build system.
Expand Down
2 changes: 2 additions & 0 deletions app/boards/aliases.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# defines board aliases (eg. mikoto_520 -> [email protected])
set(mikoto_520_BOARD_ALIAS "mikoto")
11 changes: 0 additions & 11 deletions app/boards/arm/mikoto/mikoto_520.dts

This file was deleted.

15 changes: 0 additions & 15 deletions app/boards/arm/mikoto/mikoto_520.yaml

This file was deleted.

10 changes: 0 additions & 10 deletions app/boards/arm/mikoto/mikoto_520.zmk.yml

This file was deleted.

26 changes: 0 additions & 26 deletions app/boards/arm/mikoto/mikoto_520_defconfig

This file was deleted.

0 comments on commit a440fe6

Please sign in to comment.