From ac2a50e242106785a4600057bf3233aa20c7c921 Mon Sep 17 00:00:00 2001 From: MAY Date: Mon, 9 Feb 2026 23:32:53 +0100 Subject: [PATCH] remove duplicated defines --- ports/cortex_r4/gnu/inc/ux_port.h | 3 --- ports/cortex_r4/iar/inc/ux_port.h | 4 ---- ports/cortex_r5/gnu/inc/ux_port.h | 4 ---- ports/cortex_r5/iar/inc/ux_port.h | 4 ---- ports/linux/gnu/inc/ux_port.h | 4 ---- 5 files changed, 19 deletions(-) diff --git a/ports/cortex_r4/gnu/inc/ux_port.h b/ports/cortex_r4/gnu/inc/ux_port.h index f5657ae8..1e1067e9 100644 --- a/ports/cortex_r4/gnu/inc/ux_port.h +++ b/ports/cortex_r4/gnu/inc/ux_port.h @@ -217,9 +217,6 @@ typedef LONG SLONG; #define UX_SLAVE_REQUEST_DATA_MAX_LENGTH 4096 #endif -#ifndef UX_HOST_CLASS_STORAGE_MAX_PARTITIONS_COUNT -#define UX_HOST_CLASS_STORAGE_MAX_PARTITIONS_COUNT 8 -#endif #ifndef UX_USE_IO_INSTRUCTIONS diff --git a/ports/cortex_r4/iar/inc/ux_port.h b/ports/cortex_r4/iar/inc/ux_port.h index ecefdd79..3f2cd2e6 100644 --- a/ports/cortex_r4/iar/inc/ux_port.h +++ b/ports/cortex_r4/iar/inc/ux_port.h @@ -217,10 +217,6 @@ typedef LONG SLONG; #define UX_SLAVE_REQUEST_DATA_MAX_LENGTH 4096 #endif -#ifndef UX_HOST_CLASS_STORAGE_MAX_PARTITIONS_COUNT -#define UX_HOST_CLASS_STORAGE_MAX_PARTITIONS_COUNT 8 -#endif - #ifndef UX_USE_IO_INSTRUCTIONS /* Don't use IO instructions if this define is not set. Default to memory mapped. */ diff --git a/ports/cortex_r5/gnu/inc/ux_port.h b/ports/cortex_r5/gnu/inc/ux_port.h index b72baa3f..6da10b7a 100644 --- a/ports/cortex_r5/gnu/inc/ux_port.h +++ b/ports/cortex_r5/gnu/inc/ux_port.h @@ -217,10 +217,6 @@ typedef LONG SLONG; #define UX_SLAVE_REQUEST_DATA_MAX_LENGTH 4096 #endif -#ifndef UX_HOST_CLASS_STORAGE_MAX_PARTITIONS_COUNT -#define UX_HOST_CLASS_STORAGE_MAX_PARTITIONS_COUNT 8 -#endif - #ifndef UX_USE_IO_INSTRUCTIONS /* Don't use IO instructions if this define is not set. Default to memory mapped. */ diff --git a/ports/cortex_r5/iar/inc/ux_port.h b/ports/cortex_r5/iar/inc/ux_port.h index 42a50226..e6c6a7c8 100644 --- a/ports/cortex_r5/iar/inc/ux_port.h +++ b/ports/cortex_r5/iar/inc/ux_port.h @@ -217,10 +217,6 @@ typedef LONG SLONG; #define UX_SLAVE_REQUEST_DATA_MAX_LENGTH 4096 #endif -#ifndef UX_HOST_CLASS_STORAGE_MAX_PARTITIONS_COUNT -#define UX_HOST_CLASS_STORAGE_MAX_PARTITIONS_COUNT 8 -#endif - #ifndef UX_USE_IO_INSTRUCTIONS /* Don't use IO instructions if this define is not set. Default to memory mapped. */ diff --git a/ports/linux/gnu/inc/ux_port.h b/ports/linux/gnu/inc/ux_port.h index a2405068..406c35fb 100644 --- a/ports/linux/gnu/inc/ux_port.h +++ b/ports/linux/gnu/inc/ux_port.h @@ -223,10 +223,6 @@ typedef LONG SLONG; #define UX_SLAVE_REQUEST_DATA_MAX_LENGTH 4096 #endif -#ifndef UX_HOST_CLASS_STORAGE_MAX_PARTITIONS_COUNT -#define UX_HOST_CLASS_STORAGE_MAX_PARTITIONS_COUNT 8 -#endif - #ifndef UX_USE_IO_INSTRUCTIONS /* Don't use IO instructions if this define is not set. Default to memory mapped. */