Skip to content

Conversation

jchillerup
Copy link

Consider this a draft PR until further notice.

Changes:

  • Added some more notes to the README and explained the steps to install the Pico SDK
  • Made a script that builds everything

The script needs to be updated with some distro-specific logic to install requirements. It also needs some echos to inform the user what's going on. Finally it would be nice if it could also flash the Raspberry Pi Pico.

@0rShemesh
Copy link

doesnt work for me :(:

/usr/lib/gcc/arm-none-eabi/10.3.1/../../../arm-none-eabi/bin/ld: CMakeFiles/tamarin_firmware.dir/main.c.obj: in function `main':
main.c:(.text.startup.main+0x68): undefined reference to `tud_vendor_flush'
/usr/lib/gcc/arm-none-eabi/10.3.1/../../../arm-none-eabi/bin/ld: main.c:(.text.startup.main+0x8e): undefined reference to `tud_vendor_flush'
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/tamarin_firmware.dir/build.make:1191: tamarin_firmware.elf] Error 1
make[1]: *** [CMakeFiles/Makefile2:1283: CMakeFiles/tamarin_firmware.dir/all] Error 2
make: *** [Makefile:91: all] Error 2

@intervade
Copy link

doesnt work for me :(:

/usr/lib/gcc/arm-none-eabi/10.3.1/../../../arm-none-eabi/bin/ld: CMakeFiles/tamarin_firmware.dir/main.c.obj: in function `main':
main.c:(.text.startup.main+0x68): undefined reference to `tud_vendor_flush'
/usr/lib/gcc/arm-none-eabi/10.3.1/../../../arm-none-eabi/bin/ld: main.c:(.text.startup.main+0x8e): undefined reference to `tud_vendor_flush'
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/tamarin_firmware.dir/build.make:1191: tamarin_firmware.elf] Error 1
make[1]: *** [CMakeFiles/Makefile2:1283: CMakeFiles/tamarin_firmware.dir/all] Error 2
make: *** [Makefile:91: all] Error 2

This error has to do with tinyusb. If you take out the part of the script where it changes the pico-sdk version it will compile. However, JTAG will probably be broken and seems can be fixed with pr #16

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants