diff --git a/src/openmvrpc.cpp b/src/openmvrpc.cpp index d33e29d..013f1c1 100644 --- a/src/openmvrpc.cpp +++ b/src/openmvrpc.cpp @@ -907,6 +907,22 @@ RPC_HARDWARE_SERIAL_UART_MASTER_IMPLEMENTATION(2,SERIAL_PORT_HARDWARE2) RPC_HARDWARE_SERIAL_UART_MASTER_IMPLEMENTATION(3,SERIAL_PORT_HARDWARE3) #endif +#ifdef SERIAL_PORT_HARDWARE4 +RPC_HARDWARE_SERIAL_UART_MASTER_IMPLEMENTATION(4,SERIAL_PORT_HARDWARE4) +#endif + +#ifdef SERIAL_PORT_HARDWARE5 +RPC_HARDWARE_SERIAL_UART_MASTER_IMPLEMENTATION(5,SERIAL_PORT_HARDWARE5) +#endif + +#ifdef SERIAL_PORT_HARDWARE6 +RPC_HARDWARE_SERIAL_UART_MASTER_IMPLEMENTATION(6,SERIAL_PORT_HARDWARE6) +#endif + +#ifdef SERIAL_PORT_HARDWARE7 +RPC_HARDWARE_SERIAL_UART_MASTER_IMPLEMENTATION(7,SERIAL_PORT_HARDWARE7) +#endif + #ifdef SERIAL_PORT_USBVIRTUAL RPC_HARDWARE_SERIAL_UART_MASTER_IMPLEMENTATION(USB,SERIAL_PORT_USBVIRTUAL) #endif @@ -947,6 +963,22 @@ RPC_HARDWARE_SERIAL_UART_SLAVE_IMPLEMENTATION(2,SERIAL_PORT_HARDWARE2) RPC_HARDWARE_SERIAL_UART_SLAVE_IMPLEMENTATION(3,SERIAL_PORT_HARDWARE3) #endif +#ifdef SERIAL_PORT_HARDWARE4 +RPC_HARDWARE_SERIAL_UART_SLAVE_IMPLEMENTATION(4,SERIAL_PORT_HARDWARE4) +#endif + +#ifdef SERIAL_PORT_HARDWARE5 +RPC_HARDWARE_SERIAL_UART_SLAVE_IMPLEMENTATION(5,SERIAL_PORT_HARDWARE5) +#endif + +#ifdef SERIAL_PORT_HARDWARE6 +RPC_HARDWARE_SERIAL_UART_SLAVE_IMPLEMENTATION(6,SERIAL_PORT_HARDWARE6) +#endif + +#ifdef SERIAL_PORT_HARDWARE7 +RPC_HARDWARE_SERIAL_UART_SLAVE_IMPLEMENTATION(7,SERIAL_PORT_HARDWARE7) +#endif + #ifdef SERIAL_PORT_USBVIRTUAL RPC_HARDWARE_SERIAL_UART_SLAVE_IMPLEMENTATION(USB,SERIAL_PORT_USBVIRTUAL) #endif diff --git a/src/openmvrpc.h b/src/openmvrpc.h index b7bf359..85a8044 100644 --- a/src/openmvrpc.h +++ b/src/openmvrpc.h @@ -345,6 +345,22 @@ RPC_HARDWARE_SERIAL_UART_MASTER(2,SERIAL_PORT_HARDWARE2) RPC_HARDWARE_SERIAL_UART_MASTER(3,SERIAL_PORT_HARDWARE3) #endif +#ifdef SERIAL_PORT_HARDWARE4 +RPC_HARDWARE_SERIAL_UART_MASTER(4,SERIAL_PORT_HARDWARE4) +#endif + +#ifdef SERIAL_PORT_HARDWARE5 +RPC_HARDWARE_SERIAL_UART_MASTER(5,SERIAL_PORT_HARDWARE5) +#endif + +#ifdef SERIAL_PORT_HARDWARE6 +RPC_HARDWARE_SERIAL_UART_MASTER(6,SERIAL_PORT_HARDWARE6) +#endif + +#ifdef SERIAL_PORT_HARDWARE7 +RPC_HARDWARE_SERIAL_UART_MASTER(7,SERIAL_PORT_HARDWARE7) +#endif + #ifdef SERIAL_PORT_USBVIRTUAL RPC_HARDWARE_SERIAL_UART_MASTER(USB,SERIAL_PORT_USBVIRTUAL) #endif @@ -383,6 +399,22 @@ RPC_HARDWARE_SERIAL_UART_SLAVE(2,SERIAL_PORT_HARDWARE2) RPC_HARDWARE_SERIAL_UART_SLAVE(3,SERIAL_PORT_HARDWARE3) #endif +#ifdef SERIAL_PORT_HARDWARE4 +RPC_HARDWARE_SERIAL_UART_SLAVE(4,SERIAL_PORT_HARDWARE4) +#endif + +#ifdef SERIAL_PORT_HARDWARE5 +RPC_HARDWARE_SERIAL_UART_SLAVE(5,SERIAL_PORT_HARDWARE5) +#endif + +#ifdef SERIAL_PORT_HARDWARE6 +RPC_HARDWARE_SERIAL_UART_SLAVE(6,SERIAL_PORT_HARDWARE6) +#endif + +#ifdef SERIAL_PORT_HARDWARE7 +RPC_HARDWARE_SERIAL_UART_SLAVE(7,SERIAL_PORT_HARDWARE7) +#endif + #ifdef SERIAL_PORT_USBVIRTUAL RPC_HARDWARE_SERIAL_UART_SLAVE(USB,SERIAL_PORT_USBVIRTUAL) #endif