lcd_driver lost #222

Closed
opened 2025-12-15 09:50:48 +08:00 by DearSky1 · 2 comments
DearSky1 commented 2025-12-15 09:50:48 +08:00 (Migrated from github.com)

While I was trying to build pico-fido for waveshare_rp2350_geek and waveshare_rp2340_lcd, I have something wrong.
CMake goes well.
But while I try to make it, it seems to be going wrong:
[100%] Linking CXX executable pico_fido.elf
/usr/lib/gcc/arm-none-eabi/10.3.1/../../../arm-none-eabi/bin/ld: CMakeFiles/pico_fido.dir/pico-keys-sdk/src/led/led.c.o: in function led_blinking_task': /home/my_user_name/pico/pico-fido/pico-keys-sdk/src/led/led.c:72: undefined reference to led_driver_color'
/usr/lib/gcc/arm-none-eabi/10.3.1/../../../arm-none-eabi/bin/ld: CMakeFiles/pico_fido.dir/pico-keys-sdk/src/led/led.c.o: in function led_init': /home/my_user_name/pico/pico-fido/pico-keys-sdk/src/led/led.c:92: undefined reference to led_driver_init'
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/pico_fido.dir/build.make:2842:pico_fido.elf] error 1
make[1]: *** [CMakeFiles/Makefile2:1908:CMakeFiles/pico_fido.dir/all] error 2
make: *** [Makefile:91:all] error 2

While I was trying to build pico-fido for waveshare_rp2350_geek and waveshare_rp2340_lcd, I have something wrong. CMake goes well. But while I try to make it, it seems to be going wrong: [100%] Linking CXX executable pico_fido.elf /usr/lib/gcc/arm-none-eabi/10.3.1/../../../arm-none-eabi/bin/ld: CMakeFiles/pico_fido.dir/pico-keys-sdk/src/led/led.c.o: in function `led_blinking_task': /home/my_user_name/pico/pico-fido/pico-keys-sdk/src/led/led.c:72: undefined reference to `led_driver_color' /usr/lib/gcc/arm-none-eabi/10.3.1/../../../arm-none-eabi/bin/ld: CMakeFiles/pico_fido.dir/pico-keys-sdk/src/led/led.c.o: in function `led_init': /home/my_user_name/pico/pico-fido/pico-keys-sdk/src/led/led.c:92: undefined reference to `led_driver_init' collect2: error: ld returned 1 exit status make[2]: *** [CMakeFiles/pico_fido.dir/build.make:2842:pico_fido.elf] error 1 make[1]: *** [CMakeFiles/Makefile2:1908:CMakeFiles/pico_fido.dir/all] error 2 make: *** [Makefile:91:all] error 2
IsayIsee commented 2025-12-15 14:45:06 +08:00 (Migrated from github.com)
https://github.com/polhenarejos/pico-fido2/issues/16
DearSky1 commented 2025-12-15 14:47:11 +08:00 (Migrated from github.com)
> [polhenarejos/pico-fido2#16](https://github.com/polhenarejos/pico-fido2/issues/16) ok, Thanks
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: dearsky/pico-fido#222