2017-11-24 17:24:12 +02:00
|
|
|
#ifndef DEBUG_H
|
|
|
|
#define DEBUG_H
|
|
|
|
|
|
|
|
#include <avr/io.h>
|
|
|
|
#include "/usr/include/simavr/avr/avr_mcu_section.h"
|
2017-11-24 22:14:50 +02:00
|
|
|
|
2017-11-24 17:24:12 +02:00
|
|
|
AVR_MCU(F_CPU, "atmega328p");
|
|
|
|
const struct avr_mmcu_vcd_trace_t _mytrace[] _MMCU_ = {
|
|
|
|
{ AVR_MCU_VCD_SYMBOL("DDRB"), .what = (void *) &DDRB, },
|
2017-11-24 22:14:50 +02:00
|
|
|
{ AVR_MCU_VCD_SYMBOL("TCCR1A"), .what = (void *) &TCCR1A, },
|
|
|
|
{ AVR_MCU_VCD_SYMBOL("TCCR1B"), .what = (void *) &TCCR1B, },
|
|
|
|
{ AVR_MCU_VCD_SYMBOL("OCR1A"), .what = (void *) &OCR1A, },
|
|
|
|
{ AVR_MCU_VCD_SYMBOL("OCR1B"), .what = (void *) &OCR1B, },
|
2017-11-24 17:24:12 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif /* DEBUG_H */
|