mirror of
https://github.com/arduino/Arduino.git
synced 2025-02-20 14:54:31 +01:00
[SAM] Fixing SysTick handler issue
This commit is contained in:
parent
373c0096c3
commit
fc82f1e556
@ -19,6 +19,15 @@
|
|||||||
#define ARDUINO_MAIN
|
#define ARDUINO_MAIN
|
||||||
#include "Arduino.h"
|
#include "Arduino.h"
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Cortex-M3 Systick IT handler
|
||||||
|
*/
|
||||||
|
extern void SysTick_Handler( void )
|
||||||
|
{
|
||||||
|
// Increment tick count each ms
|
||||||
|
TimeTick_Increment() ;
|
||||||
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* \brief Main entry point of Arduino application
|
* \brief Main entry point of Arduino application
|
||||||
*/
|
*/
|
||||||
|
@ -55,13 +55,13 @@ void delayMicroseconds( uint32_t dwUs )
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Cortex-M3 Systick IT handler
|
* Cortex-M3 Systick IT handler: MOVED TO MAIN DUE TO WEAK SYMBOL ISSUE NOT RESOLVED
|
||||||
*/
|
*/
|
||||||
extern void SysTick_Handler( void )
|
/*extern void SysTick_Handler( void )
|
||||||
{
|
{
|
||||||
// Increment tick count each ms
|
// Increment tick count each ms
|
||||||
TimeTick_Increment() ;
|
TimeTick_Increment() ;
|
||||||
}
|
}*/
|
||||||
|
|
||||||
#if defined ( __ICCARM__ ) /* IAR Ewarm 5.41+ */
|
#if defined ( __ICCARM__ ) /* IAR Ewarm 5.41+ */
|
||||||
extern signed int putchar( signed int c ) ;
|
extern signed int putchar( signed int c ) ;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user