summaryrefslogtreecommitdiffstats
path: root/polycom_xmit/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'polycom_xmit/Makefile')
-rw-r--r--polycom_xmit/Makefile15
1 files changed, 11 insertions, 4 deletions
diff --git a/polycom_xmit/Makefile b/polycom_xmit/Makefile
index 1b4f0f6..28166d1 100644
--- a/polycom_xmit/Makefile
+++ b/polycom_xmit/Makefile
@@ -6,7 +6,7 @@ INCLUDES=-Idummy
GCCFLAGS=-fno-inline-functions -nostdlib -mlongcalls -mtext-section-literals -ffunction-sections -fdata-sections
-PORT=/dev/ttyUSB1
+PORT=/dev/ttyUSB0
#BAUD=-b 921600
#BAUD=-b 460800
#BAUD=-b 200000
@@ -25,12 +25,19 @@ PROG0=${PROG}.0
PROG1=${PROG}.1
PROG2=${PROG}.2
-SRC=main.c webserver.c util.c reset.c wifi.c uart.c upgrade.c
+SRC=main.c webserver.c util.c reset.c wifi.c uart.c upgrade.c gpio.c
+
+UART_BAUD=115200
+
+default: flash.stamp
+ sympathy -b ${UART_BAUD} -d ${PORT} -t -L log
+
+view:
+ sympathy -b ${UART_BAUD} -d ${PORT} -t -L log
-default: user0.bin
flash:flash.stamp
- sympathy -b 115200 -d ${PORT} -t -L log
+ sympathy -b ${UART_BAUD} -d ${PORT} -t -L log
flash.stamp: user0.bin
${EPSTOOL} ${BAUD} --port ${PORT} write_flash 0x00000 user0.bin 0x40000 user0/eagle.app.v6.irom0text.bin