#Error "undefined reference to __device_dts_ord_23" while building my shield

1 messages · Page 1 of 1 (latest)

gloomy mason
#

I can't figure out what node is missing. I've dug through the logs and my shield files but haven't been able to identify the issue. Below are the examples from my dtsi:

dtsi
#include "hillside_view.dtsi"
#include <input/processors.dtsi>
#include <behaviors/input_gestures_accel.dtsi>

&kscan0 {
col-gpios = <&gpio1 7 GPIO_ACTIVE_HIGH>, <&pro_micro 18 GPIO_ACTIVE_HIGH>,
<&pro_micro 15 GPIO_ACTIVE_HIGH>, <&pro_micro 14 GPIO_ACTIVE_HIGH>,
<&pro_micro 16 GPIO_ACTIVE_HIGH>, <&pro_micro 10 GPIO_ACTIVE_HIGH>;
};

&left_encoder {
status = "okay";
a-gpios = <&pro_micro 20 (GPIO_ACTIVE_HIGH | GPIO_PULL_UP)>;
b-gpios = <&pro_micro 21 (GPIO_ACTIVE_HIGH | GPIO_PULL_UP)>;
};

&chosen {
zephyr,display = &nice_view;
};

&nice_view_spi {
status = "okay";
};

&nice_view {
status = "okay";
};

&i2c0 {
status = "okay";
glidepoint: glidepoint@2a {
status = "okay";
};
};

&pointer_accel {
input-type = <INPUT_EV_REL>;
track-remainders;
min-factor = <800>;
max-factor = <3000>;
speed-threshold = <1200>;
speed-max = <6000>;
acceleration-exponent = <2>;
};

&{
tpad0: tpad0 {
compatible = "zmk,input-listener";
device = <&glidepoint>;
input-processors = <&pointer_accel>;
};
};

https://github.com/oleksandrmaslov/zmk-config-test/tree/Acceleration-test

https://github.com/oleksandrmaslov/zmk-config-test/actions/runs/14315875479/job/40121726982

GitHub

Contribute to oleksandrmaslov/zmk-config-test development by creating an account on GitHub.

GitHub

Contribute to oleksandrmaslov/zmk-config-test development by creating an account on GitHub.

unreal root
gloomy mason
formal nest
#

So the error was not that?

gloomy mason
# formal nest So the error was not that?

yup, now i only have this in my logs failing, ._device.static.3_CONFIG_INPUT_PROCESSOR_ACCELERATION_INIT_PRIORITY_' from zephyr/libzephyr.a(input_processor_accel.c.obj)' being placed in section `.device.static.3_CONFIG_INPUT_PROCESSOR_ACCELERATION_INIT_PRIORITY'
/opt/zephyr-sdk-0.16.3/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd: Undefined initialization levels used.
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.UbLp9UH6Na
Error: Process completed with exit code 1.

My Kconfig:

DT_COMPAT_ZMK_INPUT_PROCESSOR_ACCELERATION := zmk,input-processor-acceleration

config ZMK_INPUT_PROCESSOR_ACCELERATION
bool "Enable input processor acceleration"
default $(dt_compat_enabled,$(DT_COMPAT_ZMK_INPUT_PROCESSOR_ACCELERATION))
depends on ZMK_POINTING
depends on INPUT
default y
depends on (!ZMK_SPLIT || ZMK_SPLIT_ROLE_CENTRAL)
help
Enables velocity-based acceleration for relative pointer input events.

config INPUT_PROCESSOR_ACCELERATION_INIT_PRIORITY
int "Input processor acceleration initialization priority"
default INPUT_INIT_PRIORITY
//** I removed** depends on ZMK_INPUT_PROCESSOR_ACCELERATION
here and it probably works

#

haven't tested if its even works, but instead my settings reset shield broke xd

gloomy mason