I've finally got around to attempting to have a go at building the firmware, so that i can then start to attempt to wrote my own patch.
However have reached an error i just can't solve when running make on cygwin
(am running windows here).
I've got the owlware repository downloaded from git and the submodules, and have installed the STM32 lib in the libraries folder and unzipped the ARM GNU tool into the Tools folder (and suitably updated the makefile to point to the right path (gcc-arm-none-eabi-4_8-2014q3).
When I run make from cygwin it starts to print out what looks like encouraging output:
./Tools/gcc-arm-none-eabi-4_8-2014q3/bin/arm-none-eabi-gcc -c -O2 -Wall -Wcpp -DUSE_FULL_ASSERT -D__FPU_PRESENT=1 -D__FPU_USED=1 -DEXTERNAL_SRAM -std=gnu99 -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -fsingle-precision-constant -I./Libraries -I./Libraries/STM32F4-Discovery_FW_V1.1.0/Libraries/CMSIS/ST/STM32F4xx -I./Libraries/STM32F4-Discovery_FW_V1.1.0/Libraries/CMSIS/Include -I./Libraries/STM32F4-Discovery_FW_V1.1.0/Libraries/STM32F4xx_StdPeriph_Driver/inc -I./Source -I./Libraries/STM32F4-Discovery_FW_V1.1.0/Libraries/CMSIS/ST/STM32F4xx/Include -I./Libraries/STM32F4-Discovery_FW_V1.1.0/Libraries/CMSIS/Include -I./Libraries/STM32F4-Discovery_FW_V1.1.0/Libraries/STM32_USB_Device_Library/Core/inc -I./Libraries/STM32F4-Discovery_FW_V1.1.0/Libraries/STM32_USB_Device_Library/Class/cdc/inc -I./Libraries/STM32F4-Discovery_FW_V1.1.0/Libraries/STM32_USB_OTG_Driver/inc -DUSE_STDPERIPH_DRIVER -DARM_MATH_CM4 -DSTM32F4XX -D__FPU_PRESENT -fno-builtin ./Source/codec.c -o Build/codec.o
but then quickly hits the error i can't get past:
arm-none-eabi-gcc.exe: error: CreateProcess: No such file or directory
Makefile.common:46: recipe for target 'Build/codec.o' failed
make: *** [Build/codec.o] Error 1
Have done some digging and found an article on the gnu arm tools site about it having problems running in cygwin specifically when attempting to deal with cygwin style paths, link to issue and link to bug
I don't know if this is the issue and therefore it just won't work for me at the moment until they fix this or if its somehting else.
the makefiles are all using relative paths so this path thing may not be the problem...
Any help very much appreciated...