Fix debug port names for PWM
This commit is contained in:
parent
60aedbc945
commit
4a4d6e19de
1
Makefile
1
Makefile
@ -53,6 +53,7 @@ ifeq ($(BUILD),debug)
|
|||||||
-Wmissing-include-dirs -Wno-unused-parameter -Wuninitialized \
|
-Wmissing-include-dirs -Wno-unused-parameter -Wuninitialized \
|
||||||
-Wold-style-definition -Wmissing-prototypes -Wunreachable-code \
|
-Wold-style-definition -Wmissing-prototypes -Wunreachable-code \
|
||||||
-Wno-unused-but-set-variable -Wmaybe-uninitialized
|
-Wno-unused-but-set-variable -Wmaybe-uninitialized
|
||||||
|
CINCS += -I/usr/include/simavr
|
||||||
#
|
#
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
@ -2,15 +2,15 @@
|
|||||||
#define DEBUG_H
|
#define DEBUG_H
|
||||||
|
|
||||||
#include <avr/io.h>
|
#include <avr/io.h>
|
||||||
#include "/usr/include/simavr/avr/avr_mcu_section.h"
|
#include <avr/avr_mcu_section.h>
|
||||||
|
|
||||||
AVR_MCU(F_CPU, "atmega328p");
|
AVR_MCU(F_CPU, "atmega328p");
|
||||||
const struct avr_mmcu_vcd_trace_t _mytrace[] _MMCU_ = {
|
const struct avr_mmcu_vcd_trace_t _mytrace[] _MMCU_ = {
|
||||||
{ AVR_MCU_VCD_SYMBOL("DDRB"), .what = (void *) &DDRB, },
|
{ AVR_MCU_VCD_SYMBOL("DDRD"), .what = (void *) &DDRD, },
|
||||||
{ AVR_MCU_VCD_SYMBOL("TCCR1A"), .what = (void *) &TCCR1A, },
|
{ AVR_MCU_VCD_SYMBOL("TCCR0A"), .what = (void *) &TCCR0A, },
|
||||||
{ AVR_MCU_VCD_SYMBOL("TCCR1B"), .what = (void *) &TCCR1B, },
|
{ AVR_MCU_VCD_SYMBOL("TCCR0B"), .what = (void *) &TCCR0B, },
|
||||||
{ AVR_MCU_VCD_SYMBOL("OCR1A"), .what = (void *) &OCR1A, },
|
{ AVR_MCU_VCD_SYMBOL("OCR0A"), .what = (void *) &OCR0A, },
|
||||||
{ AVR_MCU_VCD_SYMBOL("OCR1B"), .what = (void *) &OCR1B, },
|
{ AVR_MCU_VCD_SYMBOL("OCR0B"), .what = (void *) &OCR0B, },
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif /* DEBUG_H */
|
#endif /* DEBUG_H */
|
||||||
|
Loading…
Reference in New Issue
Block a user