Skip to content

Commit b03563b

Browse files
committed
Resizing the stack
1 parent 16083b8 commit b03563b

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

bsp/xuantie/virt64/c906/.config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1649,4 +1649,4 @@ CONFIG_BSP_USING_VIRTIO_BLK=y
16491649

16501650
CONFIG_BOARD_QEMU_VIRT_RV64=y
16511651
CONFIG_ENABLE_FPU=y
1652-
CONFIG___STACKSIZE__=8192
1652+
CONFIG___STACKSIZE__=16384
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__STACKSIZE__ = 8192;
1+
__STACKSIZE__ = 16384;

bsp/xuantie/virt64/c906/rtconfig.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -585,6 +585,6 @@
585585
/* end of RISC-V QEMU virt64 configs */
586586
#define BOARD_QEMU_VIRT_RV64
587587
#define ENABLE_FPU
588-
#define __STACKSIZE__ 8192
588+
#define __STACKSIZE__ 16384
589589

590590
#endif

bsp/xuantie/virt64/c906/rtconfig.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
OBJDUMP = PREFIX + 'objdump'
3333
OBJCPY = PREFIX + 'objcopy'
3434

35-
DEVICE = ' -mcmodel=medany -march=rv64imafdc -mabi=lp64 '
35+
DEVICE = ' -mcmodel=medany -march=rv64imafdc -mabi=lp64d '
3636
CFLAGS = DEVICE + '-ffreestanding -flax-vector-conversions -Wno-cpp -fno-common -ffunction-sections -fdata-sections -fstrict-volatile-bitfields -fdiagnostics-color=always'
3737
AFLAGS = ' -c' + DEVICE + ' -x assembler-with-cpp -D__ASSEMBLY__ '
3838
LFLAGS = DEVICE + ' -nostartfiles -Wl,--gc-sections,-Map=rtthread.map,-cref,-u,_start -T link.lds' + ' -lsupc++ -lgcc -static'

0 commit comments

Comments
 (0)