I am having a few issues getting the entire toolchain working on macOS. Both my program and the DaisyToolchain works without issues on Windows.
I used the instructions on the “install.command” file using homebrew. Also followed the instructions on this thread for apple silicons.
Installation went fine and I appear to have arm-none-eabi-gcc installed correctly. However when I try to compile the Reverb example on the patch_sm folder I get this error. What am I missing here?
Can anyone please point me in the right direction.
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 -include stm32h7xx.h -I../../libDaisy/ -I../../libDaisy//src/ -I../../libDaisy//src/sys -I../../libDaisy//src/usbd -I../../libDaisy//src/usbh -I../../libDaisy//Drivers/CMSIS/Include/ -I../../libDaisy//Drivers/CMSIS/DSP/Include -I../../libDaisy//Drivers/CMSIS/Device/ST/STM32H7xx/Include -I../../libDaisy//Drivers/STM32H7xx_HAL_Driver/Inc/ -I../../libDaisy//Middlewares/ST/STM32_USB_Device_Library/Core/Inc -I../../libDaisy//Middlewares/ST/STM32_USB_Host_Library/Core/Inc -I../../libDaisy//Middlewares/ST/STM32_USB_Host_Library/Class/MSC/Inc -I../../libDaisy//core/ -I../../DaisySP//Source -I../../DaisySP//DaisySP-LGPL/Source -I../../libDaisy//Middlewares/Third_Party/FatFs/src -O2 -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
arm-none-eabi-g++ -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 -include stm32h7xx.h -I../../libDaisy/ -I../../libDaisy//src/ -I../../libDaisy//src/sys -I../../libDaisy//src/usbd -I../../libDaisy//src/usbh -I../../libDaisy//Drivers/CMSIS/Include/ -I../../libDaisy//Drivers/CMSIS/DSP/Include -I../../libDaisy//Drivers/CMSIS/Device/ST/STM32H7xx/Include -I../../libDaisy//Drivers/STM32H7xx_HAL_Driver/Inc/ -I../../libDaisy//Middlewares/ST/STM32_USB_Device_Library/Core/Inc -I../../libDaisy//Middlewares/ST/STM32_USB_Host_Library/Core/Inc -I../../libDaisy//Middlewares/ST/STM32_USB_Host_Library/Class/MSC/Inc -I../../libDaisy//core/ -I../../DaisySP//Source -I../../DaisySP//DaisySP-LGPL/Source -I../../libDaisy//Middlewares/Third_Party/FatFs/src -O2 -Wall -Wno-missing-attributes -fasm -fdata-sections -ffunction-sections -Wno-stringop-overflow -g -ggdb -MMD -MP -MF"build/ReverbExample.d" -fno-exceptions -fasm -finline -finline-functions-called-once -fshort-enums -fno-move-loop-invariants -fno-unwind-tables -fno-rtti -Wno-register -std=gnu++14 -Wa,-a,-ad,-alms=build/ReverbExample.lst ReverbExample.cpp -o build/ReverbExample.o
arm-none-eabi-g++ build/startup_stm32h750xx.o build/ReverbExample.o -mcpu=cortex-m7 -mthumb -mfpu=fpv5-d16 -mfloat-abi=hard --specs=nano.specs --specs=nosys.specs -T../../libDaisy//core/STM32H750IB_flash.lds -L../../libDaisy//build -L ../../DaisySP//build -L ../../DaisySP//DaisySP-LGPL/build -ldaisy -lc -lm -lnosys -ldaisysp -ldaisysp-lgpl -Wl,-Map=build/ReverbExample.map,--cref -Wl,--gc-sections -Wl,--print-memory-usage -o build/ReverbExample.elf
/Applications/ARM/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: cannot find -ldaisy
/Applications/ARM/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: cannot find -ldaisysp
/Applications/ARM/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: cannot find -ldaisysp-lgpl
collect2: error: ld returned 1 exit status
make: *** [build/ReverbExample.elf] Error 1