aboutsummaryrefslogtreecommitdiff
path: root/samples
diff options
context:
space:
mode:
authorDimitar Dimitrov <dimitar@dinux.eu>2021-01-15 20:19:25 +0200
committerDimitar Dimitrov <dimitar@dinux.eu>2021-01-19 21:18:55 +0200
commitc800bc8c82710757d347d1a1b5cf3359d3f71433 (patch)
tree99f3e4c6123d6a9890be9274753f986ae51ad559 /samples
parentfcf323336eab38aa8d0fffe75c11062d3e049caa (diff)
downloadcrosstool-ng-c800bc8c82710757d347d1a1b5cf3359d3f71433.tar.gz
crosstool-ng-c800bc8c82710757d347d1a1b5cf3359d3f71433.tar.bz2
crosstool-ng-c800bc8c82710757d347d1a1b5cf3359d3f71433.zip
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 00000000..5072dd67
--- /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 00000000..eafd0c45
--- /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"