summaryrefslogtreecommitdiff
path: root/samples
diff options
context:
space:
mode:
authorChris Packham <judge.packham@gmail.com>2021-01-24 23:40:31 (GMT)
committerGitHub <noreply@github.com>2021-01-24 23:40:31 (GMT)
commit30316cd27ab0a6f8cb2a96771661fc88e1b05a6b (patch)
tree9831a7f7d817b28f1c77a6532d68de4ada2da85e /samples
parent1678034bb637c506f3f2fdd455fa73ec76a15ff3 (diff)
parente7d0485ca2fece06e66e22162805b0e388bcc449 (diff)
Merge pull request #1448 from dinuxbg/master
Add PRU target configuration
Diffstat (limited to 'samples')
-rw-r--r--samples/pru/crosstool.config16
-rw-r--r--samples/pru/reported.by3
2 files changed, 19 insertions, 0 deletions
diff --git a/samples/pru/crosstool.config b/samples/pru/crosstool.config
new file mode 100644
index 0000000..529ebd9
--- /dev/null
+++ b/samples/pru/crosstool.config
@@ -0,0 +1,16 @@
+CT_CONFIG_VERSION="3"
+CT_ARCH_PRU=y
+CT_OMIT_TARGET_VENDOR=y
+# CT_DEMULTILIB is not set
+# CT_LIBC_NEWLIB_FVWRITE_IN_STREAMIO is not set
+# CT_LIBC_NEWLIB_UNBUF_STREAM_OPT is not set
+# CT_LIBC_NEWLIB_FSEEK_OPTIMIZATION is not set
+# CT_LIBC_NEWLIB_ATEXIT_DYNAMIC_ALLOC is not set
+# CT_LIBC_NEWLIB_MULTITHREAD is not set
+CT_LIBC_NEWLIB_EXTRA_SECTIONS=y
+# CT_LIBC_NEWLIB_WIDE_ORIENT is not set
+CT_LIBC_NEWLIB_NANO_MALLOC=y
+CT_LIBC_NEWLIB_NANO_FORMATTED_IO=y
+CT_CC_LANG_CXX=y
+CT_COMP_LIBS_GNUPRUMCU=y
+CT_COMP_TOOLS_MAKE=y
diff --git a/samples/pru/reported.by b/samples/pru/reported.by
new file mode 100644
index 0000000..eafd0c4
--- /dev/null
+++ b/samples/pru/reported.by
@@ -0,0 +1,3 @@
+reporter_name="Dimitar Dimitrov"
+reporter_url="https://github.com/dinuxbg/gnupru"
+reporter_comment="PRU cross toolchain"