Skip to content

Bootloader will not build #40

@SvenHaedrich

Description

@SvenHaedrich

I tried to follow the build instructions for the multi-bootloader.. I follow the instructions in the README.md. Nevertheless, the build fails with:

[100%] Linking CXX executable PicoMite.elf
/usr/lib/gcc/arm-none-eabi/13.2.1/../../../arm-none-eabi/bin/ld: CMakeFiles/PicoMite.dir/External.c.o: in function `cmd_port':
/home/sven/Repos/PicoCalc/Code/pico_multi_booter/picomite/External.c:1591:(.text.cmd_port+0x196): undefined reference to `gpio_get_out_level_all64'
/usr/lib/gcc/arm-none-eabi/13.2.1/../../../arm-none-eabi/bin/ld: CMakeFiles/PicoMite.dir/External.c.o: in function `fun_port':
/home/sven/Repos/PicoCalc/Code/pico_multi_booter/picomite/External.c:1648:(.text.fun_port+0x3a): undefined reference to `gpio_get_out_level_all64'
collect2: error: ld returned 1 exit status
make[2]: *** [picomite/CMakeFiles/PicoMite.dir/build.make:2107: picomite/PicoMite.elf] Error 1
make[1]: *** [CMakeFiles/Makefile2:2801: picomite/CMakeFiles/PicoMite.dir/all] Error 2
make: *** [Makefile:91: all] Error 2

This leaves me puzzeled. The following would be nice:

  • include the pico-sdk in the project. It would nice to pin the version.
  • pin the pico toolchain version
  • for me, the build had warnings

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions