bkshepherd / DaisySeedProjects

A collection of hardware and software projects based around the Electro-Smith Daisy Seed
MIT License
229 stars 34 forks source link

Can't build and deploy the Code #39

Closed MarkusBaumknecht closed 3 days ago

MarkusBaumknecht commented 5 days ago

hi Keith!

First of all I wanted to say thanks for this project and the documentation, it's really been a breeze to build and follow and I've learned a lot in the process.

I have one issue though. Everything up to this point works fine, but I get an error message when trying to compile the code on windows, more specifically when running the make program-dfu command in VSCode.

This is what I'm getting:

dfu-util -a 0 -s 0x90040000:leave -D build/guitarpedal.bin -d ,0483:df11 dfu-util 0.10

Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc. Copyright 2010-2020 Tormod Volden and Stefan Schmidt This program is Free Software and has ABSOLUTELY NO WARRANTY Please report bugs to http://sourceforge.net/p/dfu-util/tickets/

No such file or directory: Could not open file build/guitarpedal.bin for reading make: *** [libDaisy/core/Makefile:345: program-dfu] Error 74

people in the Electrosmith forums suggested it might have something to do with building the libraries, but that didn't seem to be the issue after all. can you comment? I'm on Windows 10 and using VSCode / Git CMD.

best wishes!

xconverge commented 4 days ago

Can you post the output of when you ran make (not program-dfu)?

I suspect there is an error in generating guitarpedal.bin which is the previous step

MarkusBaumknecht commented 4 days ago

$ make program-boot

dfu-util -a 0 -s 0x08000000:leave -D libDaisy/core/dsy_bootloader_v6_2-intdfu-2000ms.bin -d ,0483:df11 dfu-util 0.10

Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc. Copyright 2010-2020 Tormod Volden and Stefan Schmidt This program is Free Software and has ABSOLUTELY NO WARRANTY Please report bugs to http://sourceforge.net/p/dfu-util/tickets/

Warning: Invalid DFU suffix signature A valid DFU suffix will be required in a future dfu-util release!!! Opening DFU capable USB device... ID 0483:df11 Run-time device DFU version 011a Claiming USB DFU Interface... Setting Alternate Setting #0 ... Determining device status: state = dfuIDLE, status = 0 dfuIDLE, continuing DFU mode device DFU version 011a Device returned transfer size 1024 DfuSe interface name: "Internal Flash " Downloading element to address = 0x08000000, size = 126548 Erase [=========================] 100% 126548 bytes Erase done. Download [=========================] 100% 126548 bytes Download done. File downloaded successfully Error during download get_status make: *** [libDaisy/core/Makefile:348: program-boot] Error 74

xconverge commented 4 days ago

It looks like you have the bootloader flashed, so now it is time to build and flash the software (these next steps you will do over and over again if you make software changes)

We can update the README later if it is missing some steps, for now, but here are the steps I do

make

to build the .bin firmware for the pedal (I do make -j8 to go a bit faster). It should end with a summary of how much memory will be used by the program

then press the reset button, and very quickly within 2 to 3 seconds

make program-dfu

to write the .bin to the daisy

xconverge commented 4 days ago

If you encounter issues, you also may need to build libDaisy and DaisySP first

cd libDaisy/
make -j8
cd ..
cd DaisySP/
make -j8

then try again with the original

make -j8

If you open the project in vscode, there are some tasks to do these as well, but these manual steps should be fine too (and how I do it)

MarkusBaumknecht commented 4 days ago

Ok, I tried to follow your steps (everything in VSCode). It seems that DaisySP is being built, but there is an issue with libdaisy and then naturally the main build won't happen either.

Here's the output for the respective steps:

./libDaisy (main) $ make -j8

mkdir build make: No rule to make target 'build/Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal.o', needed by 'build/libdaisy.a'. Stop. make: Waiting for unfinished jobs....

./DaisySP (master) $ make -j8

