Add testserial part of the build.
This commit is contained in:
parent
1df15b0192
commit
4fc5193bc7
@ -48,3 +48,4 @@ add_subdirectory(source)
|
||||
target_link_libraries(wonderswan wswan glfw ${OPENGL_glu_LIBRARY} ${OPENGL_gl_LIBRARY})
|
||||
|
||||
add_executable(dumpinfo dumpinfo.c)
|
||||
add_executable(testserial testserial.c)
|
||||
@ -15,6 +15,10 @@
|
||||
#include <errno.h> /* Error number definitions */
|
||||
#include <termios.h> /* POSIX terminal control definitions */
|
||||
|
||||
/*
|
||||
* The code, as is, was part of a fuzzer for the WonderSwan Tetris game.
|
||||
*/
|
||||
|
||||
/* Serial port */
|
||||
#define BDR_9600 (0)
|
||||
#define BDR_38400 (1)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user