This commit reduces code size enough to fix issue #76. It does so by
linking against a version of newlib optimized for code size. With this
commit enabled, the motor board platform only takes 8.7kB where it used
to overflow the 10kB limit. This fix was tested on motor-board hardware
and since it passed I also enabled it on can-io.
I am not sure if this is toolchain specific, but I was able to run it in my antoinealb/gcc-arm-embedded image, so it should work at least on OSX and Ubuntu.
This commit reduces code size enough to fix issue #76. It does so by linking against a version of newlib optimized for code size. With this commit enabled, the motor board platform only takes 8.7kB where it used to overflow the 10kB limit. This fix was tested on motor-board hardware and since it passed I also enabled it on can-io.
I am not sure if this is toolchain specific, but I was able to run it in my
antoinealb/gcc-arm-embedded
image, so it should work at least on OSX and Ubuntu.