LCDPORT error on ATMega128 on Compiler 6.00.04

wsandor
Benutzer
Avatar
Gender: n/a
Age: 53
Posts: 20
Registered: 07 / 2012
Subject:

LCDPORT error on ATMega128 on Compiler 6.00.04

 · 
Posted: 01.08.2024 - 10:12  ·  #1
Hi,

I've just installed V6.00.04 version of AVRCO. Previously I used 5.10.00 for years.
I tried to compile one of my old programs with the new version and run into a probem: On ATMega128, if LCDPORT is defined to PORTF or PORTG then the compiler throws an error: "Error: DEFINE LCDPORT = PortX (x defined in *.dsc) expected". PORTE or lower doesn't give an error.
The error could be reproduced with a minimal, project wizard generated file I attached.
Any idea about what can be the problem?
Merlin
Administrator
Avatar
Gender:
Age: 24
Posts: 1406
Registered: 03 / 2005
Subject:

Re: LCDPORT error on ATMega128 on Compiler 6.00.04

 · 
Posted: 01.08.2024 - 22:22  ·  #2
It is possible that there is an issue with the dsc file. I will check it out.

Merlin.
Merlin
Administrator
Avatar
Gender:
Age: 24
Posts: 1406
Registered: 03 / 2005
Subject:

Re: LCDPORT error on ATMega128 on Compiler 6.00.04

 · 
Posted: 01.08.2024 - 22:34  ·  #3
For me your sample compiles fine. I attach my dsc file, in case yours is corrupt. If you still have an error I will publish the latest version of the compiler which I was about to publish anyway.
Attachments
Filename: pmega128.dsc
Filesize: 8.38 KB
Title:
Download counter: 41
wsandor
Benutzer
Avatar
Gender: n/a
Age: 53
Posts: 20
Registered: 07 / 2012
Subject:

Re: LCDPORT error on ATMega128 on Compiler 6.00.04

 · 
Posted: 02.08.2024 - 07:58  ·  #4
Dear Merlin,

Thanks for your prompt reply. The dsc file is the same I have so unfortunatly the problem lies somwhere else.

Sándor Wortmann
Merlin
Administrator
Avatar
Gender:
Age: 24
Posts: 1406
Registered: 03 / 2005
Subject:

Re: LCDPORT error on ATMega128 on Compiler 6.00.04

 · 
Posted: 02.08.2024 - 09:52  ·  #5
OK, Here is my latest compiler, about to be released. Could you try that? As I say, your program compiles fine here.
Attachments
Filename: AVRCo.zip
Filesize: 3.72 MB
Title:
Download counter: 40
wsandor
Benutzer
Avatar
Gender: n/a
Age: 53
Posts: 20
Registered: 07 / 2012
Subject:

Re: LCDPORT error on ATMega128 on Compiler 6.00.04

 · 
Posted: 05.08.2024 - 15:49  ·  #6
Thanks Merlin! This seems to be solve the problem. Both the test and my original program compiles succesfuly with this new compiler version.
Merlin
Administrator
Avatar
Gender:
Age: 24
Posts: 1406
Registered: 03 / 2005
Subject:

Re: LCDPORT error on ATMega128 on Compiler 6.00.04

 · 
Posted: 05.08.2024 - 16:22  ·  #7
Good to hear. Thanks for letting me know.
Selected quotes for multi-quoting:   0

Registered users in this topic

Currently no registered users in this section

The statistic shows who was online during the last 5 minutes. Updated every 90 seconds.
MySQL Queries: 18 · Cache Hits: 15   125   140 · Page-Gen-Time: 0.024206s · Memory Usage: 2 MB · GZIP: on · Viewport: SMXL-HiDPI