aboutsummaryrefslogtreecommitdiff
path: root/regnual
diff options
context:
space:
mode:
Diffstat (limited to 'regnual')
-rw-r--r--regnual/Makefile3
-rw-r--r--regnual/types.h1
2 files changed, 3 insertions, 1 deletions
diff --git a/regnual/Makefile b/regnual/Makefile
index 6a0dddd..f150597 100644
--- a/regnual/Makefile
+++ b/regnual/Makefile
@@ -3,10 +3,11 @@
PROJECT = regnual
OBJS = regnual.o usb-stm32f103.o reset.o
-LDSCRIPT= regnual.ld
include ../src/config.mk
+LDSCRIPT= regnual.ld
+
###################################
MCU = cortex-m3
diff --git a/regnual/types.h b/regnual/types.h
index ed28a12..cef27e8 100644
--- a/regnual/types.h
+++ b/regnual/types.h
@@ -3,6 +3,7 @@ typedef unsigned long size_t;
typedef unsigned char uint8_t;
typedef unsigned short uint16_t;
typedef unsigned int uint32_t;
+typedef unsigned int uintptr_t;
#define TRUE 1
#define FALSE 0