alias problem

  • 1
  • 2
  • Page 2 of 2
Avra
Schreiberling
Avatar
Gender:
Location: Belgrade, Serbia
Age: 53
Homepage: rs.linkedin.com/in…
Posts: 653
Registered: 07 / 2002
Subject:

Re: alias problem

 · 
Posted: 24.06.2014 - 00:43  ·  #9
Quote by rh
some things are easy to implement, like this one.
Others are not, like passing bits to a function.

Fully understandable. We can't win them all...
Avra
Schreiberling
Avatar
Gender:
Location: Belgrade, Serbia
Age: 53
Homepage: rs.linkedin.com/in…
Posts: 653
Registered: 07 / 2002
Subject:

Re: alias problem

 · 
Posted: 09.03.2015 - 20:54  ·  #10
Quote by Avra

Quote by rh
WaitPipe is a very special construction and was not intended to be
used with ALIAS. But now it is supported.

I have tested and... IT COMPILES, IT COMPILES IT COMPILES !!! :D
=D> :-({|= =D> :occasion7: 👋

Now I can share communication unit between different projects without tons of ugly IFDEFs covering all possible AVR serial ports combination in code.
🆒 :juggle:

THANK YOU ROLF!
:cheers: :occasion5: 👍


Unfortunately it does not work any more. The same line like WaitPipe(AliasToRxBuffer2) does not compile with AvrCo 5.0.4.90 so my code is broken now. As a workaround I have found it to work with slightly older custom AvrCo.exe dated 23.06.2014 from your mail. Could you please fix it?
rh
Administrator
Avatar
Gender:
Location: Germany
Age: 24
Homepage: e-lab.de
Posts: 5558
Registered: 03 / 2002
Subject:

Re: alias problem

 · 
Posted: 09.03.2015 - 22:52  ·  #11
Hello Avra,

Alias is not an operator. It is handled similar as a define, type etc.
I tested your small application you posted here last year and it worked.

rolf
Avra
Schreiberling
Avatar
Gender:
Location: Belgrade, Serbia
Age: 53
Homepage: rs.linkedin.com/in…
Posts: 653
Registered: 07 / 2002
Subject:

Re: alias problem

 · 
Posted: 12.03.2015 - 00:12  ·  #12
I still have 5.04.90 which doesn't compile and custom 5.04.73+ dated 23.06.2014 from your mail which compiles well, so that was the root of my confusion. After renewing license today I could test with latest 5.04.98 and it compiles again without problems.

Please forgive me for false alarm. :buhu: :dontknow: :buhu:
rh
Administrator
Avatar
Gender:
Location: Germany
Age: 24
Homepage: e-lab.de
Posts: 5558
Registered: 03 / 2002
Subject:

Re: alias problem

 · 
Posted: 12.03.2015 - 15:08  ·  #13
Hello Avra,

I'm glad to hear this.
But what about your last problem with empty packets receptions?

rolf
Avra
Schreiberling
Avatar
Gender:
Location: Belgrade, Serbia
Age: 53
Homepage: rs.linkedin.com/in…
Posts: 653
Registered: 07 / 2002
Subject:

Re: alias problem

 · 
Posted: 16.03.2015 - 12:31  ·  #14
Details are in your mailbox.
  • 1
  • 2
  • Page 2 of 2
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: 15 · Cache Hits: 14   95   109 · Page-Gen-Time: 0.044177s · Memory Usage: 2 MB · GZIP: on · Viewport: SMXL-HiDPI