Skip to content

Commit 757a4e3

Browse files
Merge pull request #5464 from Archcady/Fix_lockup
Fix lockup issue for REALTEK_RTL8195AM
2 parents ee76bd8 + 6af9a5a commit 757a4e3

File tree

13 files changed

+21
-30
lines changed

13 files changed

+21
-30
lines changed

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

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,20 +22,17 @@ LR_IRAM 0x10007000 (0x70000 - 0x7000) {
2222
*(i.mbedtls*)
2323
*libc.a (+RO)
2424
*rtx_*.o (+RO)
25-
*lib_peripheral_mbed_arm.ar (+RO)
2625
}
2726

2827
RW_IRAM1 +0 UNINIT FIXED {
2928
*rtl8195a_crypto.o(+RW)
30-
;*mbedtls*.o(+RW)
3129
*libc.a (+RW)
3230
*(.sdram.data*)
3331
*lib_peripheral_mbed_arm.ar (+RW)
3432
}
3533

3634
RW_IRAM2 +0 UNINIT FIXED {
3735
*rtl8195a_crypto.o(+ZI, COMMON)
38-
;*mbedtls*.o(+ZI, COMMON)
3936
*libc.a (+ZI, COMMON)
4037
*(.bss.thread_stack_main)
4138
*lib_peripheral_mbed_arm.ar (+ZI, COMMON)

targets/TARGET_Realtek/TARGET_AMEBA/TARGET_RTL8195A/device/TOOLCHAIN_GCC_ARM/rtl8195a.ld

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,6 @@ SECTIONS
7070
*rtl8195a_crypto.o (.text* .rodata*)
7171
*mbedtls*.o (.text* .rodata*)
7272
*libc.a: (.text* .rodata*)
73-
*lib_peripheral_mbed_gcc.a: (.text*)
7473
} > SRAM1
7574

7675
.text.sram2 :

targets/TARGET_Realtek/TARGET_AMEBA/TARGET_RTL8195A/device/TOOLCHAIN_IAR/rtl8195a.icf

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,6 @@ define block .text.mbedtls {
128128
define block .text.sram {
129129
readonly object rtl8195a_crypto.o,
130130
readonly object vector_table_M.o,
131-
readonly object lib_peripheral_mbed_iar.a,
132131
section .text.sram*,
133132
};
134133

targets/TARGET_Realtek/TARGET_AMEBA/TARGET_RTL8195A/device/rtl8195a_timer.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,11 @@ HalTimerReadCountRtl8195a_Patch(
9494
IN u32 TimerId
9595
);
9696

97+
VOID
98+
HalTimerSync(
99+
IN u32 TimerId
100+
);
101+
97102
VOID
98103
HalTimerIrqEnRtl8195a(
99104
IN u32 TimerId

0 commit comments

Comments
 (0)