Sunday, September 29, 2013

Enable fixed point math function for Microchip MPLABX IDE

I have had hard time to enable fixed point capability for MPLABX project. So I decided to document my solution here : 1. Using .
 #include <libq.h>  
2. Step 2 is adding those libs to libraries folder of the project as follow:
libq-coff.a
libq-dsp-coff.a
libq-dsp-elf.a
libq-elf.a 3. Step 3 : right-click project --> Properties. Modify configuration as follow:
Press Apply and OK. 4. Clean and rebuild project.
Edit : If the path of lib files contains spaces, build error will happen. Therefore, we can copy those lib files to another folder (without spaces in path) and include them in our project.