summaryrefslogtreecommitdiff
path: root/samples
diff options
context:
space:
mode:
authorDimitar Dimitrov <dimitar@dinux.eu>2021-01-15 18:19:25 (GMT)
committerDimitar Dimitrov <dimitar@dinux.eu>2021-01-19 19:18:55 (GMT)
commitc800bc8c82710757d347d1a1b5cf3359d3f71433 (patch)
tree99f3e4c6123d6a9890be9274753f986ae51ad559 /samples
parentfcf323336eab38aa8d0fffe75c11062d3e049caa (diff)
Add PRU cross tool target
Add sample configuration for building cross toolchain for the TI PRU. PRU cores are present in many of the BeagleBone single board computers. More information about the PRU can be found in https://bbb.io/pru Signed-off-by: Dimitar Dimitrov <dimitar@dinux.eu>
Diffstat (limited to 'samples')
-rw-r--r--samples/pru/crosstool.config15
-rw-r--r--samples/pru/reported.by3
2 files changed, 18 insertions, 0 deletions
diff --git a/samples/pru/crosstool.config b/samples/pru/crosstool.config
new file mode 100644
index 0000000..5072dd6
--- /dev/null
+++ b/samples/pru/crosstool.config
@@ -0,0 +1,15 @@
+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_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"