Added example project and workspace for IAR for AVR compiler, and fixed compiler errors and warnings after doing such a deed.

This commit is contained in:
skarg
2010-09-07 16:18:55 +00:00
parent e2314f0f5e
commit 21426e12f7
16 changed files with 2359 additions and 34 deletions
+25
View File
@@ -26,6 +26,30 @@
/* me */
#include "stack.h"
#if defined(__ICCAVR__)
void stack_init(
void)
{
}
unsigned stack_size(
void)
{
return 0;
}
uint8_t stack_byte(
unsigned offset)
{
return 0;
}
unsigned stack_unused(
void)
{
return 0;
}
#else
/* stack checking */
extern uint8_t _end;
extern uint8_t __stack;
@@ -80,3 +104,4 @@ unsigned stack_unused(
}
return count;
}
#endif