|
-
-
- #include <stdint.h>
-
- extern void ResetHandler(void);
- extern unsigned long _estack;
- extern unsigned long _flashimagelen;
-
- __attribute__ ((section(".vectors"), used))
- const uint32_t vector_table[2] = {
- (uint32_t)&_estack,
- (uint32_t)&ResetHandler
- };
-
-
- __attribute__ ((section(".bootdata"), used))
- const uint32_t BootData[3] = {
- 0x60000000,
- (uint32_t)&_flashimagelen,
- 0
- };
-
-
- __attribute__ ((section(".ivt"), used))
- const uint32_t ImageVectorTable[8] = {
- 0x402000D1,
- (uint32_t)vector_table,
- 0,
- 0,
- (uint32_t)BootData,
- (uint32_t)ImageVectorTable,
- 0,
- 0
- };
-
- __attribute__ ((section(".flashconfig"), used))
- uint32_t FlexSPI_NOR_Config[128] = {
-
-
- 0x42464346,
- 0x56010000,
- 0,
- 0x00020101,
-
- 0x00000000,
- 0,
- 0,
- 0x00000000,
-
- 0,
- 0,
- 0,
- 0,
-
- 0,
- 0,
- 0,
- 0,
-
- 0x00000000,
- 0x00030401,
- 0,
- 0,
-
- 0x00200000,
- 0,
- 0,
- 0,
-
- 0,
- 0,
- 0,
- 0,
-
- 0,
- 0,
- 0,
- 0x00000000,
-
- 0x0A1804EB,
- 0x26043206,
- 0,
- 0,
-
- 0x24040405,
- 0,
- 0,
- 0,
-
- 0,
- 0,
- 0,
- 0,
-
- 0x00000406,
- 0,
- 0,
- 0,
-
- 0,
- 0,
- 0,
- 0,
-
- 0x08180420,
- 0,
- 0,
- 0,
-
- 0,
- 0,
- 0,
- 0,
-
- 0,
- 0,
- 0,
- 0,
-
- 0x081804D8,
- 0,
- 0,
- 0,
-
- 0x08180402,
- 0x00002004,
- 0,
- 0,
-
- 0,
- 0,
- 0,
- 0,
-
- 0x00000460,
- 0,
- 0,
- 0,
-
- 0,
- 0,
- 0,
- 0,
-
- 0,
- 0,
- 0,
- 0,
-
- 0,
- 0,
- 0,
- 0,
-
- 0,
- 0,
- 0,
- 0,
-
- 0,
- 0,
- 0,
- 0,
-
- 0,
- 0,
- 0,
- 0,
-
- 0,
- 0,
- 0,
- 0,
-
- 0,
- 0,
- 0,
- 0,
-
-
-
- 256,
- 4096,
- 1,
- 0,
-
- 0x00010000,
- 0,
- 0,
- 0,
-
- 0,
- 0,
- 0,
- 0,
-
- 0,
- 0,
- 0,
- 0
- };
|