10000 setup_default_uart() error · Issue #1251 · earlephilhower/arduino-pico · GitHub
[go: up one dir, main page]

Skip to content
setup_default_uart() error #1251
@Dj-EKI

Description

@Dj-EKI

In both versions. 2.7.3 and 3.0.0
setup_default_uart();
Generates this error.

c:/users/reder/appdata/local/arduino15/packages/rp2040/tools/pqt-gcc/1.5.0-b-c7bab52/bin/../lib/gcc/arm-none-eabi/10.3.0/../../../../arm-none-eabi/bin/ld.exe: C:\Users\reder\AppData\Local\Arduino15\packages\rp2040\hardware\rp2040\3.0.0/lib/libpico.a(stdlib.c.obj): in function `setup_default_uart':
/home/earle/Arduino/hardware/pico/rp2040/pico-sdk/src/rp2_common/pico_stdlib/stdlib.c:94: undefined reference to `stdio_uart_init'
collect2.exe: error: ld returned 1 exit status

Maybe I'm using the function incorrectly. The sleep_run_from_xosc(); uses this function and produces the same error. sleep_run_from_xosc(); is from Pico-extras.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0