Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
teensy31 stops execution when using float #162
porting my avr arduino firmware to teensy 3.1 using arm4, I encountered a strange problem.
The code compiles and uploads perfectly, but execution stops at the first point a float variable is used. Assigning a value to a float variable seems not to be the problem (maybe the code is removed during optimization?) but a multiplication already makes the arm stop dead.
has anyone seen this before and know how to fix this? I can do integer operations for now but eventually I need to use libraries that make internal use of floating point arithmetics.