Hello all!
I've run into a problem while implementing a granular synth on a STM32F4 Discovery using MIOS32. The synth algorithm makes use of floating point operations - I thought it would not be a source of performance issue, since the MCU has a dedicated unit for floating point calculations. Actually, there are performance issues, because the FPU is not enabled for the compiler (I'm using the original toolchain). There's a line commented out in trunk/include/makefile/common.mk:
ifeq ($
because of using float... i was searching and trying the last day... i figured following out:
when dont use: "-fomit-frame-pointer" in common.mk, t+ deactivate gcc optimize then floating point is functional, @ least with a "small programm" (see the atached zip file fpu__working.zip)
i was trying to follow the source of the blackscreen and hardfault, thought of frtos and mutexes, off stacksize, mios-switches, and all kind of stuff, deleted all i could in my program, and come to the po