Hello All,
I am trying to run one of the libDaisy Examples which is “MIDI_UART_Input”. However the code cannot find the “daisy_seed.h” libary.
Any thoughts?
Hello All,
I am trying to run one of the libDaisy Examples which is “MIDI_UART_Input”. However the code cannot find the “daisy_seed.h” libary.
Any thoughts?
More details might be useful. Exactly what did you do, and what was displayed?
Did you install libDaisy and DaisySP? Did you build the libraries?
Have you successfully built other examples?
On my system, that code builds correctly.
Hello,
Thank you for getting back so quickly and sorry for the lack of information.
I am using Visual Studio Code, With a Daisy seed of 65 MB. I am connected to the computer via USB.
I am attempting to build and program the “MIDI_UART_Input” example from the Lib Daisy folder so that I can test MIDI Din Input into the daisy. I have installed "libDaisy " & “DaisySP” using git Bach to download from Git Hub. When you say if I built the libraries, I am not very sure what that means, and maybe that’s why the code is not working as it should.
I am opening the subfolder from LibDaisy, when I try and build the code, I get the error code “cannot find the “daisy_seed.h” library”. Also when I press Shit P (Windows) and type “Task Build. all” nothing comes up like when doing the same for the bink example. I have successfully built and sent the blink seed example to the Daisy seed with it working.
I hope this information helps with the issue, Let me know if you need more detail.
The examples in libDaisy/examples have not been set up to build using VS Code.
I don’t use Windows, so I can’t be very specific, but from a command prompt in that directory, type ‘make’ to build the program, then type ‘make program-dfu’ to upload it to Daisy.
Thanks I will try this when I am home and let you know.
Pressing CTRL + SHIFT + P and Running: >makefile: Build clean the target ALL,
I get the error:
Drivers/Patched/STM32H7xx_HAL_Driver/Src/stm32h7xx_ll_sdmmc.c:154:10: fatal error: stm32h7xx_hal.h: No such file or directory
154 | #include “stm32h7xx_hal.h”
That is not what I suggest, maybe I wasn’t clear.
From a command line prompt, change directory to LibDaisy/examples/MIDI_UART_Input, then type ‘make’. In VS Code, use Terminal->New Terminal to get the command-line prompt.
Great thank you I have followed your instructions and it has worked! I am now have issues with the serial monitor.
I have no suggestion for this, as I have no experience with Windows drivers.
Ok my friend.
Thank you for all your support, you have helped a lot.
Out of curiosity what OS are you using?
I’ve been a Unix user for 40 years, and stopped using Windows in 2004.
I use Mac mostly, or Linux.