Skip to content

undefined reference to `__device_dts_ord_XX' #50628

Discussion options

You must be logged in to vote

Well I'm not sure if this was the problem, but I made some changes to my "pwmleds" property:

aliases {
            i2c1node = &i2c1;
            i2c3node = &i2c3;
            spi1node = &spi1;
            uartnode = &usart2;
            pwmled0 = &pwm_led_white;
    };

    pwmleds {
        compatible = "pwm-leds";
        pwm_led_white: external_pwm_led {
            pwms = < &pwm1 1 256 PWM_POLARITY_NORMAL >;
        };
    };

So now the device name "pwm_led_white" is different then the property's name "external_pwm_led". I seem to be able to extract the node with its alias. @erwango correct me if I'm wrong but there is a binding named "external_pwm_leds" in "pwmleds" that I was not u…

Replies: 3 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
4 replies
@Dave-Poissant
Comment options

@erwango
Comment options

erwango Sep 26, 2022
Collaborator

@Dave-Poissant
Comment options

@Dave-Poissant
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by Dave-Poissant
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants