diff options
| author | Meco Man <[email protected]> | 2023-01-11 23:25:57 -0500 |
|---|---|---|
| committer | Man, Jianting (Meco) <[email protected]> | 2023-01-12 22:47:23 -0500 |
| commit | ddccef3a64f1dc477134d4ff73117a653955a5eb (patch) | |
| tree | 3341df7e2daeedddd7a4b4d988ad9581dc0b08eb /bsp/simulator | |
| parent | f4fa7ba97040b3860bf20e915380514077992cbb (diff) | |
modify RT_ALIGN_SIZE as 8 by default
Diffstat (limited to 'bsp/simulator')
| -rw-r--r-- | bsp/simulator/.config | 2 | ||||
| -rwxr-xr-x | bsp/simulator/rtconfig.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/bsp/simulator/.config b/bsp/simulator/.config index 438be4bd11..9e7fb97415 100644 --- a/bsp/simulator/.config +++ b/bsp/simulator/.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/simulator/rtconfig.h b/bsp/simulator/rtconfig.h index ed88fc56a7..2ec2489bb2 100755 --- a/bsp/simulator/rtconfig.h +++ b/bsp/simulator/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 100 |
