*/
#include <avr/sleep.h>
+#include <avr/io.h>
#include "avr_mcu_section.h"
AVR_MCU(F_CPU, "attiny85");
-int value = 0;
int main()
{
* this is not much, but that crashed the core, and should activate
* the gdb server properly, so you can see it stopped, here
*/
- value++;
*((uint8_t*)0xdead) = 0x55;
// should never reach here !
- value++;
+
sleep_mode();
}