mkdir build arm-none-eabi-g++ -c -mcpu=cortex-m7 -mthumb -mfpu=fpv5-d16 -mfloat-abi=hard -DSTM32H750xx -ISource -ISource/Control -ISource/Drums -ISource/Dynamics -ISource/Effects -ISource/Filters -ISource/Noise -ISource/PhysicalModeling -ISource/Synthesis -ISource/Utility -O3 -Wall -Werror -fdata-sections -ffunction-sections -MMD -MP -MF"build/adenv.d" -MT"build/adenv.d" -fno-exceptions -finline-functions -std=gnu++14 -static -Wa,-a,-ad,-alms=build/adenv.lst Source/Control/adenv.cpp -o build/adenv.o arm-none-eabi-g++ -c -mcpu=cortex-m7 -mthumb -mfpu=fpv5-d16 -mfloat-abi=hard -DSTM32H750xx -ISource -ISource/Control -ISource/Drums -ISource/Dynamics -ISource/Effects -ISource/Filters -ISource/Noise -ISource/PhysicalModeling -ISource/Synthesis -ISource/Utility -O3 -Wall -Werror -fdata-sections -ffunction-sections -MMD -MP -MF"build/adsr.d" -MT"build/adsr.d" -fno-exceptions -finline-functions -std=gnu++14 -static -Wa,-a,-ad,-alms=build/adsr.lst Source/Control/adsr.cpp -o build/adsr.o arm-none-eabi-g++ -c -mcpu=cortex-m7 -mthumb -mfpu=fpv5-d16 -mfloat-abi=hard -DSTM32H750xx -ISource -ISource/Control -ISource/Drums -ISource/Dynamics -ISource/Effects -ISource/Filters -ISource/Noise -ISource/PhysicalModeling -ISource/Synthesis -ISource/Utility -O3 -Wall -Werror -fdata-sections -ffunction-sections -MMD -MP -MF"build/phasor.d" -MT"build/phasor.d" -fno-exceptions -finline-functions -std=gnu++14 -static -Wa,-a,-ad,-alms=build/phasor.lst Source/Control/phasor.cpp -o build/phasor.o arm-none-eabi-g++ -c -mcpu=cortex-m7 -mthumb -mfpu=fpv5-d16 -mfloat-abi=hard -DSTM32H750xx -ISource -ISource/Control -ISource/Drums -ISource/Dynamics -ISource/Effects -ISource/Filters -ISource/Noise -ISource/PhysicalModeling -ISource/Synthesis -ISource/Utility -O3 -Wall -Werror -fdata-sections -ffunction-sections -MMD -MP -MF"build/analogbassdrum.d" -MT"build/analogbassdrum.d" -fno-exceptions -finline-functions -std=gnu++14 -static -Wa,-a,-ad,-alms=build/analogbassdrum.lst Source/Drums/analogbassdrum.cpp -o build/analogbassdrum.o arm-none-eabi-g++ -c -mcpu=cortex-m7 -mthumb -mfpu=fpv5-d16 -mfloat-abi=hard -DSTM32H750xx -ISource -ISource/Control -ISource/Drums -ISource/Dynamics -ISource/Effects -ISource/Filters -ISource/Noise -ISource/PhysicalModeling -ISource/Synthesis -ISource/Utility -O3 -Wall -Werror -fdata-sections -ffunction-sections -MMD -MP -MF"build/analogsnaredrum.d" -MT"build/analogsnaredrum.d" -fno-exceptions -finline-functions -std=gnu++14 -static -Wa,-a,-ad,-alms=build/analogsnaredrum.lst Source/Drums/analogsnaredrum.cpp -o build/analogsnaredrum.o arm-none-eabi-g++ -c -mcpu=cortex-m7 -mthumb -mfpu=fpv5-d16 -mfloat-abi=hard -DSTM32H750xx -ISource -ISource/Control -ISource/Drums -ISource/Dynamics -ISource/Effects -ISource/Filters -ISource/Noise -ISource/PhysicalModeling -ISource/Synthesis -ISource/Utility -O3 -Wall -Werror -fdata-sections -ffunction-sections -MMD -MP -MF"build/hihat.d" -MT"build/hihat.d" -fno-exceptions -finline-functions -std=gnu++14 -static -Wa,-a,-ad,-alms=build/hihat.lst Source/Drums/hihat.cpp -o build/hihat.o arm-none-eabi-g++ -c -mcpu=cortex-m7 -mthumb -mfpu=fpv5-d16 -mfloat-abi=hard -DSTM32H750xx -ISource -ISource/Control -ISource/Drums -ISource/Dynamics -ISource/Effects -ISource/Filters -ISource/Noise -ISource/PhysicalModeling -ISource/Synthesis -ISource/Utility -O3 -Wall -Werror -fdata-sections -ffunction-sections -MMD -MP -MF"build/synthbassdrum.d" -MT"build/synthbassdrum.d" -fno-exceptions -finline-functions -std=gnu++14 -static -Wa,-a,-ad,-alms=build/synthbassdrum.lst Source/Drums/synthbassdrum.cpp -o build/synthbassdrum.o
arm-none-eabi-g++ -c -mcpu=cortex-m7 -mthumb -mfpu=fpv5-d16 -mfloat-abi=hard -DSTM32H750xx -ISource -ISource/Control -ISource/Drums -ISource/Dynamics -ISource/Effects -ISource/Filters -ISource/Noise -ISource/PhysicalModeling -ISource/Synthesis -ISource/Utility -O3 -Wall -Werror -fdata-sections -ffunction-sections -MMD -MP -MF"build/synthsnaredrum.d" -MT"build/synthsnaredrum.d" -fno-exceptions -finline-functions -std=gnu++14 -static -Wa,-a,-ad,-alms=build/synthsnaredrum.lst Source/Drums/synthsnaredrum.cpp -o build/synthsnaredrum.o arm-none-eabi-g++ -c -mcpu=cortex-m7 -mthumb -mfpu=fpv5-d16 -mfloat-abi=hard -DSTM32H750xx -ISource -ISource/Control -ISource/Drums -ISource/Dynamics -ISource/Effects -ISource/Filters -ISource/Noise -ISource/PhysicalModeling -ISource/Synthesis -ISource/Utility -O3 -Wall -Werror -fdata-sections -ffunction-sections -MMD -MP -MF"build/crossfade.d" -MT"build/crossfade.d" -fno-exceptions -finline-functions -std=gnu++14 -static -Wa,-a,-ad,-alms=build/crossfade.lst Source/Dynamics/crossfade.cpp -o build/crossfade.o arm-none-eabi-g++ -c -mcpu=cortex-m7 -mthumb -mfpu=fpv5-d16 -mfloat-abi=hard -DSTM32H750xx -ISource -ISource/Control -ISource/Drums -ISource/Dynamics -ISource/Effects -ISource/Filters -ISource/Noise -ISource/PhysicalModeling -ISource/Synthesis -ISource/Utility -O3 -Wall -Werror -fdata-sections -ffunction-sections -MMD -MP -MF"build/limiter.d" -MT"build/limiter.d" -fno-exceptions -finline-functions -std=gnu++14 -static -Wa,-a,-ad,-alms=build/limiter.lst Source/Dynamics/limiter.cpp -o build/limiter.o arm-none-eabi-g++ -c -mcpu=cortex-m7 -mthumb -mfpu=fpv5-d16 -mfloat-abi=hard -DSTM32H750xx -ISource -ISource/Control -ISource/Drums -ISource/Dynamics -ISource/Effects -ISource/Filters -ISource/Noise -ISource/PhysicalModeling -ISource/Synthesis -ISource/Utility -O3 -Wall -Werror -fdata-sections -ffunction-sections -MMD -MP -MF"build/autowah.d" -MT"build/autowah.d" -fno-exceptions -finline-functions -std=gnu++14 -static -Wa,-a,-ad,-alms=build/autowah.lst Source/Effects/autowah.cpp -o build/autowah.o arm-none-eabi-g++ -c -mcpu=cortex-m7 -mthumb -mfpu=fpv5-d16 -mfloat-abi=hard -DSTM32H750xx -ISource -ISource/Control -ISource/Drums -ISource/Dynamics -ISource/Effects -ISource/Filters -ISource/Noise -ISource/PhysicalModeling -ISource/Synthesis -ISource/Utility -O3 -Wall -Werror -fdata-sections -ffunction-sections -MMD -MP -MF"build/chorus.d" -MT"build/chorus.d" -fno-exceptions -finline-functions -std=gnu++14 -static -Wa,-a,-ad,-alms=build/chorus.lst Source/Effects/chorus.cpp -o build/chorus.o arm-none-eabi-g++ -c -mcpu=cortex-m7 -mthumb -mfpu=fpv5-d16 -mfloat-abi=hard -DSTM32H750xx -ISource -ISource/Control -ISource/Drums -ISource/Dynamics -ISource/Effects -ISource/Filters -ISource/Noise -ISource/PhysicalModeling -ISource/Synthesis -ISource/Utility -O3 -Wall -Werror -fdata-sections -ffunction-sections -MMD -MP -MF"build/decimator.d" -MT"build/decimator.d" -fno-exceptions -finline-functions -std=gnu++14 -static -Wa,-a,-ad,-alms=build/decimator.lst Source/Effects/decimator.cpp -o build/decimator.o arm-none-eabi-g++ -c -mcpu=cortex-m7 -mthumb -mfpu=fpv5-d16 -mfloat-abi=hard -DSTM32H750xx -ISource -ISource/Control -ISource/Drums -ISource/Dynamics -ISource/Effects -ISource/Filters -ISource/Noise -ISource/PhysicalModeling -ISource/Synthesis -ISource/Utility -O3 -Wall -Werror -fdata-sections -ffunction-sections -MMD -MP -MF"build/flanger.d" -MT"build/flanger.d" -fno-exceptions -finline-functions -std=gnu++14 -static -Wa,-a,-ad,-alms=build/flanger.lst Source/Effects/flanger.cpp -o build/flanger.o arm-none-eabi-g++ -c -mcpu=cortex-m7 -mthumb -mfpu=fpv5-d16 -mfloat-abi=hard -DSTM32H750xx -ISource -ISource/Control -ISource/Drums -ISource/Dynamics -ISource/Effects -ISource/Filters -ISource/Noise -ISource/PhysicalModeling -ISource/Synthesis -ISource/Utility -O3 -Wall -Werror -fdata-sections -ffunction-sections -MMD -MP -MF"build/overdrive.d" -MT"build/overdrive.d" -fno-exceptions -finline-functions -std=gnu++14 -static -Wa,-a,-ad,-alms=build/overdrive.lst Source/Effects/overdrive.cpp -o build/overdrive.o arm-none-eabi-g++ -c -mcpu=cortex-m7 -mthumb -mfpu=fpv5-d16 -mfloat-abi=hard -DSTM32H750xx -ISource -ISource/Control -ISource/Drums -ISource/Dynamics -ISource/Effects -ISource/Filters -ISource/Noise -ISource/PhysicalModeling -ISource/Synthesis -ISource/Utility -O3 -Wall -Werror -fdata-sections -ffunction-sections -MMD -MP -MF"build/phaser.d" -MT"build/phaser.d" -fno-exceptions -finline-functions -std=gnu++14 -static -Wa,-a,-ad,-alms=build/phaser.lst Source/Effects/phaser.cpp -o build/phaser.o arm-none-eabi-g++ -c -mcpu=cortex-m7 -mthumb -mfpu=fpv5-d16 -mfloat-abi=hard -DSTM32H750xx -ISource -ISource/Control -ISource/Drums -ISource/Dynamics -ISource/Effects -ISource/Filters -ISource/Noise -ISource/PhysicalModeling -ISource/Synthesis -ISource/Utility -O3 -Wall -Werror -fdata-sections -ffunction-sections -MMD -MP -MF"build/sampleratereducer.d" -MT"build/sampleratereducer.d" -fno-exceptions -finline-functions -std=gnu++14 -static -Wa,-a,-ad,-alms=build/sampleratereducer.lst Source/Effects/sampleratereducer.cpp -o build/sampleratereducer.o arm-none-eabi-g++ -c -mcpu=cortex-m7 -mthumb -mfpu=fpv5-d16 -mfloat-abi=hard -DSTM32H750xx -ISource -ISource/Control -ISource/Drums -ISource/Dynamics -ISource/Effects -ISource/Filters -ISource/Noise -ISource/PhysicalModeling -ISource/Synthesis -ISource/Utility -O3 -Wall -Werror -fdata-sections -ffunction-sections -MMD -MP -MF"build/tremolo.d" -MT"build/tremolo.d" -fno-exceptions -finline-functions -std=gnu++14 -static -Wa,-a,-ad,-alms=build/tremolo.lst Source/Effects/tremolo.cpp -o build/tremolo.o arm-none-eabi-g++ -c -mcpu=cortex-m7 -mthumb -mfpu=fpv5-d16 -mfloat-abi=hard -DSTM32H750xx -ISource -ISource/Control -ISource/Drums -ISource/Dynamics -ISource/Effects -ISource/Filters -ISource/Noise -ISource/PhysicalModeling -ISource/Synthesis -ISource/Utility -O3 -Wall -Werror -fdata-sections -ffunction-sections -MMD -MP -MF"build/wavefolder.d" -MT"build/wavefolder.d" -fno-exceptions -finline-functions -std=gnu++14 -static -Wa,-a,-ad,-alms=build/wavefolder.lst Source/Effects/wavefolder.cpp -o build/wavefolder.o arm-none-eabi-g++ -c -mcpu=cortex-m7 -mthumb -mfpu=fpv5-d16 -mfloat-abi=hard -DSTM32H750xx -ISource -ISource/Control -ISource/Drums -ISource/Dynamics -ISource/Effects -ISource/Filters -ISource/Noise -ISource/PhysicalModeling -ISource/Synthesis -ISource/Utility -O3 -Wall -Werror -fdata-sections -ffunction-sections -MMD -MP -MF"build/ladder.d" -MT"build/ladder.d" -fno-exceptions -finline-functions -std=gnu++14 -static -Wa,-a,-ad,-alms=build/ladder.lst Source/Filters/ladder.cpp -o build/ladder.o arm-none-eabi-g++ -c -mcpu=cortex-m7 -mthumb -mfpu=fpv5-d16 -mfloat-abi=hard -DSTM32H750xx -ISource -ISource/Control -ISource/Drums -ISource/Dynamics -ISource/Effects -ISource/Filters -ISource/Noise -ISource/PhysicalModeling -ISource/Synthesis -ISource/Utility -O3 -Wall -Werror -fdata-sections -ffunction-sections -MMD -MP -MF"build/svf.d" -MT"build/svf.d" -fno-exceptions -finline-functions -std=gnu++14 -static -Wa,-a,-ad,-alms=build/svf.lst Source/Filters/svf.cpp -o build/svf.o arm-none-eabi-g++ -c -mcpu=cortex-m7 -mthumb -mfpu=fpv5-d16 -mfloat-abi=hard -DSTM32H750xx -ISource -ISource/Control -ISource/Drums -ISource/Dynamics -ISource/Effects -ISource/Filters -ISource/Noise -ISource/PhysicalModeling -ISource/Synthesis -ISource/Utility -O3 -Wall -Werror -fdata-sections -ffunction-sections -MMD -MP -MF"build/soap.d" -MT"build/soap.d" -fno-exceptions -finline-functions -std=gnu++14 -static -Wa,-a,-ad,-alms=build/soap.lst Source/Filters/soap.cpp -o build/soap.o arm-none-eabi-g++ -c -mcpu=cortex-m7 -mthumb -mfpu=fpv5-d16 -mfloat-abi=hard -DSTM32H750xx -ISource -ISource/Control -ISource/Drums -ISource/Dynamics -ISource/Effects -ISource/Filters -ISource/Noise -ISource/PhysicalModeling -ISource/Synthesis -ISource/Utility -O3 -Wall -Werror -fdata-sections -ffunction-sections -MMD -MP -MF"build/clockednoise.d" -MT"build/clockednoise.d" -fno-exceptions -finline-functions -std=gnu++14 -static -Wa,-a,-ad,-alms=build/clockednoise.lst Source/Noise/clockednoise.cpp -o build/clockednoise.o arm-none-eabi-g++ -c -mcpu=cortex-m7 -mthumb -mfpu=fpv5-d16 -mfloat-abi=hard -DSTM32H750xx -ISource -ISource/Control -ISource/Drums -ISource/Dynamics -ISource/Effects -ISource/Filters -ISource/Noise -ISource/PhysicalModeling -ISource/Synthesis -ISource/Utility -O3 -Wall -Werror -fdata-sections -ffunction-sections -MMD -MP -MF"build/grainlet.d" -MT"build/grainlet.d" -fno-exceptions -finline-functions -std=gnu++14 -static -Wa,-a,-ad,-alms=build/grainlet.lst Source/Noise/grainlet.cpp -o build/grainlet.o arm-none-eabi-g++ -c -mcpu=cortex-m7 -mthumb -mfpu=fpv5-d16 -mfloat-abi=hard -DSTM32H750xx -ISource -ISource/Control -ISource/Drums -ISource/Dynamics -ISource/Effects -ISource/Filters -ISource/Noise -ISource/PhysicalModeling -ISource/Synthesis -ISource/Utility -O3 -Wall -Werror -fdata-sections -ffunction-sections -MMD -MP -MF"build/particle.d" -MT"build/particle.d" -fno-exceptions -finline-functions -std=gnu++14 -static -Wa,-a,-ad,-alms=build/particle.lst Source/Noise/particle.cpp -o build/particle.o arm-none-eabi-g++ -c -mcpu=cortex-m7 -mthumb -mfpu=fpv5-d16 -mfloat-abi=hard -DSTM32H750xx -ISource -ISource/Control -ISource/Drums -ISource/Dynamics -ISource/Effects -ISource/Filters -ISource/Noise -ISource/PhysicalModeling -ISource/Synthesis -ISource/Utility -O3 -Wall -Werror -fdata-sections -ffunction-sections -MMD -MP -MF"build/drip.d" -MT"build/drip.d" -fno-exceptions -finline-functions -std=gnu++14 -static -Wa,-a,-ad,-alms=build/drip.lst Source/PhysicalModeling/drip.cpp -o build/drip.o arm-none-eabi-g++ -c -mcpu=cortex-m7 -mthumb -mfpu=fpv5-d16 -mfloat-abi=hard -DSTM32H750xx -ISource -ISource/Control -ISource/Drums -ISource/Dynamics -ISource/Effects -ISource/Filters -ISource/Noise -ISource/PhysicalModeling -ISource/Synthesis -ISource/Utility -O3 -Wall -Werror -fdata-sections -ffunction-sections -MMD -MP -MF"build/KarplusString.d" -MT"build/KarplusString.d" -fno-exceptions -finline-functions -std=gnu++14 -static -Wa,-a,-ad,-alms=build/KarplusString.lst Source/PhysicalModeling/KarplusString.cpp -o build/KarplusString.o arm-none-eabi-g++ -c -mcpu=cortex-m7 -mthumb -mfpu=fpv5-d16 -mfloat-abi=hard -DSTM32H750xx -ISource -ISource/Control -ISource/Drums -ISource/Dynamics -ISource/Effects -ISource/Filters -ISource/Noise -ISource/PhysicalModeling -ISource/Synthesis -ISource/Utility -O3 -Wall -Werror -fdata-sections -ffunction-sections -MMD -MP -MF"build/modalvoice.d" -MT"build/modalvoice.d" -fno-exceptions -finline-functions -std=gnu++14 -static -Wa,-a,-ad,-alms=build/modalvoice.lst Source/PhysicalModeling/modalvoice.cpp -o build/modalvoice.o arm-none-eabi-g++ -c -mcpu=cortex-m7 -mthumb -mfpu=fpv5-d16 -mfloat-abi=hard -DSTM32H750xx -ISource -ISource/Control -ISource/Drums -ISource/Dynamics -ISource/Effects -ISource/Filters -ISource/Noise -ISource/PhysicalModeling -ISource/Synthesis -ISource/Utility -O3 -Wall -Werror -fdata-sections -ffunction-sections -MMD -MP -MF"build/resonator.d" -MT"build/resonator.d" -fno-exceptions -finline-functions -std=gnu++14 -static -Wa,-a,-ad,-alms=build/resonator.lst Source/PhysicalModeling/resonator.cpp -o build/resonator.o arm-none-eabi-g++ -c -mcpu=cortex-m7 -mthumb -mfpu=fpv5-d16 -mfloat-abi=hard -DSTM32H750xx -ISource -ISource/Control -ISource/Drums -ISource/Dynamics -ISource/Effects -ISource/Filters -ISource/Noise -ISource/PhysicalModeling -ISource/Synthesis -ISource/Utility -O3 -Wall -Werror -fdata-sections -ffunction-sections -MMD -MP -MF"build/stringvoice.d" -MT"build/stringvoice.d" -fno-exceptions -finline-functions -std=gnu++14 -static -Wa,-a,-ad,-alms=build/stringvoice.lst Source/PhysicalModeling/stringvoice.cpp -o build/stringvoice.o
arm-none-eabi-g++ -c -mcpu=cortex-m7 -mthumb -mfpu=fpv5-d16 -mfloat-abi=hard -DSTM32H750xx -ISource -ISource/Control -ISource/Drums -ISource/Dynamics -ISource/Effects -ISource/Filters -ISource/Noise -ISource/PhysicalModeling -ISource/Synthesis -ISource/Utility -O3 -Wall -Werror -fdata-sections -ffunction-sections -MMD -MP -MF"build/granularplayer.d" -MT"build/granularplayer.d" -fno-exceptions -finline-functions -std=gnu++14 -static -Wa,-a,-ad,-alms=build/granularplayer.lst Source/Sampling/granularplayer.cpp -o build/granularplayer.o arm-none-eabi-g++ -c -mcpu=cortex-m7 -mthumb -mfpu=fpv5-d16 -mfloat-abi=hard -DSTM32H750xx -ISource -ISource/Control -ISource/Drums -ISource/Dynamics -ISource/Effects -ISource/Filters -ISource/Noise -ISource/PhysicalModeling -ISource/Synthesis -ISource/Utility -O3 -Wall -Werror -fdata-sections -ffunction-sections -MMD -MP -MF"build/fm2.d" -MT"build/fm2.d" -fno-exceptions -finline-functions -std=gnu++14 -static -Wa,-a,-ad,-alms=build/fm2.lst Source/Synthesis/fm2.cpp -o build/fm2.o arm-none-eabi-g++ -c -mcpu=cortex-m7 -mthumb -mfpu=fpv5-d16 -mfloat-abi=hard -DSTM32H750xx -ISource -ISource/Control -ISource/Drums -ISource/Dynamics -ISource/Effects -ISource/Filters -ISource/Noise -ISource/PhysicalModeling -ISource/Synthesis -ISource/Utility -O3 -Wall -Werror -fdata-sections -ffunction-sections -MMD -MP -MF"build/formantosc.d" -MT"build/formantosc.d" -fno-exceptions -finline-functions -std=gnu++14 -static -Wa,-a,-ad,-alms=build/formantosc.lst Source/Synthesis/formantosc.cpp -o build/formantosc.o arm-none-eabi-g++ -c -mcpu=cortex-m7 -mthumb -mfpu=fpv5-d16 -mfloat-abi=hard -DSTM32H750xx -ISource -ISource/Control -ISource/Drums -ISource/Dynamics -ISource/Effects -ISource/Filters -ISource/Noise -ISource/PhysicalModeling -ISource/Synthesis -ISource/Utility -O3 -Wall -Werror -fdata-sections -ffunction-sections -MMD -MP -MF"build/oscillator.d" -MT"build/oscillator.d" -fno-exceptions -finline-functions -std=gnu++14 -static -Wa,-a,-ad,-alms=build/oscillator.lst Source/Synthesis/oscillator.cpp -o build/oscillator.o arm-none-eabi-g++ -c -mcpu=cortex-m7 -mthumb -mfpu=fpv5-d16 -mfloat-abi=hard -DSTM32H750xx -ISource -ISource/Control -ISource/Drums -ISource/Dynamics -ISource/Effects -ISource/Filters -ISource/Noise -ISource/PhysicalModeling -ISource/Synthesis -ISource/Utility -O3 -Wall -Werror -fdata-sections -ffunction-sections -MMD -MP -MF"build/oscillatorbank.d" -MT"build/oscillatorbank.d" -fno-exceptions -finline-functions -std=gnu++14 -static -Wa,-a,-ad,-alms=build/oscillatorbank.lst Source/Synthesis/oscillatorbank.cpp -o build/oscillatorbank.o arm-none-eabi-g++ -c -mcpu=cortex-m7 -mthumb -mfpu=fpv5-d16 -mfloat-abi=hard -DSTM32H750xx -ISource -ISource/Control -ISource/Drums -ISource/Dynamics -ISource/Effects -ISource/Filters -ISource/Noise -ISource/PhysicalModeling -ISource/Synthesis -ISource/Utility -O3 -Wall -Werror -fdata-sections -ffunction-sections -MMD -MP -MF"build/variablesawosc.d" -MT"build/variablesawosc.d" -fno-exceptions -finline-functions -std=gnu++14 -static -Wa,-a,-ad,-alms=build/variablesawosc.lst Source/Synthesis/variablesawosc.cpp -o build/variablesawosc.o arm-none-eabi-g++ -c -mcpu=cortex-m7 -mthumb -mfpu=fpv5-d16 -mfloat-abi=hard -DSTM32H750xx -ISource -ISource/Control -ISource/Drums -ISource/Dynamics -ISource/Effects -ISource/Filters -ISource/Noise -ISource/PhysicalModeling -ISource/Synthesis -ISource/Utility -O3 -Wall -Werror -fdata-sections -ffunction-sections -MMD -MP -MF"build/variableshapeosc.d" -MT"build/variableshapeosc.d" -fno-exceptions -finline-functions -std=gnu++14 -static -Wa,-a,-ad,-alms=build/variableshapeosc.lst Source/Synthesis/variableshapeosc.cpp -o build/variableshapeosc.o arm-none-eabi-g++ -c -mcpu=cortex-m7 -mthumb -mfpu=fpv5-d16 -mfloat-abi=hard -DSTM32H750xx -ISource -ISource/Control -ISource/Drums -ISource/Dynamics -ISource/Effects -ISource/Filters -ISource/Noise -ISource/PhysicalModeling -ISource/Synthesis -ISource/Utility -O3 -Wall -Werror -fdata-sections -ffunction-sections -MMD -MP -MF"build/vosim.d" -MT"build/vosim.d" -fno-exceptions -finline-functions -std=gnu++14 -static -Wa,-a,-ad,-alms=build/vosim.lst Source/Synthesis/vosim.cpp -o build/vosim.o arm-none-eabi-g++ -c -mcpu=cortex-m7 -mthumb -mfpu=fpv5-d16 -mfloat-abi=hard -DSTM32H750xx -ISource -ISource/Control -ISource/Drums -ISource/Dynamics -ISource/Effects -ISource/Filters -ISource/Noise -ISource/PhysicalModeling -ISource/Synthesis -ISource/Utility -O3 -Wall -Werror -fdata-sections -ffunction-sections -MMD -MP -MF"build/zoscillator.d" -MT"build/zoscillator.d" -fno-exceptions -finline-functions -std=gnu++14 -static -Wa,-a,-ad,-alms=build/zoscillator.lst Source/Synthesis/zoscillator.cpp -o build/zoscillator.o arm-none-eabi-g++ -c -mcpu=cortex-m7 -mthumb -mfpu=fpv5-d16 -mfloat-abi=hard -DSTM32H750xx -ISource -ISource/Control -ISource/Drums -ISource/Dynamics -ISource/Effects -ISource/Filters -ISource/Noise -ISource/PhysicalModeling -ISource/Synthesis -ISource/Utility -O3 -Wall -Werror -fdata-sections -ffunction-sections -MMD -MP -MF"build/dcblock.d" -MT"build/dcblock.d" -fno-exceptions -finline-functions -std=gnu++14 -static -Wa,-a,-ad,-alms=build/dcblock.lst Source/Utility/dcblock.cpp -o build/dcblock.o arm-none-eabi-g++ -c -mcpu=cortex-m7 -mthumb -mfpu=fpv5-d16 -mfloat-abi=hard -DSTM32H750xx -ISource -ISource/Control -ISource/Drums -ISource/Dynamics -ISource/Effects -ISource/Filters -ISource/Noise -ISource/PhysicalModeling -ISource/Synthesis -ISource/Utility -O3 -Wall -Werror -fdata-sections -ffunction-sections -MMD -MP -MF"build/metro.d" -MT"build/metro.d" -fno-exceptions -finline-functions -std=gnu++14 -static -Wa,-a,-ad,-alms=build/metro.lst Source/Utility/metro.cpp -o build/metro.o arm-none-eabi-ar rcs build/libdaisysp.a build/adenv.o build/adsr.o build/phasor.o build/analogbassdrum.o build/analogsnaredrum.o build/hihat.o build/synthbassdrum.o build/synthsnaredrum.o build/crossfade.o build/limiter.o build/autowah.o build/chorus.o build/decimator.o build/flanger.o build/overdrive.o build/phaser.o build/sampleratereducer.o build/tremolo.o build/wavefolder.o build/ladder.o build/svf.o build/soap.o build/clockednoise.o build/grainlet.o build/particle.o build/drip.o build/KarplusString.o build/modalvoice.o build/resonator.o build/stringvoice.o build/granularplayer.o build/fm2.o build/formantosc.o build/oscillator.o build/oscillatorbank.o build/variablesawosc.o build/variableshapeosc.o build/vosim.o build/zoscillator.o build/dcblock.o build/metro.o

