Skip to content

Commit f0d1f2f

Browse files
committed
Assign VTOR address '0'
Signed-off-by: PARKJIHOON <[email protected]>
1 parent 374aed2 commit f0d1f2f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

targets/TARGET_Samsung/TARGET_SIDK_S5JS100/device/system_core_s5js100.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,10 @@ void SystemCoreConfig()
150150
const uint32_t *src;
151151
uint32_t *dest, size;
152152

153+
#if defined (__VTOR_PRESENT) && (__VTOR_PRESENT == 1U)
154+
SCB->VTOR = (uint32_t) 0;
155+
#endif
156+
153157
#if defined ( __ICCARM__ )
154158
src = &__vector_table;
155159

0 commit comments

Comments
 (0)