Skip to content

Commit 05cf468

Browse files
committed
Update HAL library to fix lockup issue
1 parent bf3d68e commit 05cf468

File tree

10 files changed

+2
-6
lines changed

10 files changed

+2
-6
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ LR_IRAM 0x10007000 (0x70000 - 0x7000) {
2222
*(i.mbedtls*)
2323
*libc.a (+RO)
2424
*rtx_*.o (+RO)
25-
*lib_peripheral_mbed_arm.ar (+RO)
25+
;*lib_peripheral_mbed_arm.ar (+RO)
2626
}
2727

2828
RW_IRAM1 +0 UNINIT FIXED {

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/sdk/soc/realtek/8195a/fwlib/hal_adc.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,7 @@ enum _ADC_DBG_LVL_ {
4545
typedef uint32_t ADC_DBG_LVL;
4646
typedef uint32_t * PADC_DBG_LVL;
4747

48-
#ifdef CONFIG_DEBUG_LOG
49-
#ifdef CONFIG_DEBUG_LOG_ADC_HAL
48+
#if defined (CONFIG_DEBUG_LOG) && defined (CONFIG_DEBUG_LOG_ADC_HAL)
5049

5150
#define DBG_8195A_ADC(...) do{ \
5251
_DbgDump("\r"ADC_PREFIX __VA_ARGS__);\
@@ -64,7 +63,6 @@ typedef uint32_t * PADC_DBG_LVL;
6463
#define DBG_8195A_ADC(...)
6564
#define DBG_8195A_ADC_LVL(...)
6665
#endif
67-
#endif
6866

6967

7068
//================ ADC HAL Related Enumeration ==================

0 commit comments

Comments
 (0)