MC 8051 GLCD

Discuss about beta versions of mikroC compiler.
Post Reply
Author
Message
piort
Posts: 1379
Joined: 28 Dec 2005 16:42
Location: Laval,Québec,Canada,Earth... :-)
Contact:

MC 8051 GLCD

#1 Post by piort » 08 Feb 2008 23:22

hi
at89LP2052 dont compile GLCD exemple :
0 1 mikroc8051.exe -MSF -DBG -pAT89LP4052 -ES -O11111114 -fo10 -N"C:\Program Files (x86)\Mikroelektronika\mikroC 8051\Examples\Glcd\Glcd.mcproj" -SP"C:\Program Files (x86)\Mikroelektronika\mikroC 8051\defs\" -SP"C:\Program Files (x86)\Mikroelektronika\mikroC 8051\uses\" -SP"C:\Program Files (x86)\Mikroelektronika\mikroC 8051\Examples\Glcd\" "Bitmap.c" "Glcd.c" "System.mcl" "Math.mcl" "Math_Double.mcl" "Delays.mcl" "__Lib_Glcd.mcl" "__Lib_GlcdFonts.mcl"
0 121 Compilation Started AT89LP4052.c
309 122 Compiled Successfully AT89LP4052.c
0 125 All files Preprocessed in 0 ms
0 121 Compilation Started Bitmap.c
71 122 Compiled Successfully Bitmap.c
0 121 Compilation Started Glcd.c
30 398 ; expected but 'P0' found Glcd.c
32 398 ; expected but 'at' found Glcd.c
32 368 Specifier needed Glcd.c
32 392 Invalid declarator expected'(' or identifier Glcd.c
33 398 ; expected but 'at' found Glcd.c
33 368 Specifier needed Glcd.c
33 392 Invalid declarator expected'(' or identifier Glcd.c
34 398 ; expected but 'at' found Glcd.c
34 368 Specifier needed Glcd.c
34 392 Invalid declarator expected'(' or identifier Glcd.c
35 398 ; expected but 'at' found Glcd.c
35 312 Internal error '' Glcd.c
0 102 Finished (with errors): 08 févr. 2008, 17:06:11 Glcd.mcproj
but work fine with 89S8252,8253 .... but ... if you keep the same code but only change MCU, the build option stay grey after 3 or 4 change ...

if you look at it... choice mcu is 2052 but compiler look for 4052...

User avatar
rajkovic
mikroElektronika team
Posts: 694
Joined: 16 Aug 2004 12:40

Re: MC 8051 GLCD

#2 Post by rajkovic » 09 Feb 2008 08:31

piort wrote:hi
at89LP2052 dont compile GLCD exemple :
0 1 mikroc8051.exe -MSF -DBG -pAT89LP4052 -ES -O11111114 -fo10 -N"C:\Program Files (x86)\Mikroelektronika\mikroC 8051\Examples\Glcd\Glcd.mcproj" -SP"C:\Program Files (x86)\Mikroelektronika\mikroC 8051\defs" -SP"C:\Program Files (x86)\Mikroelektronika\mikroC 8051\uses" -SP"C:\Program Files (x86)\Mikroelektronika\mikroC 8051\Examples\Glcd" "Bitmap.c" "Glcd.c" "System.mcl" "Math.mcl" "Math_Double.mcl" "Delays.mcl" "__Lib_Glcd.mcl" "__Lib_GlcdFonts.mcl"
0 121 Compilation Started AT89LP4052.c
309 122 Compiled Successfully AT89LP4052.c
0 125 All files Preprocessed in 0 ms
0 121 Compilation Started Bitmap.c
71 122 Compiled Successfully Bitmap.c
0 121 Compilation Started Glcd.c
30 398 ; expected but 'P0' found Glcd.c
32 398 ; expected but 'at' found Glcd.c
32 368 Specifier needed Glcd.c
32 392 Invalid declarator expected'(' or identifier Glcd.c
33 398 ; expected but 'at' found Glcd.c
33 368 Specifier needed Glcd.c
33 392 Invalid declarator expected'(' or identifier Glcd.c
34 398 ; expected but 'at' found Glcd.c
34 368 Specifier needed Glcd.c
34 392 Invalid declarator expected'(' or identifier Glcd.c
35 398 ; expected but 'at' found Glcd.c
35 312 Internal error '' Glcd.c
0 102 Finished (with errors): 08 févr. 2008, 17:06:11 Glcd.mcproj
but work fine with 89S8252,8253 .... but ... if you keep the same code but only change MCU, the build option stay grey after 3 or 4 change ...

if you look at it... choice mcu is 2052 but compiler look for 4052...
thank you for bug report we will investigate and fix this behaviour.

Post Reply

Return to “mikroC Beta testing”