Commit 3c6f9b870290cf89b8f4d1a75271da2c2649979f

Authored by Grzegorz Jabłoński
1 parent 391c11cf

Moved stubs to lowlevel.c

virtual_lab/lowlevel.c
@@ -145,3 +145,9 @@ void lowlevel_init(void) @@ -145,3 +145,9 @@ void lowlevel_init(void)
145 /////////////////////////////////////////////////////////////////////////// 145 ///////////////////////////////////////////////////////////////////////////
146 AT91C_BASE_MATRIX->MATRIX_MRCR = AT91C_MATRIX_RCA926I | AT91C_MATRIX_RCA926D; 146 AT91C_BASE_MATRIX->MATRIX_MRCR = AT91C_MATRIX_RCA926I | AT91C_MATRIX_RCA926D;
147 } 147 }
  148 +
  149 +void _exit(int c){while(1);};
  150 +
  151 +void dabt_handler(){};
  152 +void pabt_handler(){};
  153 +void dbgu_print_ascii(const char* p){};
148 \ No newline at end of file 154 \ No newline at end of file
virtual_lab/main.c
@@ -34,12 +34,6 @@ @@ -34,12 +34,6 @@
34 #define BT2 (1 << 4) //PC4 34 #define BT2 (1 << 4) //PC4
35 #define BT1 (1 << 5) //PC5 35 #define BT1 (1 << 5) //PC5
36 36
37 -void _exit(int c){while(1);};  
38 -  
39 -void dabt_handler(){};  
40 -void pabt_handler(){};  
41 -void dbgu_print_ascii(){};;  
42 -  
43 void delay(void) 37 void delay(void)
44 { 38 {
45 volatile uint64_t i; 39 volatile uint64_t i;