---
softusb-input/main.c | 3 +++
softusb-input/navre.ld | 2 +-
2 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/softusb-input/main.c b/softusb-input/main.c
index 40f877e..5b171ab 100644
--- a/softusb-input/main.c
+++ b/softusb-input/main.c
@@ -26,6 +26,9 @@
#include "host.h"
#include "crc.h"
+#define print_string(s) (void) (s)
+#define dump_hex(x, y) (void) (x)
+
enum {
USB_PID_OUT = 0xe1,
USB_PID_IN = 0x69,
diff --git a/softusb-input/navre.ld b/softusb-input/navre.ld
index 652f554..4ec1578 100644
--- a/softusb-input/navre.ld
+++ b/softusb-input/navre.ld
@@ -3,7 +3,7 @@ OUTPUT_FORMAT("elf32-avr","elf32-avr","elf32-avr")
OUTPUT_ARCH(avr:2)
MEMORY
{
- text (rx) : ORIGIN = 0, LENGTH = 8K
+ text (rx) : ORIGIN = 0, LENGTH = 4K
data (rw!x) : ORIGIN = 0, LENGTH = 32K
}
SECTIONS
--
1.7.1
_______________________________________________
http://lists.milkymist.org/listinfo.cgi/devel-milkymist.org
IRC: #milkymist@Freenode