floating point math (by Juan)
Dear Jonathan,
Is it possible to extend the integer math to single precision float? I know this will use allot of extra memory but the pros far out weigh the cons.
Also, is it possible to add a tutorial on how to add a PIC16F?
I have a bit of knowledge using C++.
(no subject) (by Jonathan Westhues)
It would certainly be possible to do so; but the overhead would be very significant, as you note. I would be more concerned about the additional execution time than the RAM.
To add a new PIC16F, it is necessary to create an entry for it in mcutable.h; this specifies basic information like the pinout and RAM and flash sizes. Then some changes will likely be required in pic16.cpp, to account for variations in the peripheral (PWM, ADC, EEPROM, ...) register map and operation.