Blockset described on this wiki is deprecated since 2012.
For Model Based Design (MBD), use the free MPLAB Device Blocks for Simulink, tool from Microchip.
Updated Rapid Control Prototyping (RCP) custom projects are published at: https://lubin.kerhuel.eu.
Difference between revisions of "Pic30-gcc v3.12 bugfix"
Jump to navigation
Jump to search
LubinKerhuel (talk | contribs) |
LubinKerhuel (talk | contribs) m |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
Problem in definition file for chip with 2 PWM motor peripheral. | Problem in definition file for chip with 2 PWM motor peripheral. | ||
− | Affect pic30-gcc version '''3.11''' | + | Affect all pic30-gcc version from '''3.11''' to current version ('''3.25''') |
Check PIC30 gcc version : type '''!pic30-gcc -v''' at the matlab prompt. | Check PIC30 gcc version : type '''!pic30-gcc -v''' at the matlab prompt. | ||
Line 6: | Line 6: | ||
Workaround : | Workaround : | ||
− | * in file '''pwm12.h, line 511''' replace | + | * in file '''pwm12.h, line 511''' (C:\Program Files\Microchip\MPLAB C30\support\peripheral_30F_24H_33F\pwm12.h) '''replace''' : |
− | |||
#else | #else | ||
by | by |
Latest revision as of 00:04, 28 February 2011
Problem in definition file for chip with 2 PWM motor peripheral. Affect all pic30-gcc version from 3.11 to current version (3.25)
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