zmkfirmware / zmk

ZMK Firmware Repository
https://zmk.dev/
MIT License
2.75k stars 2.79k forks source link

One keyboard half fails to build #2213

Closed Eken-beep closed 7 months ago

Eken-beep commented 7 months ago

After a certain commit which only changed some keys around (and some time) the right half of my keyboard no longer builds with the error message below. I do use a custom shield but there should not be anything wrong with it because it worked previously back in November. Any help apreciated.

Run west build -s zmk/app -d "/tmp/tmp.jwYK4n3nFX" -b "nice_nano_v2" -- -DZMK_CONFIG=/__w/zmk-config/zmk-config/config -DSHIELD="tiny18_right" 
+ west build -s zmk/app -d /tmp/tmp.jwYK4n3nFX -b nice_nano_v2 -- -DZMK_CONFIG=/__w/zmk-config/zmk-config/config -DSHIELD=tiny18_right
-- west build: generating a build system
Loading Zephyr default modules (Zephyr base).
-- Application: /__w/zmk-config/zmk-config/zmk/app
-- CMake version: 3.28.1
-- Found Python3: /usr/bin/python3 (found suitable version "3.8.10", minimum required is "3.8") found components: Interpreter 
-- Cache files will be written to: /__w/zmk-config/zmk-config/zephyr/.cache
-- Zephyr version: 3.5.0 (/__w/zmk-config/zmk-config/zephyr)
-- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
-- Adding ZMK config directory as board root: /__w/zmk-config/zmk-config/config
-- Adding /__w/zmk-config/zmk-config/config/boards/shields/tiny18
-- ZMK Config directory: /__w/zmk-config/zmk-config/config
-- ZMK Config Kconfig: /__w/zmk-config/zmk-config/config/tiny18.conf
-- Using keymap file: /__w/zmk-config/zmk-config/config/boards/shields/tiny18/tiny18.keymap
-- Board: nice_nano_v2
-- Shield(s): tiny18_right
-- ZEPHYR_TOOLCHAIN_VARIANT not set, trying to locate Zephyr SDK
-- Found host-tools: zephyr 0.16.3 (/opt/zephyr-sdk-0.16.3)
-- Found toolchain: zephyr 0.16.3 (/opt/zephyr-sdk-0.16.3)
-- Found Dtc: /opt/zephyr-sdk-0.16.3/sysroots/x86_64-pokysdk-linux/usr/bin/dtc (found suitable version "1.6.0", minimum required is "1.4.6") 
-- Found BOARD.dts: /__w/zmk-config/zmk-config/zmk/app/boards/arm/nice_nano/nice_nano_v2.dts
-- Found devicetree overlay: /__w/zmk-config/zmk-config/config/boards/shields/tiny18/tiny18_right.overlay
-- Found devicetree overlay: /__w/zmk-config/zmk-config/config/boards/shields/tiny18/tiny18.keymap
'label' is marked as deprecated in 'properties:' in /__w/zmk-config/zmk-config/zmk/app/module/dts/bindings/kscan/zmk,kscan-gpio-direct.yaml for node /kscan.
'label' is marked as deprecated in 'properties:' in /__w/zmk-config/zmk-config/zmk/app/dts/bindings/behaviors/zmk,behavior-hold-tap.yaml for node /behaviors/left_shift_space.
'label' is marked as deprecated in 'properties:' in /__w/zmk-config/zmk-config/zmk/app/dts/bindings/behaviors/zmk,behavior-hold-tap.yaml for node /behaviors/thumb-layer.
-- Generated zephyr.dts: /tmp/tmp.jwYK4n3nFX/zephyr/zephyr.dts
-- Generated devicetree_generated.h: /tmp/tmp.jwYK4n3nFX/zephyr/include/generated/devicetree_generated.h
-- Including generated dts.cmake file: /tmp/tmp.jwYK4n3nFX/zephyr/dts.cmake
/tmp/tmp.jwYK4n3nFX/zephyr/zephyr.dts:55.25-60.5: Warning (unique_unit_address_if_enabled): /soc/clock@40000000: duplicate unit-address (also used in node /soc/power@40000000)
/tmp/tmp.jwYK4n3nFX/zephyr/zephyr.dts:326.21-330.5: Warning (unique_unit_address_if_enabled): /soc/acl@4001e000: duplicate unit-address (also used in node /soc/flash-controller@4001e000)

warning: Deprecated symbol NRF_STORE_REBOOT_TYPE_GPREGRET is enabled.

Parsing /__w/zmk-config/zmk-config/zmk/app/Kconfig
Loaded configuration '/__w/zmk-config/zmk-config/zmk/app/boards/arm/nice_nano/nice_nano_v2_defconfig'
Merged configuration '/__w/zmk-config/zmk-config/zmk/app/prj.conf'
Merged configuration '/__w/zmk-config/zmk-config/config/tiny18.conf'
Configuration saved to '/tmp/tmp.jwYK4n3nFX/zephyr/.config'
Kconfig header saved to '/tmp/tmp.jwYK4n3nFX/zephyr/include/generated/autoconf.h'
-- Found GnuLd: /opt/zephyr-sdk-0.16.3/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd (found version "2.38") 
-- The C compiler identification is GNU 12.2.0
-- The CXX compiler identification is GNU 12.2.0
-- The ASM compiler identification is GNU
-- Found assembler: /opt/zephyr-sdk-0.16.3/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc
-- Configuring done (3.3s)
-- Generating done (0.1s)
-- Build files have been written to: /tmp/tmp.jwYK4n3nFX
-- west build: building application
[1/281] Preparing syscall dependency handling

