lpcmanager

Parents 1b1347891896
Children a26a68f41124
RS485: in case of LHC-1 products allow more than 32 devices on a bus (because each physical LHC1 device has two addresses on the bus).
--- a/LPCBus/SOM_Devices_decl.c Thu Dec 18 15:57:46 2025 +0100
+++ b/LPCBus/SOM_Devices_decl.c Thu Jan 15 16:06:35 2026 +0100
@@ -76,7 +76,11 @@
#define LOCKED 1
#define FULL 2
+#ifdef LHC1_DEVICES
+#define MAX_UART_DEVICES 64
+#else
#define MAX_UART_DEVICES 32
+#endif
#define UART_BUFSIZE_SHORT 26 /* UART bus read & write buffer size - short buffer for LPC-2 */
#define UART_BUFSIZE_LONG 48 /* UART bus read & write buffer size - long buffer for LHC-2 */