From fed66a92d000f4c8e0019d9ccdd167271324e8e9 Mon Sep 17 00:00:00 2001 From: Nicolas Munnich Date: Wed, 13 Nov 2024 15:08:37 +0100 Subject: fix(studio): Improved error message when keyboard is missing a physical layout. --- app/src/physical_layouts.c | 7 +++++-- 1 file 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 -- cgit v1.2.3