-
Notifications
You must be signed in to change notification settings - Fork 0
fix: migrate eyelash_sofle board to Zephyr 4.x board format #3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
ff6d3f1
02583c6
1770be9
9062f31
0509b57
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| # | ||
| # Copyright (c) 2024 The ZMK Contributors | ||
| # SPDX-License-Identifier: MIT | ||
| # | ||
|
|
||
| config BOARD_EYELASH_SOFLE_LEFT | ||
| select SOC_NRF52840_QIAA | ||
| select ZMK_BOARD_COMPAT | ||
| Original file line number | Diff line number | Diff line change | ||||||
|---|---|---|---|---|---|---|---|---|
| @@ -0,0 +1,8 @@ | ||||||||
| # | ||||||||
| # Copyright (c) 2024 The ZMK Contributors | ||||||||
| # SPDX-License-Identifier: MIT | ||||||||
| # | ||||||||
|
|
||||||||
| config BOARD_EYELASH_SOFLE_RIGHT | ||||||||
|
||||||||
| config BOARD_EYELASH_SOFLE_RIGHT | |
| config BOARD_EYELASH_SOFLE_RIGHT | |
| bool |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| boards: | ||
| - name: eyelash_sofle_left | ||
| vendor: eyelash | ||
| socs: | ||
| - name: nrf52840 | ||
| - name: eyelash_sofle_right | ||
| vendor: eyelash | ||
| socs: | ||
| - name: nrf52840 |
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -21,4 +21,3 @@ | |
| &left_encoder { | ||
| status = "okay"; | ||
| }; | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,38 @@ | ||
| # | ||
| # Copyright (c) 2022 Darryl deHaan | ||
| # SPDX-License-Identifier: MIT | ||
| # | ||
|
|
||
| CONFIG_ZMK_SLEEP=y | ||
|
|
||
| # Enable MPU | ||
| CONFIG_ARM_MPU=y | ||
|
|
||
| # enable pinctrl | ||
| CONFIG_PINCTRL=y | ||
|
|
||
| # enable GPIO | ||
| CONFIG_GPIO=y | ||
|
|
||
| # Enable SPI | ||
| CONFIG_SPI=y | ||
|
|
||
| # Enable writing to flash | ||
| CONFIG_USE_DT_CODE_PARTITION=y | ||
| CONFIG_BUILD_OUTPUT_UF2=y | ||
| CONFIG_MPU_ALLOW_FLASH_WRITE=y | ||
| CONFIG_NVS=y | ||
| CONFIG_SETTINGS_NVS=y | ||
| CONFIG_FLASH=y | ||
| CONFIG_FLASH_PAGE_LAYOUT=y | ||
| CONFIG_FLASH_MAP=y | ||
|
|
||
| # Enable 32kHz crystal | ||
| CONFIG_CLOCK_CONTROL_NRF_K32SRC_XTAL=y | ||
| CONFIG_CLOCK_CONTROL_NRF_K32SRC_30PPM=y | ||
|
|
||
| CONFIG_ZMK_USB=y | ||
| CONFIG_ZMK_BLE=y | ||
|
|
||
| # enable display drivers | ||
| CONFIG_ZMK_DISPLAY=y |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -21,4 +21,3 @@ | |
| &default_transform { | ||
| col-offset = <7>; | ||
| }; | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
BOARD_EYELASH_SOFLE_LEFTis being defined here but the entry is missing a Kconfig type (e.g.,bool). The removedKconfig.boarddefined this as abool, and omitting the type can cause Kconfig parse errors or leave the symbol undefined. Add abool(optionally with a prompt) before theselectstatements.