ooc  1.3c
Object Oriented tollkit fo ANSI C
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Notes on the MPLAB C32 port

There are not too much comments for the MPLAB C32 compiler and development toolchain, it is a fully functional port.

;-)

Every functionality works fine in this port.
The following compiler controls are defined for MCC32:

  • ROM
  • OOC_NO_THREADS
  • OOC_NO_FINALIZE

All ooc classes are proted to the MCC32.
Comment on TestCase: for some mistery reason, the Unix signals (SIGSEGV, SIGFPE) do not work, as expected, so TestCase does not use them. I the future it would be great to integrate the PIC traps as well into the TestCase.
Since the MPLAB C32 compiler is available on Windows only, this port is distributed in the Windows installer package only.

Warning
You can't use the MPLAB SIM simulator for running PIC32 TestCases unless you compile your test cases together with the provided mplabSIMc32Ext.c extension file, that is located in the template/unit directory!

The MPLAB C32 library uses the UART2 as default for stdout, so all the printf() calls will put their output to UART2. Unfortunatly MPLAB SIM can catch and display only UART1 outputs, so it is necessary to redirect all printf() outputs to UART1 in the testcases. Compiling and linking your testcase together with mplabSIMc32Ext.c will do this job for you.

Note
The libraries are built with the Lite version of the MPLAB C32 compiler, so they are not optimized! For real live projects build your own ooc libraries with optimization (with the Enterprise or Pro editions)!