[2/281] Generating include/generated/version.h
-- Zephyr version: 3.5.0 (/__w/zmk-config/zmk-config/zephyr), build: 4d0f9750f4d0
[3/281] Generating misc/generated/syscalls_subdirs.trigger
[4/281] Generating misc/generated/syscalls.json, misc/generated/struct_tags.json
[5/281] Generating include/generated/kobj-types-enum.h, include/generated/otype-to-str.h, include/generated/otype-to-size.h
[6/281] Generating include/generated/syscall_dispatch.c, include/generated/syscall_list.h
[7/281] Generating include/generated/driver-validation.h
[8/281] Building C object zephyr/CMakeFiles/offsets.dir/arch/arm/core/offsets/offsets.c.obj
[9/281] Generating include/generated/offsets.h
[10/281] Building C object CMakeFiles/app.dir/src/stdlib.c.obj
[11/281] Building C object CMakeFiles/app.dir/src/matrix_transform.c.obj
[12/281] Building C object CMakeFiles/app.dir/src/sensors.c.obj
[13/281] Building C object CMakeFiles/app.dir/src/behavior.c.obj
[14/281] Building C object CMakeFiles/app.dir/src/kscan.c.obj
[15/281] Building C object CMakeFiles/app.dir/src/activity.c.obj
[16/281] Building C object CMakeFiles/app.dir/src/event_manager.c.obj
[17/281] Building C object CMakeFiles/app.dir/src/events/activity_state_changed.c.obj
[18/281] Building C object CMakeFiles/app.dir/src/events/sensor_event.c.obj
[19/281] Building C object CMakeFiles/app.dir/src/events/position_state_changed.c.obj
[20/281] Building C object CMakeFiles/app.dir/src/events/mouse_button_state_changed.c.obj
[21/281] Building C object CMakeFiles/app.dir/src/ext_power_generic.c.obj
[22/281] Building C object CMakeFiles/app.dir/src/events/usb_conn_state_changed.c.obj
[23/281] Building C object CMakeFiles/app.dir/src/behaviors/behavior_reset.c.obj
[24/281] Building C object CMakeFiles/app.dir/src/events/battery_state_changed.c.obj
[25/281] Building C object CMakeFiles/app.dir/src/behaviors/behavior_ext_power.c.obj
[26/281] Building C object CMakeFiles/app.dir/src/events/split_peripheral_status_changed.c.obj
[27/281] Building C object CMakeFiles/app.dir/src/battery.c.obj
[28/281] Building C object CMakeFiles/app.dir/src/split/bluetooth/service.c.obj
[29/281] Building C object CMakeFiles/app.dir/src/usb.c.obj
[30/281] Building C object CMakeFiles/app.dir/src/split/bluetooth/split_listener.c.obj
[31/281] Building C object CMakeFiles/app.dir/src/workqueue.c.obj
[32/281] Building C object CMakeFiles/app.dir/src/split/bluetooth/peripheral.c.obj
[33/281] Building C object zephyr/CMakeFiles/zephyr.dir/lib/crc/crc32_sw.c.obj
[34/281] Building C object CMakeFiles/app.dir/src/usb_hid.c.obj
[35/281] Building C object CMakeFiles/app.dir/src/main.c.obj
[36/281] Building C object zephyr/CMakeFiles/zephyr.dir/lib/crc/crc32c_sw.c.obj
[37/281] Building C object zephyr/CMakeFiles/zephyr.dir/lib/crc/crc8_sw.c.obj
[38/281] Building C object zephyr/CMakeFiles/zephyr.dir/lib/crc/crc16_sw.c.obj
[39/281] Building C object zephyr/CMakeFiles/zephyr.dir/lib/crc/crc4_sw.c.obj
[40/281] Building C object zephyr/CMakeFiles/zephyr.dir/lib/crc/crc7_sw.c.obj
[41/281] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/hex.c.obj
[42/281] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/dec.c.obj
[43/281] Building C object CMakeFiles/app.dir/src/settings/reset_settings_nvs.c.obj
[44/281] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/printk.c.obj
[45/281] Linking C static library app/libapp.a
[46/281] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/sem.c.obj
[47/281] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_packaged.c.obj
[48/281] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/timeutil.c.obj
[49/281] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/thread_entry.c.obj
[50/281] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/multi_heap.c.obj
[51/281] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/rb.c.obj
[52/281] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/heap.c.obj
[53/281] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/heap-validate.c.obj
[54/281] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/bitarray.c.obj
[55/281] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/onoff.c.obj
[56/281] Building C object zephyr/CMakeFiles/zephyr.dir/misc/generated/configs.c.obj
[57/281] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/notify.c.obj
[58/281] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/assert.c.obj
[59/281] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_nano.c.obj
[60/281] Building ASM object zephyr/CMakeFiles/zephyr.dir/soc/arm/nordic_nrf/common/soc_nrf_common.S.obj
[61/281] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/reboot.c.obj
[62/281] Building C object zephyr/CMakeFiles/zephyr.dir/soc/arm/nordic_nrf/validate_enabled_instances.c.obj
[63/281] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/storage/flash_map/flash_map.c.obj
[64/281] Building C object zephyr/CMakeFiles/zephyr.dir/soc/arm/nordic_nrf/validate_base_addresses.c.obj
[65/281] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/mem_mgmt/mem_attr.c.obj
[66/281] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/tracing/tracing_none.c.obj
[67/281] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/storage/flash_map/flash_map_default.c.obj
[68/281] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/storage/flash_map/flash_map_layout.c.obj
[69/281] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/bluetooth/services/dis.c.obj
[70/281] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/net/lib/utils/addr_utils.c.obj
[71/281] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/usb/device/usb_transfer.c.obj
[72/281] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/bluetooth/services/bas.c.obj
[73/281] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/fs/nvs/nvs.c.obj
[74/281] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/settings/src/settings_init.c.obj
[75/281] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/settings/src/settings_store.c.obj
[76/281] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/usb/device/usb_descriptor.c.obj
[77/281] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/settings/src/settings.c.obj
[78/281] Building C object zephyr/CMakeFiles/zephyr.dir/__w/zmk-config/zmk-config/modules/crypto/tinycrypt/lib/source/utils.c.obj
[79/281] Building C object zephyr/CMakeFiles/zephyr.dir/__w/zmk-config/zmk-config/modules/crypto/tinycrypt/lib/source/ecc_dh.c.obj
[80/281] Building C object zephyr/CMakeFiles/zephyr.dir/__w/zmk-config/zmk-config/modules/crypto/tinycrypt/lib/source/aes_encrypt.c.obj
[81/281] Building C object zephyr/CMakeFiles/zephyr.dir/__w/zmk-config/zmk-config/modules/crypto/tinycrypt/lib/source/aes_decrypt.c.obj
[82/281] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/settings/src/settings_line.c.obj
[83/281] Building C object zephyr/CMakeFiles/zephyr.dir/__w/zmk-config/zmk-config/modules/crypto/tinycrypt/lib/source/cmac_mode.c.obj
[84/281] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/settings/src/settings_nvs.c.obj
[85/281] Building ASM object zephyr/arch/arch/arm/core/CMakeFiles/arch__arm__core.dir/nmi_on_reset.S.obj
[86/281] Building C object zephyr/CMakeFiles/zephyr.dir/__w/zmk-config/zmk-config/modules/crypto/tinycrypt/lib/source/ecc.c.obj
[87/281] Building C object zephyr/arch/common/CMakeFiles/isr_tables.dir/isr_tables.c.obj
[88/281] Linking C static library zephyr/arch/common/libisr_tables.a
[89/281] Building C object zephyr/arch/common/CMakeFiles/arch__common.dir/sw_isr_common.c.obj
[90/281] Building C object zephyr/arch/arch/arm/core/CMakeFiles/arch__arm__core.dir/fatal.c.obj
[91/281] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/usb/device/usb_device.c.obj
[92/281] Linking C static library zephyr/arch/common/libarch__common.a
[93/281] Building C object zephyr/arch/arch/arm/core/CMakeFiles/arch__arm__core.dir/nmi.c.obj
[94/281] Building ASM object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/fault_s.S.obj
[95/281] Linking C static library zephyr/libzephyr.a
[96/281] Generating linker_zephyr_pre0.cmd
[97/281] Building C object zephyr/arch/arch/arm/core/CMakeFiles/arch__arm__core.dir/tls.c.obj
[98/281] Building ASM object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/exc_exit.S.obj
[99/281] Linking C static library zephyr/arch/arch/arm/core/libarch__arm__core.a
[100/281] Building C object zephyr/CMakeFiles/zephyr_pre0.dir/misc/empty_file.c.obj
[101/281] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/irq_init.c.obj
[102/281] Building ASM object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/reset.S.obj
[103/281] Building C object zephyr/subsys/bluetooth/controller/CMakeFiles/subsys__bluetooth__controller.dir/ll_sw/nordic/lll/lll_conn.c.obj
[104/281] Building ASM object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/vector_table.S.obj
[105/281] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/fpu.c.obj
[106/281] Building C object zephyr/subsys/bluetooth/controller/CMakeFiles/subsys__bluetooth__controller.dir/ll_sw/nordic/lll/lll_adv.c.obj
[107/281] Building ASM object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/swap_helper.S.obj
[108/281] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/scb.c.obj
[109/281] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/thread_abort.c.obj
[110/281] Building ASM object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/cpu_idle.S.obj
[111/281] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/fault.c.obj
[112/281] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/irq_manage.c.obj
[113/281] Building ASM object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/__aeabi_read_tp.S.obj
[114/281] Building ASM object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/isr_wrapper.S.obj
[115/281] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/swap.c.obj
[116/281] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/thread.c.obj
[117/281] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/prep_c.c.obj
[118/281] Linking C static library zephyr/arch/arch/arm/core/cortex_m/libarch__arm__core__cortex_m.a
[119/281] Building C object zephyr/arch/arch/arm/core/mpu/CMakeFiles/arch__arm__core__mpu.dir/arm_core_mpu.c.obj
[120/281] Building C object zephyr/lib/libc/common/CMakeFiles/lib__libc__common.dir/source/stdlib/abort.c.obj
[121/281] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/libc-hooks.c.obj
[122/281] Building C object zephyr/arch/arch/arm/core/mpu/CMakeFiles/arch__arm__core__mpu.dir/arm_mpu.c.obj
[123/281] Linking C static library zephyr/lib/libc/picolibc/liblib__libc__picolibc.a
[124/281] Linking C static library zephyr/arch/arch/arm/core/mpu/libarch__arm__core__mpu.a
[125/281] Building C object zephyr/lib/libc/common/CMakeFiles/lib__libc__common.dir/source/stdlib/malloc.c.obj
[126/281] Linking C static library zephyr/lib/libc/common/liblib__libc__common.a
[127/281] Building C object zephyr/soc/soc/arm/common/cortex_m/CMakeFiles/soc__arm__common__cortex_m.dir/arm_mpu_regions.c.obj
[128/281] Linking C static library zephyr/soc/soc/arm/common/cortex_m/libsoc__arm__common__cortex_m.a
[129/281] Building C object zephyr/subsys/bluetooth/common/CMakeFiles/subsys__bluetooth__common.dir/addr.c.obj
[130/281] Building C object zephyr/subsys/random/CMakeFiles/subsys__random.dir/rand32_xoshiro128.c.obj
[131/281] Building C object zephyr/soc/soc/arm/nordic_nrf/nrf52/CMakeFiles/soc__arm__nordic_nrf__nrf52.dir/soc.c.obj
[132/281] Linking C static library zephyr/soc/soc/arm/nordic_nrf/nrf52/libsoc__arm__nordic_nrf__nrf52.a
[133/281] Building C object zephyr/subsys/bluetooth/common/CMakeFiles/subsys__bluetooth__common.dir/dummy.c.obj
[134/281] Building C object zephyr/subsys/random/CMakeFiles/subsys__random.dir/rand32_entropy_device.c.obj
[135/281] Linking C static library zephyr/subsys/random/libsubsys__random.a
[136/281] Building C object zephyr/subsys/bluetooth/common/CMakeFiles/subsys__bluetooth__common.dir/bt_str.c.obj
[137/281] Building C object zephyr/subsys/bluetooth/common/CMakeFiles/subsys__bluetooth__common.dir/rpa.c.obj
[138/281] Linking C static library zephyr/subsys/bluetooth/common/libsubsys__bluetooth__common.a
[139/281] Building C object zephyr/subsys/bluetooth/host/CMakeFiles/subsys__bluetooth__host.dir/addr.c.obj
[140/281] Building C object zephyr/subsys/bluetooth/host/CMakeFiles/subsys__bluetooth__host.dir/uuid.c.obj
[141/281] Building C object zephyr/subsys/bluetooth/host/CMakeFiles/subsys__bluetooth__host.dir/long_wq.c.obj
[142/281] Building C object zephyr/subsys/bluetooth/host/CMakeFiles/subsys__bluetooth__host.dir/hci_ecc.c.obj
[143/281] Building C object zephyr/subsys/bluetooth/host/CMakeFiles/subsys__bluetooth__host.dir/settings.c.obj
[144/281] Building C object zephyr/subsys/bluetooth/host/CMakeFiles/subsys__bluetooth__host.dir/buf.c.obj
[145/281] Building C object zephyr/subsys/bluetooth/host/CMakeFiles/subsys__bluetooth__host.dir/hci_common.c.obj
[146/281] Building C object zephyr/subsys/bluetooth/host/CMakeFiles/subsys__bluetooth__host.dir/data.c.obj
[147/281] Building C object zephyr/subsys/bluetooth/host/CMakeFiles/subsys__bluetooth__host.dir/ecc.c.obj
[148/281] Building C object zephyr/subsys/bluetooth/host/CMakeFiles/subsys__bluetooth__host.dir/adv.c.obj
[149/281] Building C object zephyr/subsys/bluetooth/host/CMakeFiles/subsys__bluetooth__host.dir/l2cap.c.obj
[150/281] Building C object zephyr/subsys/bluetooth/host/CMakeFiles/subsys__bluetooth__host.dir/id.c.obj
[151/281] Building C object zephyr/subsys/bluetooth/host/CMakeFiles/subsys__bluetooth__host.dir/keys.c.obj
[152/281] Building C object zephyr/subsys/bluetooth/host/CMakeFiles/subsys__bluetooth__host.dir/conn.c.obj
[153/281] Building C object zephyr/subsys/bluetooth/controller/CMakeFiles/subsys__bluetooth__controller.dir/util/mem.c.obj
[154/281] Building C object zephyr/subsys/bluetooth/controller/CMakeFiles/subsys__bluetooth__controller.dir/util/dbuf.c.obj
[155/281] Building C object zephyr/subsys/bluetooth/controller/CMakeFiles/subsys__bluetooth__controller.dir/util/memq.c.obj
[156/281] Building C object zephyr/subsys/bluetooth/host/CMakeFiles/subsys__bluetooth__host.dir/hci_core.c.obj
[157/281] Building C object zephyr/subsys/bluetooth/crypto/CMakeFiles/subsys__bluetooth__crypto.dir/bt_crypto.c.obj
[158/281] Linking C static library zephyr/subsys/bluetooth/crypto/libsubsys__bluetooth__crypto.a
[159/281] Building C object zephyr/subsys/bluetooth/controller/CMakeFiles/subsys__bluetooth__controller.dir/util/util.c.obj
[160/281] Building C object zephyr/subsys/bluetooth/controller/CMakeFiles/subsys__bluetooth__controller.dir/util/mayfly.c.obj
[161/281] Building C object zephyr/subsys/bluetooth/host/CMakeFiles/subsys__bluetooth__host.dir/smp.c.obj
[162/281] Building C object zephyr/subsys/bluetooth/host/CMakeFiles/subsys__bluetooth__host.dir/att.c.obj
[163/281] Building C object zephyr/subsys/bluetooth/host/CMakeFiles/subsys__bluetooth__host.dir/gatt.c.obj
[164/281] Building C object zephyr/subsys/bluetooth/controller/CMakeFiles/subsys__bluetooth__controller.dir/ll_sw/ll_feat.c.obj
[165/281] Linking C static library zephyr/subsys/bluetooth/host/libsubsys__bluetooth__host.a
[166/281] Building C object zephyr/subsys/bluetooth/controller/CMakeFiles/subsys__bluetooth__controller.dir/ll_sw/ll_tx_pwr.c.obj
[167/281] Building C object zephyr/subsys/bluetooth/controller/CMakeFiles/subsys__bluetooth__controller.dir/ll_sw/ll_addr.c.obj
[168/281] Building C object zephyr/subsys/bluetooth/controller/CMakeFiles/subsys__bluetooth__controller.dir/ll_sw/lll_common.c.obj
[169/281] Building C object zephyr/subsys/bluetooth/controller/CMakeFiles/subsys__bluetooth__controller.dir/ticker/ticker.c.obj
[170/281] Building C object zephyr/subsys/bluetooth/controller/CMakeFiles/subsys__bluetooth__controller.dir/hci/hci_driver.c.obj
[171/281] Building C object zephyr/subsys/bluetooth/controller/CMakeFiles/subsys__bluetooth__controller.dir/ll_sw/ull.c.obj
[172/281] Building C object zephyr/subsys/bluetooth/controller/CMakeFiles/subsys__bluetooth__controller.dir/ll_sw/ull_adv.c.obj
[173/281] Building C object zephyr/subsys/bluetooth/controller/CMakeFiles/subsys__bluetooth__controller.dir/ll_sw/ull_tx_queue.c.obj
[174/281] Building C object zephyr/subsys/bluetooth/controller/CMakeFiles/subsys__bluetooth__controller.dir/ll_sw/ull_llcp_enc.c.obj
[175/281] Building C object zephyr/subsys/bluetooth/controller/CMakeFiles/subsys__bluetooth__controller.dir/ll_sw/ull_llcp_phy.c.obj
[176/281] Building C object zephyr/subsys/bluetooth/controller/CMakeFiles/subsys__bluetooth__controller.dir/hci/hci.c.obj
[177/281] Building C object zephyr/subsys/bluetooth/controller/CMakeFiles/subsys__bluetooth__controller.dir/ll_sw/ull_conn.c.obj
[178/281] Building C object zephyr/subsys/bluetooth/controller/CMakeFiles/subsys__bluetooth__controller.dir/ll_sw/ull_llcp_common.c.obj
[179/281] Building C object zephyr/subsys/bluetooth/controller/CMakeFiles/subsys__bluetooth__controller.dir/ll_sw/ull_llcp_local.c.obj
[180/281] Building C object zephyr/subsys/bluetooth/controller/CMakeFiles/subsys__bluetooth__controller.dir/ll_sw/ull_llcp_pdu.c.obj
[181/281] Building C object zephyr/subsys/bluetooth/controller/CMakeFiles/subsys__bluetooth__controller.dir/ll_sw/ull_llcp.c.obj
[182/281] Building C object zephyr/subsys/bluetooth/controller/CMakeFiles/subsys__bluetooth__controller.dir/ll_sw/ull_chan.c.obj
[183/281] Building C object zephyr/subsys/bluetooth/controller/CMakeFiles/subsys__bluetooth__controller.dir/ll_sw/ull_llcp_chmu.c.obj
[184/281] Building C object zephyr/subsys/bluetooth/controller/CMakeFiles/subsys__bluetooth__controller.dir/ll_sw/ull_llcp_conn_upd.c.obj
[185/281] Building C object zephyr/subsys/bluetooth/controller/CMakeFiles/subsys__bluetooth__controller.dir/ll_sw/ull_llcp_remote.c.obj
[186/281] Building C object zephyr/subsys/bluetooth/controller/CMakeFiles/subsys__bluetooth__controller.dir/ll_sw/lll_chan.c.obj
[187/281] Building C object zephyr/subsys/bluetooth/controller/CMakeFiles/subsys__bluetooth__controller.dir/ll_sw/ull_peripheral.c.obj
[188/281] Building C object zephyr/subsys/bluetooth/controller/CMakeFiles/subsys__bluetooth__controller.dir/ll_sw/nordic/lll/lll_clock.c.obj
[189/281] Building C object zephyr/subsys/bluetooth/controller/CMakeFiles/subsys__bluetooth__controller.dir/crypto/crypto.c.obj
[190/281] Building C object zephyr/subsys/bluetooth/controller/CMakeFiles/subsys__bluetooth__controller.dir/flash/soc_flash_nrf_ticker.c.obj
[191/281] Building C object zephyr/subsys/bluetooth/controller/CMakeFiles/subsys__bluetooth__controller.dir/ll_sw/nordic/lll/lll_peripheral.c.obj
[192/281] Building C object zephyr/subsys/bluetooth/controller/CMakeFiles/subsys__bluetooth__controller.dir/ll_sw/nordic/hal/nrf5/ecb.c.obj
[193/281] Building C object zephyr/subsys/bluetooth/controller/CMakeFiles/subsys__bluetooth__controller.dir/ll_sw/ull_filter.c.obj
[194/281] Building C object zephyr/subsys/bluetooth/controller/CMakeFiles/subsys__bluetooth__controller.dir/ll_sw/nordic/lll/lll.c.obj
[195/281] Building C object zephyr/subsys/bluetooth/controller/CMakeFiles/subsys__bluetooth__controller.dir/ll_sw/nordic/hal/nrf5/cntr.c.obj
[196/281] Building C object zephyr/subsys/bluetooth/controller/CMakeFiles/subsys__bluetooth__controller.dir/ll_sw/nordic/hal/nrf5/mayfly.c.obj
[197/281] Building C object zephyr/subsys/bluetooth/controller/CMakeFiles/subsys__bluetooth__controller.dir/ll_sw/nordic/hal/nrf5/radio/radio.c.obj
[198/281] Building C object zephyr/subsys/bluetooth/controller/CMakeFiles/subsys__bluetooth__controller.dir/ll_sw/nordic/hal/nrf5/ticker.c.obj
[199/281] Building C object zephyr/subsys/bluetooth/controller/CMakeFiles/subsys__bluetooth__controller.dir/hci/nordic/hci_vendor.c.obj
[200/281] Building C object zephyr/subsys/net/CMakeFiles/subsys__net.dir/buf.c.obj
[201/281] Building C object zephyr/subsys/net/CMakeFiles/subsys__net.dir/buf_simple.c.obj
[202/281] Linking C static library zephyr/subsys/bluetooth/controller/libsubsys__bluetooth__controller.a
[203/281] Building C object zephyr/drivers/adc/CMakeFiles/drivers__adc.dir/adc_common.c.obj
[204/281] Linking C static library zephyr/subsys/net/libsubsys__net.a
[205/281] Building C object zephyr/drivers/entropy/CMakeFiles/drivers__entropy.dir/entropy_nrf5.c.obj
[206/281] Building C object zephyr/drivers/entropy/CMakeFiles/drivers__entropy.dir/entropy_bt_hci.c.obj
[207/281] Building C object zephyr/drivers/clock_control/CMakeFiles/drivers__clock_control.dir/clock_control_nrf.c.obj
[208/281] Linking C static library zephyr/drivers/entropy/libdrivers__entropy.a
[209/281] Linking C static library zephyr/drivers/clock_control/libdrivers__clock_control.a
[210/281] Building C object zephyr/drivers/adc/CMakeFiles/drivers__adc.dir/adc_nrfx_saadc.c.obj
[211/281] Linking C static library zephyr/drivers/adc/libdrivers__adc.a
[212/281] Building C object zephyr/drivers/flash/CMakeFiles/drivers__flash.dir/flash_page_layout.c.obj
[213/281] Building C object zephyr/drivers/flash/CMakeFiles/drivers__flash.dir/soc_flash_nrf.c.obj
[214/281] Building C object zephyr/drivers/hwinfo/CMakeFiles/drivers__hwinfo.dir/hwinfo_weak_impl.c.obj
[215/281] Linking C static library zephyr/drivers/flash/libdrivers__flash.a
[216/281] Building C object zephyr/drivers/kscan/CMakeFiles/drivers__kscan.dir/__w/zmk-config/zmk-config/zmk/app/module/drivers/kscan/kscan_gpio.c.obj
[217/281] Building C object zephyr/drivers/pinctrl/CMakeFiles/drivers__pinctrl.dir/common.c.obj
[218/281] Building C object zephyr/drivers/usb/device/CMakeFiles/drivers__usb__device.dir/usb_dc_nrfx.c.obj
[219/281] Linking C static library zephyr/drivers/usb/device/libdrivers__usb__device.a
[220/281] Building C object zephyr/drivers/kscan/CMakeFiles/drivers__kscan.dir/__w/zmk-config/zmk-config/zmk/app/module/drivers/kscan/kscan_gpio_direct.c.obj
[221/281] Linking C static library zephyr/drivers/kscan/libdrivers__kscan.a
[222/281] Building C object zephyr/drivers/sensor/nrf5/CMakeFiles/drivers__sensor__nrf5.dir/temp_nrf5.c.obj
[223/281] Building C object zephyr/drivers/hwinfo/CMakeFiles/drivers__hwinfo.dir/hwinfo_nrf.c.obj
[224/281] Building C object zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_nrfx.c.obj
[225/281] Building C object zephyr/drivers/pinctrl/CMakeFiles/drivers__pinctrl.dir/pinctrl_nrf.c.obj
[226/281] Linking C static library zephyr/drivers/hwinfo/libdrivers__hwinfo.a
[227/281] Linking C static library zephyr/drivers/sensor/nrf5/libdrivers__sensor__nrf5.a
[228/281] Linking C static library zephyr/drivers/gpio/libdrivers__gpio.a
[229/281] Linking C static library zephyr/drivers/pinctrl/libdrivers__pinctrl.a
[230/281] Building C object zephyr/drivers/timer/CMakeFiles/drivers__timer.dir/sys_clock_init.c.obj
[231/281] Building C object modules/hal_nordic/nrfx/CMakeFiles/modules__hal_nordic__nrfx.dir/__w/zmk-config/zmk-config/modules/hal/nordic/nrfx/mdk/system_nrf52840.c.obj
[232/281] Building C object modules/hal_nordic/nrfx/CMakeFiles/modules__hal_nordic__nrfx.dir/__w/zmk-config/zmk-config/modules/hal/nordic/nrfx/helpers/nrfx_flag32_allocator.c.obj
[233/281] Building C object modules/hal_nordic/nrfx/CMakeFiles/modules__hal_nordic__nrfx.dir/nrfx_glue.c.obj
[234/281] Building C object zephyr/drivers/timer/CMakeFiles/drivers__timer.dir/nrf_rtc_timer.c.obj
[235/281] Linking C static library zephyr/drivers/timer/libdrivers__timer.a
[236/281] Building C object modules/hal_nordic/nrfx/CMakeFiles/modules__hal_nordic__nrfx.dir/__w/zmk-config/zmk-config/modules/hal/nordic/nrfx/drivers/src/nrfx_power.c.obj
[237/281] Building C object modules/hal_nordic/nrfx/CMakeFiles/modules__hal_nordic__nrfx.dir/__w/zmk-config/zmk-config/modules/hal/nordic/nrfx/drivers/src/nrfx_nvmc.c.obj
[238/281] Building C object modules/hal_nordic/nrfx/CMakeFiles/modules__hal_nordic__nrfx.dir/__w/zmk-config/zmk-config/modules/hal/nordic/nrfx/drivers/src/nrfx_clock.c.obj
[239/281] Building C object modules/module/lib/zmk_debounce/CMakeFiles/..__zmk__app__module__lib__zmk_debounce.dir/debounce.c.obj
[240/281] Building C object modules/module/drivers/sensor/battery/CMakeFiles/..__zmk__app__module__drivers__sensor__battery.dir/battery_common.c.obj
[241/281] Linking C static library modules/module/lib/zmk_debounce/lib..__zmk__app__module__lib__zmk_debounce.a
[242/281] Building C object zephyr/kernel/CMakeFiles/kernel.dir/main_weak.c.obj
[243/281] Building C object zephyr/kernel/CMakeFiles/kernel.dir/busy_wait.c.obj
[244/281] Building C object zephyr/kernel/CMakeFiles/kernel.dir/banner.c.obj
[245/281] Building C object zephyr/kernel/CMakeFiles/kernel.dir/device.c.obj
[246/281] Building C object modules/module/drivers/sensor/battery/CMakeFiles/..__zmk__app__module__drivers__sensor__battery.dir/battery_nrf_vddh.c.obj
[247/281] Linking C static library modules/module/drivers/sensor/battery/lib..__zmk__app__module__drivers__sensor__battery.a
[248/281] Building C object zephyr/kernel/CMakeFiles/kernel.dir/errno.c.obj
[249/281] Building C object zephyr/kernel/CMakeFiles/kernel.dir/init.c.obj
[250/281] Building C object zephyr/kernel/CMakeFiles/kernel.dir/mem_slab.c.obj
[251/281] Building C object zephyr/kernel/CMakeFiles/kernel.dir/kheap.c.obj
[252/281] Building C object zephyr/kernel/CMakeFiles/kernel.dir/fatal.c.obj
[253/281] Building C object zephyr/kernel/CMakeFiles/kernel.dir/version.c.obj
[254/281] Building C object modules/hal_nordic/nrfx/CMakeFiles/modules__hal_nordic__nrfx.dir/__w/zmk-config/zmk-config/modules/hal/nordic/nrfx/drivers/src/nrfx_gpiote.c.obj
[255/281] Building C object modules/hal_nordic/nrfx/CMakeFiles/modules__hal_nordic__nrfx.dir/__w/zmk-config/zmk-config/modules/hal/nordic/nrfx/drivers/src/nrfx_usbd.c.obj
[256/281] Linking C static library modules/hal_nordic/nrfx/libmodules__hal_nordic__nrfx.a
[257/281] Building C object zephyr/kernel/CMakeFiles/kernel.dir/idle.c.obj
[258/281] Building C object zephyr/kernel/CMakeFiles/kernel.dir/msg_q.c.obj
[259/281] Building C object zephyr/kernel/CMakeFiles/kernel.dir/thread.c.obj
[260/281] Building C object zephyr/kernel/CMakeFiles/kernel.dir/mailbox.c.obj
[261/281] Building C object zephyr/kernel/CMakeFiles/kernel.dir/queue.c.obj
[262/281] Building C object zephyr/kernel/CMakeFiles/kernel.dir/sem.c.obj
[263/281] Building C object zephyr/kernel/CMakeFiles/kernel.dir/stack.c.obj
[264/281] Building C object zephyr/kernel/CMakeFiles/kernel.dir/mutex.c.obj
[265/281] Building C object zephyr/kernel/CMakeFiles/kernel.dir/system_work_q.c.obj
[266/281] Building C object zephyr/kernel/CMakeFiles/kernel.dir/condvar.c.obj
[267/281] Building C object zephyr/kernel/CMakeFiles/kernel.dir/xip.c.obj
[268/281] Building C object zephyr/kernel/CMakeFiles/kernel.dir/work.c.obj
[269/281] Building C object zephyr/kernel/CMakeFiles/kernel.dir/timer.c.obj
[270/281] Building C object zephyr/kernel/CMakeFiles/kernel.dir/timeout.c.obj
[271/281] Building C object zephyr/kernel/CMakeFiles/kernel.dir/sched.c.obj
[272/281] Building C object zephyr/kernel/CMakeFiles/kernel.dir/mempool.c.obj
[273/281] Building C object zephyr/kernel/CMakeFiles/kernel.dir/dynamic_disabled.c.obj
[274/281] Building C object zephyr/kernel/CMakeFiles/kernel.dir/poll.c.obj
[275/281] Linking C static library zephyr/kernel/libkernel.a
[276/281] Linking C executable zephyr/zephyr_pre0.elf
FAILED: zephyr/zephyr_pre0.elf zephyr/zephyr_pre0.map /tmp/tmp.jwYK4n3nFX/zephyr/zephyr_pre0.map 
: && ccache /opt/zephyr-sdk-0.16.3/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc  -gdwarf-4 zephyr/CMakeFiles/zephyr_pre0.dir/misc/empty_file.c.obj -o zephyr/zephyr_pre0.elf  zephyr/CMakeFiles/offsets.dir/./arch/arm/core/offsets/offsets.c.obj  -fuse-ld=bfd  -T  zephyr/linker_zephyr_pre0.cmd  -Wl,-Map=/tmp/tmp.jwYK4n3nFX/zephyr/zephyr_pre0.map  -Wl,--whole-archive  app/libapp.a  zephyr/libzephyr.a  zephyr/arch/common/libarch__common.a  zephyr/arch/arch/arm/core/libarch__arm__core.a  zephyr/arch/arch/arm/core/cortex_m/libarch__arm__core__cortex_m.a  zephyr/arch/arch/arm/core/mpu/libarch__arm__core__mpu.a  zephyr/lib/libc/picolibc/liblib__libc__picolibc.a  zephyr/lib/libc/common/liblib__libc__common.a  zephyr/soc/soc/arm/common/cortex_m/libsoc__arm__common__cortex_m.a  zephyr/soc/soc/arm/nordic_nrf/nrf52/libsoc__arm__nordic_nrf__nrf52.a  zephyr/subsys/random/libsubsys__random.a  zephyr/subsys/bluetooth/common/libsubsys__bluetooth__common.a  zephyr/subsys/bluetooth/host/libsubsys__bluetooth__host.a  zephyr/subsys/bluetooth/crypto/libsubsys__bluetooth__crypto.a  zephyr/subsys/bluetooth/controller/libsubsys__bluetooth__controller.a  zephyr/subsys/net/libsubsys__net.a  zephyr/drivers/usb/device/libdrivers__usb__device.a  zephyr/drivers/adc/libdrivers__adc.a  zephyr/drivers/clock_control/libdrivers__clock_control.a  zephyr/drivers/entropy/libdrivers__entropy.a  zephyr/drivers/flash/libdrivers__flash.a  zephyr/drivers/gpio/libdrivers__gpio.a  zephyr/drivers/hwinfo/libdrivers__hwinfo.a  zephyr/drivers/kscan/libdrivers__kscan.a  zephyr/drivers/pinctrl/libdrivers__pinctrl.a  zephyr/drivers/sensor/nrf5/libdrivers__sensor__nrf5.a  zephyr/drivers/timer/libdrivers__timer.a  modules/hal_nordic/nrfx/libmodules__hal_nordic__nrfx.a  modules/module/drivers/sensor/battery/lib..__zmk__app__module__drivers__sensor__battery.a  modules/module/lib/zmk_debounce/lib..__zmk__app__module__lib__zmk_debounce.a  -Wl,--no-whole-archive  zephyr/kernel/libkernel.a  -L"/opt/zephyr-sdk-0.16.3/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/thumb/v7e-m+fp/hard"  -L/tmp/tmp.jwYK4n3nFX/zephyr  -lgcc  zephyr/arch/common/libisr_tables.a  -mcpu=cortex-m4  -mthumb  -mabi=aapcs  -mfpu=fpv4-sp-d16  -mfloat-abi=hard  -mfp16-format=ieee  -Wl,--gc-sections  -Wl,--build-id=none  -Wl,--sort-common=descending  -Wl,--sort-section=alignment  -Wl,-u,_OffsetAbsSyms  -Wl,-u,_ConfigAbsSyms  -nostdlib  -static  -Wl,-X  -Wl,-N  -Wl,--orphan-handling=warn  -Wl,-no-pie  -DPICOLIBC_INTEGER_PRINTF_SCANF  --specs=picolibc.specs  -lc  -lgcc && cd /tmp/tmp.jwYK4n3nFX/zephyr && /usr/local/lib/python3.8/dist-packages/cmake/data/bin/cmake -E true
/opt/zephyr-sdk-0.16.3/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd: app/libapp.a(usb_hid.c.obj): in function `get_keyboard_report':
/__w/zmk-config/zmk-config/zmk/app/src/usb_hid.c:52: undefined reference to `zmk_hid_get_keyboard_report'
/opt/zephyr-sdk-0.16.3/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd: app/libapp.a(usb_hid.c.obj): in function `get_report_cb':
/__w/zmk-config/zmk-config/zmk/app/src/usb_hid.c:76: undefined reference to `zmk_hid_get_consumer_report'
/opt/zephyr-sdk-0.16.3/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd: app/libapp.a(usb_hid.c.obj): in function `zmk_usb_hid_init':
/__w/zmk-config/zmk-config/zmk/app/src/usb_hid.c:187: undefined reference to `usb_hid_register_device'
/opt/zephyr-sdk-0.16.3/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd: /__w/zmk-config/zmk-config/zmk/app/src/usb_hid.c:193: undefined reference to `usb_hid_init'
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
FATAL ERROR: command exited with status 1: /usr/local/bin/cmake --build /tmp/tmp.jwYK4n3nFX
Error: Process completed with exit code 1.
lesshonor commented 7 months ago

You should delete these lines: https://github.com/Eken-beep/zmk-config/blob/633ab810e01e1797927508c689d1f3690c565591/config/boards/shields/tiny18/Kconfig.defconfig#L1-L6

(related pull request: #2006)

Additionally: while you haven't changed anything, as of February 9th, 2024 ZMK is now based on Zephyr 3.5 which did involve some breaking changes. ZMK will likely continue moving to new Zephyr versions as it behooves the project, which will likely involve more breaking changes.

Depending upon how the "chore of continued maintenance" vs "benefits of continued development" math works out for you, you may wish to consider locking zmkfirmware/zmk at a specific commit in your west manifest instead of building against main (note also the workflow version). More details about the west manifest can be found in the Zephyr docs.

Eken-beep commented 7 months ago

Yes that fixed it for me. Thank you for your time. I'd say however that this breaking change was pretty badly communicated to users, would probably help a lot of people if it was more obvious.