summaryrefslogtreecommitdiff
path: root/src/core/ao_host.h
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2011-10-07 09:53:09 -0600
committerKeith Packard <keithp@keithp.com>2011-10-07 09:54:32 -0600
commit258b75498916183ed250d3abb3282fe3d843e7a1 (patch)
treed71a42f289a8fb31caf40c51746a1c42d8886ba3 /src/core/ao_host.h
parent128bbfa150f88c09f7adde2434b7bf0b5a9ed556 (diff)
altos: Write xdata versions of memory functions1.0.9.1
These are significantly smaller than the general pointer versions from libc on the cc1111. Signed-off-by: Keith Packard <keithp@keithp.com> Conflicts: src/Makefile.proto src/cc1111/ao_adc.c src/cc1111/ao_packet_master.c src/core/ao.h Fix up the new makefiles
Diffstat (limited to 'src/core/ao_host.h')
-rw-r--r--src/core/ao_host.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/ao_host.h b/src/core/ao_host.h
index 65c25fe5..f2b2f0c9 100644
--- a/src/core/ao_host.h
+++ b/src/core/ao_host.h
@@ -125,3 +125,7 @@ struct ao_config {
#define ao_config_get()
struct ao_config ao_config = { 250, 16000 };
+
+#define ao_xmemcpy(d,s,c) memcpy(d,s,c)
+#define ao_xmemset(d,v,c) memset(d,v,c)
+#define ao_xmemcmp(d,s,c) memcmp(d,s,c)