rtimer implementation (not well tested)
sprintf that use strformat, so there's no need to pull in the newlib implementation. Build system improvements.
This commit is contained in:
parent
1ca82694f5
commit
792eae91c6
15 changed files with 294 additions and 67 deletions
|
@ -47,6 +47,8 @@ clock_time(void)
|
|||
#define SPIN_TIME 2 /* us */
|
||||
#define SPIN_COUNT (((MCK*SPIN_TIME/1000000)-5)/4)
|
||||
|
||||
#ifndef __MAKING_DEPS__
|
||||
|
||||
void
|
||||
clock_delay(unsigned int t)
|
||||
{
|
||||
|
@ -56,3 +58,5 @@ clock_delay(unsigned int t)
|
|||
#error Must be compiled in thumb mode
|
||||
#endif
|
||||
}
|
||||
|
||||
#endif /* __MAKING_DEPS__ */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue