In the same project and using the same port, Is the following possible?
1. Use the SERIAL driver to configure a device,
2. Use the UART driver to read packets from device.
I know that ChibiOS performs a check at compile time to avoid the same port. I tried to force the situation but I get this mistake:
Code: Select all
Linking build/ch.elf
./build/obj/hal_uart_lld.o (symbol from plugin): In function `uart_lld_stop_receive':
(.text+0x0): multiple definition of `VectorD8'
./build/obj/hal_serial_lld.o (symbol from plugin):(.text+0x0): first defined here
collect2.exe: error: ld returned 1 exit status
make: *** [../../chibios191/os/common/startup/ARMCMx/compilers/GCC/mk/rules.mk:205: build/ch.elf] Error 1
Thank you.