ps2_usb: Add setting for suart debug
This commit is contained in:
parent
8758035677
commit
350897112b
@ -1,5 +1,6 @@
|
|||||||
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
|
||||||
|
@ -82,4 +82,13 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
#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…
Reference in New Issue
Block a user