$ make

arm-none-eabi-gcc -c -mcpu=cortex-m7 -mthumb -mfpu=fpv5-d16 -mfloat-abi=hard -DUSE_HAL_DRIVER -DSTM32H750xx -DHSE_VALUE=16000000 -DCORE_CM7 -DSTM32H750IB -DARM_MATH_CM7 -DUSE_FULL_LL_DRIVER -DUSE_DAISYSP_LGPL -DBOOT_APP -include stm32h7xx.h -IlibDaisy -IlibDaisy/src/ -IlibDaisy/src/sys -IlibDaisy/src/usbd -IlibDaisy/src/usbh -IlibDaisy/Drivers/CMSIS_5/CMSIS/Core/Include/ -IlibDaisy/Drivers/CMSIS-DSP/Include -IlibDaisy/Drivers/CMSIS-Device/ST/STM32H7xx/Include -IlibDaisy/Drivers/STM32H7xx_HAL_Driver/Inc/ -IlibDaisy/Middlewares/ST/STM32_USB_Device_Library/Core/Inc -IlibDaisy/Middlewares/ST/STM32_USB_Host_Library/Core/Inc -IlibDaisy/Middlewares/ST/STM32_USB_Host_Library/Class/MSC/Inc -IlibDaisy/Middlewares/ST/STM32_USB_Host_Library/Class/MIDI/Inc -IlibDaisy/core/ -IDaisySP/Source -IDaisySP/DaisySP-LGPL/Source -IlibDaisy/Middlewares/Third_Party/FatFs/src -I./q/q/q_lib/include -I./q/infra/include -O1 -Wall -Wno-missing-attributes -fasm -fdata-sections -ffunction-sections -Wno-stringop-overflow -g -ggdb -MMD -MP -MF"build/startup_stm32h750xx.d" -std=gnu11 -Wa,-a,-ad,-alms=build/startup_stm32h750xx.lst libDaisy/core/startup_stm32h750xx.c -o build/startup_stm32h750xx.o cc1.exe: fatal error: stm32h7xx.h: No such file or directory compilation terminated. make: *** [libDaisy/core/Makefile:283: build/startup_stm32h750xx.o] Error 1

