Fix missing CFLAGS for readline support.
This commit is contained in:
parent
04335f4f1c
commit
5084d0d925
2
Makefile
2
Makefile
|
@ -55,7 +55,7 @@ GCC_CFLAGS = -O1 -Wall -Wno-char-subscripts -ggdb
|
||||||
|
|
||||||
MSPDEBUG_LDFLAGS = $(LDFLAGS) $(PORTS_LDFLAGS)
|
MSPDEBUG_LDFLAGS = $(LDFLAGS) $(PORTS_LDFLAGS)
|
||||||
MSPDEBUG_LIBS = -lusb $(READLINE_LIBS) $(WIN32_LIBS)
|
MSPDEBUG_LIBS = -lusb $(READLINE_LIBS) $(WIN32_LIBS)
|
||||||
MSPDEBUG_CFLAGS = $(CFLAGS) $(PORTS_CFLAGS) $(GCC_CFLAGS)
|
MSPDEBUG_CFLAGS = $(CFLAGS) $(READLINE_CFLAGS) $(PORTS_CFLAGS) $(GCC_CFLAGS)
|
||||||
|
|
||||||
all: $(BINARY)
|
all: $(BINARY)
|
||||||
|
|
||||||
|
|
|
@ -49,7 +49,7 @@
|
||||||
#define OUTMOD0 0x0020 /* Output mode 0 */
|
#define OUTMOD0 0x0020 /* Output mode 0 */
|
||||||
#define CCIE 0x0010 /* Capture/compare interrupt enable */
|
#define CCIE 0x0010 /* Capture/compare interrupt enable */
|
||||||
#define CCI 0x0008 /* Capture input signal (read) */
|
#define CCI 0x0008 /* Capture input signal (read) */
|
||||||
#define OUT 0x0004 /* PWM Output signal if output mode 0 */
|
/* #define OUT 0x0004 PWM Output signal if output mode 0 */
|
||||||
#define COV 0x0002 /* Capture/compare overflow flag */
|
#define COV 0x0002 /* Capture/compare overflow flag */
|
||||||
#define CCIFG 0x0001 /* Capture/compare interrupt flag */
|
#define CCIFG 0x0001 /* Capture/compare interrupt flag */
|
||||||
|
|
||||||
|
|
2
stdcmd.c
2
stdcmd.c
|
@ -103,7 +103,7 @@ int cmd_help(char **arg)
|
||||||
vector_destroy(&v);
|
vector_destroy(&v);
|
||||||
|
|
||||||
printc("Type \"help <topic>\" for more information.\n");
|
printc("Type \"help <topic>\" for more information.\n");
|
||||||
#ifdef WIN32
|
#if defined(WIN32) && !defined(USE_READLINE)
|
||||||
printc("Press Ctrl+Z, Enter to quit.\n");
|
printc("Press Ctrl+Z, Enter to quit.\n");
|
||||||
#else
|
#else
|
||||||
printc("Press Ctrl+D to quit.\n");
|
printc("Press Ctrl+D to quit.\n");
|
||||||
|
|
Loading…
Reference in New Issue