Skip to content

Commit

Permalink
Add xtensa-esp32-elf sample
Browse files Browse the repository at this point in the history
Signed-off-by: Max Filippov <[email protected]>
  • Loading branch information
igrr authored and jcmvbkbc committed Oct 17, 2016
1 parent 7d844e7 commit 6016662
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 0 deletions.
Binary file added overlays/xtensa_esp32.tar
Binary file not shown.
19 changes: 19 additions & 0 deletions samples/xtensa-esp32-elf/crosstool.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
CT_EXPERIMENTAL=y
CT_PREFIX_DIR="${CT_TOP_DIR}/builds/${CT_TARGET}"
CT_PATCH_BUNDLED_LOCAL=y
CT_LOCAL_PATCH_DIR="${CT_TOP_DIR}/local-patches"
CT_TARGET_CFLAGS="-mlongcalls"
CT_ARCH_xtensa=y
CT_XTENSA_CUSTOM=y
CT_ARCH_XTENSA_CUSTOM_NAME="esp32"
CT_ARCH_XTENSA_CUSTOM_OVERLAY_LOCATION="${CT_TOP_DIR}/overlays"
CT_TARGET_VENDOR="esp32"
CT_LIBC_NEWLIB_V_2_0_0=y
CT_LIBC_NEWLIB_DISABLE_SUPPLIED_SYSCALLS=y
CT_CC_LANG_CXX=y
CT_CC_GCC_V_4_8_5=y
CT_CC_GCC_ENABLE_CXX_FLAGS="-fno-exceptions -fno-rtti"
# CT_CC_CXA_ATEXIT is not set
# CT_CC_GCC_STATIC_LIBSTDCXX is not set
# CT_CC_GCC_LDBL_128 is not set
CT_DEBUG_gdb=y
3 changes: 3 additions & 0 deletions samples/xtensa-esp32-elf/reported.by
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
reporter_name="Ivan Grokhotkov <[email protected]>"
reporter_url=""
reporter_comment="Based on xtensa-esp108-elf sample reported by Max Filippov <[email protected]>"

0 comments on commit 6016662

Please sign in to comment.