dRonin  adbada4
dRonin firmware
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
startup.c File Reference
#include <string.h>
#include <stm32f4xx.h>

Go to the source code of this file.

Macros

#define HANDLER(_name)   extern vector _name __attribute__((weak, alias("default_cpu_handler")))
 

Functions

int main (void)
 
void _main (void)
 
register void *stack_pointer asm ("sp")
 
static void default_cpu_handler (void)
 
 HANDLER (NMI_Handler)
 
 HANDLER (HardFault_Handler)
 
 HANDLER (MemManage_Handler)
 
 HANDLER (BusFault_Handler)
 
 HANDLER (UsageFault_Handler)
 
 HANDLER (DebugMon_Handler)
 
struct cm3_vectors cpu_vectors __attribute ((section(".cpu_vectors")))
 

Variables

void ** HARDFAULT_PSP
 

Function Documentation

static void default_cpu_handler ( void  )
static

Definition at line 116 of file startup.c.