Strictly necessary cookies are on by default and cannot be turned off. Functional, Performance and Tracking/targeting/sharing cookies can be turned on below based on your preferences (this banner will remain available for you to accept cookies). You may change your cookie settings by deleting cookies from your browser. Then this banner will appear again. You can learn more details about cookies HERE.
Strictly necessary (always on)
Functional, Performance and Tracking/targeting/sharing (default off)
I found in the Yagarto toolchain there are several libm.alib/thumb/libm.alib/thumb/v7m/libm.alib/libm.aI tried to link to all of these libraries. But they all seem to be built for thumb. I dont see a folder such as lib/thumb2, which supposedly will hold thumb2 libraries. Do you know if the Yagarto toolchain supports the thumb2 math library?also, when i run option --print-multi-lib, i get the following output:C:yagarto-20121222 in>arm-none-eabi-gcc.exe --print-multi-lib.;thumb;@mthumbthumb/v7m;@mthumb@march=armv7thumb/v6m;@mthumb@march=armv6-mI dont see thumb2 being listed there. Or, maybe, thumb implies thumb2 in this output?
Hmmm, looks like we missed the step to re-generate the actual binary after linking with libm.a. After re-generating the binary, both libm.a under lib/thumb works for STM32F2xx!The lib/thumb/v7m/libm.a generates smaller code, which makes sense as Cortex-M3 is ARMv7m architecture.