summaryrefslogtreecommitdiff
path: root/bsp/synwit
diff options
context:
space:
mode:
authorMeco Man <[email protected]>2023-01-11 23:25:57 -0500
committerMan, Jianting (Meco) <[email protected]>2023-01-12 22:47:23 -0500
commitddccef3a64f1dc477134d4ff73117a653955a5eb (patch)
tree3341df7e2daeedddd7a4b4d988ad9581dc0b08eb /bsp/synwit
parentf4fa7ba97040b3860bf20e915380514077992cbb (diff)
modify RT_ALIGN_SIZE as 8 by default
Diffstat (limited to 'bsp/synwit')
-rw-r--r--bsp/synwit/swm320/.config2
-rw-r--r--bsp/synwit/swm320/rtconfig.h2
-rw-r--r--bsp/synwit/swm341/.config2
-rw-r--r--bsp/synwit/swm341/rtconfig.h2
4 files changed, 4 insertions, 4 deletions
diff --git a/bsp/synwit/swm320/.config b/bsp/synwit/swm320/.config
index 6adf470408..4a4b65b9f2 100644
--- a/bsp/synwit/swm320/.config
+++ b/bsp/synwit/swm320/.config
@@ -9,7 +9,7 @@
CONFIG_RT_NAME_MAX=8
# CONFIG_RT_USING_ARCH_DATA_TYPE is not set
# CONFIG_RT_USING_SMP is not set
-CONFIG_RT_ALIGN_SIZE=4
+CONFIG_RT_ALIGN_SIZE=8
# CONFIG_RT_THREAD_PRIORITY_8 is not set
CONFIG_RT_THREAD_PRIORITY_32=y
# CONFIG_RT_THREAD_PRIORITY_256 is not set
diff --git a/bsp/synwit/swm320/rtconfig.h b/bsp/synwit/swm320/rtconfig.h
index 58daee6188..2013048830 100644
--- a/bsp/synwit/swm320/rtconfig.h
+++ b/bsp/synwit/swm320/rtconfig.h
@@ -7,7 +7,7 @@
/* RT-Thread Kernel */
#define RT_NAME_MAX 8
-#define RT_ALIGN_SIZE 4
+#define RT_ALIGN_SIZE 8
#define RT_THREAD_PRIORITY_32
#define RT_THREAD_PRIORITY_MAX 32
#define RT_TICK_PER_SECOND 1000
diff --git a/bsp/synwit/swm341/.config b/bsp/synwit/swm341/.config
index 21dfc9cf6d..21e6f54254 100644
--- a/bsp/synwit/swm341/.config
+++ b/bsp/synwit/swm341/.config
@@ -9,7 +9,7 @@
CONFIG_RT_NAME_MAX=8
# CONFIG_RT_USING_ARCH_DATA_TYPE is not set
# CONFIG_RT_USING_SMP is not set
-CONFIG_RT_ALIGN_SIZE=4
+CONFIG_RT_ALIGN_SIZE=8
# CONFIG_RT_THREAD_PRIORITY_8 is not set
CONFIG_RT_THREAD_PRIORITY_32=y
# CONFIG_RT_THREAD_PRIORITY_256 is not set
diff --git a/bsp/synwit/swm341/rtconfig.h b/bsp/synwit/swm341/rtconfig.h
index 6e930111f4..7d8e7ea3e3 100644
--- a/bsp/synwit/swm341/rtconfig.h
+++ b/bsp/synwit/swm341/rtconfig.h
@@ -7,7 +7,7 @@
/* RT-Thread Kernel */
#define RT_NAME_MAX 8
-#define RT_ALIGN_SIZE 4
+#define RT_ALIGN_SIZE 8
#define RT_THREAD_PRIORITY_32
#define RT_THREAD_PRIORITY_MAX 32
#define RT_TICK_PER_SECOND 1000