I don’t see the libDaisy directory under the “seed” directory. There also seems to be a discrepancy between naming convention/capitalization. I have DaisyExamples/libdaisy, but no libDaisy in camel case.
Is it possible it’s caused by this commit from a few days ago? It seems to be renaming the path from libdaisy to libDaisy.
I am brand new to daisy and fairly new to embedded programming, so I could be completely off here.
Thanks for reaching out, and I’m sorry to hear you’re running into an issue.
This does seem possibly connected to the previous commit. However, the error is also potentially misleading.
There shouldn’t be a seed/libDaisy folder. The libDaisy folder is located in the root level of the DaisyExamples repo.
That said, it could just be an issue with the capitalization. We’ll get a fix pushed ASAP that will properly capitalize the “D” in libDaisy everywhere including the core library folder.
In the meantime, you can certainly rename the folder from libdaisy to libDaisy, and that should potentially resolve the issue.
Thanks for reporting the find, I have just made a PR on Github that resolves this typo in the template used to create new projects, and in each existing example project.
Once the CI passes it’ll be merged on master and you can git pull to fix this for all local examples.
Did you guys install with the new toolchain process or the old one?
The up to date process is detailed here. There’s an M1 version of the installer as well!
If you’ve already done that, or it doesn’t fix the issue let me know and we can work through some more troubleshooting!
Build_all is fine with the new m1 toolchain. But now, when trying to flash a daisy (build and program DFU), we have this error:
arm-none-eabi-objcopy -O ihex build/Blink.elf build/Blink.hex
arm-none-eabi-objcopy -O binary -S build/Blink.elf build/Blink.bin
dfu-util -a 0 -s 0x08000000:leave -D build/Blink.bin -d ,0483:df11
dyld[64839]: Library not loaded: /opt/homebrew/opt/libusb/lib/libusb-1.0.0.dylib
Referenced from: <53A63BB6-A914-3B92-AA7A-FBF6C96E5AA7> /Library/DaisyToolchain/0.1.3-ARM/bin/dfu-util
Reason: tried: '/opt/homebrew/opt/libusb/lib/libusb-1.0.0.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/opt/libusb/lib/libusb-1.0.0.dylib' (no such file), '/opt/homebrew/opt/libusb/lib/libusb-1.0.0.dylib' (no such file), '/usr/local/lib/libusb-1.0.0.dylib' (no such file), '/usr/lib/libusb-1.0.0.dylib' (no such file, not in dyld cache)
make: *** [program-dfu] Abort trap: 6
* The terminal process "/bin/zsh '-c', 'make clean; make; make program-dfu'" terminated with exit code: 2.
* Terminal will be reused by tasks, press any key to close it.
the problem is solved. Just need to install the libusb: “brew install libusb”. Please, add it in your PKG.
…was loosing a few of my already grey hair over this…
…thank you for posting the solution!..however, now i am stuck at
dfu-util: Warning: Invalid DFU suffix signature
dfu-util: A valid DFU suffix will be required in a future dfu-util release
dfu-util: No DFU capable USB device available
make: *** [program-dfu] Error 74
…i guess i was not able to get the Seed into flashable-mode - despite trying several times to hold the boot button, press the reset button, let go of the reset then the boot button…during the whole process from pluging the Seed into the USB and during the reset the Seed-User-LED never flashes…
…posted too fast - had not all the facts collected yet:
using another Seed (the first one is on a Daisy Patch and seems to have some app running) the User-LED was blinking from the moment it was powered via USB
the reset-procedure seems to work as the User-LED stops blinking
however: checking the USB-connections (via the System Information) i cannot see the Seed at all; it is not visible on any port (tried several)
MacBook Pro M1 Max on macOS Ventura 13.1 - fresh install of all Seed-related software (bridge, Visual Studio code, etc.)
It sounds like you did everything right. I think in the other thread that you posted on, you were advised to triple check the USB cable (making sure it sends data rather than just powering Daisy). That’s the only thing I could think of.
Definitely try out older versions, which I know is not the most ideal.
And I don’t think getting the debug probe will fix this particular issue either (although I do recommend getting it once Daisy itself is working!).
Final thing is, maybe somebody in the Daisy Discord may have a solution!
Good luck! I really hope this gets solved very soon.