Browse Source

ps2_usb: Add setting for suart debug

master
tmk 7 years ago
parent
commit
350897112b
2 changed files with 10 additions and 0 deletions
  1. 1
    0
      converter/ps2_usb/Makefile.unimap.rev2
  2. 9
    0
      converter/ps2_usb/config_rev2.h

+ 1
- 0
converter/ps2_usb/Makefile.unimap.rev2 View File

TARGET = ps2_usb_rev2_unimap TARGET = ps2_usb_rev2_unimap
UNIMAP_ENABLE = yes UNIMAP_ENABLE = yes
KEYMAP_SECTION_ENABLE = yes KEYMAP_SECTION_ENABLE = yes
#LUFA_DEBUG_SUART = yes


include Makefile.rev2 include Makefile.rev2

+ 9
- 0
converter/ps2_usb/config_rev2.h View File

#define PS2_INT_VECT INT1_vect #define PS2_INT_VECT INT1_vect
#endif #endif


#ifdef LUFA_DEBUG_SUART
# define SUART_OUT_DDR DDRD
# define SUART_OUT_PORT PORTD
# define SUART_OUT_BIT 4
# define SUART_IN_DDR DDRD
# define SUART_IN_PIN PIND
# define SUART_IN_BIT 4
#endif

#endif #endif

Loading…
Cancel
Save