diff options
author | Nicolas Munnich <[email protected]> | 2024-11-13 15:08:37 +0100 |
---|---|---|
committer | Pete Johanson <[email protected]> | 2024-11-13 11:38:41 -0700 |
commit | fed66a92d000f4c8e0019d9ccdd167271324e8e9 (patch) | |
tree | ac528ff7813f462c3857ce7a494d7cc56fce316b /app/src | |
parent | 9d9f626938381350c6f91ef1577c1094611d72aa (diff) | |
download | zmk-fed66a92d000f4c8e0019d9ccdd167271324e8e9.tar.gz zmk-fed66a92d000f4c8e0019d9ccdd167271324e8e9.zip |
fix(studio): Improved error message when keyboard is missing a physical layout.
Diffstat (limited to 'app/src')
-rw-r--r-- | app/src/physical_layouts.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/app/src/physical_layouts.c b/app/src/physical_layouts.c index ceb3b15181..cb62ed850f 100644 --- a/app/src/physical_layouts.c +++ b/app/src/physical_layouts.c @@ -32,8 +32,11 @@ ZMK_EVENT_IMPL(zmk_physical_layout_selection_changed); BUILD_ASSERT( !IS_ENABLED(CONFIG_ZMK_STUDIO) || USE_PHY_LAYOUTS, - "ZMK Studio requires physical layouts with key positions, and no chosen zmk,matrix-transform. " - "See https://zmk.dev/docs/development/hardware-integration/studio-setup"); + "ISSUE FOUND: Keyboards require additional configuration to allow for firmware with ZMK " + "Studio enabled. You have attempted to build a keyboard lacking such configuration. Please see " + "https://zmk.dev/docs/features/studio#adding-zmk-studio-support-to-a-keyboard for " + "more information on how to resolve this error, or contact the maintainer of your keyboard's " + "firmware for assistance."); #if USE_PHY_LAYOUTS |