PIC24 port needs definition of type 'bool'
Real-Time Event Frameworks based on active objects & state machines
Brought to you by:
quantum-leaps
Current as of today PIC24 XC16 port (rev.not clear) won't compile with XC16 ver 1.20. The error is caused by the absence of definition for type 'bool' which is no longer in stdint.h (not sure if it ever was, this is my first compile of QP libs with XC ). The proposed fix is to add '#include stdbool.h' alongside stdint.t in qep_port.h of the port.
QP/C Version 5.3.0 (31-Mar-2014)
Anonymous
As already explained in Bug #89, it seems that you are trying to compile a QDK designed for an earlier version of QP/C against the latest QP/C 5.3.0. This is not guaranteed to work, as the QDK must be updated to the latest version of QP first.
Every QDK lists the QP version that it is compatible with. For example, the QDK/C PIC24/dsPIC-MPLABX-XC16 development kit (available from http://www.state-machine.com/pic), lists QP/C 4.5.04.
--MMS
Thew QDK manual states "4.5.04 or higher" ( page 1 last line right above
the footer).
2014-04-13 14:46 GMT-06:00 Quantum Leaps quantum-leaps@users.sf.net:
--
/felis
Related
Bugs:
#90I realize that it is not explained clearly, but "4.5.04 or higher" means any higher version within the 4.x line. But the new QP5 represents a new major version upgrade, and is a bit like Windows8 to Windows7.
But anyway, I hope you can understand that it is very difficult to keep every last QDK up to date. But all officially supported QDKs (and PIC24/dsPIC is one of them) will be eventually updated. It just takes a little while to do this. I hope you can understand that a day has only 24 hours and a week only 7 days, even at Quantum Leaps. We already work through all the weekends...
--MMS
Last edit: Quantum Leaps 2014-04-14
I'm not expecting you to fix it right away, just wanted to let you know.
2014-04-13 17:39 GMT-06:00 Quantum Leaps quantum-leaps@users.sf.net:
--
/felis
Related
Bugs:
#90This problem is no longer tracked, as PIC24 is no longer officially supported.
The PIC24 port and examples have been moved to the legacy QDKs.
--MMS