Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Loading Zephyr default modules (Zephyr base).
- -- Application: /home/meouitsme/zmk/app
- -- Adding /home/meouitsme/zmk/app/boards/shields/a_test
- -- Using keymap file: /home/meouitsme/zmk/app/boards/shields/a_test/a_test.keymap
- -- Found Python3: /usr/bin/python3.10 (found suitable exact version "3.10.12") found components: Interpreter
- -- Cache files will be written to: /home/meouitsme/.cache/zephyr
- -- Zephyr version: 3.2.0 (/home/meouitsme/zmk/zephyr)
- -- Found west (found suitable version "1.1.0", minimum required is "0.7.1")
- -- Board: nice_nano_v2
- -- Shield(s): a_test
- -- ZEPHYR_TOOLCHAIN_VARIANT not set, trying to locate Zephyr SDK
- -- Found host-tools: zephyr 0.15.0 (/home/meouitsme/zephyr-sdk-0.15.0)
- -- Found toolchain: zephyr 0.15.0 (/home/meouitsme/zephyr-sdk-0.15.0)
- -- Found Dtc: /home/meouitsme/zephyr-sdk-0.15.0/sysroots/x86_64-pokysdk-linux/usr/bin/dtc (found suitable version "1.6.0", minimum required is "1.4.6")
- -- Found BOARD.dts: /home/meouitsme/zmk/app/boards/arm/nice_nano/nice_nano_v2.dts
- -- Found devicetree overlay: /home/meouitsme/zmk/app/boards/shields/a_test/a_test.overlay
- -- Found devicetree overlay: /home/meouitsme/zmk/app/boards/shields/a_test/boards/nice_nano_v2.overlay
- -- Found devicetree overlay: /home/meouitsme/zmk/app/boards/shields/a_test/a_test.keymap
- 'label' is marked as deprecated in 'properties:' in /home/meouitsme/zmk/zephyr/dts/bindings/serial/zephyr,cdc-acm-uart.yaml for node /soc/usbd@40027000/cdc_acm_uart.
- 'label' is marked as deprecated in 'properties:' in /home/meouitsme/zmk/zephyr/dts/bindings/led_strip/worldsemi,ws2812-spi.yaml for node /soc/spi@4002f000/ws2812@0.
- -- Generated zephyr.dts: /home/meouitsme/zmk/app/build/zephyr/zephyr.dts
- -- Generated devicetree_generated.h: /home/meouitsme/zmk/app/build/zephyr/include/generated/devicetree_generated.h
- -- Including generated dts.cmake file: /home/meouitsme/zmk/app/build/zephyr/dts.cmake
- /home/meouitsme/zmk/app/build/zephyr/zephyr.dts:54.25-59.5: Warning (unique_unit_address_if_enabled): /soc/clock@40000000: duplicate unit-address (also used in node /soc/power@40000000)
- /home/meouitsme/zmk/app/build/zephyr/zephyr.dts:300.21-304.5: Warning (unique_unit_address_if_enabled): /soc/acl@4001e000: duplicate unit-address (also used in node /soc/flash-controller@4001e000)
- warning: EC11 (defined at /home/meouitsme/zmk/app/module/drivers/sensor/ec11/Kconfig:4) was assigned
- the value 'y' but got the value 'n'. Check these unsatisfied dependencies: DT_HAS_ALPS_EC11_ENABLED
- (=n). See http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_EC11 and/or look up EC11 in the
- menuconfig/guiconfig interface. The Application Development Primer, Setting Configuration Values,
- and Kconfig - Tips and Best Practices sections of the manual might be helpful too.
- warning: The choice symbol EC11_TRIGGER_GLOBAL_THREAD (defined at
- /home/meouitsme/zmk/app/module/drivers/sensor/ec11/Kconfig:23) was selected (set =y), but no symbol
- ended up as the choice selection. See
- http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_EC11_TRIGGER_GLOBAL_THREAD and/or look up
- EC11_TRIGGER_GLOBAL_THREAD in the menuconfig/guiconfig interface. The Application Development
- Primer, Setting Configuration Values, and Kconfig - Tips and Best Practices sections of the manual
- might be helpful too.
- warning: Deprecated symbol BT_LL_SW_LLCP_LEGACY is enabled.
- Parsing /home/meouitsme/zmk/app/Kconfig
- Loaded configuration '/home/meouitsme/zmk/app/boards/arm/nice_nano/nice_nano_v2_defconfig'
- Merged configuration '/home/meouitsme/zmk/app/prj.conf'
- Merged configuration '/home/meouitsme/zmk/app/boards/shields/a_test/a_test.conf'
- Configuration saved to '/home/meouitsme/zmk/app/build/zephyr/.config'
- Kconfig header saved to '/home/meouitsme/zmk/app/build/zephyr/include/generated/autoconf.h'
- -- The C compiler identification is GNU 12.1.0
- -- The CXX compiler identification is GNU 12.1.0
- -- The ASM compiler identification is GNU
- -- Found assembler: /home/meouitsme/zephyr-sdk-0.15.0/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc
- CMake Warning at /home/meouitsme/zmk/zephyr/CMakeLists.txt:809 (message):
- No SOURCES given to Zephyr library: drivers__kscan
- Excluding target from build.
- -- Configuring done (11.7s)
- CMake Warning (dev) at /home/meouitsme/zmk/zephyr/cmake/linker/ld/target.cmake:75 (add_custom_command):
- Policy CMP0116 is not set: Ninja generators transform DEPFILEs from
- add_custom_command(). Run "cmake --help-policy CMP0116" for policy
- details. Use the cmake_policy command to set the policy and suppress this
- warning.
- Call Stack (most recent call first):
- /home/meouitsme/zmk/zephyr/CMakeLists.txt:1099 (configure_linker_script)
- This warning is for project developers. Use -Wno-dev to suppress it.
- CMake Warning (dev) at /home/meouitsme/zmk/zephyr/cmake/linker/ld/target.cmake:75 (add_custom_command):
- Policy CMP0116 is not set: Ninja generators transform DEPFILEs from
- add_custom_command(). Run "cmake --help-policy CMP0116" for policy
- details. Use the cmake_policy command to set the policy and suppress this
- warning.
- Call Stack (most recent call first):
- /home/meouitsme/zmk/zephyr/CMakeLists.txt:1311 (configure_linker_script)
- This warning is for project developers. Use -Wno-dev to suppress it.
- CMake Warning (dev) at /home/meouitsme/zmk/zephyr/cmake/linker/ld/target.cmake:75 (add_custom_command):
- Policy CMP0116 is not set: Ninja generators transform DEPFILEs from
- add_custom_command(). Run "cmake --help-policy CMP0116" for policy
- details. Use the cmake_policy command to set the policy and suppress this
- warning.
- Call Stack (most recent call first):
- /home/meouitsme/zmk/zephyr/CMakeLists.txt:1368 (configure_linker_script)
- This warning is for project developers. Use -Wno-dev to suppress it.
- -- Generating done (0.1s)
- -- Build files have been written to: /home/meouitsme/zmk/app/build
- -- west build: building application
- [1/495] Preparing syscall dependency handling
- [2/495] Generating include/generated/version.h
- -- Zephyr version: 3.2.0 (/home/meouitsme/zmk/zephyr), build: 6f349d0e45c3
- [40/495] Building C object CMakeFiles/app.dir/src/matrix_transform.c.obj
- FAILED: CMakeFiles/app.dir/src/matrix_transform.c.obj
- ccache /home/meouitsme/zephyr-sdk-0.15.0/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc -DKERNEL -DLV_CONF_INCLUDE_SIMPLE=1 -DLV_CONF_PATH=../zephyr/lv_conf.h -DNRF52840_XXAA -D_FORTIFY_SOURCE=2 -D__PROGRAM_START -D__ZEPHYR__=1 -I/home/meouitsme/zmk/app/include -I/home/meouitsme/zmk/zephyr/include -I/home/meouitsme/zmk/app/build/zephyr/include/generated -I/home/meouitsme/zmk/zephyr/soc/arm/nordic_nrf/nrf52 -I/home/meouitsme/zmk/zephyr/soc/arm/nordic_nrf/common/. -I/home/meouitsme/zmk/zephyr/subsys/bluetooth/controller/ll_sw/nordic/hal/nrf5/nrfx_glue -I/home/meouitsme/zmk/zephyr/subsys/bluetooth -I/home/meouitsme/zmk/zephyr/subsys/usb/device -I/home/meouitsme/zmk/zephyr/subsys/settings/include -I/home/meouitsme/zmk/modules/hal/cmsis/CMSIS/Core/Include -I/home/meouitsme/zmk/modules/hal/nordic/nrfx -I/home/meouitsme/zmk/modules/hal/nordic/nrfx/drivers/include -I/home/meouitsme/zmk/modules/hal/nordic/nrfx/mdk -I/home/meouitsme/zmk/zephyr/modules/hal_nordic/nrfx/. -I/home/meouitsme/zmk/modules/lib/gui/lvgl/zephyr/../src -I/home/meouitsme/zmk/modules/crypto/tinycrypt/lib/include -I/home/meouitsme/zmk/app/module/include -I/home/meouitsme/zmk/app/module/drivers/sensor/battery/. -isystem /home/meouitsme/zmk/zephyr/lib/libc/minimal/include -isystem /home/meouitsme/zephyr-sdk-0.15.0/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.1.0/include -isystem /home/meouitsme/zephyr-sdk-0.15.0/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.1.0/include-fixed -fno-strict-aliasing -Os -imacros /home/meouitsme/zmk/app/build/zephyr/include/generated/autoconf.h -ffreestanding -fno-common -g -gdwarf-4 -fdiagnostics-color=always -mcpu=cortex-m4 -mthumb -mabi=aapcs -mfp16-format=ieee --sysroot=/home/meouitsme/zephyr-sdk-0.15.0/arm-zephyr-eabi/arm-zephyr-eabi -imacros /home/meouitsme/zmk/zephyr/include/zephyr/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wno-main -Wno-pointer-sign -Wpointer-arith -Wexpansion-to-defined -Wno-unused-but-set-variable -Werror=implicit-int -fno-pic -fno-pie -fno-asynchronous-unwind-tables -fno-reorder-functions --param=min-pagesize=0 -fno-defer-pop -fmacro-prefix-map=/home/meouitsme/zmk/app=CMAKE_SOURCE_DIR -fmacro-prefix-map=/home/meouitsme/zmk/zephyr=ZEPHYR_BASE -fmacro-prefix-map=/home/meouitsme/zmk=WEST_TOPDIR -ffunction-sections -fdata-sections -std=c99 -nostdinc -Wfatal-errors -MD -MT CMakeFiles/app.dir/src/matrix_transform.c.obj -MF CMakeFiles/app.dir/src/matrix_transform.c.obj.d -o CMakeFiles/app.dir/src/matrix_transform.c.obj -c /home/meouitsme/zmk/app/src/matrix_transform.c
- In file included from /home/meouitsme/zmk/zephyr/include/zephyr/arch/arm/aarch32/arch.h:20,
- from /home/meouitsme/zmk/zephyr/include/zephyr/arch/cpu.h:19,
- from /home/meouitsme/zmk/zephyr/include/zephyr/kernel_includes.h:33,
- from /home/meouitsme/zmk/zephyr/include/zephyr/kernel.h:17,
- from /home/meouitsme/zmk/app/src/matrix_transform.c:7:
- /home/meouitsme/zmk/app/src/matrix_transform.c: In function 'zmk_matrix_transform_row_column_to_position':
- /home/meouitsme/zmk/zephyr/include/zephyr/devicetree.h:2208:32: error: 'DT_CHOSEN_zmk_kscan_P_columns' undeclared (first use in this function)
- 2208 | #define DT_CHOSEN(prop) DT_CAT(DT_CHOSEN_, prop)
- | ^~~~~~~~~~
- /home/meouitsme/zmk/zephyr/include/zephyr/devicetree.h:3716:29: note: in definition of macro 'DT_CAT3'
- 3716 | #define DT_CAT3(a1, a2, a3) a1 ## a2 ## a3
- | ^~
- /home/meouitsme/zmk/app/include/zmk/matrix.h:31:25: note: in expansion of macro 'DT_PROP'
- 31 | #define ZMK_MATRIX_COLS DT_PROP(ZMK_MATRIX_NODE_ID, columns)
- | ^~~~~~~
- /home/meouitsme/zmk/zephyr/include/zephyr/devicetree.h:2208:25: note: in expansion of macro 'DT_CAT'
- 2208 | #define DT_CHOSEN(prop) DT_CAT(DT_CHOSEN_, prop)
- | ^~~~~~
- /home/meouitsme/zmk/app/include/zmk/matrix.h:11:28: note: in expansion of macro 'DT_CHOSEN'
- 11 | #define ZMK_MATRIX_NODE_ID DT_CHOSEN(zmk_kscan)
- | ^~~~~~~~~
- /home/meouitsme/zmk/app/include/zmk/matrix.h:31:33: note: in expansion of macro 'ZMK_MATRIX_NODE_ID'
- 31 | #define ZMK_MATRIX_COLS DT_PROP(ZMK_MATRIX_NODE_ID, columns)
- | ^~~~~~~~~~~~~~~~~~
- /home/meouitsme/zmk/app/src/matrix_transform.c:48:42: note: in expansion of macro 'ZMK_MATRIX_COLS'
- 48 | const uint32_t matrix_index = (row * ZMK_MATRIX_COLS) + column;
- | ^~~~~~~~~~~~~~~
- compilation terminated due to -Wfatal-errors.
- [49/495] Building C object CMakeFiles/app.dir/src/behaviors/behavior_sensor_rotate_common.c.obj
- FAILED: CMakeFiles/app.dir/src/behaviors/behavior_sensor_rotate_common.c.obj
- ccache /home/meouitsme/zephyr-sdk-0.15.0/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc -DKERNEL -DLV_CONF_INCLUDE_SIMPLE=1 -DLV_CONF_PATH=../zephyr/lv_conf.h -DNRF52840_XXAA -D_FORTIFY_SOURCE=2 -D__PROGRAM_START -D__ZEPHYR__=1 -I/home/meouitsme/zmk/app/include -I/home/meouitsme/zmk/zephyr/include -I/home/meouitsme/zmk/app/build/zephyr/include/generated -I/home/meouitsme/zmk/zephyr/soc/arm/nordic_nrf/nrf52 -I/home/meouitsme/zmk/zephyr/soc/arm/nordic_nrf/common/. -I/home/meouitsme/zmk/zephyr/subsys/bluetooth/controller/ll_sw/nordic/hal/nrf5/nrfx_glue -I/home/meouitsme/zmk/zephyr/subsys/bluetooth -I/home/meouitsme/zmk/zephyr/subsys/usb/device -I/home/meouitsme/zmk/zephyr/subsys/settings/include -I/home/meouitsme/zmk/modules/hal/cmsis/CMSIS/Core/Include -I/home/meouitsme/zmk/modules/hal/nordic/nrfx -I/home/meouitsme/zmk/modules/hal/nordic/nrfx/drivers/include -I/home/meouitsme/zmk/modules/hal/nordic/nrfx/mdk -I/home/meouitsme/zmk/zephyr/modules/hal_nordic/nrfx/. -I/home/meouitsme/zmk/modules/lib/gui/lvgl/zephyr/../src -I/home/meouitsme/zmk/modules/crypto/tinycrypt/lib/include -I/home/meouitsme/zmk/app/module/include -I/home/meouitsme/zmk/app/module/drivers/sensor/battery/. -isystem /home/meouitsme/zmk/zephyr/lib/libc/minimal/include -isystem /home/meouitsme/zephyr-sdk-0.15.0/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.1.0/include -isystem /home/meouitsme/zephyr-sdk-0.15.0/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.1.0/include-fixed -fno-strict-aliasing -Os -imacros /home/meouitsme/zmk/app/build/zephyr/include/generated/autoconf.h -ffreestanding -fno-common -g -gdwarf-4 -fdiagnostics-color=always -mcpu=cortex-m4 -mthumb -mabi=aapcs -mfp16-format=ieee --sysroot=/home/meouitsme/zephyr-sdk-0.15.0/arm-zephyr-eabi/arm-zephyr-eabi -imacros /home/meouitsme/zmk/zephyr/include/zephyr/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wno-main -Wno-pointer-sign -Wpointer-arith -Wexpansion-to-defined -Wno-unused-but-set-variable -Werror=implicit-int -fno-pic -fno-pie -fno-asynchronous-unwind-tables -fno-reorder-functions --param=min-pagesize=0 -fno-defer-pop -fmacro-prefix-map=/home/meouitsme/zmk/app=CMAKE_SOURCE_DIR -fmacro-prefix-map=/home/meouitsme/zmk/zephyr=ZEPHYR_BASE -fmacro-prefix-map=/home/meouitsme/zmk=WEST_TOPDIR -ffunction-sections -fdata-sections -std=c99 -nostdinc -Wfatal-errors -MD -MT CMakeFiles/app.dir/src/behaviors/behavior_sensor_rotate_common.c.obj -MF CMakeFiles/app.dir/src/behaviors/behavior_sensor_rotate_common.c.obj.d -o CMakeFiles/app.dir/src/behaviors/behavior_sensor_rotate_common.c.obj -c /home/meouitsme/zmk/app/src/behaviors/behavior_sensor_rotate_common.c
- In file included from /home/meouitsme/zmk/zephyr/include/zephyr/device.h:38,
- from /home/meouitsme/zmk/app/src/behaviors/behavior_sensor_rotate_common.c:2:
- /home/meouitsme/zmk/app/src/behaviors/behavior_sensor_rotate_common.c: In function 'zmk_behavior_sensor_rotate_common_accept_data':
- /home/meouitsme/zmk/zephyr/include/zephyr/devicetree.h:2208:32: error: 'DT_CHOSEN_zmk_kscan_P_columns' undeclared (first use in this function)
- 2208 | #define DT_CHOSEN(prop) DT_CAT(DT_CHOSEN_, prop)
- | ^~~~~~~~~~
- /home/meouitsme/zmk/zephyr/include/zephyr/devicetree.h:3716:29: note: in definition of macro 'DT_CAT3'
- 3716 | #define DT_CAT3(a1, a2, a3) a1 ## a2 ## a3
- | ^~
- /home/meouitsme/zmk/app/include/zmk/matrix.h:31:25: note: in expansion of macro 'DT_PROP'
- 31 | #define ZMK_MATRIX_COLS DT_PROP(ZMK_MATRIX_NODE_ID, columns)
- | ^~~~~~~
- /home/meouitsme/zmk/zephyr/include/zephyr/devicetree.h:2208:25: note: in expansion of macro 'DT_CAT'
- 2208 | #define DT_CHOSEN(prop) DT_CAT(DT_CHOSEN_, prop)
- | ^~~~~~
- /home/meouitsme/zmk/app/include/zmk/matrix.h:11:28: note: in expansion of macro 'DT_CHOSEN'
- 11 | #define ZMK_MATRIX_NODE_ID DT_CHOSEN(zmk_kscan)
- | ^~~~~~~~~
- /home/meouitsme/zmk/app/include/zmk/matrix.h:31:33: note: in expansion of macro 'ZMK_MATRIX_NODE_ID'
- 31 | #define ZMK_MATRIX_COLS DT_PROP(ZMK_MATRIX_NODE_ID, columns)
- | ^~~~~~~~~~~~~~~~~~
- /home/meouitsme/zmk/app/include/zmk/matrix.h:34:25: note: in expansion of macro 'ZMK_MATRIX_COLS'
- 34 | #define ZMK_KEYMAP_LEN (ZMK_MATRIX_COLS * ZMK_MATRIX_ROWS)
- | ^~~~~~~~~~~~~~~
- /home/meouitsme/zmk/app/include/zmk/virtual_key_position.h:20:67: note: in expansion of macro 'ZMK_KEYMAP_LEN'
- 20 | #define ZMK_SENSOR_POSITION_FROM_VIRTUAL_KEY_POSITION(vkp) ((vkp)-ZMK_KEYMAP_LEN)
- | ^~~~~~~~~~~~~~
- /home/meouitsme/zmk/app/src/behaviors/behavior_sensor_rotate_common.c:23:24: note: in expansion of macro 'ZMK_SENSOR_POSITION_FROM_VIRTUAL_KEY_POSITION'
- 23 | int sensor_index = ZMK_SENSOR_POSITION_FROM_VIRTUAL_KEY_POSITION(event.position);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- compilation terminated due to -Wfatal-errors.
- [50/495] Building C object CMakeFiles/app.dir/src/keymap.c.obj
- FAILED: CMakeFiles/app.dir/src/keymap.c.obj
- ccache /home/meouitsme/zephyr-sdk-0.15.0/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc -DKERNEL -DLV_CONF_INCLUDE_SIMPLE=1 -DLV_CONF_PATH=../zephyr/lv_conf.h -DNRF52840_XXAA -D_FORTIFY_SOURCE=2 -D__PROGRAM_START -D__ZEPHYR__=1 -I/home/meouitsme/zmk/app/include -I/home/meouitsme/zmk/zephyr/include -I/home/meouitsme/zmk/app/build/zephyr/include/generated -I/home/meouitsme/zmk/zephyr/soc/arm/nordic_nrf/nrf52 -I/home/meouitsme/zmk/zephyr/soc/arm/nordic_nrf/common/. -I/home/meouitsme/zmk/zephyr/subsys/bluetooth/controller/ll_sw/nordic/hal/nrf5/nrfx_glue -I/home/meouitsme/zmk/zephyr/subsys/bluetooth -I/home/meouitsme/zmk/zephyr/subsys/usb/device -I/home/meouitsme/zmk/zephyr/subsys/settings/include -I/home/meouitsme/zmk/modules/hal/cmsis/CMSIS/Core/Include -I/home/meouitsme/zmk/modules/hal/nordic/nrfx -I/home/meouitsme/zmk/modules/hal/nordic/nrfx/drivers/include -I/home/meouitsme/zmk/modules/hal/nordic/nrfx/mdk -I/home/meouitsme/zmk/zephyr/modules/hal_nordic/nrfx/. -I/home/meouitsme/zmk/modules/lib/gui/lvgl/zephyr/../src -I/home/meouitsme/zmk/modules/crypto/tinycrypt/lib/include -I/home/meouitsme/zmk/app/module/include -I/home/meouitsme/zmk/app/module/drivers/sensor/battery/. -isystem /home/meouitsme/zmk/zephyr/lib/libc/minimal/include -isystem /home/meouitsme/zephyr-sdk-0.15.0/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.1.0/include -isystem /home/meouitsme/zephyr-sdk-0.15.0/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.1.0/include-fixed -fno-strict-aliasing -Os -imacros /home/meouitsme/zmk/app/build/zephyr/include/generated/autoconf.h -ffreestanding -fno-common -g -gdwarf-4 -fdiagnostics-color=always -mcpu=cortex-m4 -mthumb -mabi=aapcs -mfp16-format=ieee --sysroot=/home/meouitsme/zephyr-sdk-0.15.0/arm-zephyr-eabi/arm-zephyr-eabi -imacros /home/meouitsme/zmk/zephyr/include/zephyr/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wno-main -Wno-pointer-sign -Wpointer-arith -Wexpansion-to-defined -Wno-unused-but-set-variable -Werror=implicit-int -fno-pic -fno-pie -fno-asynchronous-unwind-tables -fno-reorder-functions --param=min-pagesize=0 -fno-defer-pop -fmacro-prefix-map=/home/meouitsme/zmk/app=CMAKE_SOURCE_DIR -fmacro-prefix-map=/home/meouitsme/zmk/zephyr=ZEPHYR_BASE -fmacro-prefix-map=/home/meouitsme/zmk=WEST_TOPDIR -ffunction-sections -fdata-sections -std=c99 -nostdinc -Wfatal-errors -MD -MT CMakeFiles/app.dir/src/keymap.c.obj -MF CMakeFiles/app.dir/src/keymap.c.obj.d -o CMakeFiles/app.dir/src/keymap.c.obj -c /home/meouitsme/zmk/app/src/keymap.c
- In file included from /home/meouitsme/zmk/zephyr/include/zephyr/device.h:38,
- from /home/meouitsme/zmk/app/include/drivers/behavior.h:13,
- from /home/meouitsme/zmk/app/src/keymap.c:7:
- /home/meouitsme/zmk/zephyr/include/zephyr/devicetree.h:2208:32: error: 'DT_CHOSEN_zmk_kscan_P_columns' undeclared here (not in a function)
- 2208 | #define DT_CHOSEN(prop) DT_CAT(DT_CHOSEN_, prop)
- | ^~~~~~~~~~
- /home/meouitsme/zmk/zephyr/include/zephyr/devicetree.h:3716:29: note: in definition of macro 'DT_CAT3'
- 3716 | #define DT_CAT3(a1, a2, a3) a1 ## a2 ## a3
- | ^~
- /home/meouitsme/zmk/app/include/zmk/matrix.h:31:25: note: in expansion of macro 'DT_PROP'
- 31 | #define ZMK_MATRIX_COLS DT_PROP(ZMK_MATRIX_NODE_ID, columns)
- | ^~~~~~~
- /home/meouitsme/zmk/zephyr/include/zephyr/devicetree.h:2208:25: note: in expansion of macro 'DT_CAT'
- 2208 | #define DT_CHOSEN(prop) DT_CAT(DT_CHOSEN_, prop)
- | ^~~~~~
- /home/meouitsme/zmk/app/include/zmk/matrix.h:11:28: note: in expansion of macro 'DT_CHOSEN'
- 11 | #define ZMK_MATRIX_NODE_ID DT_CHOSEN(zmk_kscan)
- | ^~~~~~~~~
- /home/meouitsme/zmk/app/include/zmk/matrix.h:31:33: note: in expansion of macro 'ZMK_MATRIX_NODE_ID'
- 31 | #define ZMK_MATRIX_COLS DT_PROP(ZMK_MATRIX_NODE_ID, columns)
- | ^~~~~~~~~~~~~~~~~~
- /home/meouitsme/zmk/app/include/zmk/matrix.h:34:25: note: in expansion of macro 'ZMK_MATRIX_COLS'
- 34 | #define ZMK_KEYMAP_LEN (ZMK_MATRIX_COLS * ZMK_MATRIX_ROWS)
- | ^~~~~~~~~~~~~~~
- /home/meouitsme/zmk/app/src/keymap.c:65:50: note: in expansion of macro 'ZMK_KEYMAP_LEN'
- 65 | static uint32_t zmk_keymap_active_behavior_layer[ZMK_KEYMAP_LEN];
- | ^~~~~~~~~~~~~~
- compilation terminated due to -Wfatal-errors.
- [53/495] Building C object CMakeFiles/app.dir/src/ble.c.obj
- ninja: build stopped: subcommand failed.
- FATAL ERROR: command exited with status 1: /usr/bin/cmake --build /home/meouitsme/zmk/app/build
Advertisement
Add Comment
Please, Sign In to add comment