My patch is failing to upload.
This is the protocol:
Generate code complete
sdcard filename:/start.bin
Start compiling patch
Compiling patch... with /Applications/Axoloti.app/Contents/Java/firmware
BDIR = /Users/Simon/Documents/axoloti/build
FIRMWARE = .
RM
rm -f /Users/Simon/Documents/axoloti/build/xpatch.o /Users/Simon/Documents/axoloti/build/xpatch.elf /Users/Simon/Documents/axoloti/build/xpatch.bin /Users/Simon/Documents/axoloti/build/xpatch.d /Users/Simon/Documents/axoloti/build/xpatch.map /Users/Simon/Documents/axoloti/build/xpatch.lst
APP
arm-none-eabi-g++ -nostdlib -fno-exceptions -fno-rtti -mcpu=cortex-m4 -O3 -fomit-frame-pointer -falign-functions=16 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -fsingle-precision-constant -Wunused-parameter -DCORTEX_USE_FPU=TRUE -DTHUMB_PRESENT -mno-thumb-interwork -DTHUMB_NO_INTERWORKING -mthumb -DTHUMB -std=c++11 -DARM_MATH_CM4 -D__FPU_PRESENT -fno-math-errno -fno-threadsafe-statics -H -I/Applications/Axoloti.app/Contents/Java/CMSIS/Include -I/Applications/Axoloti.app/Contents/Java/chibios/os/ports/common/ARMCMx/CMSIS/include -I/Applications/Axoloti.app/Contents/Java/chibios/os/ports/common/ARMCMx -I/Applications/Axoloti.app/Contents/Java/chibios/os/ports/GCC/ARMCMx -I/Applications/Axoloti.app/Contents/Java/chibios/os/ports/GCC/ARMCMx/STM32F4xx -I/Applications/Axoloti.app/Contents/Java/chibios/os/kernel/include -I/Applications/Axoloti.app/Contents/Java/chibios/os/hal/include -I/Applications/Axoloti.app/Contents/Java/chibios/os/hal/platforms/STM32F4xx -I/Applications/Axoloti.app/Contents/Java/chibios/os/hal/platforms/STM32 -I/Applications/Axoloti.app/Contents/Java/chibios/os/hal/platforms/STM32/GPIOv2 -I/Applications/Axoloti.app/Contents/Java/chibios/os/hal/platforms/STM32/I2Cv1 -I/Applications/Axoloti.app/Contents/Java/chibios/os/hal/platforms/STM32/OTGv1 -I/Applications/Axoloti.app/Contents/Java/chibios/os/hal/platforms/STM32/RTCv2 -I/Applications/Axoloti.app/Contents/Java/chibios/os/hal/platforms/STM32/SPIv1 -I/Applications/Axoloti.app/Contents/Java/chibios/os/hal/platforms/STM32/TIMv1 -I/Applications/Axoloti.app/Contents/Java/chibios/os/hal/platforms/STM32/USARTv1 -I/Applications/Axoloti.app/Contents/Java/chibios/boards/ST_STM32F4_DISCOVERY -I/Applications/Axoloti.app/Contents/Java/chibios/ext/fatfs/src -I. -I/Applications/Axoloti.app/Contents/Java/chibios -Winvalid-pch -MD -MP --include /Users/Simon/Documents/axoloti/build/xpatch.h -c /Users/Simon/Documents/axoloti/build/xpatch.cpp -o /Users/Simon/Documents/axoloti/build/xpatch.o
! /Users/Simon/Documents/axoloti/build/xpatch.h.gch
/Users/Simon/Documents/axoloti/build/xpatch.cpp: In member function 'void rootc::instanceTremendousS::instanceallpass1L::dsp(const int32_t*, int32_t (&)[16], int)':
/Users/Simon/Documents/axoloti/build/xpatch.cpp:9527:23: warning: integer overflow in expression [-Woverflow]
int32_t g2c = ((1<<31)-1)-g2;
^
/Users/Simon/Documents/axoloti/build/xpatch.cpp: In member function 'void rootc::instanceTremendousS::instanceallpass2L::dsp(const int32_t*, int32_t (&)[16], int)':
/Users/Simon/Documents/axoloti/build/xpatch.cpp:9564:23: warning: integer overflow in expression [-Woverflow]
int32_t g2c = ((1<<31)-1)-g2;
^
/Users/Simon/Documents/axoloti/build/xpatch.cpp: In member function 'void rootc::instanceTremendousS::instanceallpass3L::dsp(const int32_t*, int32_t (&)[16], int)':
/Users/Simon/Documents/axoloti/build/xpatch.cpp:9601:23: warning: integer overflow in expression [-Woverflow]
int32_t g2c = ((1<<31)-1)-g2;
^
/Users/Simon/Documents/axoloti/build/xpatch.cpp: In member function 'void rootc::instanceTremendousS::instanceallpass4L::dsp(const int32_t*, int32_t (&)[16], int)':
/Users/Simon/Documents/axoloti/build/xpatch.cpp:9638:23: warning: integer overflow in expression [-Woverflow]
int32_t g2c = ((1<<31)-1)-g2;
^
/Users/Simon/Documents/axoloti/build/xpatch.cpp: In member function 'void rootc::instanceTremendousS::instanceallpass5L::dsp(const int32_t*, int32_t (&)[16], int)':
/Users/Simon/Documents/axoloti/build/xpatch.cpp:9675:23: warning: integer overflow in expression [-Woverflow]
int32_t g2c = ((1<<31)-1)-g2;
^
LINK
arm-none-eabi-gcc -nostartfiles -Tramlink.ld -mcpu=cortex-m4 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -mthumb -mno-thumb-interwork /Users/Simon/Documents/axoloti/build/xpatch.o -Wl,-Map=/Users/Simon/Documents/axoloti/build/xpatch.map,--cref,--just-symbols=./build/axoloti.elf -o /Users/Simon/Documents/axoloti/build/xpatch.elf
BIN
arm-none-eabi-objcopy -O binary /Users/Simon/Documents/axoloti/build/xpatch.elf /Users/Simon/Documents/axoloti/build/xpatch.bin
Done compiling patch
Start uploading file to sdcard : /start.bin
uploading: /start.bin
file error: FR_NOT_ENABLED, filename:"/start.bin"
uploading : 73%
file error: FR_INVALID_OBJECT, filename:""
uploading : 100%
file error: FR_INVALID_OBJECT, filename:""
Done uploading file
file error: FR_INVALID_OBJECT, filename:"/"
Thats the patch.
B FX Section 0.1.1.axp (119.4 KB)
I am planing on using this patch at a club gig tonight, so quick helo is apreciated