1 /* (CC-BY-NC-SA) ROBIN KRENS - ROBIN @ ROBINKRENS.NL
4 * 2019/7/20 - ROBIN KRENS
10 /* _start sets up the stack and jumps to the reset vector */
12 .equ STACK_TOP, 0x20010000 /* placed at 64kB, top of SRAM */
15 .global reset, nmi, hardfault
16 .global pendsv_handler
20 .word STACK_TOP, reset, nmi, hardfault
23 /* A reset vector (or bootcode) will call main in main.c
24 this is the so called 'entry to C' */
29 /* These are consequently the nmi and hardfault vector handlers
30 before booting and entering main, these can actually be called
31 (machine somehow has a failure). That's why they are included here.
32 Later the interrupt vector will be relocated to SRAM and modified. */