xconverge commented 4 days ago

Can you check to see if this file exists:

libDaisy/Drivers/CMSIS-Device/ST/STM32H7xx/Include/stm32h7xx.h

I suspect some of the libDaisy git submodules (basically sub projects of different repositories, kind of like how this project includes libDaisy) may not have fetched and this file is not there?

If it is missing (and probably either way since it wont harm anything) I would try this just to make sure it is all pulled:

cd libDaisy
git checkout master
git pull
git submodule update --init --recursive
git pull
make clean

then try to make in libDaisy/ again, with the hope that something happened in the above steps

MarkusBaumknecht commented 3 days ago

ok I think I figured it out! I had to re-clone everything including all the submodules manually. There must've been some issue somewhere with the previous installation.

now I get:

dfu-util -a 0 -s 0x90040000:leave -D build/guitarpedal.bin -d ,0483:df11 dfu-util 0.10

Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc. Copyright 2010-2020 Tormod Volden and Stefan Schmidt This program is Free Software and has ABSOLUTELY NO WARRANTY Please report bugs to http://sourceforge.net/p/dfu-util/tickets/

Warning: Invalid DFU suffix signature A valid DFU suffix will be required in a future dfu-util release!!! Opening DFU capable USB device... ID 0483:df11 Run-time device DFU version 011a Claiming USB DFU Interface... Setting Alternate Setting #0 ... Determining device status: state = dfuIDLE, status = 0 dfuIDLE, continuing DFU mode device DFU version 011a Device returned transfer size 4096 DfuSe interface name: "Flash " Downloading element to address = 0x90040000, size = 184580 Erase [=========================] 100% 184580 bytes Erase done. Download [=========================] 100% 184580 bytes Download done. File downloaded successfully Transitioning to dfuMANIFEST state

when I run make program-dfu which looks like the desired output. (also, the pedal works!)

MarkusBaumknecht commented 3 days ago

thanks so much for your time and patience, you've been tremendously helpful!

xconverge commented 3 days ago

Excellent, enjoy!