linbus icon indicating copy to clipboard operation
linbus copied to clipboard

Injector sources not compile

Open gioreva opened this issue 10 years ago • 7 comments

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"

gioreva avatar Dec 15 '15 18:12 gioreva

Thanks for letting me know. I applied fix

d75af141fbb5d4a4b8bc0dcfc958bdd62bbb3ed1 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 https://github.com/zapta/linbus/issues/8.

zapta avatar Dec 16 '15 15:12 zapta

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

d75af141fbb5d4a4b8bc0dcfc958bdd62bbb3ed1 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 https://github.com/zapta/linbus/issues/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

gioreva avatar Dec 16 '15 16:12 gioreva

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

d75af141fbb5d4a4b8bc0dcfc958bdd62bbb3ed1 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 https://github.com/zapta/linbus/issues/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 https://github.com/zapta/linbus/issues/8#issuecomment-165165136.

zapta avatar Dec 16 '15 16:12 zapta

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

d75af141fbb5d4a4b8bc0dcfc958bdd62bbb3ed1 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 https://github.com/zapta/linbus/issues/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 https://github.com/zapta/linbus/issues/8#issuecomment-165165136.

— 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

gioreva avatar Dec 21 '15 18:12 gioreva

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

d75af141fbb5d4a4b8bc0dcfc958bdd62bbb3ed1 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 https://github.com/zapta/linbus/issues/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 https://github.com/zapta/linbus/issues/8#issuecomment-165165136.

— 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 https://github.com/zapta/linbus/issues/8#issuecomment-166375716.

zapta avatar Dec 22 '15 00:12 zapta

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

d75af141fbb5d4a4b8bc0dcfc958bdd62bbb3ed1 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 https://github.com/zapta/linbus/issues/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 https://github.com/zapta/linbus/issues/8#issuecomment-165165136.

— 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

gioreva avatar Dec 24 '15 11:12 gioreva

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

d75af141fbb5d4a4b8bc0dcfc958bdd62bbb3ed1 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 https://github.com/zapta/linbus/issues/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 https://github.com/zapta/linbus/issues/8#issuecomment-165165136.

— 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

gioreva avatar Dec 26 '15 08:12 gioreva