From 18bc6910331ac8b901728aed2ff94b922c9e3a96 Mon Sep 17 00:00:00 2001 From: Eyck Jentzsch Date: Sun, 1 Feb 2026 06:52:20 +0100 Subject: [PATCH] sets NX_MAX_PHYSICAL_INTERFACES to 2 in nx_user --- port/threadx/inc/nx_user.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/port/threadx/inc/nx_user.h b/port/threadx/inc/nx_user.h index 35a1787..3ed98c8 100644 --- a/port/threadx/inc/nx_user.h +++ b/port/threadx/inc/nx_user.h @@ -59,6 +59,8 @@ #ifndef NX_USER_H #define NX_USER_H +/* Define the base exponent of 2 for huge number. + * Only 16 and 32 are supported. */ #if __riscv_xlen == 64 #define NX_CRYPTO_HUGE_NUMBER_BITS 16 #else @@ -77,9 +79,9 @@ present to NetX Duo IP layer. Physical interface does not include loopback interface. By default there is at least one physical interface in the system. */ -/* -#define NX_MAX_PHYSICAL_INTERFACES 1 -*/ + +#define NX_MAX_PHYSICAL_INTERFACES 2 + /* Defined, this option disables NetX Duo support on the 127.0.0.1 loopback interface. 127.0.0.1 loopback interface is enabled by default. Uncomment out the follow code to disable