aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libmaple/rules.mk1
-rw-r--r--wirish/rules.mk1
-rw-r--r--wirish/syscalls.c (renamed from libmaple/syscalls.c)6
3 files changed, 4 insertions, 4 deletions
diff --git a/libmaple/rules.mk b/libmaple/rules.mk
index 08c4c02..649e4c8 100644
--- a/libmaple/rules.mk
+++ b/libmaple/rules.mk
@@ -22,7 +22,6 @@ cSRCS_$(d) += nvic.c
cSRCS_$(d) += pwr.c
cSRCS_$(d) += rcc.c
# cSRCS_$(d) += spi.c
-cSRCS_$(d) += syscalls.c
cSRCS_$(d) += systick.c
cSRCS_$(d) += timer.c
cSRCS_$(d) += usart.c
diff --git a/wirish/rules.mk b/wirish/rules.mk
index a198c2d..acf4c46 100644
--- a/wirish/rules.mk
+++ b/wirish/rules.mk
@@ -20,6 +20,7 @@ CFLAGS_$(d) := $(LIBMAPLE_INCLUDES) $(WIRISH_INCLUDES) -I$(d)
# Local rules and targets
sSRCS_$(d) := start.S
cSRCS_$(d) := start_c.c
+cSRCS_$(d) += syscalls.c
cppSRCS_$(d) := boards.cpp
cppSRCS_$(d) += cxxabi-compat.cpp
cppSRCS_$(d) += ext_interrupts.cpp
diff --git a/libmaple/syscalls.c b/wirish/syscalls.c
index 30a63bf..d365e15 100644
--- a/libmaple/syscalls.c
+++ b/wirish/syscalls.c
@@ -25,11 +25,11 @@
*****************************************************************************/
/**
- * @file libmaple/syscalls.c
+ * @file wirish/syscalls.c
* @brief newlib stubs
*
- * Low level system routines used by Newlib for basic I/O and memory
- * allocation.
+ * Low level system routines used by newlib for basic I/O and memory
+ * allocation. You can override most of these.
*/
#include <libmaple/libmaple.h>