andystephenson
Member
Hi,
I have tried expanding on TRIPLE SERIAL in the hope of creating HEPTA_SERIAL, which will give me Serial, plus SerialUSB1..6.
I have editied and created in some cases:
yield.cpp
serialEventUSB3.cpp
serialEventUSB4.cpp
serialEventUSB5.cpp
serialEventUSB6.cpp
core_pins.h
usb.c
usb_serial.h
usb_inst.cpp
usb_desc.h
usb_desc.c
EventResponder.cpp
usb_serial4.cpp
usb_serial5.cpp
usb_serial6.cpp
usb_serial7.cpp
boards.txt
keywords.txt
There is a lot of stuff here, so I don't want to blindly post it.
It all compiles, but only SerialUSB1 works, the others do not. If I specify TRIPLE_SERIAL, then SerialUSB1 and 2 are OK. Just my implementation breaks things. I do get all of the ports enumerating on both a rasp pi, and a mac, just no data passes through. My simple test just sends a string every second to the SerialUSBn ports.
So first off, is what I am attempting OK?
If I'm on the right track, have I missed a file in the edits?
I can of course post all of my files if it's not really obvious where my issue lies.
Thanks,
Andy
I have tried expanding on TRIPLE SERIAL in the hope of creating HEPTA_SERIAL, which will give me Serial, plus SerialUSB1..6.
I have editied and created in some cases:
yield.cpp
serialEventUSB3.cpp
serialEventUSB4.cpp
serialEventUSB5.cpp
serialEventUSB6.cpp
core_pins.h
usb.c
usb_serial.h
usb_inst.cpp
usb_desc.h
usb_desc.c
EventResponder.cpp
usb_serial4.cpp
usb_serial5.cpp
usb_serial6.cpp
usb_serial7.cpp
boards.txt
keywords.txt
There is a lot of stuff here, so I don't want to blindly post it.
It all compiles, but only SerialUSB1 works, the others do not. If I specify TRIPLE_SERIAL, then SerialUSB1 and 2 are OK. Just my implementation breaks things. I do get all of the ports enumerating on both a rasp pi, and a mac, just no data passes through. My simple test just sends a string every second to the SerialUSBn ports.
So first off, is what I am attempting OK?
If I'm on the right track, have I missed a file in the edits?
I can of course post all of my files if it's not really obvious where my issue lies.
Thanks,
Andy