mahmoud2 / pinguino32

Automatically exported from code.google.com/p/pinguino32
0 stars 0 forks source link

serial32demo does not compile for PIC32 Pinguino OTG #33

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. load above example into IDE
2. select PIC32 Pinguino OTG as processor
3. click Compile ICON

What is the expected output? What do you see instead?
SEE SOLUTION BELOW

What version of the product are you using? On what operating system?
X3 rev 399 on Windows XP SP3

Please provide any additional information below.
1)The source code example references SerialP32MX at multiple places and the 
p32\pdl\serial.pdl32 file maps these calls to SerialP32MX.c.
However there is no SerialP32MX.c file in p32\include\pinguino\core only 
serial.c 
2) Also #DEFINE in upper case needs to be edited to #define

SOLUTION
1a) make a copy of serial.c and call it SerialP32MX.c in same directory
OR
1b) edit serial.pdl32 and replace all SerialP32MX.c with serial.c

2) change #DEFINE to #define in source code example

Original issue reported on code.google.com by bobkendr...@gmail.com on 13 Dec 2012 at 9:47

GoogleCodeExporter commented 9 years ago
fixed in rev. 773

Original comment by rblanchot@gmail.com on 23 Apr 2013 at 9:55