Matlab-Simulink device driver Blockset for dsPIC / PIC24 / PIC32 Microcontrollers


I am looking for new professional opportunities (end 2009, early 2010) see my english and french resume

Pic30-gcc v3.12 bugfix

From http://www.kerhuel.eu/wiki - Simulink device driver Blockset for dsPIC / PIC24 / PIC32 Microcontrollers --[[User:LubinKerhuel|LubinKerhuel]] 12:40, 3 September 2009 (UTC)

Jump to: navigation, search

Problem in definition file for chip with 2 PWM motor peripheral. Affect pic30-gcc version 3.11 and 3.12

Check PIC30 gcc version : type !pic30-gcc -v at the matlab prompt.

Workaround :

  • in file pwm12.h, line 511 (C:\Program Files\Microchip\MPLAB C30\support\peripheral_30F_24H_33F\pwm12.h) replace :
#else

by

#endif
#ifdef _PWM2IF
Personal tools