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

@@ -1,5 +1,6 @@
TARGET = ps2_usb_rev2_unimap
UNIMAP_ENABLE = yes
KEYMAP_SECTION_ENABLE = yes
#LUFA_DEBUG_SUART = yes

include Makefile.rev2

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

@@ -82,4 +82,13 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define PS2_INT_VECT INT1_vect
#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

Loading…
Cancel
Save