hvuitsme

Zephyr building error

Oct 10th, 2023
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 20.55 KB | None | 0 0
  1. Loading Zephyr default modules (Zephyr base).
  2. -- Application: /home/meouitsme/zmk/app
  3. -- Adding /home/meouitsme/zmk/app/boards/shields/a_test
  4. -- Using keymap file: /home/meouitsme/zmk/app/boards/shields/a_test/a_test.keymap
  5. -- Found Python3: /usr/bin/python3.10 (found suitable exact version "3.10.12") found components: Interpreter
  6. -- Cache files will be written to: /home/meouitsme/.cache/zephyr
  7. -- Zephyr version: 3.2.0 (/home/meouitsme/zmk/zephyr)
  8. -- Found west (found suitable version "1.1.0", minimum required is "0.7.1")
  9. -- Board: nice_nano_v2
  10. -- Shield(s): a_test
  11. -- ZEPHYR_TOOLCHAIN_VARIANT not set, trying to locate Zephyr SDK
  12. -- Found host-tools: zephyr 0.15.0 (/home/meouitsme/zephyr-sdk-0.15.0)
  13. -- Found toolchain: zephyr 0.15.0 (/home/meouitsme/zephyr-sdk-0.15.0)
  14. -- 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")
  15. -- Found BOARD.dts: /home/meouitsme/zmk/app/boards/arm/nice_nano/nice_nano_v2.dts
  16. -- Found devicetree overlay: /home/meouitsme/zmk/app/boards/shields/a_test/a_test.overlay
  17. -- Found devicetree overlay: /home/meouitsme/zmk/app/boards/shields/a_test/boards/nice_nano_v2.overlay
  18. -- Found devicetree overlay: /home/meouitsme/zmk/app/boards/shields/a_test/a_test.keymap
  19. '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.
  20. '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.
  21. -- Generated zephyr.dts: /home/meouitsme/zmk/app/build/zephyr/zephyr.dts
  22. -- Generated devicetree_generated.h: /home/meouitsme/zmk/app/build/zephyr/include/generated/devicetree_generated.h
  23. -- Including generated dts.cmake file: /home/meouitsme/zmk/app/build/zephyr/dts.cmake
  24. /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)
  25. /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)
  26.  
  27. warning: EC11 (defined at /home/meouitsme/zmk/app/module/drivers/sensor/ec11/Kconfig:4) was assigned
  28. the value 'y' but got the value 'n'. Check these unsatisfied dependencies: DT_HAS_ALPS_EC11_ENABLED
  29. (=n). See http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_EC11 and/or look up EC11 in the
  30. menuconfig/guiconfig interface. The Application Development Primer, Setting Configuration Values,
  31. and Kconfig - Tips and Best Practices sections of the manual might be helpful too.
  32.  
  33.  
  34. warning: The choice symbol EC11_TRIGGER_GLOBAL_THREAD (defined at
  35. /home/meouitsme/zmk/app/module/drivers/sensor/ec11/Kconfig:23) was selected (set =y), but no symbol
  36. ended up as the choice selection. See
  37. http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_EC11_TRIGGER_GLOBAL_THREAD and/or look up
  38. EC11_TRIGGER_GLOBAL_THREAD in the menuconfig/guiconfig interface. The Application Development
  39. Primer, Setting Configuration Values, and Kconfig - Tips and Best Practices sections of the manual
  40. might be helpful too.
  41.  
  42.  
  43. warning: Deprecated symbol BT_LL_SW_LLCP_LEGACY is enabled.
  44.  
  45. Parsing /home/meouitsme/zmk/app/Kconfig
  46. Loaded configuration '/home/meouitsme/zmk/app/boards/arm/nice_nano/nice_nano_v2_defconfig'
  47. Merged configuration '/home/meouitsme/zmk/app/prj.conf'
  48. Merged configuration '/home/meouitsme/zmk/app/boards/shields/a_test/a_test.conf'
  49. Configuration saved to '/home/meouitsme/zmk/app/build/zephyr/.config'
  50. Kconfig header saved to '/home/meouitsme/zmk/app/build/zephyr/include/generated/autoconf.h'
  51. -- The C compiler identification is GNU 12.1.0
  52. -- The CXX compiler identification is GNU 12.1.0
  53. -- The ASM compiler identification is GNU
  54. -- Found assembler: /home/meouitsme/zephyr-sdk-0.15.0/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc
  55. CMake Warning at /home/meouitsme/zmk/zephyr/CMakeLists.txt:809 (message):
  56.   No SOURCES given to Zephyr library: drivers__kscan
  57.  
  58.   Excluding target from build.
  59.  
  60.  
  61. -- Configuring done (11.7s)
  62. CMake Warning (dev) at /home/meouitsme/zmk/zephyr/cmake/linker/ld/target.cmake:75 (add_custom_command):
  63.   Policy CMP0116 is not set: Ninja generators transform DEPFILEs from
  64.   add_custom_command().  Run "cmake --help-policy CMP0116" for policy
  65.   details.  Use the cmake_policy command to set the policy and suppress this
  66.   warning.
  67. Call Stack (most recent call first):
  68.   /home/meouitsme/zmk/zephyr/CMakeLists.txt:1099 (configure_linker_script)
  69. This warning is for project developers.  Use -Wno-dev to suppress it.
  70.  
  71. CMake Warning (dev) at /home/meouitsme/zmk/zephyr/cmake/linker/ld/target.cmake:75 (add_custom_command):
  72.   Policy CMP0116 is not set: Ninja generators transform DEPFILEs from
  73.   add_custom_command().  Run "cmake --help-policy CMP0116" for policy
  74.   details.  Use the cmake_policy command to set the policy and suppress this
  75.   warning.
  76. Call Stack (most recent call first):
  77.   /home/meouitsme/zmk/zephyr/CMakeLists.txt:1311 (configure_linker_script)
  78. This warning is for project developers.  Use -Wno-dev to suppress it.
  79.  
  80. CMake Warning (dev) at /home/meouitsme/zmk/zephyr/cmake/linker/ld/target.cmake:75 (add_custom_command):
  81.   Policy CMP0116 is not set: Ninja generators transform DEPFILEs from
  82.   add_custom_command().  Run "cmake --help-policy CMP0116" for policy
  83.   details.  Use the cmake_policy command to set the policy and suppress this
  84.   warning.
  85. Call Stack (most recent call first):
  86.   /home/meouitsme/zmk/zephyr/CMakeLists.txt:1368 (configure_linker_script)
  87. This warning is for project developers.  Use -Wno-dev to suppress it.
  88.  
  89. -- Generating done (0.1s)
  90. -- Build files have been written to: /home/meouitsme/zmk/app/build
  91. -- west build: building application
  92. [1/495] Preparing syscall dependency handling
  93.  
  94. [2/495] Generating include/generated/version.h
  95. -- Zephyr version: 3.2.0 (/home/meouitsme/zmk/zephyr), build: 6f349d0e45c3
  96. [40/495] Building C object CMakeFiles/app.dir/src/matrix_transform.c.obj
  97. FAILED: CMakeFiles/app.dir/src/matrix_transform.c.obj
  98. 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
  99. In file included from /home/meouitsme/zmk/zephyr/include/zephyr/arch/arm/aarch32/arch.h:20,
  100.                  from /home/meouitsme/zmk/zephyr/include/zephyr/arch/cpu.h:19,
  101.                  from /home/meouitsme/zmk/zephyr/include/zephyr/kernel_includes.h:33,
  102.                  from /home/meouitsme/zmk/zephyr/include/zephyr/kernel.h:17,
  103.                  from /home/meouitsme/zmk/app/src/matrix_transform.c:7:
  104. /home/meouitsme/zmk/app/src/matrix_transform.c: In function 'zmk_matrix_transform_row_column_to_position':
  105. /home/meouitsme/zmk/zephyr/include/zephyr/devicetree.h:2208:32: error: 'DT_CHOSEN_zmk_kscan_P_columns' undeclared (first use in this function)
  106.  2208 | #define DT_CHOSEN(prop) DT_CAT(DT_CHOSEN_, prop)
  107.       |                                ^~~~~~~~~~
  108. /home/meouitsme/zmk/zephyr/include/zephyr/devicetree.h:3716:29: note: in definition of macro 'DT_CAT3'
  109.  3716 | #define DT_CAT3(a1, a2, a3) a1 ## a2 ## a3
  110.       |                             ^~
  111. /home/meouitsme/zmk/app/include/zmk/matrix.h:31:25: note: in expansion of macro 'DT_PROP'
  112.    31 | #define ZMK_MATRIX_COLS DT_PROP(ZMK_MATRIX_NODE_ID, columns)
  113.       |                         ^~~~~~~
  114. /home/meouitsme/zmk/zephyr/include/zephyr/devicetree.h:2208:25: note: in expansion of macro 'DT_CAT'
  115.  2208 | #define DT_CHOSEN(prop) DT_CAT(DT_CHOSEN_, prop)
  116.       |                         ^~~~~~
  117. /home/meouitsme/zmk/app/include/zmk/matrix.h:11:28: note: in expansion of macro 'DT_CHOSEN'
  118.    11 | #define ZMK_MATRIX_NODE_ID DT_CHOSEN(zmk_kscan)
  119.       |                            ^~~~~~~~~
  120. /home/meouitsme/zmk/app/include/zmk/matrix.h:31:33: note: in expansion of macro 'ZMK_MATRIX_NODE_ID'
  121.    31 | #define ZMK_MATRIX_COLS DT_PROP(ZMK_MATRIX_NODE_ID, columns)
  122.       |                                 ^~~~~~~~~~~~~~~~~~
  123. /home/meouitsme/zmk/app/src/matrix_transform.c:48:42: note: in expansion of macro 'ZMK_MATRIX_COLS'
  124.    48 |     const uint32_t matrix_index = (row * ZMK_MATRIX_COLS) + column;
  125.       |                                          ^~~~~~~~~~~~~~~
  126. compilation terminated due to -Wfatal-errors.
  127. [49/495] Building C object CMakeFiles/app.dir/src/behaviors/behavior_sensor_rotate_common.c.obj
  128. FAILED: CMakeFiles/app.dir/src/behaviors/behavior_sensor_rotate_common.c.obj
  129. 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
  130. In file included from /home/meouitsme/zmk/zephyr/include/zephyr/device.h:38,
  131.                  from /home/meouitsme/zmk/app/src/behaviors/behavior_sensor_rotate_common.c:2:
  132. /home/meouitsme/zmk/app/src/behaviors/behavior_sensor_rotate_common.c: In function 'zmk_behavior_sensor_rotate_common_accept_data':
  133. /home/meouitsme/zmk/zephyr/include/zephyr/devicetree.h:2208:32: error: 'DT_CHOSEN_zmk_kscan_P_columns' undeclared (first use in this function)
  134.  2208 | #define DT_CHOSEN(prop) DT_CAT(DT_CHOSEN_, prop)
  135.       |                                ^~~~~~~~~~
  136. /home/meouitsme/zmk/zephyr/include/zephyr/devicetree.h:3716:29: note: in definition of macro 'DT_CAT3'
  137.  3716 | #define DT_CAT3(a1, a2, a3) a1 ## a2 ## a3
  138.       |                             ^~
  139. /home/meouitsme/zmk/app/include/zmk/matrix.h:31:25: note: in expansion of macro 'DT_PROP'
  140.    31 | #define ZMK_MATRIX_COLS DT_PROP(ZMK_MATRIX_NODE_ID, columns)
  141.       |                         ^~~~~~~
  142. /home/meouitsme/zmk/zephyr/include/zephyr/devicetree.h:2208:25: note: in expansion of macro 'DT_CAT'
  143.  2208 | #define DT_CHOSEN(prop) DT_CAT(DT_CHOSEN_, prop)
  144.       |                         ^~~~~~
  145. /home/meouitsme/zmk/app/include/zmk/matrix.h:11:28: note: in expansion of macro 'DT_CHOSEN'
  146.    11 | #define ZMK_MATRIX_NODE_ID DT_CHOSEN(zmk_kscan)
  147.       |                            ^~~~~~~~~
  148. /home/meouitsme/zmk/app/include/zmk/matrix.h:31:33: note: in expansion of macro 'ZMK_MATRIX_NODE_ID'
  149.    31 | #define ZMK_MATRIX_COLS DT_PROP(ZMK_MATRIX_NODE_ID, columns)
  150.       |                                 ^~~~~~~~~~~~~~~~~~
  151. /home/meouitsme/zmk/app/include/zmk/matrix.h:34:25: note: in expansion of macro 'ZMK_MATRIX_COLS'
  152.    34 | #define ZMK_KEYMAP_LEN (ZMK_MATRIX_COLS * ZMK_MATRIX_ROWS)
  153.       |                         ^~~~~~~~~~~~~~~
  154. /home/meouitsme/zmk/app/include/zmk/virtual_key_position.h:20:67: note: in expansion of macro 'ZMK_KEYMAP_LEN'
  155.    20 | #define ZMK_SENSOR_POSITION_FROM_VIRTUAL_KEY_POSITION(vkp) ((vkp)-ZMK_KEYMAP_LEN)
  156.       |                                                                   ^~~~~~~~~~~~~~
  157. /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'
  158.    23 |     int sensor_index = ZMK_SENSOR_POSITION_FROM_VIRTUAL_KEY_POSITION(event.position);
  159.       |                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  160. compilation terminated due to -Wfatal-errors.
  161. [50/495] Building C object CMakeFiles/app.dir/src/keymap.c.obj
  162. FAILED: CMakeFiles/app.dir/src/keymap.c.obj
  163. 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
  164. In file included from /home/meouitsme/zmk/zephyr/include/zephyr/device.h:38,
  165.                  from /home/meouitsme/zmk/app/include/drivers/behavior.h:13,
  166.                  from /home/meouitsme/zmk/app/src/keymap.c:7:
  167. /home/meouitsme/zmk/zephyr/include/zephyr/devicetree.h:2208:32: error: 'DT_CHOSEN_zmk_kscan_P_columns' undeclared here (not in a function)
  168.  2208 | #define DT_CHOSEN(prop) DT_CAT(DT_CHOSEN_, prop)
  169.       |                                ^~~~~~~~~~
  170. /home/meouitsme/zmk/zephyr/include/zephyr/devicetree.h:3716:29: note: in definition of macro 'DT_CAT3'
  171.  3716 | #define DT_CAT3(a1, a2, a3) a1 ## a2 ## a3
  172.       |                             ^~
  173. /home/meouitsme/zmk/app/include/zmk/matrix.h:31:25: note: in expansion of macro 'DT_PROP'
  174.    31 | #define ZMK_MATRIX_COLS DT_PROP(ZMK_MATRIX_NODE_ID, columns)
  175.       |                         ^~~~~~~
  176. /home/meouitsme/zmk/zephyr/include/zephyr/devicetree.h:2208:25: note: in expansion of macro 'DT_CAT'
  177.  2208 | #define DT_CHOSEN(prop) DT_CAT(DT_CHOSEN_, prop)
  178.       |                         ^~~~~~
  179. /home/meouitsme/zmk/app/include/zmk/matrix.h:11:28: note: in expansion of macro 'DT_CHOSEN'
  180.    11 | #define ZMK_MATRIX_NODE_ID DT_CHOSEN(zmk_kscan)
  181.       |                            ^~~~~~~~~
  182. /home/meouitsme/zmk/app/include/zmk/matrix.h:31:33: note: in expansion of macro 'ZMK_MATRIX_NODE_ID'
  183.    31 | #define ZMK_MATRIX_COLS DT_PROP(ZMK_MATRIX_NODE_ID, columns)
  184.       |                                 ^~~~~~~~~~~~~~~~~~
  185. /home/meouitsme/zmk/app/include/zmk/matrix.h:34:25: note: in expansion of macro 'ZMK_MATRIX_COLS'
  186.    34 | #define ZMK_KEYMAP_LEN (ZMK_MATRIX_COLS * ZMK_MATRIX_ROWS)
  187.       |                         ^~~~~~~~~~~~~~~
  188. /home/meouitsme/zmk/app/src/keymap.c:65:50: note: in expansion of macro 'ZMK_KEYMAP_LEN'
  189.    65 | static uint32_t zmk_keymap_active_behavior_layer[ZMK_KEYMAP_LEN];
  190.       |                                                  ^~~~~~~~~~~~~~
  191. compilation terminated due to -Wfatal-errors.
  192. [53/495] Building C object CMakeFiles/app.dir/src/ble.c.obj
  193. ninja: build stopped: subcommand failed.
  194. 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