summaryrefslogtreecommitdiff
path: root/samples
diff options
context:
space:
mode:
authorAlastair D'Silva <alastair@d-silva.org>2016-12-23 12:01:26 (GMT)
committerAlastair D'Silva <alastair@d-silva.org>2017-01-09 23:51:39 (GMT)
commit4532830f96e14ae40addc19ab7b1e20eeb602792 (patch)
tree4eb44f46b764e8861e47d7bf59922f463a04b985 /samples
parent14896a2600f99ddb86d7c100ec8e57557c013438 (diff)
Add ARM nano sample configuration
Signed-off-by: Alastair D'Silva <alastair@d-silva.org>
Diffstat (limited to 'samples')
-rw-r--r--samples/arm-nano-eabi/crosstool.config28
-rw-r--r--samples/arm-nano-eabi/reported.by3
2 files changed, 31 insertions, 0 deletions
diff --git a/samples/arm-nano-eabi/crosstool.config b/samples/arm-nano-eabi/crosstool.config
new file mode 100644
index 0000000..697eef1
--- /dev/null
+++ b/samples/arm-nano-eabi/crosstool.config
@@ -0,0 +1,28 @@
+CT_LOCAL_TARBALLS_DIR="${HOME}/src"
+CT_SAVE_TARBALLS=y
+CT_LOG_EXTRA=y
+CT_ARCH_FLOAT_SW=y
+CT_ARCH_arm=y
+CT_LIBC_NEWLIB_IO_C99FMT=y
+CT_LIBC_NEWLIB_IO_LL=y
+CT_LIBC_NEWLIB_IO_FLOAT=n
+CT_LIBC_NEWLIB_DISABLE_SUPPLIED_SYSCALLS=y
+CT_CC_LANG_CXX=y
+CT_LIBC_NEWLIB_IO_POS_ARGS=n
+CT_LIBC_NEWLIB_FVWRITE_IN_STREAMIO=n
+CT_LIBC_NEWLIB_UNBUF_STREAM_OPT=n
+CT_LIBC_NEWLIB_FSEEK_OPTIMIZATION=n
+CT_LIBC_NEWLIB_REGISTER_FINI=n
+CT_LIBC_NEWLIB_ATEXIT_DYNAMIC_ALLOC=n
+CT_LIBC_NEWLIB_GLOBAL_ATEXIT=y
+CT_LIBC_NEWLIB_LITE_EXIT=y
+CT_LIBC_NEWLIB_REENT_SMALL=y
+CT_LIBC_NEWLIB_MULTITHREAD=n
+CT_LIBC_NEWLIB_EXTRA_SECTIONS=y
+CT_LIBC_NEWLIB_WIDE_ORIENT=n
+CT_LIBC_NEWLIB_ENABLE_TARGET_OPTSPACE=y
+CT_LIBC_NEWLIB_NANO_MALLOC=y
+CT_LIBC_NEWLIB_NANO_FORMATTED_IO=y
+CT_LIBC_NEWLIB_LTO=y
+CT_MULTILIB=y
+
diff --git a/samples/arm-nano-eabi/reported.by b/samples/arm-nano-eabi/reported.by
new file mode 100644
index 0000000..f6f49a9
--- /dev/null
+++ b/samples/arm-nano-eabi/reported.by
@@ -0,0 +1,3 @@
+reporter_name="Alastair D'Silva"
+reporter_url="http://alastair.d-silva.org/"
+reporter_comment="Based on arm-unknown-eabi"