Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Injector sources not compile #8

Open
gioreva opened this issue Dec 15, 2015 · 7 comments
Open

Injector sources not compile #8

gioreva opened this issue Dec 15, 2015 · 7 comments

Comments

@gioreva
Copy link

gioreva commented Dec 15, 2015

Arduino:1.7.8 (Windows 8.1), Scheda:"Arduino Uno"

lin_processor.cpp: In static member function 'static void lin_processor::StateReadData::handleIsr()':

lin_processor.cpp:555:67: error: no matching function for call to 'LinFrame::append_byte(uint8&)'

   rx_frame_buffers[head_frame_buffer].append_byte(byte_buffer_);

                                                               ^

lin_processor.cpp:555:67: note: candidate is:

In file included from lin_processor.h:17:0,

             from lin_processor.cpp:15:

lin_frame.h:65:15: note: void LinFrame::append_byte(uint8, boolean)

inline void append_byte(uint8 value, boolean byte_has_injected_bits) {

           ^

lin_frame.h:65:15: note: candidate expects 2 arguments, 1 provided

Errore durante la compilazione

Questo report potrebbe essere più ricco
di informazioni con
"Mostra un output dettagliato durante la compilazione"
abilitato in "File > Impostazioni"

@zapta
Copy link
Owner

zapta commented Dec 16, 2015

Thanks for letting me know. I applied fix

d75af14 which makes it to compile on
Arduino 1.6.5 / Mac OSX. Where did you get the 1.7.8? The last one I see
here is 1.6.6 https://www.arduino.cc/en/Main/Software

On Tue, Dec 15, 2015 at 10:39 AM, gioreva [email protected] wrote:

Arduino:178 (Windows 81), Scheda:"Arduino Uno"

lin_processorcpp: In static member function 'static void
lin_processor::StateReadData::handleIsr()':

lin_processorcpp:555:67: error: no matching function for call to
'LinFrame::append_byte(uint8&)'

rx_frame_buffers[head_frame_buffer]append_byte(byte_buffer_);

                                                           ^

lin_processorcpp:555:67: note: candidate is:

In file included from lin_processorh:17:0,

         from lin_processorcpp:15:

lin_frameh:65:15: note: void LinFrame::append_byte(uint8, boolean)

inline void append_byte(uint8 value, boolean byte_has_injected_bits) {

       ^

lin_frameh:65:15: note: candidate expects 2 arguments, 1 provided

Errore durante la compilazione

Questo report potrebbe essere più ricco
di informazioni con
"Mostra un output dettagliato durante la compilazione"
abilitato in "File > Impostazioni"


Reply to this email directly or view it on GitHub
#8.

@gioreva
Copy link
Author

gioreva commented Dec 16, 2015

Hi Zapta

You found it on arduino.org

Why you don’t sell PCB of lin module ?

I was almost thinking of make and sell them, if possible.

Da: Zapta [mailto:[email protected]]
Inviato: mercoledì 16 dicembre 2015 17:01
A: zapta/linbus
Cc: gioreva
Oggetto: Re: [linbus] Injector sources not compile (#8)

Thanks for letting me know. I applied fix

d75af14 which makes it to compile on
Arduino 1.6.5 / Mac OSX. Where did you get the 1.7.8? The last one I see
here is 1.6.6 https://www.arduino.cc/en/Main/Software

On Tue, Dec 15, 2015 at 10:39 AM, gioreva [email protected] wrote:

Arduino:178 (Windows 81), Scheda:"Arduino Uno"

lin_processorcpp: In static member function 'static void
lin_processor::StateReadData::handleIsr()':

lin_processorcpp:555:67: error: no matching function for call to
'LinFrame::append_byte(uint8&)'

rx_frame_buffers[head_frame_buffer]append_byte(byte_buffer_);

^

lin_processorcpp:555:67: note: candidate is:

In file included from lin_processorh:17:0,

from lin_processorcpp:15:

lin_frameh:65:15: note: void LinFrame::append_byte(uint8, boolean)

inline void append_byte(uint8 value, boolean byte_has_injected_bits) {

^

lin_frameh:65:15: note: candidate expects 2 arguments, 1 provided

Errore durante la compilazione

Questo report potrebbe essere più ricco
di informazioni con
"Mostra un output dettagliato durante la compilazione"
abilitato in "File > Impostazioni"


Reply to this email directly or view it on GitHub
#8.


Reply to this email directly or view it on GitHub #8 (comment) . https://github.com/notifications/beacon/APjfyDw2cCjHBLbLQvlPBXBsqOcErz1Dks5pQYJMgaJpZM4G14zL.gif

@zapta
Copy link
Owner

zapta commented Dec 16, 2015

arduino.org are the bad guys, right? ;-)

I am using the .cc IDE.

As for your question, I don't have the capacity to commercialize this
experimental design, nor do I have the expertise to comply with various
automative regulations and standards.

On Wed, Dec 16, 2015 at 8:30 AM, gioreva [email protected] wrote:

Hi Zapta

You found it on arduino.org

Why you don’t sell PCB of lin module ?

I was almost thinking of make and sell them, if possible.

Da: Zapta [mailto:[email protected]]
Inviato: mercoledì 16 dicembre 2015 17:01
A: zapta/linbus
Cc: gioreva
Oggetto: Re: [linbus] Injector sources not compile (#8)

Thanks for letting me know. I applied fix

d75af14 which makes it to compile on
Arduino 1.6.5 / Mac OSX. Where did you get the 1.7.8? The last one I see
here is 1.6.6 https://www.arduino.cc/en/Main/Software

On Tue, Dec 15, 2015 at 10:39 AM, gioreva [email protected]
wrote:

Arduino:178 (Windows 81), Scheda:"Arduino Uno"

lin_processorcpp: In static member function 'static void
lin_processor::StateReadData::handleIsr()':

lin_processorcpp:555:67: error: no matching function for call to
'LinFrame::append_byte(uint8&)'

rx_frame_buffers[head_frame_buffer]append_byte(byte_buffer_);

^

lin_processorcpp:555:67: note: candidate is:

In file included from lin_processorh:17:0,

from lin_processorcpp:15:

lin_frameh:65:15: note: void LinFrame::append_byte(uint8, boolean)

inline void append_byte(uint8 value, boolean byte_has_injected_bits) {

^

lin_frameh:65:15: note: candidate expects 2 arguments, 1 provided

Errore durante la compilazione

Questo report potrebbe essere più ricco
di informazioni con
"Mostra un output dettagliato durante la compilazione"
abilitato in "File > Impostazioni"


Reply to this email directly or view it on GitHub
#8.


Reply to this email directly or view it on GitHub <
https://github.com/zapta/linbus/issues/8#issuecomment-165155110> . <
https://github.com/notifications/beacon/APjfyDw2cCjHBLbLQvlPBXBsqOcErz1Dks5pQYJMgaJpZM4G14zL.gif>


Reply to this email directly or view it on GitHub
#8 (comment).

@gioreva
Copy link
Author

gioreva commented Dec 21, 2015

I'm studying to design a card with LIN.

Your Library (And Arduino Library) Work indifferently with UART 0, 1,2 and 3 ?

I could put RS232, RS485, and LIN

The Rx/Tx switch of RS485 is expected by Adruino ?

Da: Zapta [mailto:[email protected]]
Inviato: mercoledì 16 dicembre 2015 17:58
A: zapta/linbus
Cc: gioreva
Oggetto: Re: [linbus] Injector sources not compile (#8)

arduino.org are the bad guys, right? ;-)

I am using the .cc IDE.

As for your question, I don't have the capacity to commercialize this
experimental design, nor do I have the expertise to comply with various
automative regulations and standards.

On Wed, Dec 16, 2015 at 8:30 AM, gioreva [email protected] wrote:

Hi Zapta

You found it on arduino.org

Why you don’t sell PCB of lin module ?

I was almost thinking of make and sell them, if possible.

Da: Zapta [mailto:[email protected]]
Inviato: mercoledì 16 dicembre 2015 17:01
A: zapta/linbus
Cc: gioreva
Oggetto: Re: [linbus] Injector sources not compile (#8)

Thanks for letting me know. I applied fix

d75af14 which makes it to compile on
Arduino 1.6.5 / Mac OSX. Where did you get the 1.7.8? The last one I see
here is 1.6.6 https://www.arduino.cc/en/Main/Software

On Tue, Dec 15, 2015 at 10:39 AM, gioreva [email protected]
wrote:

Arduino:178 (Windows 81), Scheda:"Arduino Uno"

lin_processorcpp: In static member function 'static void
lin_processor::StateReadData::handleIsr()':

lin_processorcpp:555:67: error: no matching function for call to
'LinFrame::append_byte(uint8&)'

rx_frame_buffers[head_frame_buffer]append_byte(byte_buffer_);

^

lin_processorcpp:555:67: note: candidate is:

In file included from lin_processorh:17:0,

from lin_processorcpp:15:

lin_frameh:65:15: note: void LinFrame::append_byte(uint8, boolean)

inline void append_byte(uint8 value, boolean byte_has_injected_bits) {

^

lin_frameh:65:15: note: candidate expects 2 arguments, 1 provided

Errore durante la compilazione

Questo report potrebbe essere più ricco
di informazioni con
"Mostra un output dettagliato durante la compilazione"
abilitato in "File > Impostazioni"


Reply to this email directly or view it on GitHub
#8.


Reply to this email directly or view it on GitHub <
https://github.com/zapta/linbus/issues/8#issuecomment-165155110> . <
https://github.com/notifications/beacon/APjfyDw2cCjHBLbLQvlPBXBsqOcErz1Dks5pQYJMgaJpZM4G14zL.gif>


Reply to this email directly or view it on GitHub
#8 (comment).


Reply to this email directly or view it on GitHub #8 (comment) . https://github.com/notifications/beacon/APjfyHHK03_ajjs8yeWv0IMbHV7nDGsHks5pQY-1gaJpZM4G14zL.gif

@zapta
Copy link
Owner

zapta commented Dec 22, 2015

It doesn't use the UART but manipulate the incoming and the outgoing in
software (interrupts). This provide a lower delay (1 bit vs. 10 bits)
because it doesn't need to wait for the UART to read the entire byte before
sending it out.

To have the interrupt routing having predictable timing, any usage of
interrupts is carefully controlled. For that reason, the code is not
trivial. If all you need is LIN communication between Arduinos you can
probably have a simpler solution.

On Mon, Dec 21, 2015 at 10:00 AM, gioreva [email protected] wrote:

I'm studying to design a card with LIN.

Your Library (And Arduino Library) Work indifferently with UART 0, 1,2 and
3 ?

I could put RS232, RS485, and LIN

The Rx/Tx switch of RS485 is expected by Adruino ?

Da: Zapta [mailto:[email protected]]
Inviato: mercoledì 16 dicembre 2015 17:58
A: zapta/linbus
Cc: gioreva
Oggetto: Re: [linbus] Injector sources not compile (#8)

arduino.org are the bad guys, right? ;-)

I am using the .cc IDE.

As for your question, I don't have the capacity to commercialize this
experimental design, nor do I have the expertise to comply with various
automative regulations and standards.

On Wed, Dec 16, 2015 at 8:30 AM, gioreva [email protected] wrote:

Hi Zapta

You found it on arduino.org

Why you don’t sell PCB of lin module ?

I was almost thinking of make and sell them, if possible.

Da: Zapta [mailto:[email protected]]
Inviato: mercoledì 16 dicembre 2015 17:01
A: zapta/linbus
Cc: gioreva
Oggetto: Re: [linbus] Injector sources not compile (#8)

Thanks for letting me know. I applied fix

d75af14 which makes it to compile on
Arduino 1.6.5 / Mac OSX. Where did you get the 1.7.8? The last one I see
here is 1.6.6 https://www.arduino.cc/en/Main/Software

On Tue, Dec 15, 2015 at 10:39 AM, gioreva [email protected]
wrote:

Arduino:178 (Windows 81), Scheda:"Arduino Uno"

lin_processorcpp: In static member function 'static void
lin_processor::StateReadData::handleIsr()':

lin_processorcpp:555:67: error: no matching function for call to
'LinFrame::append_byte(uint8&)'

rx_frame_buffers[head_frame_buffer]append_byte(byte_buffer_);

^

lin_processorcpp:555:67: note: candidate is:

In file included from lin_processorh:17:0,

from lin_processorcpp:15:

lin_frameh:65:15: note: void LinFrame::append_byte(uint8, boolean)

inline void append_byte(uint8 value, boolean byte_has_injected_bits) {

^

lin_frameh:65:15: note: candidate expects 2 arguments, 1 provided

Errore durante la compilazione

Questo report potrebbe essere più ricco
di informazioni con
"Mostra un output dettagliato durante la compilazione"
abilitato in "File > Impostazioni"


Reply to this email directly or view it on GitHub
#8.


Reply to this email directly or view it on GitHub <
https://github.com/zapta/linbus/issues/8#issuecomment-165155110> . <

https://github.com/notifications/beacon/APjfyDw2cCjHBLbLQvlPBXBsqOcErz1Dks5pQYJMgaJpZM4G14zL.gif


Reply to this email directly or view it on GitHub
#8 (comment).


Reply to this email directly or view it on GitHub <
https://github.com/zapta/linbus/issues/8#issuecomment-165174467> . <
https://github.com/notifications/beacon/APjfyHHK03_ajjs8yeWv0IMbHV7nDGsHks5pQY-1gaJpZM4G14zL.gif>


Reply to this email directly or view it on GitHub
#8 (comment).

@gioreva
Copy link
Author

gioreva commented Dec 24, 2015

Email now work, not working before.

You had me say ?

Da: Giorgio Evangelista [mailto:[email protected]]
Inviato: lunedì 21 dicembre 2015 19:00
A: 'zapta/linbus'
Oggetto: R: [linbus] Injector sources not compile (#8)

I'm studying to design a card with LIN.

Your Library (And Arduino Library) Work indifferently with UART 0, 1,2 and 3 ?

I could put RS232, RS485, and LIN

The Rx/Tx switch of RS485 is expected by Adruino ?

Da: Zapta [mailto:[email protected]]
Inviato: mercoledì 16 dicembre 2015 17:58
A: zapta/linbus
Cc: gioreva
Oggetto: Re: [linbus] Injector sources not compile (#8)

arduino.org are the bad guys, right? ;-)

I am using the .cc IDE.

As for your question, I don't have the capacity to commercialize this
experimental design, nor do I have the expertise to comply with various
automative regulations and standards.

On Wed, Dec 16, 2015 at 8:30 AM, gioreva [email protected] wrote:

Hi Zapta

You found it on arduino.org

Why you don’t sell PCB of lin module ?

I was almost thinking of make and sell them, if possible.

Da: Zapta [mailto:[email protected]]
Inviato: mercoledì 16 dicembre 2015 17:01
A: zapta/linbus
Cc: gioreva
Oggetto: Re: [linbus] Injector sources not compile (#8)

Thanks for letting me know. I applied fix

d75af14 which makes it to compile on
Arduino 1.6.5 / Mac OSX. Where did you get the 1.7.8? The last one I see
here is 1.6.6 https://www.arduino.cc/en/Main/Software

On Tue, Dec 15, 2015 at 10:39 AM, gioreva [email protected]
wrote:

Arduino:178 (Windows 81), Scheda:"Arduino Uno"

lin_processorcpp: In static member function 'static void
lin_processor::StateReadData::handleIsr()':

lin_processorcpp:555:67: error: no matching function for call to
'LinFrame::append_byte(uint8&)'

rx_frame_buffers[head_frame_buffer]append_byte(byte_buffer_);

^

lin_processorcpp:555:67: note: candidate is:

In file included from lin_processorh:17:0,

from lin_processorcpp:15:

lin_frameh:65:15: note: void LinFrame::append_byte(uint8, boolean)

inline void append_byte(uint8 value, boolean byte_has_injected_bits) {

^

lin_frameh:65:15: note: candidate expects 2 arguments, 1 provided

Errore durante la compilazione

Questo report potrebbe essere più ricco
di informazioni con
"Mostra un output dettagliato durante la compilazione"
abilitato in "File > Impostazioni"


Reply to this email directly or view it on GitHub
#8.


Reply to this email directly or view it on GitHub <
https://github.com/zapta/linbus/issues/8#issuecomment-165155110> . <
https://github.com/notifications/beacon/APjfyDw2cCjHBLbLQvlPBXBsqOcErz1Dks5pQYJMgaJpZM4G14zL.gif>


Reply to this email directly or view it on GitHub
#8 (comment).


Reply to this email directly or view it on GitHub #8 (comment) . https://github.com/notifications/beacon/APjfyHHK03_ajjs8yeWv0IMbHV7nDGsHks5pQY-1gaJpZM4G14zL.gif

@gioreva
Copy link
Author

gioreva commented Dec 26, 2015

Hi Zapta.

I got the email failed. Now Work.

Can you help me design a card TFT + CPU + LIN ?

Da: Zapta [mailto:[email protected]]
Inviato: mercoledì 16 dicembre 2015 17:58
A: zapta/linbus
Cc: gioreva
Oggetto: Re: [linbus] Injector sources not compile (#8)

arduino.org are the bad guys, right? ;-)

I am using the .cc IDE.

As for your question, I don't have the capacity to commercialize this
experimental design, nor do I have the expertise to comply with various
automative regulations and standards.

On Wed, Dec 16, 2015 at 8:30 AM, gioreva [email protected] wrote:

Hi Zapta

You found it on arduino.org

Why you don’t sell PCB of lin module ?

I was almost thinking of make and sell them, if possible.

Da: Zapta [mailto:[email protected]]
Inviato: mercoledì 16 dicembre 2015 17:01
A: zapta/linbus
Cc: gioreva
Oggetto: Re: [linbus] Injector sources not compile (#8)

Thanks for letting me know. I applied fix

d75af14 which makes it to compile on
Arduino 1.6.5 / Mac OSX. Where did you get the 1.7.8? The last one I see
here is 1.6.6 https://www.arduino.cc/en/Main/Software

On Tue, Dec 15, 2015 at 10:39 AM, gioreva [email protected]
wrote:

Arduino:178 (Windows 81), Scheda:"Arduino Uno"

lin_processorcpp: In static member function 'static void
lin_processor::StateReadData::handleIsr()':

lin_processorcpp:555:67: error: no matching function for call to
'LinFrame::append_byte(uint8&)'

rx_frame_buffers[head_frame_buffer]append_byte(byte_buffer_);

^

lin_processorcpp:555:67: note: candidate is:

In file included from lin_processorh:17:0,

from lin_processorcpp:15:

lin_frameh:65:15: note: void LinFrame::append_byte(uint8, boolean)

inline void append_byte(uint8 value, boolean byte_has_injected_bits) {

^

lin_frameh:65:15: note: candidate expects 2 arguments, 1 provided

Errore durante la compilazione

Questo report potrebbe essere più ricco
di informazioni con
"Mostra un output dettagliato durante la compilazione"
abilitato in "File > Impostazioni"


Reply to this email directly or view it on GitHub
#8.


Reply to this email directly or view it on GitHub <
https://github.com/zapta/linbus/issues/8#issuecomment-165155110> . <
https://github.com/notifications/beacon/APjfyDw2cCjHBLbLQvlPBXBsqOcErz1Dks5pQYJMgaJpZM4G14zL.gif>


Reply to this email directly or view it on GitHub
#8 (comment).


Reply to this email directly or view it on GitHub #8 (comment) . https://github.com/notifications/beacon/APjfyHHK03_ajjs8yeWv0IMbHV7nDGsHks5pQY-1gaJpZM4G14zL.gif

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants