We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 79f06c7 commit 72c5c78Copy full SHA for 72c5c78
targets/TARGET_RDA/TARGET_UNO_91H/device/system_RDA5991H.c
@@ -173,7 +173,9 @@ void SystemInit (void)
173
#if ((__FPU_PRESENT == 1) && (__FPU_USED == 1))
174
SCB->CPACR |= ((3UL << 10*2) | (3UL << 11*2)); /* set CP10, CP11 Full Access */
175
#endif /* ((__FPU_PRESENT == 1) && (__FPU_USED == 1)) */
176
- //SCB->VTOR = RDA_CODE_BASE; /* vector table in flash */
+#ifndef APPLICATION_ADDR
177
+#define APPLICATION_ADDR RDA_CODE_BASE /* vector table in flash, add support for bootloader jump */
178
+#endif
179
SCB->VTOR = APPLICATION_ADDR;
180
NVIC_SetPriorityGrouping(0x06); /* 1 bit for pre-emption pri */
181
0 commit comments