Skip to content

Commit 506c355

Browse files
Archcadyadbridge
authored andcommitted
Fix stack underflow issue
Switch on TCM
1 parent d314156 commit 506c355

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

targets/TARGET_Realtek/TARGET_AMEBA/TARGET_RTL8195A/device/TOOLCHAIN_ARM_STD/rtl8195a.sct

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -54,13 +54,13 @@ LR_IRAM 0x10007000 (0x70000 - 0x7000) {
5454
}
5555
}
5656

57-
;LR_TCM 0x1FFF0000 0x10000 {
58-
; TCM_OVERLAY 0x1FFF0000 0x10000 {
59-
; lwip_mem.o(.bss*)
60-
; lwip_memp.o(.bss*)
61-
; *.o(.tcm.heap*)
62-
; }
63-
;}
57+
LR_TCM 0x1FFF0000 0x10000 {
58+
TCM_OVERLAY 0x1FFF0000 0x10000 {
59+
lwip_mem.o(.bss*)
60+
lwip_memp.o(.bss*)
61+
*.o(.tcm.heap*)
62+
}
63+
}
6464

6565
LR_DRAM 0x30000000 0x200000 {
6666

targets/TARGET_Realtek/TARGET_AMEBA/sdk/common/drivers/wlan/realtek/include/autoconf.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@
107107

108108
#if defined(CONFIG_PLATFORM_AMEBA_X)
109109
#if !defined(CONFIG_PLATFORM_8711B)
110-
#define CONFIG_USE_TCM_HEAP 0 /* USE TCM HEAP */
110+
#define CONFIG_USE_TCM_HEAP 1 /* USE TCM HEAP */
111111
#endif
112112
#define CONFIG_RECV_TASKLET_THREAD
113113
#define CONFIG_XMIT_TASKLET_THREAD

targets/TARGET_Realtek/TARGET_AMEBA/sdk/os/os_dep/include/osdep_service.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ extern "C" {
3232

3333
#if defined(CONFIG_PLATFORM_8195A)
3434
#ifndef CONFIG_USE_TCM_HEAP
35-
#define CONFIG_USE_TCM_HEAP 0 /* USE TCM HEAP */
35+
#define CONFIG_USE_TCM_HEAP 1 /* USE TCM HEAP */
3636
#endif
3737
#define USE_MUTEX_FOR_SPINLOCK 1
3838
#endif

0 commit comments

Comments
 (0)