summaryrefslogtreecommitdiff
path: root/samples
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2019-02-18 00:57:23 (GMT)
committerAlexey Neyman <stilor@att.net>2019-02-18 00:57:23 (GMT)
commitbf4b57308974252e6c7805614bce32ebfb9d40c9 (patch)
treece37e514c4e3fbaec4cd08c3fdd0fb33296b7f1f /samples
parentf71d3cb1c23d1e76fbc6549a04c64f6a8d5d4621 (diff)
Add sample from #985
Signed-off-by: Alexey Neyman <stilor@att.net>
Diffstat (limited to 'samples')
-rw-r--r--samples/xtensa-fsf-elf/crosstool.config38
-rw-r--r--samples/xtensa-fsf-elf/reported.by4
2 files changed, 42 insertions, 0 deletions
diff --git a/samples/xtensa-fsf-elf/crosstool.config b/samples/xtensa-fsf-elf/crosstool.config
new file mode 100644
index 0000000..8a65f79
--- /dev/null
+++ b/samples/xtensa-fsf-elf/crosstool.config
@@ -0,0 +1,38 @@
+CT_CONFIG_VERSION="2"
+CT_EXPERIMENTAL=y
+CT_ALLOW_BUILD_AS_ROOT=y
+CT_ALLOW_BUILD_AS_ROOT_SURE=y
+CT_DEBUG_CT=y
+CT_DEBUG_CT_SAVE_STEPS=y
+CT_ARCH_XTENSA=y
+CT_MULTILIB=y
+CT_TARGET_CFLAGS="-mlongcalls"
+CT_TARGET_VENDOR="fsf"
+CT_BINUTILS_SRC_DEVEL=y
+CT_BINUTILS_DEVEL_URL="https://github.com/espressif/binutils-gdb.git"
+CT_BINUTILS_DEVEL_BRANCH="esp32-2018r1_binutils-2_30"
+CT_BINUTILS_V_2_30=y
+CT_NEWLIB_SRC_DEVEL=y
+CT_NEWLIB_DEVEL_URL="https://github.com/espressif/newlib-esp32.git"
+CT_NEWLIB_DEVEL_BRANCH="esp32-2018r1_newlib-2_2_0"
+CT_LIBC_NEWLIB_TARGET_CFLAGS="-DSIGNAL_PROVIDED -DABORT_PROVIDED -DMALLOC_PROVIDED"
+CT_LIBC_NEWLIB_DISABLE_SUPPLIED_SYSCALLS=y
+CT_GCC_SRC_DEVEL=y
+CT_GCC_DEVEL_VCS_git=y
+CT_GCC_DEVEL_URL="https://github.com/espressif/gcc.git"
+CT_GCC_DEVEL_BRANCH="esp32-2018r1_gcc-8_2_0"
+CT_CC_GCC_ENABLE_CXX_FLAGS="-fno-rtti -ffunction-sections"
+CT_CC_GCC_CORE_EXTRA_CONFIG_ARRAY="--enable-threads=posix"
+CT_CC_GCC_EXTRA_CONFIG_ARRAY="--disable-libstdcxx-verbose --enable-threads=posix --enable-gcov-custom-rtio"
+# CT_CC_GCC_STATIC_LIBSTDCXX is not set
+# CT_CC_CXA_ATEXIT is not set
+# CT_CC_GCC_LDBL_128 is not set
+CT_CC_LANG_CXX=y
+CT_DEBUG_GDB=y
+CT_GDB_SRC_DEVEL=y
+CT_GDB_DEVEL_URL="https://github.com/espressif/binutils-gdb.git"
+CT_GDB_DEVEL_BRANCH="esp32-2018r1_gdb-8_1"
+CT_GDB_V_8_1=y
+CT_ISL_V_0_19=y
+CT_COMP_TOOLS_AUTOCONF=y
+CT_COMP_TOOLS_AUTOMAKE=y
diff --git a/samples/xtensa-fsf-elf/reported.by b/samples/xtensa-fsf-elf/reported.by
new file mode 100644
index 0000000..a51872d
--- /dev/null
+++ b/samples/xtensa-fsf-elf/reported.by
@@ -0,0 +1,4 @@
+reporter_name="Anton Maklakov"
+reporter_url=""
+reporter_comment="Modified from the configuration reported in #985 to not include
+overlays."