#[Solved] Trying to build Prospector dongle but west build failed

1 messages · Page 1 of 1 (latest)

crimson crystal
#

https://github.com/kaihchang/zmk-simply-adept-dongle-combo/actions/runs/21989523439/job/63532495754#step:13:414

⁨⁨error: 'CONFIG_BT_MAX_PAIRED' undeclared here (not in a function) 19 | #define ZMK_BLE_PROFILE_COUNT CONFIG_BT_MAX_PAIRED | ^~~~~~~~~~~~~~~~~~~~ /tmp/zmk-config/zmk/app/include/zmk/ble.h:19:31: note: in definition of macro 'ZMK_BLE_PROFILE_COUNT' 19 | #define ZMK_BLE_PROFILE_COUNT CONFIG_BT_MAX_PAIRED | ^~~~~~~~~~~~~~~~~~~~⁩⁩

But ⁨CONFIG_BT_MAX_PAIRED⁩ is declared here in simply_adept.conf:
https://github.com/kaihchang/zmk-simply-adept-dongle-combo/blob/main/config/simply_adept.conf#L20

I'm super confused now 😅

worn totem
#

https://github.com/kaihchang/zmk-simply-adept-dongle-combo/actions/runs/21989523439/job/63532495754#step:13:70

warning: BT_MAX_PAIRED (defined at /tmp/zmk-config/zmk/app/src/split/bluetooth/Kconfig:93, /tmp/zmk-
config/zmk/app/src/split/bluetooth/Kconfig.defaults:19, /tmp/zmk-
config/zmk/app/src/split/bluetooth/Kconfig.defaults:32, subsys/bluetooth/host/Kconfig:762) was
assigned the value '6' but got the value ''. Check these unsatisfied dependencies:
((!ZMK_SPLIT_ROLE_CENTRAL && ZMK_SPLIT && ZMK_SPLIT_BLE) || (ZMK_SPLIT_ROLE_CENTRAL && ZMK_SPLIT_BLE
&& ZMK_BLE) || (!ZMK_SPLIT_BLE && ZMK_BLE) || (BT_CONN && BT_HCI_HOST && BT_HCI && BT)) (=n).
crimson crystal
crimson crystal
#

Found something interesting. My old push that built successfully few days ago failed as well when I hit re-build. I guess something has changed within the mods I use.

crimson crystal
lone pollen
#

You were building off zmk main, see #announcements message

crimson crystal
#

I'm using the correct board ID in build.yaml right...? nice_nano and xiao_ble?

crimson crystal
#

Can't build with nice_nano//zmk and xiao_ble//zmk as board ID in build.yaml as well.

flat ibex
#

for v0.3 is nice_nano_v2 and seeeduino_xiao_ble

crimson crystal
#

That said, I don't get why only the dongle build keeps failing, saying my ZMK_SPLIT_BLE_PERIPHERAL_COUNT is undeclared.

flat ibex
crimson crystal
flat ibex
#

with the zmk v3 you should not use this version of the dongle revision: feat/new-status-screens, this is for the main branch

#

the undefied node I think is because the driver for the screen st7789 is different from v3 to main

crimson crystal
flat ibex
#

Nice!

crimson crystal
#

Hey! I think they updated st7789v's driver for zephyr 4.1! I didn't change a thing and my zmkfirmware main version built successfully and is working now!