1
0

ps2_usb: Add setting for suart debug

This commit is contained in:
tmk 2016-10-03 11:02:01 +09:00
parent 8758035677
commit 350897112b
2 changed files with 10 additions and 0 deletions

View File

@ -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

View File

@ -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