├── .gitignore ├── LICENSE ├── Makefile ├── README.md ├── build_app.sh ├── demos ├── esp_bl0937_ele_plug_demo │ ├── README.md │ ├── include │ │ ├── app_dltj.h │ │ ├── app_switch.h │ │ ├── bl0937.h │ │ └── device.h │ └── user │ │ ├── Makefile │ │ ├── app_dltj.c │ │ ├── app_switch.c │ │ ├── bl0937.c │ │ └── device.c ├── esp_plug_demo │ ├── include │ │ ├── device.h │ │ └── hw_table.h │ └── user │ │ ├── Makefile │ │ ├── device.c │ │ └── hw_table.c └── 涂鸦DEMO说明.md ├── platforms └── xtensa-lx106-elf │ ├── README.md │ ├── bin │ ├── xtensa-lx106-elf-addr2line │ ├── xtensa-lx106-elf-ar │ ├── xtensa-lx106-elf-as │ ├── xtensa-lx106-elf-c++filt │ ├── xtensa-lx106-elf-cc │ ├── xtensa-lx106-elf-cpp │ ├── xtensa-lx106-elf-ct-ng.config │ ├── xtensa-lx106-elf-elfedit │ ├── xtensa-lx106-elf-gcc │ ├── xtensa-lx106-elf-gcc-4.8.2 │ ├── xtensa-lx106-elf-gcc-ar │ ├── xtensa-lx106-elf-gcc-nm │ ├── xtensa-lx106-elf-gcc-ranlib │ ├── xtensa-lx106-elf-gcov │ ├── xtensa-lx106-elf-gdb │ ├── xtensa-lx106-elf-gprof │ ├── xtensa-lx106-elf-ld │ ├── xtensa-lx106-elf-ld.bfd │ ├── xtensa-lx106-elf-nm │ ├── xtensa-lx106-elf-objcopy │ ├── xtensa-lx106-elf-objdump │ ├── xtensa-lx106-elf-ranlib │ ├── xtensa-lx106-elf-readelf │ ├── xtensa-lx106-elf-size │ ├── xtensa-lx106-elf-strings │ └── xtensa-lx106-elf-strip │ ├── build.log.bz2 │ ├── build │ ├── bin │ │ ├── blank.bin │ │ ├── boot_v1.7.bin │ │ ├── esp_init_data_default.bin │ │ ├── esp_init_data_default_E3S_jp.bin │ │ ├── esp_init_data_default_LC2_jp.bin │ │ └── esp_init_data_default_anker.bin │ ├── build_sh │ │ ├── Makefile │ │ ├── build_app_1m.sh │ │ ├── build_app_2m.sh │ │ ├── build_app_release_1m.sh │ │ ├── build_app_release_2m.sh │ │ ├── make_rule │ │ └── package │ │ │ ├── Makefile │ │ │ ├── package.c │ │ │ └── package.h │ ├── build_sh_compatible │ │ ├── build_app_1m.sh │ │ ├── build_app_2m.sh │ │ ├── build_app_release_1m.sh │ │ ├── build_app_release_2m.sh │ │ └── make_rule │ ├── ld │ │ ├── eagle.app.v6.common.ld │ │ ├── eagle.app.v6.ld │ │ ├── eagle.app.v6.new.1024.app1.ld │ │ ├── eagle.app.v6.new.1024.app2.ld │ │ ├── eagle.app.v6.new.2048.ld │ │ ├── eagle.app.v6.new.512.app1.ld │ │ ├── eagle.app.v6.new.512.app2.ld │ │ └── eagle.rom.addr.v6.ld │ └── tools │ │ ├── combine_bin.py │ │ ├── combine_bin.pyc │ │ ├── gen_appbin.py │ │ ├── make_cert.py │ │ ├── makecombine.py │ │ └── makefile.sh │ ├── include │ └── gdb │ │ └── jit-reader.h │ ├── lib │ ├── gcc │ │ └── xtensa-lx106-elf │ │ │ └── 4.8.2 │ │ │ ├── crtbegin.o │ │ │ ├── crtend.o │ │ │ ├── crti.o │ │ │ ├── crtn.o │ │ │ ├── include-fixed │ │ │ ├── README │ │ │ ├── limits.h │ │ │ └── syslimits.h │ │ │ ├── include │ │ │ ├── _ansi.h │ │ │ ├── _syslist.h │ │ │ ├── alloca.h │ │ │ ├── ar.h │ │ │ ├── argz.h │ │ │ ├── assert.h │ │ │ ├── ctype.h │ │ │ ├── dirent.h │ │ │ ├── envz.h │ │ │ ├── errno.h │ │ │ ├── fastmath.h │ │ │ ├── fcntl.h │ │ │ ├── float.h │ │ │ ├── grp.h │ │ │ ├── iconv.h │ │ │ ├── ieeefp.h │ │ │ ├── inttypes.h │ │ │ ├── iso646.h │ │ │ ├── langinfo.h │ │ │ ├── limits.h │ │ │ ├── locale.h │ │ │ ├── machine │ │ │ │ ├── ansi.h │ │ │ │ ├── endian.h │ │ │ │ ├── fastmath.h │ │ │ │ ├── ieeefp.h │ │ │ │ ├── malloc.h │ │ │ │ ├── param.h │ │ │ │ ├── setjmp-dj.h │ │ │ │ ├── setjmp.h │ │ │ │ ├── stdlib.h │ │ │ │ ├── termios.h │ │ │ │ ├── time.h │ │ │ │ ├── types.h │ │ │ │ └── xtensa-hal.h │ │ │ ├── malloc.h │ │ │ ├── math.h │ │ │ ├── memory.h │ │ │ ├── newlib.h │ │ │ ├── paths.h │ │ │ ├── process.h │ │ │ ├── pthread.h │ │ │ ├── pwd.h │ │ │ ├── reent.h │ │ │ ├── regdef.h │ │ │ ├── search.h │ │ │ ├── setjmp.h │ │ │ ├── signal.h │ │ │ ├── stdalign.h │ │ │ ├── stdarg.h │ │ │ ├── stdbool.h │ │ │ ├── stddef.h │ │ │ ├── stdfix.h │ │ │ ├── stdint-gcc.h │ │ │ ├── stdint.h │ │ │ ├── stdio.h │ │ │ ├── stdlib.h │ │ │ ├── stdnoreturn.h │ │ │ ├── string.h │ │ │ ├── sys │ │ │ │ ├── _types.h │ │ │ │ ├── cdefs.h │ │ │ │ ├── config.h │ │ │ │ ├── dirent.h │ │ │ │ ├── errno.h │ │ │ │ ├── fcntl.h │ │ │ │ ├── features.h │ │ │ │ ├── file.h │ │ │ │ ├── iconvnls.h │ │ │ │ ├── lock.h │ │ │ │ ├── param.h │ │ │ │ ├── queue.h │ │ │ │ ├── reent.h │ │ │ │ ├── resource.h │ │ │ │ ├── sched.h │ │ │ │ ├── signal.h │ │ │ │ ├── stat.h │ │ │ │ ├── stdio.h │ │ │ │ ├── syslimits.h │ │ │ │ ├── time.h │ │ │ │ ├── timeb.h │ │ │ │ ├── times.h │ │ │ │ ├── types.h │ │ │ │ ├── unistd.h │ │ │ │ ├── utime.h │ │ │ │ └── wait.h │ │ │ ├── termios.h │ │ │ ├── tgmath.h │ │ │ ├── time.h │ │ │ ├── unctrl.h │ │ │ ├── unistd.h │ │ │ ├── unwind.h │ │ │ ├── utime.h │ │ │ ├── utmp.h │ │ │ ├── varargs.h │ │ │ ├── wchar.h │ │ │ ├── wctype.h │ │ │ ├── xcc │ │ │ │ ├── _G_config.h │ │ │ │ ├── c++ │ │ │ │ │ ├── algorithm │ │ │ │ │ ├── backward │ │ │ │ │ │ ├── algo.h │ │ │ │ │ │ ├── algobase.h │ │ │ │ │ │ ├── alloc.h │ │ │ │ │ │ ├── backward_warning.h │ │ │ │ │ │ ├── bvector.h │ │ │ │ │ │ ├── complex.h │ │ │ │ │ │ ├── defalloc.h │ │ │ │ │ │ ├── deque.h │ │ │ │ │ │ ├── fstream.h │ │ │ │ │ │ ├── function.h │ │ │ │ │ │ ├── hash_map.h │ │ │ │ │ │ ├── hash_set.h │ │ │ │ │ │ ├── hashtable.h │ │ │ │ │ │ ├── heap.h │ │ │ │ │ │ ├── iomanip.h │ │ │ │ │ │ ├── iostream.h │ │ │ │ │ │ ├── istream.h │ │ │ │ │ │ ├── iterator.h │ │ │ │ │ │ ├── list.h │ │ │ │ │ │ ├── map.h │ │ │ │ │ │ ├── multimap.h │ │ │ │ │ │ ├── multiset.h │ │ │ │ │ │ ├── new.h │ │ │ │ │ │ ├── ostream.h │ │ │ │ │ │ ├── pair.h │ │ │ │ │ │ ├── queue.h │ │ │ │ │ │ ├── rope.h │ │ │ │ │ │ ├── set.h │ │ │ │ │ │ ├── slist.h │ │ │ │ │ │ ├── stack.h │ │ │ │ │ │ ├── stream.h │ │ │ │ │ │ ├── streambuf.h │ │ │ │ │ │ ├── strstream │ │ │ │ │ │ ├── tempbuf.h │ │ │ │ │ │ ├── tree.h │ │ │ │ │ │ └── vector.h │ │ │ │ │ ├── bits │ │ │ │ │ │ ├── allocator.h │ │ │ │ │ │ ├── basic_ios.h │ │ │ │ │ │ ├── basic_ios.tcc │ │ │ │ │ │ ├── basic_string.h │ │ │ │ │ │ ├── basic_string.tcc │ │ │ │ │ │ ├── boost_concept_check.h │ │ │ │ │ │ ├── char_traits.h │ │ │ │ │ │ ├── cmath.tcc │ │ │ │ │ │ ├── codecvt.h │ │ │ │ │ │ ├── concept_check.h │ │ │ │ │ │ ├── cpp_type_traits.h │ │ │ │ │ │ ├── deque.tcc │ │ │ │ │ │ ├── fstream.tcc │ │ │ │ │ │ ├── functexcept.h │ │ │ │ │ │ ├── gslice.h │ │ │ │ │ │ ├── gslice_array.h │ │ │ │ │ │ ├── indirect_array.h │ │ │ │ │ │ ├── ios_base.h │ │ │ │ │ │ ├── istream.tcc │ │ │ │ │ │ ├── list.tcc │ │ │ │ │ │ ├── locale_classes.h │ │ │ │ │ │ ├── locale_facets.h │ │ │ │ │ │ ├── locale_facets.tcc │ │ │ │ │ │ ├── localefwd.h │ │ │ │ │ │ ├── mask_array.h │ │ │ │ │ │ ├── ostream.tcc │ │ │ │ │ │ ├── ostream_insert.h │ │ │ │ │ │ ├── postypes.h │ │ │ │ │ │ ├── slice_array.h │ │ │ │ │ │ ├── sstream.tcc │ │ │ │ │ │ ├── stl_algo.h │ │ │ │ │ │ ├── stl_algobase.h │ │ │ │ │ │ ├── stl_bvector.h │ │ │ │ │ │ ├── stl_construct.h │ │ │ │ │ │ ├── stl_deque.h │ │ │ │ │ │ ├── stl_function.h │ │ │ │ │ │ ├── stl_heap.h │ │ │ │ │ │ ├── stl_iterator.h │ │ │ │ │ │ ├── stl_iterator_base_funcs.h │ │ │ │ │ │ ├── stl_iterator_base_types.h │ │ │ │ │ │ ├── stl_list.h │ │ │ │ │ │ ├── stl_map.h │ │ │ │ │ │ ├── stl_multimap.h │ │ │ │ │ │ ├── stl_multiset.h │ │ │ │ │ │ ├── stl_numeric.h │ │ │ │ │ │ ├── stl_pair.h │ │ │ │ │ │ ├── stl_queue.h │ │ │ │ │ │ ├── stl_raw_storage_iter.h │ │ │ │ │ │ ├── stl_relops.h │ │ │ │ │ │ ├── stl_set.h │ │ │ │ │ │ ├── stl_stack.h │ │ │ │ │ │ ├── stl_tempbuf.h │ │ │ │ │ │ ├── stl_tree.h │ │ │ │ │ │ ├── stl_uninitialized.h │ │ │ │ │ │ ├── stl_vector.h │ │ │ │ │ │ ├── stream_iterator.h │ │ │ │ │ │ ├── streambuf.tcc │ │ │ │ │ │ ├── streambuf_iterator.h │ │ │ │ │ │ ├── stringfwd.h │ │ │ │ │ │ ├── valarray_after.h │ │ │ │ │ │ ├── valarray_array.h │ │ │ │ │ │ ├── valarray_array.tcc │ │ │ │ │ │ ├── valarray_before.h │ │ │ │ │ │ └── vector.tcc │ │ │ │ │ ├── bitset │ │ │ │ │ ├── cassert │ │ │ │ │ ├── cctype │ │ │ │ │ ├── cerrno │ │ │ │ │ ├── cfloat │ │ │ │ │ ├── ciso646 │ │ │ │ │ ├── climits │ │ │ │ │ ├── clocale │ │ │ │ │ ├── cmath │ │ │ │ │ ├── complex │ │ │ │ │ ├── csetjmp │ │ │ │ │ ├── csignal │ │ │ │ │ ├── cstdarg │ │ │ │ │ ├── cstddef │ │ │ │ │ ├── cstdio │ │ │ │ │ ├── cstdlib │ │ │ │ │ ├── cstring │ │ │ │ │ ├── ctime │ │ │ │ │ ├── cwchar │ │ │ │ │ ├── cwctype │ │ │ │ │ ├── cxxabi.h │ │ │ │ │ ├── debug │ │ │ │ │ │ ├── bitset │ │ │ │ │ │ ├── debug.h │ │ │ │ │ │ ├── deque │ │ │ │ │ │ ├── formatter.h │ │ │ │ │ │ ├── functions.h │ │ │ │ │ │ ├── hash_map │ │ │ │ │ │ ├── hash_map.h │ │ │ │ │ │ ├── hash_multimap.h │ │ │ │ │ │ ├── hash_multiset.h │ │ │ │ │ │ ├── hash_set │ │ │ │ │ │ ├── hash_set.h │ │ │ │ │ │ ├── list │ │ │ │ │ │ ├── macros.h │ │ │ │ │ │ ├── map │ │ │ │ │ │ ├── map.h │ │ │ │ │ │ ├── multimap.h │ │ │ │ │ │ ├── multiset.h │ │ │ │ │ │ ├── safe_base.h │ │ │ │ │ │ ├── safe_iterator.h │ │ │ │ │ │ ├── safe_iterator.tcc │ │ │ │ │ │ ├── safe_sequence.h │ │ │ │ │ │ ├── set │ │ │ │ │ │ ├── set.h │ │ │ │ │ │ ├── string │ │ │ │ │ │ └── vector │ │ │ │ │ ├── deque │ │ │ │ │ ├── exception │ │ │ │ │ ├── exception_defines.h │ │ │ │ │ ├── ext │ │ │ │ │ │ ├── algorithm │ │ │ │ │ │ ├── array_allocator.h │ │ │ │ │ │ ├── atomicity.h │ │ │ │ │ │ ├── bitmap_allocator.h │ │ │ │ │ │ ├── codecvt_specializations.h │ │ │ │ │ │ ├── concurrence.h │ │ │ │ │ │ ├── debug_allocator.h │ │ │ │ │ │ ├── functional │ │ │ │ │ │ ├── hash_fun.h │ │ │ │ │ │ ├── hash_map │ │ │ │ │ │ ├── hash_set │ │ │ │ │ │ ├── hashtable.h │ │ │ │ │ │ ├── iterator │ │ │ │ │ │ ├── malloc_allocator.h │ │ │ │ │ │ ├── memory │ │ │ │ │ │ ├── mt_allocator.h │ │ │ │ │ │ ├── new_allocator.h │ │ │ │ │ │ ├── numeric │ │ │ │ │ │ ├── numeric_traits.h │ │ │ │ │ │ ├── pb_ds │ │ │ │ │ │ │ ├── assoc_container.hpp │ │ │ │ │ │ │ ├── detail │ │ │ │ │ │ │ │ ├── basic_tree_policy │ │ │ │ │ │ │ │ │ ├── basic_tree_policy_base.hpp │ │ │ │ │ │ │ │ │ ├── null_node_metadata.hpp │ │ │ │ │ │ │ │ │ └── traits.hpp │ │ │ │ │ │ │ │ ├── basic_types.hpp │ │ │ │ │ │ │ │ ├── bin_search_tree_ │ │ │ │ │ │ │ │ │ ├── bin_search_tree_.hpp │ │ │ │ │ │ │ │ │ ├── cond_dtor_entry_dealtor.hpp │ │ │ │ │ │ │ │ │ ├── cond_key_dtor_entry_dealtor.hpp │ │ │ │ │ │ │ │ │ ├── constructors_destructor_fn_imps.hpp │ │ │ │ │ │ │ │ │ ├── debug_fn_imps.hpp │ │ │ │ │ │ │ │ │ ├── erase_fn_imps.hpp │ │ │ │ │ │ │ │ │ ├── find_fn_imps.hpp │ │ │ │ │ │ │ │ │ ├── info_fn_imps.hpp │ │ │ │ │ │ │ │ │ ├── insert_fn_imps.hpp │ │ │ │ │ │ │ │ │ ├── iterators_fn_imps.hpp │ │ │ │ │ │ │ │ │ ├── node_iterators.hpp │ │ │ │ │ │ │ │ │ ├── point_iterators.hpp │ │ │ │ │ │ │ │ │ ├── policy_access_fn_imps.hpp │ │ │ │ │ │ │ │ │ ├── r_erase_fn_imps.hpp │ │ │ │ │ │ │ │ │ ├── rotate_fn_imps.hpp │ │ │ │ │ │ │ │ │ ├── split_join_fn_imps.hpp │ │ │ │ │ │ │ │ │ └── traits.hpp │ │ │ │ │ │ │ │ ├── binary_heap_ │ │ │ │ │ │ │ │ │ ├── binary_heap_.hpp │ │ │ │ │ │ │ │ │ ├── const_iterator.hpp │ │ │ │ │ │ │ │ │ ├── const_point_iterator.hpp │ │ │ │ │ │ │ │ │ ├── constructors_destructor_fn_imps.hpp │ │ │ │ │ │ │ │ │ ├── debug_fn_imps.hpp │ │ │ │ │ │ │ │ │ ├── entry_cmp.hpp │ │ │ │ │ │ │ │ │ ├── entry_pred.hpp │ │ │ │ │ │ │ │ │ ├── erase_fn_imps.hpp │ │ │ │ │ │ │ │ │ ├── find_fn_imps.hpp │ │ │ │ │ │ │ │ │ ├── info_fn_imps.hpp │ │ │ │ │ │ │ │ │ ├── insert_fn_imps.hpp │ │ │ │ │ │ │ │ │ ├── iterators_fn_imps.hpp │ │ │ │ │ │ │ │ │ ├── policy_access_fn_imps.hpp │ │ │ │ │ │ │ │ │ ├── resize_policy.hpp │ │ │ │ │ │ │ │ │ ├── split_join_fn_imps.hpp │ │ │ │ │ │ │ │ │ └── trace_fn_imps.hpp │ │ │ │ │ │ │ │ ├── binomial_heap_ │ │ │ │ │ │ │ │ │ ├── binomial_heap_.hpp │ │ │ │ │ │ │ │ │ ├── constructors_destructor_fn_imps.hpp │ │ │ │ │ │ │ │ │ └── debug_fn_imps.hpp │ │ │ │ │ │ │ │ ├── binomial_heap_base_ │ │ │ │ │ │ │ │ │ ├── binomial_heap_base_.hpp │ │ │ │ │ │ │ │ │ ├── constructors_destructor_fn_imps.hpp │ │ │ │ │ │ │ │ │ ├── debug_fn_imps.hpp │ │ │ │ │ │ │ │ │ ├── erase_fn_imps.hpp │ │ │ │ │ │ │ │ │ ├── find_fn_imps.hpp │ │ │ │ │ │ │ │ │ ├── insert_fn_imps.hpp │ │ │ │ │ │ │ │ │ └── split_join_fn_imps.hpp │ │ │ │ │ │ │ │ ├── cc_hash_table_map_ │ │ │ │ │ │ │ │ │ ├── cc_ht_map_.hpp │ │ │ │ │ │ │ │ │ ├── cmp_fn_imps.hpp │ │ │ │ │ │ │ │ │ ├── cond_key_dtor_entry_dealtor.hpp │ │ │ │ │ │ │ │ │ ├── constructor_destructor_fn_imps.hpp │ │ │ │ │ │ │ │ │ ├── constructor_destructor_no_store_hash_fn_imps.hpp │ │ │ │ │ │ │ │ │ ├── constructor_destructor_store_hash_fn_imps.hpp │ │ │ │ │ │ │ │ │ ├── debug_fn_imps.hpp │ │ │ │ │ │ │ │ │ ├── debug_no_store_hash_fn_imps.hpp │ │ │ │ │ │ │ │ │ ├── debug_store_hash_fn_imps.hpp │ │ │ │ │ │ │ │ │ ├── entry_list_fn_imps.hpp │ │ │ │ │ │ │ │ │ ├── erase_fn_imps.hpp │ │ │ │ │ │ │ │ │ ├── erase_no_store_hash_fn_imps.hpp │ │ │ │ │ │ │ │ │ ├── erase_store_hash_fn_imps.hpp │ │ │ │ │ │ │ │ │ ├── find_fn_imps.hpp │ │ │ │ │ │ │ │ │ ├── find_store_hash_fn_imps.hpp │ │ │ │ │ │ │ │ │ ├── info_fn_imps.hpp │ │ │ │ │ │ │ │ │ ├── insert_fn_imps.hpp │ │ │ │ │ │ │ │ │ ├── insert_no_store_hash_fn_imps.hpp │ │ │ │ │ │ │ │ │ ├── insert_store_hash_fn_imps.hpp │ │ │ │ │ │ │ │ │ ├── iterators_fn_imps.hpp │ │ │ │ │ │ │ │ │ ├── policy_access_fn_imps.hpp │ │ │ │ │ │ │ │ │ ├── resize_fn_imps.hpp │ │ │ │ │ │ │ │ │ ├── resize_no_store_hash_fn_imps.hpp │ │ │ │ │ │ │ │ │ ├── resize_store_hash_fn_imps.hpp │ │ │ │ │ │ │ │ │ ├── size_fn_imps.hpp │ │ │ │ │ │ │ │ │ ├── standard_policies.hpp │ │ │ │ │ │ │ │ │ └── trace_fn_imps.hpp │ │ │ │ │ │ │ │ ├── cond_dealtor.hpp │ │ │ │ │ │ │ │ ├── constructors_destructor_fn_imps.hpp │ │ │ │ │ │ │ │ ├── container_base_dispatch.hpp │ │ │ │ │ │ │ │ ├── eq_fn │ │ │ │ │ │ │ │ │ ├── eq_by_less.hpp │ │ │ │ │ │ │ │ │ └── hash_eq_fn.hpp │ │ │ │ │ │ │ │ ├── gp_hash_table_map_ │ │ │ │ │ │ │ │ │ ├── constructor_destructor_fn_imps.hpp │ │ │ │ │ │ │ │ │ ├── constructor_destructor_no_store_hash_fn_imps.hpp │ │ │ │ │ │ │ │ │ ├── constructor_destructor_store_hash_fn_imps.hpp │ │ │ │ │ │ │ │ │ ├── debug_fn_imps.hpp │ │ │ │ │ │ │ │ │ ├── debug_no_store_hash_fn_imps.hpp │ │ │ │ │ │ │ │ │ ├── debug_store_hash_fn_imps.hpp │ │ │ │ │ │ │ │ │ ├── erase_fn_imps.hpp │ │ │ │ │ │ │ │ │ ├── erase_no_store_hash_fn_imps.hpp │ │ │ │ │ │ │ │ │ ├── erase_store_hash_fn_imps.hpp │ │ │ │ │ │ │ │ │ ├── find_fn_imps.hpp │ │ │ │ │ │ │ │ │ ├── find_no_store_hash_fn_imps.hpp │ │ │ │ │ │ │ │ │ ├── find_store_hash_fn_imps.hpp │ │ │ │ │ │ │ │ │ ├── gp_ht_map_.hpp │ │ │ │ │ │ │ │ │ ├── info_fn_imps.hpp │ │ │ │ │ │ │ │ │ ├── insert_fn_imps.hpp │ │ │ │ │ │ │ │ │ ├── insert_no_store_hash_fn_imps.hpp │ │ │ │ │ │ │ │ │ ├── insert_store_hash_fn_imps.hpp │ │ │ │ │ │ │ │ │ ├── iterator_fn_imps.hpp │ │ │ │ │ │ │ │ │ ├── policy_access_fn_imps.hpp │ │ │ │ │ │ │ │ │ ├── resize_fn_imps.hpp │ │ │ │ │ │ │ │ │ ├── resize_no_store_hash_fn_imps.hpp │ │ │ │ │ │ │ │ │ ├── resize_store_hash_fn_imps.hpp │ │ │ │ │ │ │ │ │ ├── standard_policies.hpp │ │ │ │ │ │ │ │ │ └── trace_fn_imps.hpp │ │ │ │ │ │ │ │ ├── hash_fn │ │ │ │ │ │ │ │ │ ├── direct_mask_range_hashing_imp.hpp │ │ │ │ │ │ │ │ │ ├── direct_mod_range_hashing_imp.hpp │ │ │ │ │ │ │ │ │ ├── linear_probe_fn_imp.hpp │ │ │ │ │ │ │ │ │ ├── mask_based_range_hashing.hpp │ │ │ │ │ │ │ │ │ ├── mod_based_range_hashing.hpp │ │ │ │ │ │ │ │ │ ├── probe_fn_base.hpp │ │ │ │ │ │ │ │ │ ├── quadratic_probe_fn_imp.hpp │ │ │ │ │ │ │ │ │ ├── ranged_hash_fn.hpp │ │ │ │ │ │ │ │ │ ├── ranged_probe_fn.hpp │ │ │ │ │ │ │ │ │ ├── sample_probe_fn.hpp │ │ │ │ │ │ │ │ │ ├── sample_range_hashing.hpp │ │ │ │ │ │ │ │ │ ├── sample_ranged_hash_fn.hpp │ │ │ │ │ │ │ │ │ └── sample_ranged_probe_fn.hpp │ │ │ │ │ │ │ │ ├── left_child_next_sibling_heap_ │ │ │ │ │ │ │ │ │ ├── const_iterator.hpp │ │ │ │ │ │ │ │ │ ├── const_point_iterator.hpp │ │ │ │ │ │ │ │ │ ├── constructors_destructor_fn_imps.hpp │ │ │ │ │ │ │ │ │ ├── debug_fn_imps.hpp │ │ │ │ │ │ │ │ │ ├── erase_fn_imps.hpp │ │ │ │ │ │ │ │ │ ├── info_fn_imps.hpp │ │ │ │ │ │ │ │ │ ├── insert_fn_imps.hpp │ │ │ │ │ │ │ │ │ ├── iterators_fn_imps.hpp │ │ │ │ │ │ │ │ │ ├── left_child_next_sibling_heap_.hpp │ │ │ │ │ │ │ │ │ ├── node.hpp │ │ │ │ │ │ │ │ │ ├── null_metadata.hpp │ │ │ │ │ │ │ │ │ ├── policy_access_fn_imps.hpp │ │ │ │ │ │ │ │ │ └── trace_fn_imps.hpp │ │ │ │ │ │ │ │ ├── list_update_map_ │ │ │ │ │ │ │ │ │ ├── constructor_destructor_fn_imps.hpp │ │ │ │ │ │ │ │ │ ├── debug_fn_imps.hpp │ │ │ │ │ │ │ │ │ ├── entry_metadata_base.hpp │ │ │ │ │ │ │ │ │ ├── erase_fn_imps.hpp │ │ │ │ │ │ │ │ │ ├── find_fn_imps.hpp │ │ │ │ │ │ │ │ │ ├── info_fn_imps.hpp │ │ │ │ │ │ │ │ │ ├── insert_fn_imps.hpp │ │ │ │ │ │ │ │ │ ├── iterators_fn_imps.hpp │ │ │ │ │ │ │ │ │ ├── lu_map_.hpp │ │ │ │ │ │ │ │ │ └── trace_fn_imps.hpp │ │ │ │ │ │ │ │ ├── list_update_policy │ │ │ │ │ │ │ │ │ ├── counter_lu_metadata.hpp │ │ │ │ │ │ │ │ │ ├── counter_lu_policy_imp.hpp │ │ │ │ │ │ │ │ │ ├── mtf_lu_policy_imp.hpp │ │ │ │ │ │ │ │ │ └── sample_update_policy.hpp │ │ │ │ │ │ │ │ ├── map_debug_base.hpp │ │ │ │ │ │ │ │ ├── ov_tree_map_ │ │ │ │ │ │ │ │ │ ├── cond_dtor.hpp │ │ │ │ │ │ │ │ │ ├── constructors_destructor_fn_imps.hpp │ │ │ │ │ │ │ │ │ ├── debug_fn_imps.hpp │ │ │ │ │ │ │ │ │ ├── erase_fn_imps.hpp │ │ │ │ │ │ │ │ │ ├── info_fn_imps.hpp │ │ │ │ │ │ │ │ │ ├── insert_fn_imps.hpp │ │ │ │ │ │ │ │ │ ├── iterators_fn_imps.hpp │ │ │ │ │ │ │ │ │ ├── node_iterators.hpp │ │ │ │ │ │ │ │ │ ├── ov_tree_map_.hpp │ │ │ │ │ │ │ │ │ ├── policy_access_fn_imps.hpp │ │ │ │ │ │ │ │ │ ├── split_join_fn_imps.hpp │ │ │ │ │ │ │ │ │ └── traits.hpp │ │ │ │ │ │ │ │ ├── pairing_heap_ │ │ │ │ │ │ │ │ │ ├── constructors_destructor_fn_imps.hpp │ │ │ │ │ │ │ │ │ ├── debug_fn_imps.hpp │ │ │ │ │ │ │ │ │ ├── erase_fn_imps.hpp │ │ │ │ │ │ │ │ │ ├── find_fn_imps.hpp │ │ │ │ │ │ │ │ │ ├── insert_fn_imps.hpp │ │ │ │ │ │ │ │ │ ├── pairing_heap_.hpp │ │ │ │ │ │ │ │ │ └── split_join_fn_imps.hpp │ │ │ │ │ │ │ │ ├── pat_trie_ │ │ │ │ │ │ │ │ │ ├── child_iterator.hpp │ │ │ │ │ │ │ │ │ ├── cond_dtor_entry_dealtor.hpp │ │ │ │ │ │ │ │ │ ├── const_child_iterator.hpp │ │ │ │ │ │ │ │ │ ├── constructors_destructor_fn_imps.hpp │ │ │ │ │ │ │ │ │ ├── debug_fn_imps.hpp │ │ │ │ │ │ │ │ │ ├── erase_fn_imps.hpp │ │ │ │ │ │ │ │ │ ├── find_fn_imps.hpp │ │ │ │ │ │ │ │ │ ├── head.hpp │ │ │ │ │ │ │ │ │ ├── info_fn_imps.hpp │ │ │ │ │ │ │ │ │ ├── insert_join_fn_imps.hpp │ │ │ │ │ │ │ │ │ ├── internal_node.hpp │ │ │ │ │ │ │ │ │ ├── iterators_fn_imps.hpp │ │ │ │ │ │ │ │ │ ├── leaf.hpp │ │ │ │ │ │ │ │ │ ├── node_base.hpp │ │ │ │ │ │ │ │ │ ├── node_iterators.hpp │ │ │ │ │ │ │ │ │ ├── node_metadata_base.hpp │ │ │ │ │ │ │ │ │ ├── pat_trie_.hpp │ │ │ │ │ │ │ │ │ ├── point_iterators.hpp │ │ │ │ │ │ │ │ │ ├── policy_access_fn_imps.hpp │ │ │ │ │ │ │ │ │ ├── r_erase_fn_imps.hpp │ │ │ │ │ │ │ │ │ ├── rotate_fn_imps.hpp │ │ │ │ │ │ │ │ │ ├── split_fn_imps.hpp │ │ │ │ │ │ │ │ │ ├── split_join_branch_bag.hpp │ │ │ │ │ │ │ │ │ ├── synth_e_access_traits.hpp │ │ │ │ │ │ │ │ │ ├── trace_fn_imps.hpp │ │ │ │ │ │ │ │ │ ├── traits.hpp │ │ │ │ │ │ │ │ │ └── update_fn_imps.hpp │ │ │ │ │ │ │ │ ├── priority_queue_base_dispatch.hpp │ │ │ │ │ │ │ │ ├── rb_tree_map_ │ │ │ │ │ │ │ │ │ ├── constructors_destructor_fn_imps.hpp │ │ │ │ │ │ │ │ │ ├── debug_fn_imps.hpp │ │ │ │ │ │ │ │ │ ├── erase_fn_imps.hpp │ │ │ │ │ │ │ │ │ ├── find_fn_imps.hpp │ │ │ │ │ │ │ │ │ ├── info_fn_imps.hpp │ │ │ │ │ │ │ │ │ ├── insert_fn_imps.hpp │ │ │ │ │ │ │ │ │ ├── node.hpp │ │ │ │ │ │ │ │ │ ├── rb_tree_.hpp │ │ │ │ │ │ │ │ │ ├── split_join_fn_imps.hpp │ │ │ │ │ │ │ │ │ └── traits.hpp │ │ │ │ │ │ │ │ ├── rc_binomial_heap_ │ │ │ │ │ │ │ │ │ ├── constructors_destructor_fn_imps.hpp │ │ │ │ │ │ │ │ │ ├── debug_fn_imps.hpp │ │ │ │ │ │ │ │ │ ├── erase_fn_imps.hpp │ │ │ │ │ │ │ │ │ ├── insert_fn_imps.hpp │ │ │ │ │ │ │ │ │ ├── rc.hpp │ │ │ │ │ │ │ │ │ ├── rc_binomial_heap_.hpp │ │ │ │ │ │ │ │ │ ├── split_join_fn_imps.hpp │ │ │ │ │ │ │ │ │ └── trace_fn_imps.hpp │ │ │ │ │ │ │ │ ├── resize_policy │ │ │ │ │ │ │ │ │ ├── cc_hash_max_collision_check_resize_trigger_imp.hpp │ │ │ │ │ │ │ │ │ ├── hash_exponential_size_policy_imp.hpp │ │ │ │ │ │ │ │ │ ├── hash_load_check_resize_trigger_imp.hpp │ │ │ │ │ │ │ │ │ ├── hash_load_check_resize_trigger_size_base.hpp │ │ │ │ │ │ │ │ │ ├── hash_prime_size_policy_imp.hpp │ │ │ │ │ │ │ │ │ ├── hash_standard_resize_policy_imp.hpp │ │ │ │ │ │ │ │ │ ├── sample_resize_policy.hpp │ │ │ │ │ │ │ │ │ ├── sample_resize_trigger.hpp │ │ │ │ │ │ │ │ │ └── sample_size_policy.hpp │ │ │ │ │ │ │ │ ├── splay_tree_ │ │ │ │ │ │ │ │ │ ├── constructors_destructor_fn_imps.hpp │ │ │ │ │ │ │ │ │ ├── debug_fn_imps.hpp │ │ │ │ │ │ │ │ │ ├── erase_fn_imps.hpp │ │ │ │ │ │ │ │ │ ├── find_fn_imps.hpp │ │ │ │ │ │ │ │ │ ├── info_fn_imps.hpp │ │ │ │ │ │ │ │ │ ├── insert_fn_imps.hpp │ │ │ │ │ │ │ │ │ ├── node.hpp │ │ │ │ │ │ │ │ │ ├── splay_fn_imps.hpp │ │ │ │ │ │ │ │ │ ├── splay_tree_.hpp │ │ │ │ │ │ │ │ │ ├── split_join_fn_imps.hpp │ │ │ │ │ │ │ │ │ └── traits.hpp │ │ │ │ │ │ │ │ ├── standard_policies.hpp │ │ │ │ │ │ │ │ ├── thin_heap_ │ │ │ │ │ │ │ │ │ ├── constructors_destructor_fn_imps.hpp │ │ │ │ │ │ │ │ │ ├── debug_fn_imps.hpp │ │ │ │ │ │ │ │ │ ├── erase_fn_imps.hpp │ │ │ │ │ │ │ │ │ ├── find_fn_imps.hpp │ │ │ │ │ │ │ │ │ ├── insert_fn_imps.hpp │ │ │ │ │ │ │ │ │ ├── split_join_fn_imps.hpp │ │ │ │ │ │ │ │ │ ├── thin_heap_.hpp │ │ │ │ │ │ │ │ │ └── trace_fn_imps.hpp │ │ │ │ │ │ │ │ ├── tree_policy │ │ │ │ │ │ │ │ │ ├── node_metadata_selector.hpp │ │ │ │ │ │ │ │ │ ├── null_node_update_imp.hpp │ │ │ │ │ │ │ │ │ ├── order_statistics_imp.hpp │ │ │ │ │ │ │ │ │ └── sample_tree_node_update.hpp │ │ │ │ │ │ │ │ ├── tree_trace_base.hpp │ │ │ │ │ │ │ │ ├── trie_policy │ │ │ │ │ │ │ │ │ ├── node_metadata_selector.hpp │ │ │ │ │ │ │ │ │ ├── null_node_update_imp.hpp │ │ │ │ │ │ │ │ │ ├── order_statistics_imp.hpp │ │ │ │ │ │ │ │ │ ├── prefix_search_node_update_imp.hpp │ │ │ │ │ │ │ │ │ ├── sample_trie_e_access_traits.hpp │ │ │ │ │ │ │ │ │ ├── sample_trie_node_update.hpp │ │ │ │ │ │ │ │ │ ├── string_trie_e_access_traits_imp.hpp │ │ │ │ │ │ │ │ │ └── trie_policy_base.hpp │ │ │ │ │ │ │ │ ├── type_utils.hpp │ │ │ │ │ │ │ │ ├── types_traits.hpp │ │ │ │ │ │ │ │ └── unordered_iterator │ │ │ │ │ │ │ │ │ ├── const_iterator.hpp │ │ │ │ │ │ │ │ │ ├── const_point_iterator.hpp │ │ │ │ │ │ │ │ │ ├── iterator.hpp │ │ │ │ │ │ │ │ │ └── point_iterator.hpp │ │ │ │ │ │ │ ├── exception.hpp │ │ │ │ │ │ │ ├── hash_policy.hpp │ │ │ │ │ │ │ ├── list_update_policy.hpp │ │ │ │ │ │ │ ├── priority_queue.hpp │ │ │ │ │ │ │ ├── tag_and_trait.hpp │ │ │ │ │ │ │ ├── tree_policy.hpp │ │ │ │ │ │ │ └── trie_policy.hpp │ │ │ │ │ │ ├── pod_char_traits.h │ │ │ │ │ │ ├── pool_allocator.h │ │ │ │ │ │ ├── rb_tree │ │ │ │ │ │ ├── rc_string_base.h │ │ │ │ │ │ ├── rope │ │ │ │ │ │ ├── ropeimpl.h │ │ │ │ │ │ ├── slist │ │ │ │ │ │ ├── sso_string_base.h │ │ │ │ │ │ ├── stdio_filebuf.h │ │ │ │ │ │ ├── stdio_sync_filebuf.h │ │ │ │ │ │ ├── throw_allocator.h │ │ │ │ │ │ ├── type_traits.h │ │ │ │ │ │ ├── typelist.h │ │ │ │ │ │ ├── vstring.h │ │ │ │ │ │ ├── vstring.tcc │ │ │ │ │ │ ├── vstring_fwd.h │ │ │ │ │ │ └── vstring_util.h │ │ │ │ │ ├── fstream │ │ │ │ │ ├── functional │ │ │ │ │ ├── iomanip │ │ │ │ │ ├── ios │ │ │ │ │ ├── iosfwd │ │ │ │ │ ├── iostream │ │ │ │ │ ├── istream │ │ │ │ │ ├── iterator │ │ │ │ │ ├── limits │ │ │ │ │ ├── list │ │ │ │ │ ├── locale │ │ │ │ │ ├── map │ │ │ │ │ ├── memory │ │ │ │ │ ├── new │ │ │ │ │ ├── numeric │ │ │ │ │ ├── ostream │ │ │ │ │ ├── queue │ │ │ │ │ ├── set │ │ │ │ │ ├── sstream │ │ │ │ │ ├── stack │ │ │ │ │ ├── stdexcept │ │ │ │ │ ├── streambuf │ │ │ │ │ ├── string │ │ │ │ │ ├── tr1 │ │ │ │ │ │ ├── array │ │ │ │ │ │ ├── bind_iterate.h │ │ │ │ │ │ ├── bind_repeat.h │ │ │ │ │ │ ├── boost_shared_ptr.h │ │ │ │ │ │ ├── cctype │ │ │ │ │ │ ├── cfenv │ │ │ │ │ │ ├── cfloat │ │ │ │ │ │ ├── cinttypes │ │ │ │ │ │ ├── climits │ │ │ │ │ │ ├── cmath │ │ │ │ │ │ ├── common.h │ │ │ │ │ │ ├── complex │ │ │ │ │ │ ├── cstdarg │ │ │ │ │ │ ├── cstdbool │ │ │ │ │ │ ├── cstdint │ │ │ │ │ │ ├── cstdio │ │ │ │ │ │ ├── cstdlib │ │ │ │ │ │ ├── ctgmath │ │ │ │ │ │ ├── ctime │ │ │ │ │ │ ├── ctype.h │ │ │ │ │ │ ├── cwchar │ │ │ │ │ │ ├── cwctype │ │ │ │ │ │ ├── fenv.h │ │ │ │ │ │ ├── float.h │ │ │ │ │ │ ├── functional │ │ │ │ │ │ ├── functional_hash.h │ │ │ │ │ │ ├── functional_iterate.h │ │ │ │ │ │ ├── hashtable │ │ │ │ │ │ ├── hashtable_policy.h │ │ │ │ │ │ ├── inttypes.h │ │ │ │ │ │ ├── limits.h │ │ │ │ │ │ ├── math.h │ │ │ │ │ │ ├── memory │ │ │ │ │ │ ├── mu_iterate.h │ │ │ │ │ │ ├── random │ │ │ │ │ │ ├── random.tcc │ │ │ │ │ │ ├── ref_fwd.h │ │ │ │ │ │ ├── ref_wrap_iterate.h │ │ │ │ │ │ ├── repeat.h │ │ │ │ │ │ ├── stdarg.h │ │ │ │ │ │ ├── stdbool.h │ │ │ │ │ │ ├── stdint.h │ │ │ │ │ │ ├── stdio.h │ │ │ │ │ │ ├── stdlib.h │ │ │ │ │ │ ├── tgmath.h │ │ │ │ │ │ ├── tuple │ │ │ │ │ │ ├── tuple_defs.h │ │ │ │ │ │ ├── tuple_iterate.h │ │ │ │ │ │ ├── type_traits │ │ │ │ │ │ ├── type_traits_fwd.h │ │ │ │ │ │ ├── unordered_map │ │ │ │ │ │ ├── unordered_set │ │ │ │ │ │ ├── utility │ │ │ │ │ │ ├── wchar.h │ │ │ │ │ │ └── wctype.h │ │ │ │ │ ├── typeinfo │ │ │ │ │ ├── utility │ │ │ │ │ ├── valarray │ │ │ │ │ ├── vector │ │ │ │ │ └── xtensa-elf │ │ │ │ │ │ └── bits │ │ │ │ │ │ ├── atomic_word.h │ │ │ │ │ │ ├── basic_file.h │ │ │ │ │ │ ├── c++allocator.h │ │ │ │ │ │ ├── c++config.h │ │ │ │ │ │ ├── c++io.h │ │ │ │ │ │ ├── c++locale.h │ │ │ │ │ │ ├── cpu_defines.h │ │ │ │ │ │ ├── ctype_base.h │ │ │ │ │ │ ├── ctype_inline.h │ │ │ │ │ │ ├── ctype_noninline.h │ │ │ │ │ │ ├── cxxabi_tweaks.h │ │ │ │ │ │ ├── gthr-default.h │ │ │ │ │ │ ├── gthr-posix.h │ │ │ │ │ │ ├── gthr-single.h │ │ │ │ │ │ ├── gthr-tpf.h │ │ │ │ │ │ ├── gthr.h │ │ │ │ │ │ ├── messages_members.h │ │ │ │ │ │ ├── os_defines.h │ │ │ │ │ │ └── time_members.h │ │ │ │ └── g++ │ │ │ │ │ ├── PlotFile.h │ │ │ │ │ ├── SFile.h │ │ │ │ │ ├── algo.h │ │ │ │ │ ├── algobase.h │ │ │ │ │ ├── algorithm │ │ │ │ │ ├── alloc.h │ │ │ │ │ ├── bitset │ │ │ │ │ ├── builtinbuf.h │ │ │ │ │ ├── bvector.h │ │ │ │ │ ├── cassert │ │ │ │ │ ├── cctype │ │ │ │ │ ├── cerrno │ │ │ │ │ ├── cfloat │ │ │ │ │ ├── ciso646 │ │ │ │ │ ├── climits │ │ │ │ │ ├── clocale │ │ │ │ │ ├── cmath │ │ │ │ │ ├── complex │ │ │ │ │ ├── complex.h │ │ │ │ │ ├── csetjmp │ │ │ │ │ ├── csignal │ │ │ │ │ ├── cstdarg │ │ │ │ │ ├── cstddef │ │ │ │ │ ├── cstdio │ │ │ │ │ ├── cstdlib │ │ │ │ │ ├── cstring │ │ │ │ │ ├── ctime │ │ │ │ │ ├── cwchar │ │ │ │ │ ├── cwctype │ │ │ │ │ ├── defalloc.h │ │ │ │ │ ├── deque │ │ │ │ │ ├── deque.h │ │ │ │ │ ├── editbuf.h │ │ │ │ │ ├── floatio.h │ │ │ │ │ ├── fstream │ │ │ │ │ ├── fstream.h │ │ │ │ │ ├── function.h │ │ │ │ │ ├── functional │ │ │ │ │ ├── hash_map │ │ │ │ │ ├── hash_map.h │ │ │ │ │ ├── hash_set │ │ │ │ │ ├── hash_set.h │ │ │ │ │ ├── hashtable.h │ │ │ │ │ ├── heap.h │ │ │ │ │ ├── indstream.h │ │ │ │ │ ├── iolibio.h │ │ │ │ │ ├── iomanip │ │ │ │ │ ├── iomanip.h │ │ │ │ │ ├── iosfwd │ │ │ │ │ ├── iostdio.h │ │ │ │ │ ├── iostream │ │ │ │ │ ├── iostream.h │ │ │ │ │ ├── iostreamP.h │ │ │ │ │ ├── istream.h │ │ │ │ │ ├── iterator │ │ │ │ │ ├── iterator.h │ │ │ │ │ ├── libio.h │ │ │ │ │ ├── libioP.h │ │ │ │ │ ├── list │ │ │ │ │ ├── list.h │ │ │ │ │ ├── map │ │ │ │ │ ├── map.h │ │ │ │ │ ├── memory │ │ │ │ │ ├── multimap.h │ │ │ │ │ ├── multiset.h │ │ │ │ │ ├── numeric │ │ │ │ │ ├── ostream.h │ │ │ │ │ ├── pair.h │ │ │ │ │ ├── parsestream.h │ │ │ │ │ ├── pfstream.h │ │ │ │ │ ├── procbuf.h │ │ │ │ │ ├── pthread_alloc │ │ │ │ │ ├── pthread_alloc.h │ │ │ │ │ ├── queue │ │ │ │ │ ├── rope │ │ │ │ │ ├── rope.h │ │ │ │ │ ├── ropeimpl.h │ │ │ │ │ ├── set │ │ │ │ │ ├── set.h │ │ │ │ │ ├── slist │ │ │ │ │ ├── slist.h │ │ │ │ │ ├── sstream │ │ │ │ │ ├── stack │ │ │ │ │ ├── stack.h │ │ │ │ │ ├── std │ │ │ │ │ ├── bastring.cc │ │ │ │ │ ├── bastring.h │ │ │ │ │ ├── complext.cc │ │ │ │ │ ├── complext.h │ │ │ │ │ ├── cpp_type_traits.h │ │ │ │ │ ├── dcomplex.h │ │ │ │ │ ├── fcomplex.h │ │ │ │ │ ├── gslice.h │ │ │ │ │ ├── gslice_array.h │ │ │ │ │ ├── indirect_array.h │ │ │ │ │ ├── ldcomplex.h │ │ │ │ │ ├── mask_array.h │ │ │ │ │ ├── slice.h │ │ │ │ │ ├── slice_array.h │ │ │ │ │ ├── std_valarray.h │ │ │ │ │ ├── straits.h │ │ │ │ │ ├── valarray_array.h │ │ │ │ │ ├── valarray_array.tcc │ │ │ │ │ └── valarray_meta.h │ │ │ │ │ ├── stdexcept │ │ │ │ │ ├── stdiostream.h │ │ │ │ │ ├── stl.h │ │ │ │ │ ├── stl_algo.h │ │ │ │ │ ├── stl_algobase.h │ │ │ │ │ ├── stl_alloc.h │ │ │ │ │ ├── stl_bvector.h │ │ │ │ │ ├── stl_config.h │ │ │ │ │ ├── stl_construct.h │ │ │ │ │ ├── stl_deque.h │ │ │ │ │ ├── stl_function.h │ │ │ │ │ ├── stl_hash_fun.h │ │ │ │ │ ├── stl_hash_map.h │ │ │ │ │ ├── stl_hash_set.h │ │ │ │ │ ├── stl_hashtable.h │ │ │ │ │ ├── stl_heap.h │ │ │ │ │ ├── stl_iterator.h │ │ │ │ │ ├── stl_list.h │ │ │ │ │ ├── stl_map.h │ │ │ │ │ ├── stl_multimap.h │ │ │ │ │ ├── stl_multiset.h │ │ │ │ │ ├── stl_numeric.h │ │ │ │ │ ├── stl_pair.h │ │ │ │ │ ├── stl_queue.h │ │ │ │ │ ├── stl_raw_storage_iter.h │ │ │ │ │ ├── stl_relops.h │ │ │ │ │ ├── stl_rope.h │ │ │ │ │ ├── stl_set.h │ │ │ │ │ ├── stl_slist.h │ │ │ │ │ ├── stl_stack.h │ │ │ │ │ ├── stl_tempbuf.h │ │ │ │ │ ├── stl_tree.h │ │ │ │ │ ├── stl_uninitialized.h │ │ │ │ │ ├── stl_vector.h │ │ │ │ │ ├── stream.h │ │ │ │ │ ├── streambuf.h │ │ │ │ │ ├── strfile.h │ │ │ │ │ ├── string │ │ │ │ │ ├── strstream │ │ │ │ │ ├── strstream.h │ │ │ │ │ ├── tempbuf.h │ │ │ │ │ ├── tree.h │ │ │ │ │ ├── type_traits.h │ │ │ │ │ ├── utility │ │ │ │ │ ├── valarray │ │ │ │ │ ├── vector │ │ │ │ │ └── vector.h │ │ │ └── xtensa │ │ │ │ ├── cacheasm.h │ │ │ │ ├── cacheattrasm.h │ │ │ │ ├── config │ │ │ │ ├── core-isa.h │ │ │ │ ├── core-matmap.h │ │ │ │ ├── core.h │ │ │ │ ├── specreg.h │ │ │ │ ├── system.h │ │ │ │ ├── tie-asm.h │ │ │ │ └── tie.h │ │ │ │ ├── coreasm.h │ │ │ │ ├── corebits.h │ │ │ │ ├── hal.h │ │ │ │ ├── simboard.h │ │ │ │ ├── specreg.h │ │ │ │ ├── uart-16550.h │ │ │ │ ├── xtboard.h │ │ │ │ ├── xtbsp.h │ │ │ │ ├── xtensa-libdb-macros.h │ │ │ │ ├── xtensa-xer.h │ │ │ │ ├── xtruntime-frames.h │ │ │ │ └── xtruntime.h │ │ │ ├── install-tools │ │ │ ├── fixinc_list │ │ │ ├── gsyslimits.h │ │ │ ├── include │ │ │ │ ├── README │ │ │ │ └── limits.h │ │ │ ├── macro_list │ │ │ └── mkheaders.conf │ │ │ ├── libgcc.a │ │ │ ├── libgcov.a │ │ │ ├── libhal.a │ │ │ └── plugin │ │ │ ├── gtype.state │ │ │ └── include │ │ │ ├── ada │ │ │ └── gcc-interface │ │ │ │ └── ada-tree.def │ │ │ ├── alias.h │ │ │ ├── all-tree.def │ │ │ ├── alloc-pool.h │ │ │ ├── ansidecl.h │ │ │ ├── auto-host.h │ │ │ ├── b-header-vars │ │ │ ├── basic-block.h │ │ │ ├── bitmap.h │ │ │ ├── builtins.def │ │ │ ├── bversion.h │ │ │ ├── c-family │ │ │ ├── c-common.def │ │ │ ├── c-common.h │ │ │ ├── c-objc.h │ │ │ ├── c-pragma.h │ │ │ └── c-pretty-print.h │ │ │ ├── c-tree.h │ │ │ ├── cfg-flags.def │ │ │ ├── cfghooks.h │ │ │ ├── cfgloop.h │ │ │ ├── cgraph.h │ │ │ ├── cif-code.def │ │ │ ├── config.h │ │ │ ├── config │ │ │ ├── dbxelf.h │ │ │ ├── elfos.h │ │ │ ├── initfini-array.h │ │ │ ├── newlib-stdint.h │ │ │ └── xtensa │ │ │ │ ├── elf.h │ │ │ │ ├── xtensa-protos.h │ │ │ │ └── xtensa.h │ │ │ ├── configargs.h │ │ │ ├── coretypes.h │ │ │ ├── cp │ │ │ └── cp-tree.def │ │ │ ├── cppdefault.h │ │ │ ├── cpplib.h │ │ │ ├── debug.h │ │ │ ├── defaults.h │ │ │ ├── diagnostic-core.h │ │ │ ├── diagnostic.def │ │ │ ├── diagnostic.h │ │ │ ├── double-int.h │ │ │ ├── dumpfile.h │ │ │ ├── emit-rtl.h │ │ │ ├── except.h │ │ │ ├── filenames.h │ │ │ ├── fixed-value.h │ │ │ ├── flag-types.h │ │ │ ├── flags.h │ │ │ ├── function.h │ │ │ ├── gcc-plugin.h │ │ │ ├── genrtl.h │ │ │ ├── ggc.h │ │ │ ├── gimple-pretty-print.h │ │ │ ├── gimple.def │ │ │ ├── gimple.h │ │ │ ├── gsstruct.def │ │ │ ├── gtm-builtins.def │ │ │ ├── gtype-desc.h │ │ │ ├── hard-reg-set.h │ │ │ ├── hashtab.h │ │ │ ├── highlev-plugin-common.h │ │ │ ├── hwint.h │ │ │ ├── incpath.h │ │ │ ├── input.h │ │ │ ├── insn-constants.h │ │ │ ├── insn-flags.h │ │ │ ├── insn-modes.h │ │ │ ├── insn-notes.def │ │ │ ├── internal-fn.def │ │ │ ├── internal-fn.h │ │ │ ├── intl.h │ │ │ ├── ipa-prop.h │ │ │ ├── ipa-ref-inline.h │ │ │ ├── ipa-ref.h │ │ │ ├── ipa-reference.h │ │ │ ├── ipa-utils.h │ │ │ ├── is-a.h │ │ │ ├── java │ │ │ └── java-tree.def │ │ │ ├── langhooks.h │ │ │ ├── libiberty.h │ │ │ ├── line-map.h │ │ │ ├── machmode.h │ │ │ ├── md5.h │ │ │ ├── mode-classes.def │ │ │ ├── objc │ │ │ └── objc-tree.def │ │ │ ├── obstack.h │ │ │ ├── omp-builtins.def │ │ │ ├── options.h │ │ │ ├── opts.h │ │ │ ├── output.h │ │ │ ├── params.def │ │ │ ├── params.h │ │ │ ├── plugin-api.h │ │ │ ├── plugin-version.h │ │ │ ├── plugin.def │ │ │ ├── plugin.h │ │ │ ├── pointer-set.h │ │ │ ├── predict.def │ │ │ ├── predict.h │ │ │ ├── prefix.h │ │ │ ├── pretty-print.h │ │ │ ├── real.h │ │ │ ├── realmpfr.h │ │ │ ├── reg-notes.def │ │ │ ├── rtl.def │ │ │ ├── rtl.h │ │ │ ├── safe-ctype.h │ │ │ ├── sanitizer.def │ │ │ ├── sbitmap.h │ │ │ ├── splay-tree.h │ │ │ ├── statistics.h │ │ │ ├── symtab.h │ │ │ ├── sync-builtins.def │ │ │ ├── system.h │ │ │ ├── target-hooks-macros.h │ │ │ ├── target.def │ │ │ ├── target.h │ │ │ ├── timevar.def │ │ │ ├── timevar.h │ │ │ ├── tm-preds.h │ │ │ ├── tm.h │ │ │ ├── tm_p.h │ │ │ ├── toplev.h │ │ │ ├── tree-check.h │ │ │ ├── tree-dump.h │ │ │ ├── tree-flow-inline.h │ │ │ ├── tree-flow.h │ │ │ ├── tree-inline.h │ │ │ ├── tree-iterator.h │ │ │ ├── tree-pass.h │ │ │ ├── tree-pretty-print.h │ │ │ ├── tree-ssa-alias.h │ │ │ ├── tree-ssa-operands.h │ │ │ ├── tree-ssa-sccvn.h │ │ │ ├── tree.def │ │ │ ├── tree.h │ │ │ ├── treestruct.def │ │ │ ├── vec.h │ │ │ └── version.h │ ├── ldscripts │ │ ├── elf32xtensa.x │ │ ├── elf32xtensa.xbn │ │ ├── elf32xtensa.xc │ │ ├── elf32xtensa.xd │ │ ├── elf32xtensa.xdc │ │ ├── elf32xtensa.xdw │ │ ├── elf32xtensa.xn │ │ ├── elf32xtensa.xr │ │ ├── elf32xtensa.xs │ │ ├── elf32xtensa.xsc │ │ ├── elf32xtensa.xsw │ │ ├── elf32xtensa.xu │ │ └── elf32xtensa.xw │ └── libiberty.a │ ├── libexec │ └── gcc │ │ └── xtensa-lx106-elf │ │ └── 4.8.2 │ │ ├── cc1 │ │ ├── collect2 │ │ ├── install-tools │ │ ├── fixinc.sh │ │ ├── fixincl │ │ ├── mkheaders │ │ └── mkinstalldirs │ │ ├── liblto_plugin.la │ │ ├── liblto_plugin.so │ │ ├── liblto_plugin.so.0 │ │ ├── liblto_plugin.so.0.0.0 │ │ ├── lto-wrapper │ │ ├── lto1 │ │ └── plugin │ │ └── gengtype │ ├── share │ └── gdb │ │ ├── gdbinit │ │ ├── python │ │ └── gdb │ │ │ ├── __init__.py │ │ │ ├── command │ │ │ ├── __init__.py │ │ │ ├── explore.py │ │ │ ├── pretty_printers.py │ │ │ └── prompt.py │ │ │ ├── printing.py │ │ │ ├── prompt.py │ │ │ └── types.py │ │ └── syscalls │ │ ├── amd64-linux.xml │ │ ├── gdb-syscalls.dtd │ │ ├── i386-linux.xml │ │ ├── mips-n32-linux.xml │ │ ├── mips-n64-linux.xml │ │ ├── mips-o32-linux.xml │ │ ├── ppc-linux.xml │ │ ├── ppc64-linux.xml │ │ ├── sparc-linux.xml │ │ └── sparc64-linux.xml │ ├── xtensa-lx106-elf.yaml │ └── xtensa-lx106-elf │ └── bin │ ├── ar │ ├── as │ ├── gcc │ ├── ld │ ├── ld.bfd │ ├── nm │ ├── objcopy │ ├── objdump │ ├── ranlib │ └── strip ├── sdk ├── esp8266 │ ├── fac_include │ │ ├── espconn │ │ │ ├── espconn.h │ │ │ ├── espconn_buf.h │ │ │ ├── espconn_tcp.h │ │ │ └── espconn_udp.h │ │ ├── espressif │ │ │ ├── c_types.h │ │ │ ├── esp8266 │ │ │ │ ├── eagle_soc.h │ │ │ │ ├── esp8266.h │ │ │ │ ├── ets_sys.h │ │ │ │ ├── gpio_register.h │ │ │ │ ├── pin_mux_register.h │ │ │ │ ├── spi_register.h │ │ │ │ ├── timer_register.h │ │ │ │ └── uart_register.h │ │ │ ├── esp_common.h │ │ │ ├── esp_libc.h │ │ │ ├── esp_misc.h │ │ │ ├── esp_softap.h │ │ │ ├── esp_spiffs.h │ │ │ ├── esp_ssc.h │ │ │ ├── esp_sta.h │ │ │ ├── esp_system.h │ │ │ ├── esp_timer.h │ │ │ ├── esp_wifi.h │ │ │ ├── esp_wps.h │ │ │ ├── espconn.h │ │ │ ├── espnow.h │ │ │ ├── pwm.h │ │ │ ├── queue.h │ │ │ ├── smartconfig.h │ │ │ ├── spi_flash.h │ │ │ └── upgrade.h │ │ ├── freertos │ │ │ ├── FreeRTOS.h │ │ │ ├── FreeRTOSConfig.h │ │ │ ├── StackMacros.h │ │ │ ├── croutine.h │ │ │ ├── list.h │ │ │ ├── mpu_wrappers.h │ │ │ ├── portable.h │ │ │ ├── portmacro.h │ │ │ ├── projdefs.h │ │ │ ├── queue.h │ │ │ ├── semphr.h │ │ │ ├── task.h │ │ │ ├── timers.h │ │ │ ├── xtensa_context.h │ │ │ ├── xtensa_rtos.h │ │ │ └── xtensa_timer.h │ │ ├── json │ │ │ └── cJSON.h │ │ ├── lwip │ │ │ ├── apps │ │ │ │ ├── sntp.h │ │ │ │ ├── sntp_opts.h │ │ │ │ ├── sntp_time.h │ │ │ │ └── time.h │ │ │ ├── arch │ │ │ │ ├── cc.h │ │ │ │ ├── perf.h │ │ │ │ └── sys_arch.h │ │ │ ├── ipv4 │ │ │ │ └── lwip │ │ │ │ │ ├── autoip.h │ │ │ │ │ ├── icmp.h │ │ │ │ │ ├── igmp.h │ │ │ │ │ ├── inet.h │ │ │ │ │ ├── ip4.h │ │ │ │ │ ├── ip4_addr.h │ │ │ │ │ └── ip_frag.h │ │ │ ├── ipv6 │ │ │ │ └── lwip │ │ │ │ │ ├── dhcp6.h │ │ │ │ │ ├── ethip6.h │ │ │ │ │ ├── icmp6.h │ │ │ │ │ ├── inet6.h │ │ │ │ │ ├── ip6.h │ │ │ │ │ ├── ip6_addr.h │ │ │ │ │ ├── ip6_frag.h │ │ │ │ │ ├── mld6.h │ │ │ │ │ └── nd6.h │ │ │ ├── lwip │ │ │ │ ├── api.h │ │ │ │ ├── api_msg.h │ │ │ │ ├── arch.h │ │ │ │ ├── debug.h │ │ │ │ ├── def.h │ │ │ │ ├── dhcp.h │ │ │ │ ├── dhcpserver.h │ │ │ │ ├── dns.h │ │ │ │ ├── err.h │ │ │ │ ├── inet_chksum.h │ │ │ │ ├── init.h │ │ │ │ ├── ip.h │ │ │ │ ├── ip_addr.h │ │ │ │ ├── mem.h │ │ │ │ ├── memp.h │ │ │ │ ├── memp_std.h │ │ │ │ ├── multi-threads │ │ │ │ │ └── sockets_mt.h │ │ │ │ ├── netbuf.h │ │ │ │ ├── netdb.h │ │ │ │ ├── netif.h │ │ │ │ ├── netifapi.h │ │ │ │ ├── opt.h │ │ │ │ ├── pbuf.h │ │ │ │ ├── raw.h │ │ │ │ ├── sio.h │ │ │ │ ├── snmp.h │ │ │ │ ├── snmp_asn1.h │ │ │ │ ├── snmp_msg.h │ │ │ │ ├── snmp_structs.h │ │ │ │ ├── sockets.h │ │ │ │ ├── stats.h │ │ │ │ ├── sys.h │ │ │ │ ├── tcp.h │ │ │ │ ├── tcp_impl.h │ │ │ │ ├── tcpip.h │ │ │ │ ├── timers.h │ │ │ │ └── udp.h │ │ │ ├── lwipopts.h │ │ │ ├── netif │ │ │ │ ├── etharp.h │ │ │ │ ├── if_llc.h │ │ │ │ ├── ppp_oe.h │ │ │ │ ├── slipif.h │ │ │ │ └── wlan_lwip_if.h │ │ │ └── posix │ │ │ │ ├── netdb.h │ │ │ │ └── sys │ │ │ │ └── socket.h │ │ ├── mbedtls │ │ │ ├── aes.h │ │ │ ├── aesni.h │ │ │ ├── arc4.h │ │ │ ├── asn1.h │ │ │ ├── asn1write.h │ │ │ ├── base64.h │ │ │ ├── bignum.h │ │ │ ├── blowfish.h │ │ │ ├── bn_mul.h │ │ │ ├── camellia.h │ │ │ ├── ccm.h │ │ │ ├── certs.h │ │ │ ├── check_config.h │ │ │ ├── cipher.h │ │ │ ├── cipher_internal.h │ │ │ ├── compat-1.3.h │ │ │ ├── config.h │ │ │ ├── config_esp.h │ │ │ ├── ctr_drbg.h │ │ │ ├── debug.h │ │ │ ├── des.h │ │ │ ├── dhm.h │ │ │ ├── ecdh.h │ │ │ ├── ecdsa.h │ │ │ ├── ecjpake.h │ │ │ ├── ecp.h │ │ │ ├── entropy.h │ │ │ ├── entropy_poll.h │ │ │ ├── error.h │ │ │ ├── gcm.h │ │ │ ├── havege.h │ │ │ ├── hmac_drbg.h │ │ │ ├── md.h │ │ │ ├── md2.h │ │ │ ├── md4.h │ │ │ ├── md5.h │ │ │ ├── md_internal.h │ │ │ ├── memory_buffer_alloc.h │ │ │ ├── net.h │ │ │ ├── oid.h │ │ │ ├── padlock.h │ │ │ ├── pem.h │ │ │ ├── pk.h │ │ │ ├── pk_internal.h │ │ │ ├── pkcs11.h │ │ │ ├── pkcs12.h │ │ │ ├── pkcs5.h │ │ │ ├── platform.h │ │ │ ├── ripemd160.h │ │ │ ├── rsa.h │ │ │ ├── sha1.h │ │ │ ├── sha256.h │ │ │ ├── sha512.h │ │ │ ├── ssl.h │ │ │ ├── ssl_cache.h │ │ │ ├── ssl_ciphersuites.h │ │ │ ├── ssl_cookie.h │ │ │ ├── ssl_internal.h │ │ │ ├── ssl_ticket.h │ │ │ ├── threading.h │ │ │ ├── timing.h │ │ │ ├── version.h │ │ │ ├── x509.h │ │ │ ├── x509_crl.h │ │ │ ├── x509_crt.h │ │ │ ├── x509_csr.h │ │ │ └── xtea.h │ │ ├── mqtt │ │ │ ├── MQTTClient.h │ │ │ ├── MQTTConnect.h │ │ │ ├── MQTTFormat.h │ │ │ ├── MQTTFreeRTOS.h │ │ │ ├── MQTTPacket.h │ │ │ ├── MQTTPublish.h │ │ │ ├── MQTTSubscribe.h │ │ │ ├── MQTTUnsubscribe.h │ │ │ └── StackTrace.h │ │ ├── nopoll │ │ │ ├── nopoll.h │ │ │ ├── nopoll_config.h │ │ │ ├── nopoll_conn.h │ │ │ ├── nopoll_conn_opts.h │ │ │ ├── nopoll_ctx.h │ │ │ ├── nopoll_decl.h │ │ │ ├── nopoll_handlers.h │ │ │ ├── nopoll_io.h │ │ │ ├── nopoll_listener.h │ │ │ ├── nopoll_log.h │ │ │ ├── nopoll_loop.h │ │ │ ├── nopoll_msg.h │ │ │ ├── nopoll_private.h │ │ │ └── nopoll_win32.h │ │ ├── openssl │ │ │ ├── internal │ │ │ │ ├── ssl3.h │ │ │ │ ├── ssl_cert.h │ │ │ │ ├── ssl_code.h │ │ │ │ ├── ssl_dbg.h │ │ │ │ ├── ssl_lib.h │ │ │ │ ├── ssl_methods.h │ │ │ │ ├── ssl_pkey.h │ │ │ │ ├── ssl_stack.h │ │ │ │ ├── ssl_types.h │ │ │ │ ├── ssl_x509.h │ │ │ │ ├── tls1.h │ │ │ │ └── x509_vfy.h │ │ │ ├── openssl │ │ │ │ └── ssl.h │ │ │ └── platform │ │ │ │ ├── ssl_opt.h │ │ │ │ ├── ssl_pm.h │ │ │ │ └── ssl_port.h │ │ ├── spiffs │ │ │ ├── spiffs.h │ │ │ ├── spiffs_config.h │ │ │ └── spiffs_nucleus.h │ │ ├── ssl │ │ │ ├── ssl_bigint.h │ │ │ ├── ssl_bigint_impl.h │ │ │ ├── ssl_compat-1.0.h │ │ │ ├── ssl_config.h │ │ │ ├── ssl_crypto.h │ │ │ ├── ssl_crypto_misc.h │ │ │ ├── ssl_os_port.h │ │ │ ├── ssl_platform.h │ │ │ ├── ssl_ssl.h │ │ │ ├── ssl_tls1.h │ │ │ └── ssl_version.h │ │ └── xtensa │ │ │ ├── cacheasm.h │ │ │ ├── cacheattrasm.h │ │ │ ├── config │ │ │ ├── core-isa.h │ │ │ ├── core-matmap.h │ │ │ ├── core.h │ │ │ ├── defs.h │ │ │ ├── specreg.h │ │ │ ├── system.h │ │ │ ├── tie-asm.h │ │ │ └── tie.h │ │ │ ├── coreasm.h │ │ │ ├── corebits.h │ │ │ ├── hal.h │ │ │ ├── sim.h │ │ │ ├── simcall-errno.h │ │ │ ├── simcall-fcntl.h │ │ │ ├── simcall.h │ │ │ ├── specreg.h │ │ │ ├── tie │ │ │ ├── xt_MUL32.h │ │ │ ├── xt_core.h │ │ │ ├── xt_debug.h │ │ │ ├── xt_density.h │ │ │ ├── xt_exceptions.h │ │ │ ├── xt_externalregisters.h │ │ │ ├── xt_interrupt.h │ │ │ ├── xt_misc.h │ │ │ ├── xt_mmu.h │ │ │ ├── xt_mul.h │ │ │ ├── xt_timer.h │ │ │ └── xt_trace.h │ │ │ ├── xtensa-libdb-macros.h │ │ │ ├── xtensa-xer.h │ │ │ ├── xtruntime-frames.h │ │ │ └── xtruntime.h │ └── tuya_include │ │ ├── aes_inf.h │ │ ├── ansi_color.h │ │ ├── cJSON.h │ │ ├── com_def.h │ │ ├── com_struct.h │ │ ├── crc32i.h │ │ ├── deepsleep.h │ │ ├── error_code.h │ │ ├── ffc │ │ ├── ffc.h │ │ ├── ffc_app.h │ │ ├── ffc_env.h │ │ ├── tuya_iot_wifi_ffc.h │ │ └── ty_wifi_mgnt.h │ │ ├── flash_api.h │ │ ├── flash_map.h │ │ ├── gpio.h │ │ ├── gw_intf.h │ │ ├── http_inf.h │ │ ├── httpc.h │ │ ├── hw_timer.h │ │ ├── key.h │ │ ├── kv_storage │ │ ├── flash │ │ │ ├── simple_flash.h │ │ │ └── simple_flash_app.h │ │ └── kv_storge.h │ │ ├── led_indicator.h │ │ ├── libemqtt.h │ │ ├── log_seq_adpt.h │ │ ├── mbedtls │ │ ├── aes.h │ │ ├── aes_alt.h │ │ ├── aesni.h │ │ ├── arc4.h │ │ ├── asn1.h │ │ ├── asn1write.h │ │ ├── base64.h │ │ ├── bignum.h │ │ ├── blowfish.h │ │ ├── bn_mul.h │ │ ├── camellia.h │ │ ├── ccm.h │ │ ├── certs.h │ │ ├── check_config.h │ │ ├── cipher.h │ │ ├── cipher_internal.h │ │ ├── cmac.h │ │ ├── compat-1.3.h │ │ ├── config.h │ │ ├── ctr_drbg.h │ │ ├── debug.h │ │ ├── des.h │ │ ├── dhm.h │ │ ├── ecdh.h │ │ ├── ecdsa.h │ │ ├── ecjpake.h │ │ ├── ecp.h │ │ ├── ecp_internal.h │ │ ├── entropy.h │ │ ├── entropy_poll.h │ │ ├── error.h │ │ ├── gcm.h │ │ ├── havege.h │ │ ├── hmac_drbg.h │ │ ├── md.h │ │ ├── md2.h │ │ ├── md4.h │ │ ├── md5.h │ │ ├── md_internal.h │ │ ├── memory_buffer_alloc.h │ │ ├── net.h │ │ ├── net_sockets.h │ │ ├── oid.h │ │ ├── padlock.h │ │ ├── pem.h │ │ ├── pk.h │ │ ├── pk_internal.h │ │ ├── pkcs11.h │ │ ├── pkcs12.h │ │ ├── pkcs5.h │ │ ├── platform.h │ │ ├── platform_time.h │ │ ├── ripemd160.h │ │ ├── rsa.h │ │ ├── rsa_internal.h │ │ ├── sha1.h │ │ ├── sha256.h │ │ ├── sha512.h │ │ ├── ssl.h │ │ ├── ssl_cache.h │ │ ├── ssl_ciphersuites.h │ │ ├── ssl_cookie.h │ │ ├── ssl_internal.h │ │ ├── ssl_ticket.h │ │ ├── threading.h │ │ ├── timing.h │ │ ├── version.h │ │ ├── x509.h │ │ ├── x509_crl.h │ │ ├── x509_crt.h │ │ ├── x509_csr.h │ │ └── xtea.h │ │ ├── mem_pool.h │ │ ├── mqtt_client.h │ │ ├── package.h │ │ ├── psm_flash.h │ │ ├── queue.h │ │ ├── smart_link.h │ │ ├── smart_wf_frame.h │ │ ├── sys_adapter.h │ │ ├── system │ │ ├── sys_timer.h │ │ ├── uni_log.h │ │ ├── uni_msg_queue.h │ │ ├── uni_mutex.h │ │ ├── uni_semaphore.h │ │ ├── uni_system.h │ │ ├── uni_thread.h │ │ └── uni_time_queue.h │ │ ├── tuya_cloud_types.h │ │ ├── tuya_fw_ug.h │ │ ├── tuya_gpio_api.h │ │ ├── tuya_gpio_test.h │ │ ├── tuya_httpc.h │ │ ├── tuya_ir_control.h │ │ ├── tuya_key_api.h │ │ ├── tuya_led_api.h │ │ ├── tuya_smart_api.h │ │ ├── tuya_tls.h │ │ ├── tuya_ws_db.h │ │ ├── uart.h │ │ ├── uf_file │ │ ├── uf_file.h │ │ ├── uf_flash_file.h │ │ └── uf_flash_file_app.h │ │ ├── uni_base64.h │ │ ├── uni_md5.h │ │ ├── uni_pointer.h │ │ ├── uni_storge.h │ │ ├── wf_sdk_adpt.h │ │ └── wmtime.h └── lib │ ├── fac_lib │ ├── libacalg.a │ ├── libaipwm.a │ ├── libairkiss.a │ ├── libcirom.a │ ├── libcoap.a │ ├── libcrypto.a │ ├── libespconn.a │ ├── libespnow.a │ ├── libfreertos.a │ ├── libgcc.a │ ├── libhal.a │ ├── libjson.a │ ├── liblwip.a │ ├── libmain.a │ ├── libmbedtls.a │ ├── libminic.a │ ├── libmirom.a │ ├── libmqtt.a │ ├── libnet80211.a │ ├── libnopoll.a │ ├── libopenssl.a │ ├── libphy.a │ ├── libpp.a │ ├── libpwm.a │ ├── libsmartconfig.a │ ├── libspiffs.a │ ├── libssc.a │ ├── libssl.a │ ├── libwolfssl.a │ ├── libwpa.a │ └── libwps.a │ └── tuya_lib │ ├── libbase.a │ ├── libdriver.a │ ├── libffc.a │ ├── libhttpc.a │ ├── libpsm.a │ ├── libsystem.a │ ├── libtime.a │ ├── libtls.a │ └── libtuya_sdk.a └── 涂鸦智能ESP8266_WIFI-SDK说明.md /.gitignore: -------------------------------------------------------------------------------- 1 | output/ 2 | platforms/ 3 | sdk/ 4 | build_app.sh 5 | .output/ 6 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TuyaInc/tysdk_for_esp8266/f9a262970bda4786df5d5083426dea26cc61397a/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | ## SDK(4.0.5)改动说明: 2 | 1、优化MQTT连接稳定性问题。 3 | 2、修复部分路由器兼容性问题。 4 | 5 | ## SDK(4.0.4)改动说明: 6 | 7 | 1、增加跨产品升级。 8 | 9 | 2、增加连续在线15分钟后,产测不能进入功能。 10 | 11 | 3、SDK目录和编译脚本更改。详细见开发手册。 12 | 13 | ## SDK(3.1.1)改动说明: 14 | 15 | 1、更新原厂SDK2.1库。 16 | 2、提高本地定时执行准确性。 17 | 3、增加编译代码区大小。 18 | 4、解决局域网粘包问题。 19 | 5、增加AP配网不重启。 20 | 6、支持PSK2.0加密方案。 21 | 7、原厂ipv6兼容性问题合入 22 | 23 | ## 注意: 24 | 25 | 设备在AP模式配网后不重启,所以在ap配网时没有STAT_STA_UNCONN状态,如果之前固件在wifi状态回调中是根据此状态关闭配网定时器,需要做相应调整,否则导致AP配网后某些功能异常。下面为更改示例代码。 26 | 27 | ``` 28 | ... 29 | case STAT_STA_CONN: 30 | case STAT_AP_STA_CONN:{ 31 | if(IsThisSysTimerRun(wf_stat_dir)){ 32 | sys_stop_timer(wf_stat_dir); 33 | } 34 | 35 | if(wf_stat == STAT_STA_CONN) { 36 | PR_DEBUG("config_flag:%d",config_flag); 37 | if(config_flag == TRUE){ 38 | config_flag = FALSE; 39 | reset_light_sta(); 40 | } 41 | PR_DEBUG("STAT_STA_CONN"); 42 | } 43 | } 44 | break; 45 | ... 46 | ``` -------------------------------------------------------------------------------- /demos/esp_bl0937_ele_plug_demo/README.md: -------------------------------------------------------------------------------- 1 | # 电量统计单插 2 | 3 | PID:86tqxuhuvlzrrqel 4 | 5 | ## 硬件IO口说明: 6 | 7 | | 功能 | IO口 | 高低有效 | 8 | | ------------ | ---- | ---------- | 9 | | 继电器 | IO14 | 高电平有效 | 10 | | 继电器指示灯 | 无 | | 11 | | 开关按键 | IO3 | 低电平有效 | 12 | | wifi指示灯 | IO13 | 低电平有效 | 13 | 14 | ## 功能说明 15 | 16 | ### 计量部分信息 17 | 18 | 工作电压220V,过流点:17A,采样电阻1毫欧;计量芯片:bl0937; 19 | 20 | ### 电量统计(CF) 21 | 22 | IO4- 电流电压检测(CF1) 23 | 24 | IO5 - 电流电压切换(SEL) 25 | 26 | IO12 - 电平为直连模式 27 | 28 | ### 网络状态对应指示灯 29 | 30 | 未配网 指示继电器状态 31 | 32 | 配网中 快闪(250ms闪烁)和慢闪(1500ms闪烁) 33 | 34 | 配网失败 指示继电器状态 35 | 36 | 配网成功 指示继电器状态 37 | 38 | ### 配置说明 39 | 40 | 1.wifi模式为WCM_OLD_LOW,上电低功耗模式,长按按键5秒进入配网模式; 41 | 42 | 2.上电默认断电状态; 43 | 44 | ## 文件功能模块介绍 45 | 46 | | 文件 | 功能介绍 | 47 | | ------------ | ------------------------------------------------------------ | 48 | | device.c | 应用模块主框架,包含设备初始化,整机产测部分的回调,操作回调等; | 49 | | app_switch.c | 开关部分功能逻辑,指示灯的显示,倒计时功能; | 50 | | app_dltj.h | 电量实时参数(电流电压功率)上报逻辑和对应的事件处理,电量增量上报逻辑,离线电量存储,未配网状态下电量的存储 | 51 | | bl0937.c | 电量统计芯片bl0937的驱动部分,主要是芯片的硬件初始化,电流、电压、功率和电量的计算,产测校准处理 | 52 | 53 | 54 | 55 | 56 | 57 | -------------------------------------------------------------------------------- /demos/esp_bl0937_ele_plug_demo/include/device.h: -------------------------------------------------------------------------------- 1 | /** 2 | * @File: device.h 3 | * @Author: caojq 4 | * @Last Modified time: 2020-03-05 5 | * @Description: 6 | */ 7 | #ifndef _DEVICE_H 8 | #define _DEVICE_H 9 | 10 | #include "sys_adapter.h" 11 | #include "error_code.h" 12 | 13 | #ifdef __cplusplus 14 | extern "C" { 15 | #endif 16 | 17 | #ifdef __DEVICE_GLOBALS 18 | #define __DEVICE_EXT 19 | #else 20 | #define __DEVICE_EXT extern 21 | #endif 22 | 23 | /*********************************************************** 24 | *************************micro define*********************** 25 | ***********************************************************/ 26 | // device information define 27 | #define SW_VER USER_SW_VER 28 | #define DEF_DEV_ABI DEV_SINGLE 29 | #define PRODUCT_KEY "b8yrxe9cjcfdzbeu" 30 | /*********************************************************** 31 | *************************variable define******************** 32 | ***********************************************************/ 33 | 34 | /*********************************************************** 35 | *************************function define******************** 36 | ***********************************************************/ 37 | /*********************************************************** 38 | * Function: device_init 39 | * Input: 40 | * Output: 41 | * Return: 42 | ***********************************************************/ 43 | __DEVICE_EXT \ 44 | OPERATE_RET device_init(VOID); 45 | 46 | 47 | 48 | #ifdef __cplusplus 49 | } 50 | #endif 51 | #endif 52 | 53 | -------------------------------------------------------------------------------- /demos/esp_plug_demo/include/device.h: -------------------------------------------------------------------------------- 1 | /** 2 | * @file device.h 3 | * @author your name (you@domain.com) 4 | * @brief 5 | * @version 0.1 6 | * @date 2019-11-11 7 | * 8 | * @copyright Copyright (c) 2019 9 | * 10 | */ 11 | #ifndef _DEVICE_H 12 | #define _DEVICE_H 13 | 14 | #include "error_code.h" 15 | #include "sys_adapter.h" 16 | 17 | #ifdef __cplusplus 18 | extern "C" { 19 | #endif 20 | 21 | #ifdef __DEVICE_GLOBALS 22 | #define __DEVICE_EXT 23 | #else 24 | #define __DEVICE_EXT extern 25 | #endif 26 | 27 | /*********************************************************** 28 | *************************micro define*********************** 29 | ***********************************************************/ 30 | // device information define 31 | #define SW_VER USER_SW_VER 32 | #define PRODECT_KEY "h170dwh64shri8jq" 33 | #define DEF_DEV_ABI DEV_SINGLE 34 | 35 | /*********************************************************** 36 | *************************variable define******************** 37 | ***********************************************************/ 38 | 39 | /*********************************************************** 40 | *************************function define******************** 41 | ***********************************************************/ 42 | /*********************************************************** 43 | * Function: device_init 44 | * Input: 45 | * Output: 46 | * Return: 47 | ***********************************************************/ 48 | __DEVICE_EXT 49 | OPERATE_RET device_init(VOID); 50 | 51 | #ifdef __cplusplus 52 | } 53 | #endif 54 | #endif 55 | -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/README.md: -------------------------------------------------------------------------------- 1 | # xtensa-lx106-elf 2 | 3 | -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/bin/xtensa-lx106-elf-addr2line: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TuyaInc/tysdk_for_esp8266/f9a262970bda4786df5d5083426dea26cc61397a/platforms/xtensa-lx106-elf/bin/xtensa-lx106-elf-addr2line -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/bin/xtensa-lx106-elf-ar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TuyaInc/tysdk_for_esp8266/f9a262970bda4786df5d5083426dea26cc61397a/platforms/xtensa-lx106-elf/bin/xtensa-lx106-elf-ar -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/bin/xtensa-lx106-elf-as: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TuyaInc/tysdk_for_esp8266/f9a262970bda4786df5d5083426dea26cc61397a/platforms/xtensa-lx106-elf/bin/xtensa-lx106-elf-as -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/bin/xtensa-lx106-elf-c++filt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TuyaInc/tysdk_for_esp8266/f9a262970bda4786df5d5083426dea26cc61397a/platforms/xtensa-lx106-elf/bin/xtensa-lx106-elf-c++filt -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/bin/xtensa-lx106-elf-cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TuyaInc/tysdk_for_esp8266/f9a262970bda4786df5d5083426dea26cc61397a/platforms/xtensa-lx106-elf/bin/xtensa-lx106-elf-cc -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/bin/xtensa-lx106-elf-cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TuyaInc/tysdk_for_esp8266/f9a262970bda4786df5d5083426dea26cc61397a/platforms/xtensa-lx106-elf/bin/xtensa-lx106-elf-cpp -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/bin/xtensa-lx106-elf-ct-ng.config: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TuyaInc/tysdk_for_esp8266/f9a262970bda4786df5d5083426dea26cc61397a/platforms/xtensa-lx106-elf/bin/xtensa-lx106-elf-ct-ng.config -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/bin/xtensa-lx106-elf-elfedit: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TuyaInc/tysdk_for_esp8266/f9a262970bda4786df5d5083426dea26cc61397a/platforms/xtensa-lx106-elf/bin/xtensa-lx106-elf-elfedit -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/bin/xtensa-lx106-elf-gcc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TuyaInc/tysdk_for_esp8266/f9a262970bda4786df5d5083426dea26cc61397a/platforms/xtensa-lx106-elf/bin/xtensa-lx106-elf-gcc -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/bin/xtensa-lx106-elf-gcc-4.8.2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TuyaInc/tysdk_for_esp8266/f9a262970bda4786df5d5083426dea26cc61397a/platforms/xtensa-lx106-elf/bin/xtensa-lx106-elf-gcc-4.8.2 -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/bin/xtensa-lx106-elf-gcc-ar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TuyaInc/tysdk_for_esp8266/f9a262970bda4786df5d5083426dea26cc61397a/platforms/xtensa-lx106-elf/bin/xtensa-lx106-elf-gcc-ar -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/bin/xtensa-lx106-elf-gcc-nm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TuyaInc/tysdk_for_esp8266/f9a262970bda4786df5d5083426dea26cc61397a/platforms/xtensa-lx106-elf/bin/xtensa-lx106-elf-gcc-nm -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/bin/xtensa-lx106-elf-gcc-ranlib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TuyaInc/tysdk_for_esp8266/f9a262970bda4786df5d5083426dea26cc61397a/platforms/xtensa-lx106-elf/bin/xtensa-lx106-elf-gcc-ranlib -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/bin/xtensa-lx106-elf-gcov: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TuyaInc/tysdk_for_esp8266/f9a262970bda4786df5d5083426dea26cc61397a/platforms/xtensa-lx106-elf/bin/xtensa-lx106-elf-gcov -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/bin/xtensa-lx106-elf-gdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TuyaInc/tysdk_for_esp8266/f9a262970bda4786df5d5083426dea26cc61397a/platforms/xtensa-lx106-elf/bin/xtensa-lx106-elf-gdb -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/bin/xtensa-lx106-elf-gprof: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TuyaInc/tysdk_for_esp8266/f9a262970bda4786df5d5083426dea26cc61397a/platforms/xtensa-lx106-elf/bin/xtensa-lx106-elf-gprof -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/bin/xtensa-lx106-elf-ld: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TuyaInc/tysdk_for_esp8266/f9a262970bda4786df5d5083426dea26cc61397a/platforms/xtensa-lx106-elf/bin/xtensa-lx106-elf-ld -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/bin/xtensa-lx106-elf-ld.bfd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TuyaInc/tysdk_for_esp8266/f9a262970bda4786df5d5083426dea26cc61397a/platforms/xtensa-lx106-elf/bin/xtensa-lx106-elf-ld.bfd -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/bin/xtensa-lx106-elf-nm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TuyaInc/tysdk_for_esp8266/f9a262970bda4786df5d5083426dea26cc61397a/platforms/xtensa-lx106-elf/bin/xtensa-lx106-elf-nm -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/bin/xtensa-lx106-elf-objcopy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TuyaInc/tysdk_for_esp8266/f9a262970bda4786df5d5083426dea26cc61397a/platforms/xtensa-lx106-elf/bin/xtensa-lx106-elf-objcopy -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/bin/xtensa-lx106-elf-objdump: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TuyaInc/tysdk_for_esp8266/f9a262970bda4786df5d5083426dea26cc61397a/platforms/xtensa-lx106-elf/bin/xtensa-lx106-elf-objdump -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/bin/xtensa-lx106-elf-ranlib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TuyaInc/tysdk_for_esp8266/f9a262970bda4786df5d5083426dea26cc61397a/platforms/xtensa-lx106-elf/bin/xtensa-lx106-elf-ranlib -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/bin/xtensa-lx106-elf-readelf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TuyaInc/tysdk_for_esp8266/f9a262970bda4786df5d5083426dea26cc61397a/platforms/xtensa-lx106-elf/bin/xtensa-lx106-elf-readelf -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/bin/xtensa-lx106-elf-size: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TuyaInc/tysdk_for_esp8266/f9a262970bda4786df5d5083426dea26cc61397a/platforms/xtensa-lx106-elf/bin/xtensa-lx106-elf-size -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/bin/xtensa-lx106-elf-strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TuyaInc/tysdk_for_esp8266/f9a262970bda4786df5d5083426dea26cc61397a/platforms/xtensa-lx106-elf/bin/xtensa-lx106-elf-strings -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/bin/xtensa-lx106-elf-strip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TuyaInc/tysdk_for_esp8266/f9a262970bda4786df5d5083426dea26cc61397a/platforms/xtensa-lx106-elf/bin/xtensa-lx106-elf-strip -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/build.log.bz2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TuyaInc/tysdk_for_esp8266/f9a262970bda4786df5d5083426dea26cc61397a/platforms/xtensa-lx106-elf/build.log.bz2 -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/build/bin/blank.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TuyaInc/tysdk_for_esp8266/f9a262970bda4786df5d5083426dea26cc61397a/platforms/xtensa-lx106-elf/build/bin/blank.bin -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/build/bin/boot_v1.7.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TuyaInc/tysdk_for_esp8266/f9a262970bda4786df5d5083426dea26cc61397a/platforms/xtensa-lx106-elf/build/bin/boot_v1.7.bin -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/build/bin/esp_init_data_default.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TuyaInc/tysdk_for_esp8266/f9a262970bda4786df5d5083426dea26cc61397a/platforms/xtensa-lx106-elf/build/bin/esp_init_data_default.bin -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/build/bin/esp_init_data_default_E3S_jp.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TuyaInc/tysdk_for_esp8266/f9a262970bda4786df5d5083426dea26cc61397a/platforms/xtensa-lx106-elf/build/bin/esp_init_data_default_E3S_jp.bin -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/build/bin/esp_init_data_default_LC2_jp.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TuyaInc/tysdk_for_esp8266/f9a262970bda4786df5d5083426dea26cc61397a/platforms/xtensa-lx106-elf/build/bin/esp_init_data_default_LC2_jp.bin -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/build/bin/esp_init_data_default_anker.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TuyaInc/tysdk_for_esp8266/f9a262970bda4786df5d5083426dea26cc61397a/platforms/xtensa-lx106-elf/build/bin/esp_init_data_default_anker.bin -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/build/build_sh/Makefile: -------------------------------------------------------------------------------- 1 | ############################################################# 2 | # Recursion Magic - Don't touch this!! 3 | # 4 | # Each subtree potentially has an include directory 5 | # corresponding to the common APIs applicable to modules 6 | # rooted at that subtree. Accordingly, the INCLUDE PATH 7 | # of a module can only contain the include directories up 8 | # its parent path, and not its siblings 9 | # 10 | # Required for each makefile to inherit from the parent 11 | # 12 | 13 | # add user lib 14 | COMPONENTS_eagle.app.v6 = \ 15 | libuser.a 16 | 17 | ifndef PDIR # { 18 | GEN_IMAGES= eagle.app.v6.out 19 | GEN_BINS= eagle.app.v6.bin 20 | SPECIAL_MKTARGETS=$(APP_MKTARGETS) 21 | ifdef SDK_TARGET_APP_PATH 22 | SUBDIRS = ../../../../$(SDK_TARGET_APP_PATH)/user 23 | endif 24 | endif # } PDIR 25 | 26 | # add by nzy 20150804 set TOP_DIR 27 | TOP_DIR = ../../../.. 28 | sinclude $(TOP_DIR)/platforms/$(TARGET_PLATFORM)/build/build_sh/make_rule 29 | INCLUDES := $(INCLUDES) -I $(PDIR)include 30 | ifdef SDK_TARGET_APP_PATH 31 | INCLUDES += $(TOP_DIR)/$(SDK_TARGET_APP_PATH)/include $(TOP_DIR)/$(SDK_TARGET_APP_PATH)/user 32 | endif 33 | 34 | PDIR := ../../../../$(PDIR) 35 | sinclude $(PDIR)Makefile 36 | 37 | .PHONY: FORCE 38 | FORCE: 39 | 40 | -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/build/build_sh/build_app_1m.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | boot=new 3 | app= 4 | spi_speed=40 5 | spi_mode=QIO 6 | spi_size_map=2 7 | enable8266tls=1 8 | esp8266_1m=1 9 | if [ -z "$1" ];then 10 | echo "please input the app bin name(no suffix \".bin\")!!!" 11 | exit 1 12 | else 13 | APP_BIN_NAME=$1 14 | fi 15 | if [ -z "$2" ];then 16 | echo "please input the app sw version(for example:the format is "1.1.1")!!!" 17 | exit 1 18 | else 19 | USER_SW_VER=$2 20 | fi 21 | if [ -z "$3" ];then 22 | enable8266tls=1 23 | else 24 | if [ $3 = "no_tls" ];then 25 | enable8266tls=0 26 | else 27 | enable8266tls=1 28 | fi 29 | fi 30 | echo "" 31 | echo "start $APP_BIN_NAME $USER_SW_VER..." 32 | echo "" 33 | set -e 34 | make -C ./package clean && make -C ./package install INSALL=../../bin/upgrade USER_SW_VER=$USER_SW_VER ESP8266_1M=$esp8266_1m 35 | make clean APP_BIN_NAME=$APP_BIN_NAME;\ 36 | make COMPILE=gcc BOOT=new APP=1 SPI_SPEED=40 SPI_MODE=QIO SPI_SIZE_MAP=$spi_size_map APP_BIN_NAME=$APP_BIN_NAME USER_SW_VER=$USER_SW_VER WPS_CONFIG=0 ENABLE_AIRKISS=0 ESP8266_1M=$esp8266_1m ENABLE_8266TLS=$enable8266tls 37 | make clean APP_BIN_NAME=$APP_BIN_NAME;\ 38 | make COMPILE=gcc BOOT=new APP=2 SPI_SPEED=40 SPI_MODE=QIO SPI_SIZE_MAP=$spi_size_map APP_BIN_NAME=$APP_BIN_NAME USER_SW_VER=$USER_SW_VER WPS_CONFIG=0 ENABLE_AIRKISS=0 ESP8266_1M=$esp8266_1m ENABLE_8266TLS=$enable8266tls 39 | -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/build/build_sh/build_app_2m.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | boot=new 3 | app= 4 | spi_speed=40 5 | spi_mode=QIO 6 | spi_size_map=5 7 | enable8266tls=1 8 | esp8266_1m=0 9 | if [ -z "$1" ];then 10 | echo "please input the app bin name(no suffix \".bin\")!!!" 11 | exit 1 12 | else 13 | APP_BIN_NAME=$1 14 | fi 15 | if [ -z "$2" ];then 16 | echo "please input the app sw version(for example:the format is "1.1.1")!!!" 17 | exit 1 18 | else 19 | USER_SW_VER=$2 20 | fi 21 | if [ -z "$3" ];then 22 | enable8266tls=1 23 | else 24 | if [ $3 = "no_tls" ];then 25 | enable8266tls=0 26 | else 27 | enable8266tls=1 28 | fi 29 | fi 30 | echo "" 31 | echo "start..." 32 | echo "" 33 | set -e 34 | make -C ./package clean && make -C ./package install INSALL=../../bin/upgrade USER_SW_VER=$USER_SW_VER ESP8266_1M=$esp8266_1m 35 | make clean APP_BIN_NAME=$APP_BIN_NAME;\ 36 | make COMPILE=gcc BOOT=new APP=1 SPI_SPEED=40 SPI_MODE=QIO SPI_SIZE_MAP=$spi_size_map APP_BIN_NAME=$APP_BIN_NAME USER_SW_VER=$USER_SW_VER WPS_CONFIG=0 ENABLE_AIRKISS=0 ESP8266_1M=$esp8266_1m ENABLE_8266TLS=$enable8266tls 37 | make clean APP_BIN_NAME=$APP_BIN_NAME;\ 38 | make COMPILE=gcc BOOT=new APP=2 SPI_SPEED=40 SPI_MODE=QIO SPI_SIZE_MAP=$spi_size_map APP_BIN_NAME=$APP_BIN_NAME USER_SW_VER=$USER_SW_VER WPS_CONFIG=0 ENABLE_AIRKISS=0 ESP8266_1M=$esp8266_1m ENABLE_8266TLS=$enable8266tls 39 | -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/build/build_sh/build_app_release_1m.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | boot=new 3 | app= 4 | spi_speed=40 5 | spi_mode=QIO 6 | spi_size_map=2 7 | enable8266tls=1 8 | esp8266_1m=1 9 | 10 | if [ -z "$1" ];then 11 | echo "please input the app bin name(no suffix \".bin\")!!!" 12 | exit 1 13 | else 14 | APP_BIN_NAME=$1 15 | fi 16 | if [ -z "$2" ];then 17 | echo "please input the app sw version(for example:the format is "1.1.1")!!!" 18 | exit 1 19 | else 20 | USER_SW_VER=$2 21 | fi 22 | if [ -z "$3" ];then 23 | enable8266tls=1 24 | else 25 | if [ $3 = "no_tls" ];then 26 | enable8266tls=0 27 | else 28 | enable8266tls=1 29 | fi 30 | fi 31 | 32 | echo "" 33 | echo "start..." 34 | echo "" 35 | 36 | set -e 37 | make -C ./package clean && make -C ./package install INSALL=../../bin/upgrade USER_SW_VER=$USER_SW_VER ESP8266_1M=$esp8266_1m 38 | make clean APP_BIN_NAME=$APP_BIN_NAME;\ 39 | make COMPILE=gcc BOOT=new APP=1 SPI_SPEED=40 SPI_MODE=QIO SPI_SIZE_MAP=$spi_size_map APP_BIN_NAME=$APP_BIN_NAME USER_SW_VER=$USER_SW_VER DEBUG=0 WPS_CONFIG=0 ENABLE_AIRKISS=0 ESP8266_1M=$esp8266_1m ENABLE_8266TLS=$enable8266tls 40 | make clean APP_BIN_NAME=$APP_BIN_NAME;\ 41 | make COMPILE=gcc BOOT=new APP=2 SPI_SPEED=40 SPI_MODE=QIO SPI_SIZE_MAP=$spi_size_map APP_BIN_NAME=$APP_BIN_NAME USER_SW_VER=$USER_SW_VER DEBUG=0 WPS_CONFIG=0 ENABLE_AIRKISS=0 ESP8266_1M=$esp8266_1m ENABLE_8266TLS=$enable8266tls 42 | 43 | -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/build/build_sh/build_app_release_2m.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | boot=new 3 | app= 4 | spi_speed=40 5 | spi_mode=QIO 6 | spi_size_map=5 7 | enable8266tls=1 8 | esp8266_1m=0 9 | 10 | if [ -z "$1" ];then 11 | echo "please input the app bin name(no suffix \".bin\")!!!" 12 | exit 1 13 | else 14 | APP_BIN_NAME=$1 15 | fi 16 | if [ -z "$2" ];then 17 | echo "please input the app sw version(for example:the format is "1.1.1")!!!" 18 | exit 1 19 | else 20 | USER_SW_VER=$2 21 | fi 22 | 23 | if [ -z "$3" ];then 24 | enable8266tls=1 25 | else 26 | if [ $3 = "no_tls" ];then 27 | enable8266tls=0 28 | else 29 | enable8266tls=1 30 | fi 31 | fi 32 | echo "" 33 | echo "start..." 34 | echo "" 35 | 36 | set -e 37 | make -C ./package clean && make -C ./package install INSALL=../../bin/upgrade USER_SW_VER=$USER_SW_VER ESP8266_1M=$esp8266_1m 38 | make clean APP_BIN_NAME=$APP_BIN_NAME;\ 39 | make COMPILE=gcc BOOT=new APP=1 SPI_SPEED=40 SPI_MODE=QIO SPI_SIZE_MAP=$spi_size_map APP_BIN_NAME=$APP_BIN_NAME USER_SW_VER=$USER_SW_VER DEBUG=0 WPS_CONFIG=0 ENABLE_AIRKISS=0 ESP8266_1M=$esp8266_1m ENABLE_8266TLS=$enable8266tls 40 | make clean APP_BIN_NAME=$APP_BIN_NAME;\ 41 | make COMPILE=gcc BOOT=new APP=2 SPI_SPEED=40 SPI_MODE=QIO SPI_SIZE_MAP=$spi_size_map APP_BIN_NAME=$APP_BIN_NAME USER_SW_VER=$USER_SW_VER DEBUG=0 WPS_CONFIG=0 ENABLE_AIRKISS=0 ESP8266_1M=$esp8266_1m ENABLE_8266TLS=$enable8266tls 42 | 43 | -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/build/build_sh/package/Makefile: -------------------------------------------------------------------------------- 1 | ARCH ?= X86 2 | ifeq ($(strip $(ARCH)),X86) 3 | GCC ?= gcc 4 | GXX ?= g++ 5 | STRIP ?= strip 6 | AR ?= ar 7 | RANLIB ?= ranlib 8 | endif 9 | 10 | OUTPUT ?= . 11 | INSALL ?= . 12 | TARGET_APP ?= package 13 | USER_SW_VER ?= 1.0.0 14 | ESP8266_1M ?= 1 15 | SRCS = $(wildcard *.c) 16 | OBJS = $(foreach src, $(SRCS), $(OUTPUT)/$(basename $(src)).o ) 17 | 18 | DEBUG = 0 19 | CFLAGS += -Wall -DUSER_SW_VER=\"$(USER_SW_VER)\" -DDEBUG=$(DEBUG) -DESP8266_1M=$(ESP8266_1M) 20 | CFLAGS += -I ../../../../../sdk/esp8266/tuya_include 21 | 22 | .PHONY : all clean install 23 | 24 | all:$(OUTPUT)/$(TARGET_APP) 25 | 26 | $(OUTPUT)/%.o: %.c 27 | @mkdir -p $(OUTPUT) 28 | $(GCC) $(CFLAGS) -o $@ -c $< 29 | 30 | $(OUTPUT)/$(TARGET_APP):$(OBJS) 31 | $(GCC) $(CFLAGS) $< -o $@ 32 | 33 | clean: 34 | @rm -fr $(OUTPUT)/*.o 35 | @rm -fr $(OUTPUT)/$(TARGET_APP) 36 | 37 | install: $(OUTPUT)/$(TARGET_APP) 38 | @mkdir -p $(INSALL) 39 | @cp -f $(OUTPUT)/$(TARGET_APP) $(INSALL)/$(TARGET_APP) -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/build/build_sh_compatible/build_app_1m.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | cd ../$(TARGET_PLATFORM)/build/build_sh 4 | ./build_app_1m.sh $1 $2 -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/build/build_sh_compatible/build_app_2m.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | cd ../$(TARGET_PLATFORM)/build/build_sh 4 | ./build_app_2m.sh $1 $2 -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/build/build_sh_compatible/build_app_release_1m.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | cd ../$(TARGET_PLATFORM)/build/build_sh 3 | ./build_app_release_1m.sh $1 $2 -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/build/build_sh_compatible/build_app_release_2m.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | cd ../$(TARGET_PLATFORM)/build/build_sh 3 | ./build_app_release_2m.sh $1 $2 -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/build/build_sh_compatible/make_rule: -------------------------------------------------------------------------------- 1 | sinclude $(TOP_DIR)/platforms/$(TARGET_PLATFORM)/build/build_sh/make_rule -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/build/ld/eagle.app.v6.new.1024.app1.ld: -------------------------------------------------------------------------------- 1 | /* user1.bin @ 0x1000 */ 2 | 3 | /* Flash Map (512KB + 512KB), support 1MB/2MB/4MB SPI Flash */ 4 | /* |..|........................|.....|.....|..|........................|.....|....| */ 5 | /* ^ ^ ^ ^ ^ ^ ^ ^ */ 6 | /* |_boot start(0x0000) | | |_pad start(0x80000) | | */ 7 | /* |_user1 start(0x1000) |_user1 end |_user2 start(0x81000) |_user2 end */ 8 | /* |_system param symmetric area(0x7b000) |_system param area(0xfb000) */ 9 | 10 | /* NOTICE: */ 11 | /* 1. You can change irom0 len, but MUST make sure user1 end not overlap system param symmetric area. */ 12 | /* 2. Space between user1 end and pad start can be used as user param area. */ 13 | /* 3. Don't change any other seg. */ 14 | 15 | MEMORY 16 | { 17 | dport0_0_seg : org = 0x3FF00000, len = 0x10 18 | dram0_0_seg : org = 0x3FFE8000, len = 0x18000 19 | iram1_0_seg : org = 0x40100000, len = 0x8000 20 | irom0_0_seg : org = 0x40201010, len = 0x78000 21 | } 22 | 23 | INCLUDE "../ld/eagle.app.v6.common.ld" 24 | -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/build/ld/eagle.app.v6.new.1024.app2.ld: -------------------------------------------------------------------------------- 1 | /* user2.bin @ 0x81000 */ 2 | 3 | /* Flash Map (512KB + 512KB), support 1MB/2MB/4MB SPI Flash */ 4 | /* |..|........................|.....|.....|..|........................|.....|....| */ 5 | /* ^ ^ ^ ^ ^ ^ ^ ^ */ 6 | /* |_boot start(0x0000) | | |_pad start(0x80000) | | */ 7 | /* |_user1 start(0x1000) |_user1 end |_user2 start(0x81000) |_user2 end */ 8 | /* |_system param symmetric area(0x7b000) |_system param area(0xfb000) */ 9 | 10 | /* NOTICE: */ 11 | /* 1. You can change irom0 len, but MUST make sure user2 end not overlap system param area. */ 12 | /* 2. Space between user2 end and system param area can be used as user param area. */ 13 | /* 3. Don't change any other seg. */ 14 | 15 | MEMORY 16 | { 17 | dport0_0_seg : org = 0x3FF00000, len = 0x10 18 | dram0_0_seg : org = 0x3FFE8000, len = 0x18000 19 | iram1_0_seg : org = 0x40100000, len = 0x8000 20 | irom0_0_seg : org = 0x40281010, len = 0x78000 21 | } 22 | 23 | INCLUDE "../ld/eagle.app.v6.common.ld" 24 | -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/build/ld/eagle.app.v6.new.2048.ld: -------------------------------------------------------------------------------- 1 | /* user1.bin @ 0x1000, user2.bin @ 0x10000 */ 2 | 3 | /* Flash Map (1024KB + 1024KB), support 2MB/4MB SPI Flash */ 4 | /* |..|........................|.....|.....|..|........................|.....|....| */ 5 | /* ^ ^ ^ ^ ^ ^ ^ ^ */ 6 | /* |_boot start(0x0000) | | |_pad start(0x100000) | | */ 7 | /* |_user1 start(0x1000) |_user1 end |_user2 start(0x101000) |_user2 end */ 8 | /* |_system param symmetric area(0xfb000) |_system param area(0x1fb000) */ 9 | 10 | /* NOTICE: */ 11 | /* 1. You can change irom0 len, but MUST make sure user1 end not overlap system param symmetric area. */ 12 | /* 2. Space between user1 end and pad start can be used as user param area. */ 13 | /* 3. Space between user2 end and system param area can be used as user param area. */ 14 | /* 4. Don't change any other seg. */ 15 | /* 5. user1.bin and user2.bin are same in this mode, so upgrade only need one of them. */ 16 | 17 | MEMORY 18 | { 19 | dport0_0_seg : org = 0x3FF00000, len = 0x10 20 | dram0_0_seg : org = 0x3FFE8000, len = 0x18000 21 | iram1_0_seg : org = 0x40100000, len = 0x8000 22 | irom0_0_seg : org = 0x40201010, len = 0xE0000 23 | } 24 | 25 | INCLUDE "../ld/eagle.app.v6.common.ld" 26 | -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/build/ld/eagle.app.v6.new.512.app1.ld: -------------------------------------------------------------------------------- 1 | /* user1.bin @ 0x1000 */ 2 | 3 | /* Flash Map (256KB + 256KB), support 512KB SPI Flash */ 4 | /* |..|........................|.....|.....|..|........................|.....|....| */ 5 | /* ^ ^ ^ ^ ^ ^ ^ ^ */ 6 | /* |_boot start(0x0000) | | |_pad start(0x40000) | | */ 7 | /* |_user1 start(0x1000) |_user1 end |_user2 start(0x41000) |_user2 end */ 8 | /* |_system param symmetric area(0x3b000) |_system param area(0x7b000) */ 9 | 10 | /* NOTICE: */ 11 | /* 1. You can change irom0 len, but MUST make sure user1 end not overlap system param symmetric area. */ 12 | /* 2. Space between user1 end and pad start can be used as user param area. */ 13 | /* 3. Don't change any other seg. */ 14 | 15 | MEMORY 16 | { 17 | dport0_0_seg : org = 0x3FF00000, len = 0x10 18 | dram0_0_seg : org = 0x3FFE8000, len = 0x18000 19 | iram1_0_seg : org = 0x40100000, len = 0x8000 20 | irom0_0_seg : org = 0x40201010, len = 0x2B000 21 | } 22 | 23 | INCLUDE "../ld/eagle.app.v6.common.ld" 24 | -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/build/ld/eagle.app.v6.new.512.app2.ld: -------------------------------------------------------------------------------- 1 | /* user2.bin @ 0x41000 */ 2 | 3 | /* Flash Map (256KB + 256KB), support 512KB SPI Flash */ 4 | /* |..|........................|.....|.....|..|........................|.....|....| */ 5 | /* ^ ^ ^ ^ ^ ^ ^ ^ */ 6 | /* |_boot start(0x0000) | | |_pad start(0x40000) | | */ 7 | /* |_user1 start(0x1000) |_user1 end |_user2 start(0x41000) |_user2 end */ 8 | /* |_system param symmetric area(0x3b000) |_system param area(0x7b000) */ 9 | 10 | /* NOTICE: */ 11 | /* 1. You can change irom0 len, but MUST make sure user2 end not overlap system param area. */ 12 | /* 2. Space between user2 end and system param area can be used as user param area. */ 13 | /* 3. Don't change any other seg. */ 14 | 15 | MEMORY 16 | { 17 | dport0_0_seg : org = 0x3FF00000, len = 0x10 18 | dram0_0_seg : org = 0x3FFE8000, len = 0x18000 19 | iram1_0_seg : org = 0x40100000, len = 0x8000 20 | irom0_0_seg : org = 0x40241010, len = 0x2B000 21 | } 22 | 23 | INCLUDE "../ld/eagle.app.v6.common.ld" 24 | -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/build/tools/combine_bin.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TuyaInc/tysdk_for_esp8266/f9a262970bda4786df5d5083426dea26cc61397a/platforms/xtensa-lx106-elf/build/tools/combine_bin.pyc -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/build/tools/make_cert.py: -------------------------------------------------------------------------------- 1 | import os 2 | 3 | 4 | class Cert(object): 5 | def __init__(self, name, buff): 6 | self.name = name 7 | self.len = len(buff) 8 | self.buff = buff 9 | pass 10 | 11 | def __str__(self): 12 | out_str = ['\0']*32 13 | for i in range(len(self.name)): 14 | out_str[i] = self.name[i] 15 | out_str = "".join(out_str) 16 | out_str += str(chr(self.len & 0xFF)) 17 | out_str += str(chr((self.len & 0xFF00) >> 8)) 18 | out_str += self.buff 19 | return out_str 20 | pass 21 | 22 | 23 | def main(): 24 | cert_list = [] 25 | file_list = os.listdir(os.getcwd()) 26 | cert_file_list = [] 27 | for _file in file_list: 28 | if _file.endswith(".cer") or _file.endswith(".key"): 29 | cert_file_list.append(_file) 30 | print cert_file_list 31 | for cert_file in cert_file_list: 32 | with open(cert_file, 'rb') as f: 33 | buff = f.read() 34 | cert_list.append(Cert(cert_file, buff)) 35 | with open('esp_ca_cert.bin', 'wb+') as f: 36 | for _cert in cert_list: 37 | f.write("%s" % _cert) 38 | pass 39 | if __name__ == '__main__': 40 | main() 41 | 42 | -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/build/tools/makecombine.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/python 2 | import combine_bin 3 | import sys 4 | 5 | 6 | # dl = sys.argv[1]; 7 | #[[u'/home/changcheng/tuya/compare/boot_v1.4(b1).bin', 0], [u'/home/changcheng/tuya/compare/sample_pk(1)_1.1.1.bin', 4096], [u'/home/changcheng/tuya/compare/esp_init_data_default.bin', 1032192], [u'/home/changcheng/tuya/compare/blank.bin', 1040384]] 8 | 9 | # target_name = sys.argv[2]; 10 | # target.bin 11 | 12 | # mode = sys.argv[3]; 13 | # QIO->0 QOUT->1 DIO->2 DOUT->3 14 | 15 | # speed = sys.argv[4]; 16 | #40->0 26.7->1 20->2 80->3 17 | 18 | # size = sys.argv[5]; 19 | #4->0 2->1 8->2 16->3 32->4 16C->5 32C->6 20 | 21 | # crystal = sys.argv[6]; 22 | #40->0 26->1 24->2 23 | 24 | # disable_cfg = sys.argv[7]; 25 | #disable_cfg->0 26 | 27 | if __name__=='__main__': 28 | boot_bin = sys.argv[1]; 29 | small_bin = sys.argv[2]; 30 | init_bin = sys.argv[3]; 31 | blank_bin = sys.argv[4]; 32 | dl = [ 33 | [boot_bin, 0], 34 | [small_bin, 4096], 35 | [init_bin, 0xfc000], 36 | [blank_bin, 0xfe000] 37 | ] 38 | d2 = [ 39 | [boot_bin, 0], 40 | [small_bin, 4096], 41 | [init_bin, 0x1fc000], 42 | [blank_bin, 0x1fe000] 43 | ] 44 | 45 | target_name = sys.argv[5]; 46 | mode = int(sys.argv[6]); 47 | speed = int(sys.argv[7]); 48 | size = int(sys.argv[8]); 49 | crystal = int(sys.argv[9]); 50 | disable_cfg = int(sys.argv[10]); 51 | if size == 2: 52 | combine_bin.combineBin(dl, target_name, mode, speed, size, crystal, disable_cfg); 53 | elif size == 5: 54 | combine_bin.combineBin(d2, target_name, mode, speed, size, crystal, disable_cfg); 55 | else: 56 | print 'size error' -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/crtbegin.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TuyaInc/tysdk_for_esp8266/f9a262970bda4786df5d5083426dea26cc61397a/platforms/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/crtbegin.o -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/crtend.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TuyaInc/tysdk_for_esp8266/f9a262970bda4786df5d5083426dea26cc61397a/platforms/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/crtend.o -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/crti.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TuyaInc/tysdk_for_esp8266/f9a262970bda4786df5d5083426dea26cc61397a/platforms/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/crti.o -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/crtn.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TuyaInc/tysdk_for_esp8266/f9a262970bda4786df5d5083426dea26cc61397a/platforms/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/crtn.o -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/include-fixed/README: -------------------------------------------------------------------------------- 1 | This README file is copied into the directory for GCC-only header files 2 | when fixincludes is run by the makefile for GCC. 3 | 4 | Many of the files in this directory were automatically edited from the 5 | standard system header files by the fixincludes process. They are 6 | system-specific, and will not work on any other kind of system. They 7 | are also not part of GCC. The reason we have to do this is because 8 | GCC requires ANSI C headers and many vendors supply ANSI-incompatible 9 | headers. 10 | 11 | Because this is an automated process, sometimes headers get "fixed" 12 | that do not, strictly speaking, need a fix. As long as nothing is broken 13 | by the process, it is just an unfortunate collateral inconvenience. 14 | We would like to rectify it, if it is not "too inconvenient". 15 | -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/include-fixed/syslimits.h: -------------------------------------------------------------------------------- 1 | /* syslimits.h stands for the system's own limits.h file. 2 | If we can use it ok unmodified, then we install this text. 3 | If fixincludes fixes it, then the fixed version is installed 4 | instead of this text. */ 5 | 6 | #define _GCC_NEXT_LIMITS_H /* tell gcc's limits.h to recurse */ 7 | #include_next 8 | #undef _GCC_NEXT_LIMITS_H 9 | -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/include/_syslist.h: -------------------------------------------------------------------------------- 1 | /* internal use only -- mapping of "system calls" for libraries that lose 2 | and only provide C names, so that we end up in violation of ANSI */ 3 | #ifndef __SYSLIST_H 4 | #define __SYSLIST_H 5 | #ifdef MISSING_SYSCALL_NAMES 6 | #define _close close 7 | #define _execve execve 8 | #define _fcntl fcntl 9 | #define _fork fork 10 | #define _fstat fstat 11 | #define _getpid getpid 12 | #define _gettimeofday gettimeofday 13 | #define _kill kill 14 | #define _link link 15 | #define _lseek lseek 16 | #define _open open 17 | #define _read read 18 | #define _sbrk sbrk 19 | #define _stat stat 20 | #define _times times 21 | #define _unlink unlink 22 | #define _wait wait 23 | #define _write write 24 | /* functions not yet sysfaked */ 25 | #define _opendir opendir 26 | #define _readdir readdir 27 | #define _closedir closedir 28 | #endif 29 | #endif 30 | -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/include/alloca.h: -------------------------------------------------------------------------------- 1 | /* libc/include/alloca.h - Allocate memory on stack */ 2 | 3 | /* Written 2000 by Werner Almesberger */ 4 | /* Rearranged for general inclusion by stdlib.h. 5 | 2001, Corinna Vinschen */ 6 | 7 | #ifndef _NEWLIB_ALLOCA_H 8 | #define _NEWLIB_ALLOCA_H 9 | 10 | #include "_ansi.h" 11 | #include 12 | 13 | #ifdef __GNUC__ 14 | #define alloca(size) __builtin_alloca(size) 15 | #else 16 | void * _EXFUN(alloca,(size_t)); 17 | #endif 18 | 19 | #endif 20 | -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/include/argz.h: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 2002 by Red Hat, Incorporated. All rights reserved. 2 | * 3 | * Permission to use, copy, modify, and distribute this software 4 | * is freely granted, provided that this notice is preserved. 5 | */ 6 | 7 | #include 8 | #include 9 | 10 | /* The newlib implementation of these functions assumes that sizeof(char) == 1. */ 11 | error_t argz_create (char *const argv[], char **argz, size_t *argz_len); 12 | error_t argz_create_sep (const char *string, int sep, char **argz, size_t *argz_len); 13 | size_t argz_count (const char *argz, size_t argz_len); 14 | void argz_extract (char *argz, size_t argz_len, char **argv); 15 | void argz_stringify (char *argz, size_t argz_len, int sep); 16 | error_t argz_add (char **argz, size_t *argz_len, const char *str); 17 | error_t argz_add_sep (char **argz, size_t *argz_len, const char *str, int sep); 18 | error_t argz_append (char **argz, size_t *argz_len, const char *buf, size_t buf_len); 19 | error_t argz_delete (char **argz, size_t *argz_len, char *entry); 20 | error_t argz_insert (char **argz, size_t *argz_len, char *before, const char *entry); 21 | char * argz_next (char *argz, size_t argz_len, const char *entry); 22 | error_t argz_replace (char **argz, size_t *argz_len, const char *str, const char *with, unsigned *replace_count); 23 | -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/include/assert.h: -------------------------------------------------------------------------------- 1 | /* 2 | assert.h 3 | */ 4 | 5 | #ifdef __cplusplus 6 | extern "C" { 7 | #endif 8 | 9 | #include "_ansi.h" 10 | 11 | #undef assert 12 | 13 | #ifdef NDEBUG /* required by ANSI standard */ 14 | #define assert(p) ((void)0) 15 | #else 16 | 17 | #ifdef __STDC__ 18 | #define assert(e) ((e) ? (void)0 : __assert(__FILE__, __LINE__, #e)) 19 | #else /* PCC */ 20 | #define assert(e) ((e) ? (void)0 : __assert(__FILE__, __LINE__, "e")) 21 | #endif 22 | 23 | #endif /* NDEBUG */ 24 | 25 | void _EXFUN(__assert,(const char *, int, const char *)); 26 | 27 | #ifdef __cplusplus 28 | } 29 | #endif 30 | -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/include/dirent.h: -------------------------------------------------------------------------------- 1 | #ifndef _DIRENT_H_ 2 | #define _DIRENT_H_ 3 | #ifdef __cplusplus 4 | extern "C" { 5 | #endif 6 | #include 7 | 8 | #if !defined(MAXNAMLEN) && !defined(_POSIX_SOURCE) 9 | #define MAXNAMLEN 1024 10 | #endif 11 | 12 | #ifdef __cplusplus 13 | } 14 | #endif 15 | #endif /*_DIRENT_H_*/ 16 | -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/include/envz.h: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 2002 by Red Hat, Incorporated. All rights reserved. 2 | * 3 | * Permission to use, copy, modify, and distribute this software 4 | * is freely granted, provided that this notice is preserved. 5 | */ 6 | 7 | #include 8 | #include 9 | 10 | /* The newlib implementation of these functions assumes that sizeof(char) == 1. */ 11 | char * envz_entry (const char *envz, size_t envz_len, const char *name); 12 | char * envz_get (const char *envz, size_t envz_len, const char *name); 13 | error_t envz_add (char **envz, size_t *envz_len, const char *name, const char *value); 14 | error_t envz_merge (char **envz, size_t *envz_len, const char *envz2, size_t envz2_len, int override); 15 | void envz_remove(char **envz, size_t *envz_len, const char *name); 16 | void envz_strip (char **envz, size_t *envz_len); 17 | -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/include/errno.h: -------------------------------------------------------------------------------- 1 | #ifndef __ERRNO_H__ 2 | #define __ERRNO_H__ 3 | 4 | #ifndef __error_t_defined 5 | typedef int error_t; 6 | #define __error_t_defined 1 7 | #endif 8 | 9 | #include 10 | 11 | #endif /* !__ERRNO_H__ */ 12 | -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/include/fastmath.h: -------------------------------------------------------------------------------- 1 | #ifndef _FASTMATH_H_ 2 | #ifdef __cplusplus 3 | extern "C" { 4 | #endif 5 | #define _FASTMATH_H_ 6 | 7 | #include 8 | #include 9 | 10 | #ifdef __cplusplus 11 | } 12 | #endif 13 | #endif /* _FASTMATH_H_ */ 14 | -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/include/fcntl.h: -------------------------------------------------------------------------------- 1 | #include 2 | -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/include/iso646.h: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 1997-2013 Free Software Foundation, Inc. 2 | 3 | This file is part of GCC. 4 | 5 | GCC is free software; you can redistribute it and/or modify 6 | it under the terms of the GNU General Public License as published by 7 | the Free Software Foundation; either version 3, or (at your option) 8 | any later version. 9 | 10 | GCC is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU General Public License for more details. 14 | 15 | Under Section 7 of GPL version 3, you are granted additional 16 | permissions described in the GCC Runtime Library Exception, version 17 | 3.1, as published by the Free Software Foundation. 18 | 19 | You should have received a copy of the GNU General Public License and 20 | a copy of the GCC Runtime Library Exception along with this program; 21 | see the files COPYING3 and COPYING.RUNTIME respectively. If not, see 22 | . */ 23 | 24 | /* 25 | * ISO C Standard: 7.9 Alternative spellings 26 | */ 27 | 28 | #ifndef _ISO646_H 29 | #define _ISO646_H 30 | 31 | #ifndef __cplusplus 32 | #define and && 33 | #define and_eq &= 34 | #define bitand & 35 | #define bitor | 36 | #define compl ~ 37 | #define not ! 38 | #define not_eq != 39 | #define or || 40 | #define or_eq |= 41 | #define xor ^ 42 | #define xor_eq ^= 43 | #endif 44 | 45 | #endif 46 | -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/include/locale.h: -------------------------------------------------------------------------------- 1 | /* 2 | locale.h 3 | Values appropriate for the formatting of monetary and other 4 | numberic quantities. 5 | */ 6 | 7 | #ifndef _LOCALE_H_ 8 | #define _LOCALE_H_ 9 | 10 | #include "_ansi.h" 11 | 12 | #ifndef NULL 13 | #define NULL 0 14 | #endif 15 | 16 | #define LC_ALL 0 17 | #define LC_COLLATE 1 18 | #define LC_CTYPE 2 19 | #define LC_MONETARY 3 20 | #define LC_NUMERIC 4 21 | #define LC_TIME 5 22 | #define LC_MESSAGES 6 23 | 24 | _BEGIN_STD_C 25 | 26 | struct lconv 27 | { 28 | char *decimal_point; 29 | char *thousands_sep; 30 | char *grouping; 31 | char *int_curr_symbol; 32 | char *currency_symbol; 33 | char *mon_decimal_point; 34 | char *mon_thousands_sep; 35 | char *mon_grouping; 36 | char *positive_sign; 37 | char *negative_sign; 38 | char int_frac_digits; 39 | char frac_digits; 40 | char p_cs_precedes; 41 | char p_sep_by_space; 42 | char n_cs_precedes; 43 | char n_sep_by_space; 44 | char p_sign_posn; 45 | char n_sign_posn; 46 | }; 47 | 48 | #ifndef _REENT_ONLY 49 | char *_EXFUN(setlocale,(int category, const char *locale)); 50 | struct lconv *_EXFUN(localeconv,(void)); 51 | #endif 52 | 53 | struct _reent; 54 | char *_EXFUN(_setlocale_r,(struct _reent *, int category, const char *locale)); 55 | struct lconv *_EXFUN(_localeconv_r,(struct _reent *)); 56 | 57 | _END_STD_C 58 | 59 | #endif /* _LOCALE_H_ */ 60 | -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/include/machine/ansi.h: -------------------------------------------------------------------------------- 1 | /* dummy header file to support BSD compiler */ 2 | -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/include/machine/endian.h: -------------------------------------------------------------------------------- 1 | #ifndef __MACHINE_ENDIAN_H__ 2 | 3 | #include 4 | 5 | #ifndef BIG_ENDIAN 6 | #define BIG_ENDIAN 4321 7 | #endif 8 | #ifndef LITTLE_ENDIAN 9 | #define LITTLE_ENDIAN 1234 10 | #endif 11 | 12 | #ifndef BYTE_ORDER 13 | #ifdef __IEEE_LITTLE_ENDIAN 14 | #define BYTE_ORDER LITTLE_ENDIAN 15 | #else 16 | #define BYTE_ORDER BIG_ENDIAN 17 | #endif 18 | #endif 19 | 20 | #endif /* __MACHINE_ENDIAN_H__ */ 21 | -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/include/machine/malloc.h: -------------------------------------------------------------------------------- 1 | #ifndef _MACHMALLOC_H_ 2 | #define _MACHMALLOC_H_ 3 | 4 | /* place holder so platforms may add malloc.h extensions */ 5 | 6 | #endif /* _MACHMALLOC_H_ */ 7 | 8 | 9 | -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/include/machine/param.h: -------------------------------------------------------------------------------- 1 | /* Place holder for machine-specific param.h. */ 2 | -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/include/machine/setjmp-dj.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 1991 DJ Delorie 3 | * All rights reserved. 4 | * 5 | * Redistribution and use in source and binary forms is permitted 6 | * provided that the above copyright notice and following paragraph are 7 | * duplicated in all such forms. 8 | * 9 | * This file is distributed WITHOUT ANY WARRANTY; without even the implied 10 | * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 11 | */ 12 | 13 | /* Modified to use SETJMP_DJ_H rather than SETJMP_H to avoid 14 | conflicting with setjmp.h. Ian Taylor, Cygnus support, April, 15 | 1993. */ 16 | 17 | #ifndef _SETJMP_DJ_H_ 18 | #define _SETJMP_DJ_H_ 19 | 20 | #ifdef __cplusplus 21 | extern "C" { 22 | #endif 23 | 24 | typedef struct { 25 | unsigned long eax; 26 | unsigned long ebx; 27 | unsigned long ecx; 28 | unsigned long edx; 29 | unsigned long esi; 30 | unsigned long edi; 31 | unsigned long ebp; 32 | unsigned long esp; 33 | unsigned long eip; 34 | } jmp_buf[1]; 35 | 36 | extern int setjmp(jmp_buf); 37 | extern void longjmp(jmp_buf, int); 38 | 39 | #ifdef __cplusplus 40 | } 41 | #endif 42 | 43 | #endif 44 | -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/include/machine/stdlib.h: -------------------------------------------------------------------------------- 1 | #ifndef _MACHSTDLIB_H_ 2 | #define _MACHSTDLIB_H_ 3 | 4 | /* place holder so platforms may add stdlib.h extensions */ 5 | 6 | #endif /* _MACHSTDLIB_H_ */ 7 | 8 | 9 | -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/include/machine/termios.h: -------------------------------------------------------------------------------- 1 | #define __MAX_BAUD B4000000 2 | -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/include/machine/time.h: -------------------------------------------------------------------------------- 1 | #ifndef _MACHTIME_H_ 2 | #define _MACHTIME_H_ 3 | 4 | #if defined(__rtems__) 5 | #define _CLOCKS_PER_SEC_ sysconf(_SC_CLK_TCK) 6 | #else /* !__rtems__ */ 7 | #if defined(__arm__) || defined(__thumb__) 8 | #define _CLOCKS_PER_SEC_ 100 9 | #endif 10 | #if defined(__XTENSA__) 11 | /* Use the value mandated by POSIX:XSI. */ 12 | #define _CLOCKS_PER_SEC_ 1000000 13 | #endif 14 | #endif /* !__rtems__ */ 15 | 16 | #endif /* _MACHTIME_H_ */ 17 | 18 | 19 | -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/include/machine/types.h: -------------------------------------------------------------------------------- 1 | #ifndef _MACHTYPES_H_ 2 | #define _MACHTYPES_H_ 3 | 4 | /* 5 | * The following section is RTEMS specific and is needed to more 6 | * closely match the types defined in the BSD machine/types.h. 7 | * This is needed to let the RTEMS/BSD TCP/IP stack compile. 8 | */ 9 | 10 | #if defined(__rtems__) 11 | typedef signed long long int64_t; 12 | #if defined( __h8300__) 13 | typedef signed long int32_t; 14 | #else 15 | typedef signed int int32_t; 16 | #endif 17 | typedef signed short int16_t; 18 | typedef signed char int8_t; 19 | 20 | typedef unsigned long long u_int64_t; 21 | #if defined( __h8300__) 22 | typedef unsigned long u_int32_t; 23 | #else 24 | typedef unsigned int u_int32_t; 25 | #endif 26 | typedef unsigned short u_int16_t; 27 | typedef unsigned char u_int8_t; 28 | #endif 29 | 30 | #define _CLOCK_T_ unsigned long /* clock() */ 31 | #define _TIME_T_ long /* time() */ 32 | #define _CLOCKID_T_ unsigned long 33 | #define _TIMER_T_ unsigned long 34 | 35 | #ifndef _HAVE_SYSTYPES 36 | typedef long int __off_t; 37 | typedef int __pid_t; 38 | #ifdef __GNUC__ 39 | __extension__ typedef long long int __loff_t; 40 | #else 41 | typedef long int __loff_t; 42 | #endif 43 | #endif 44 | 45 | #endif /* _MACHTYPES_H_ */ 46 | 47 | 48 | -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/include/machine/xtensa-hal.h: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/include/memory.h: -------------------------------------------------------------------------------- 1 | #ifndef _MEMORY_H_ 2 | #define _MEMORY_H_ 3 | 4 | #ifndef _STRING_H_ 5 | # include 6 | #endif /* _STRING_H_ */ 7 | 8 | #endif /* _MEMORY_H_ */ 9 | -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/include/paths.h: -------------------------------------------------------------------------------- 1 | #ifndef _PATHS_H_ 2 | #define _PATHS_H_ 3 | 4 | #define _PATH_DEV "/dev/" 5 | #define _PATH_BSHELL "/bin/sh" 6 | 7 | #endif /* _PATHS_H_ */ 8 | -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/include/regdef.h: -------------------------------------------------------------------------------- 1 | /* regdef.h -- define register names. */ 2 | 3 | /* This is a standard include file for MIPS targets. Other target 4 | probably don't define it, and attempts to include this file will 5 | fail. */ 6 | 7 | #include 8 | -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/include/search.h: -------------------------------------------------------------------------------- 1 | /* $NetBSD: search.h,v 1.12 1999/02/22 10:34:28 christos Exp $ */ 2 | /* $FreeBSD: src/include/search.h,v 1.4 2002/03/23 17:24:53 imp Exp $ */ 3 | 4 | /* 5 | * Written by J.T. Conklin 6 | * Public domain. 7 | */ 8 | 9 | #ifndef _SEARCH_H_ 10 | #define _SEARCH_H_ 11 | 12 | #include 13 | #include 14 | #include 15 | 16 | typedef struct entry { 17 | char *key; 18 | void *data; 19 | } ENTRY; 20 | 21 | typedef enum { 22 | FIND, ENTER 23 | } ACTION; 24 | 25 | typedef enum { 26 | preorder, 27 | postorder, 28 | endorder, 29 | leaf 30 | } VISIT; 31 | 32 | #ifdef _SEARCH_PRIVATE 33 | typedef struct node { 34 | char *key; 35 | struct node *llink, *rlink; 36 | } node_t; 37 | #endif 38 | 39 | struct hsearch_data 40 | { 41 | struct internal_head *htable; 42 | size_t htablesize; 43 | }; 44 | 45 | __BEGIN_DECLS 46 | int hcreate(size_t); 47 | void hdestroy(void); 48 | ENTRY *hsearch(ENTRY, ACTION); 49 | int hcreate_r(size_t, struct hsearch_data *); 50 | void hdestroy_r(struct hsearch_data *); 51 | int hsearch_r(ENTRY, ACTION, ENTRY **, struct hsearch_data *); 52 | void *tdelete(const void *, void **, int (*)(const void *, const void *)); 53 | void tdestroy (void *, void (*)(void *)); 54 | void *tfind(const void *, void **, int (*)(const void *, const void *)); 55 | void *tsearch(const void *, void **, int (*)(const void *, const void *)); 56 | void twalk(const void *, void (*)(const void *, VISIT, int)); 57 | __END_DECLS 58 | 59 | #endif /* !_SEARCH_H_ */ 60 | -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/include/setjmp.h: -------------------------------------------------------------------------------- 1 | /* 2 | setjmp.h 3 | stubs for future use. 4 | */ 5 | 6 | #ifndef _SETJMP_H_ 7 | #define _SETJMP_H_ 8 | 9 | #include "_ansi.h" 10 | #include 11 | 12 | _BEGIN_STD_C 13 | 14 | void _EXFUN(longjmp,(jmp_buf __jmpb, int __retval)); 15 | int _EXFUN(setjmp,(jmp_buf __jmpb)); 16 | 17 | _END_STD_C 18 | 19 | #endif /* _SETJMP_H_ */ 20 | 21 | -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/include/signal.h: -------------------------------------------------------------------------------- 1 | #ifndef _SIGNAL_H_ 2 | #define _SIGNAL_H_ 3 | 4 | #include "_ansi.h" 5 | #include 6 | 7 | _BEGIN_STD_C 8 | 9 | typedef int sig_atomic_t; /* Atomic entity type (ANSI) */ 10 | 11 | #define SIG_DFL ((_sig_func_ptr)0) /* Default action */ 12 | #define SIG_IGN ((_sig_func_ptr)1) /* Ignore action */ 13 | #define SIG_ERR ((_sig_func_ptr)-1) /* Error return */ 14 | 15 | struct _reent; 16 | 17 | _sig_func_ptr _EXFUN(_signal_r, (struct _reent *, int, _sig_func_ptr)); 18 | int _EXFUN(_raise_r, (struct _reent *, int)); 19 | 20 | #ifndef _REENT_ONLY 21 | _sig_func_ptr _EXFUN(signal, (int, _sig_func_ptr)); 22 | int _EXFUN(raise, (int)); 23 | #endif 24 | 25 | _END_STD_C 26 | 27 | #endif /* _SIGNAL_H_ */ 28 | -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/include/stdalign.h: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 2011-2013 Free Software Foundation, Inc. 2 | 3 | This file is part of GCC. 4 | 5 | GCC is free software; you can redistribute it and/or modify 6 | it under the terms of the GNU General Public License as published by 7 | the Free Software Foundation; either version 3, or (at your option) 8 | any later version. 9 | 10 | GCC is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU General Public License for more details. 14 | 15 | Under Section 7 of GPL version 3, you are granted additional 16 | permissions described in the GCC Runtime Library Exception, version 17 | 3.1, as published by the Free Software Foundation. 18 | 19 | You should have received a copy of the GNU General Public License and 20 | a copy of the GCC Runtime Library Exception along with this program; 21 | see the files COPYING3 and COPYING.RUNTIME respectively. If not, see 22 | . */ 23 | 24 | /* ISO C1X: 7.15 Alignment . */ 25 | 26 | #ifndef _STDALIGN_H 27 | #define _STDALIGN_H 28 | 29 | #ifndef __cplusplus 30 | 31 | #define alignas _Alignas 32 | #define alignof _Alignof 33 | 34 | #define __alignas_is_defined 1 35 | #define __alignof_is_defined 1 36 | 37 | #endif 38 | 39 | #endif /* stdalign.h */ 40 | -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/include/stdbool.h: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 1998-2013 Free Software Foundation, Inc. 2 | 3 | This file is part of GCC. 4 | 5 | GCC is free software; you can redistribute it and/or modify 6 | it under the terms of the GNU General Public License as published by 7 | the Free Software Foundation; either version 3, or (at your option) 8 | any later version. 9 | 10 | GCC is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU General Public License for more details. 14 | 15 | Under Section 7 of GPL version 3, you are granted additional 16 | permissions described in the GCC Runtime Library Exception, version 17 | 3.1, as published by the Free Software Foundation. 18 | 19 | You should have received a copy of the GNU General Public License and 20 | a copy of the GCC Runtime Library Exception along with this program; 21 | see the files COPYING3 and COPYING.RUNTIME respectively. If not, see 22 | . */ 23 | 24 | /* 25 | * ISO C Standard: 7.16 Boolean type and values 26 | */ 27 | 28 | #ifndef _STDBOOL_H 29 | #define _STDBOOL_H 30 | 31 | #ifndef __cplusplus 32 | 33 | #define bool _Bool 34 | #define true 1 35 | #define false 0 36 | 37 | #else /* __cplusplus */ 38 | 39 | /* Supporting in C++ is a GCC extension. */ 40 | #define _Bool bool 41 | #define bool bool 42 | #define false false 43 | #define true true 44 | 45 | #endif /* __cplusplus */ 46 | 47 | /* Signal that all the definitions are present. */ 48 | #define __bool_true_false_are_defined 1 49 | 50 | #endif /* stdbool.h */ 51 | -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/include/stdnoreturn.h: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 2011-2013 Free Software Foundation, Inc. 2 | 3 | This file is part of GCC. 4 | 5 | GCC is free software; you can redistribute it and/or modify 6 | it under the terms of the GNU General Public License as published by 7 | the Free Software Foundation; either version 3, or (at your option) 8 | any later version. 9 | 10 | GCC is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU General Public License for more details. 14 | 15 | Under Section 7 of GPL version 3, you are granted additional 16 | permissions described in the GCC Runtime Library Exception, version 17 | 3.1, as published by the Free Software Foundation. 18 | 19 | You should have received a copy of the GNU General Public License and 20 | a copy of the GCC Runtime Library Exception along with this program; 21 | see the files COPYING3 and COPYING.RUNTIME respectively. If not, see 22 | . */ 23 | 24 | /* ISO C1X: 7.23 _Noreturn . */ 25 | 26 | #ifndef _STDNORETURN_H 27 | #define _STDNORETURN_H 28 | 29 | #ifndef __cplusplus 30 | 31 | #define noreturn _Noreturn 32 | 33 | #endif 34 | 35 | #endif /* stdnoreturn.h */ 36 | -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/include/sys/_types.h: -------------------------------------------------------------------------------- 1 | /* ANSI C namespace clean utility typedefs */ 2 | 3 | /* This file defines various typedefs needed by the system calls that support 4 | the C library. Basically, they're just the POSIX versions with an '_' 5 | prepended. This file lives in the `sys' directory so targets can provide 6 | their own if desired (or they can put target dependant conditionals here). 7 | */ 8 | 9 | #ifndef _SYS__TYPES_H 10 | #define _SYS__TYPES_H 11 | 12 | #include 13 | 14 | typedef long _off_t; 15 | __extension__ typedef long long _off64_t; 16 | 17 | #if defined(__INT_MAX__) && __INT_MAX__ == 2147483647 18 | typedef int _ssize_t; 19 | #else 20 | typedef long _ssize_t; 21 | #endif 22 | 23 | #define __need_wint_t 24 | #include 25 | 26 | /* Conversion state information. */ 27 | typedef struct 28 | { 29 | int __count; 30 | union 31 | { 32 | wint_t __wch; 33 | unsigned char __wchb[4]; 34 | } __value; /* Value so far. */ 35 | } _mbstate_t; 36 | 37 | typedef _LOCK_RECURSIVE_T _flock_t; 38 | 39 | /* Iconv descriptor type */ 40 | typedef void *_iconv_t; 41 | 42 | #endif /* _SYS__TYPES_H */ 43 | -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/include/sys/dirent.h: -------------------------------------------------------------------------------- 1 | /* includes , which is this file. On a 2 | system which supports , this file is overridden by 3 | dirent.h in the libc/sys/.../sys directory. On a system which does 4 | not support , we will get this file which tries to find 5 | any other which may be lurking around. If there isn't 6 | one, the user will get an error indicating that there is no 7 | . */ 8 | 9 | #ifdef __cplusplus 10 | extern "C" { 11 | #endif 12 | #include_next 13 | #ifdef __cplusplus 14 | } 15 | #endif 16 | -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/include/sys/lock.h: -------------------------------------------------------------------------------- 1 | #ifndef __SYS_LOCK_H__ 2 | #define __SYS_LOCK_H__ 3 | 4 | /* dummy lock routines for single-threaded aps */ 5 | 6 | typedef int _LOCK_T; 7 | typedef int _LOCK_RECURSIVE_T; 8 | 9 | #define __LOCK_INIT(class,lock) static int lock = 0; 10 | #define __LOCK_INIT_RECURSIVE(class,lock) static int lock = 0; 11 | #define __lock_init(lock) (0) 12 | #define __lock_init_recursive(lock) (0) 13 | #define __lock_close(lock) (0) 14 | #define __lock_close_recursive(lock) (0) 15 | #define __lock_acquire(lock) (0) 16 | #define __lock_acquire_recursive(lock) (0) 17 | #define __lock_try_acquire(lock) (0) 18 | #define __lock_try_acquire_recursive(lock) (0) 19 | #define __lock_release(lock) (0) 20 | #define __lock_release_recursive(lock) (0) 21 | 22 | #endif /* __SYS_LOCK_H__ */ 23 | -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/include/sys/param.h: -------------------------------------------------------------------------------- 1 | /* This is a dummy file, not customized for any 2 | particular system. If there is a param.h in libc/sys/SYSDIR/sys, 3 | it will override this one. */ 4 | 5 | #ifndef _SYS_PARAM_H 6 | # define _SYS_PARAM_H 7 | 8 | #include 9 | #include 10 | #include 11 | 12 | #ifndef HZ 13 | # define HZ (60) 14 | #endif 15 | #ifndef NOFILE 16 | # define NOFILE (60) 17 | #endif 18 | #ifndef PATHSIZE 19 | # define PATHSIZE (1024) 20 | #endif 21 | 22 | #define MAX(a,b) ((a) > (b) ? (a) : (b)) 23 | #define MIN(a,b) ((a) < (b) ? (a) : (b)) 24 | 25 | #endif 26 | -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/include/sys/resource.h: -------------------------------------------------------------------------------- 1 | #ifndef _SYS_RESOURCE_H_ 2 | #define _SYS_RESOURCE_H_ 3 | 4 | #include 5 | 6 | #define RUSAGE_SELF 0 /* calling process */ 7 | #define RUSAGE_CHILDREN -1 /* terminated child processes */ 8 | 9 | struct rusage { 10 | struct timeval ru_utime; /* user time used */ 11 | struct timeval ru_stime; /* system time used */ 12 | }; 13 | 14 | #endif 15 | 16 | -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/include/sys/stdio.h: -------------------------------------------------------------------------------- 1 | #ifndef _NEWLIB_STDIO_H 2 | #define _NEWLIB_STDIO_H 3 | 4 | #include 5 | #include 6 | 7 | /* Internal locking macros, used to protect stdio functions. In the 8 | general case, expand to nothing. Use __SSTR flag in FILE _flags to 9 | detect if FILE is private to sprintf/sscanf class of functions; if 10 | set then do nothing as lock is not initialised. */ 11 | #if !defined(_flockfile) 12 | #ifndef __SINGLE_THREAD__ 13 | # define _flockfile(fp) (((fp)->_flags & __SSTR) ? 0 : __lock_acquire_recursive((fp)->_lock)) 14 | #else 15 | # define _flockfile(fp) 16 | #endif 17 | #endif 18 | 19 | #if !defined(_funlockfile) 20 | #ifndef __SINGLE_THREAD__ 21 | # define _funlockfile(fp) (((fp)->_flags & __SSTR) ? 0 : __lock_release_recursive((fp)->_lock)) 22 | #else 23 | # define _funlockfile(fp) 24 | #endif 25 | #endif 26 | 27 | #define getline __getline 28 | #define getdelim __getdelim 29 | 30 | #endif /* _NEWLIB_STDIO_H */ 31 | -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/include/sys/timeb.h: -------------------------------------------------------------------------------- 1 | /* timeb.h -- An implementation of the standard Unix file. 2 | Written by Ian Lance Taylor 3 | Public domain; no rights reserved. 4 | 5 | declares the structure used by the ftime function, as 6 | well as the ftime function itself. Newlib does not provide an 7 | implementation of ftime. */ 8 | 9 | #ifndef _SYS_TIMEB_H 10 | 11 | #ifdef __cplusplus 12 | extern "C" { 13 | #endif 14 | 15 | #define _SYS_TIMEB_H 16 | 17 | #include <_ansi.h> 18 | #include 19 | 20 | #ifndef __time_t_defined 21 | typedef _TIME_T_ time_t; 22 | #define __time_t_defined 23 | #endif 24 | 25 | struct timeb 26 | { 27 | time_t time; 28 | unsigned short millitm; 29 | short timezone; 30 | short dstflag; 31 | }; 32 | 33 | extern int ftime _PARAMS ((struct timeb *)); 34 | 35 | #ifdef __cplusplus 36 | } 37 | #endif 38 | 39 | #endif /* ! defined (_SYS_TIMEB_H) */ 40 | -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/include/sys/times.h: -------------------------------------------------------------------------------- 1 | #ifndef _SYS_TIMES_H 2 | #ifdef __cplusplus 3 | extern "C" { 4 | #endif 5 | #define _SYS_TIMES_H 6 | 7 | #include <_ansi.h> 8 | #include 9 | 10 | #ifndef __clock_t_defined 11 | typedef _CLOCK_T_ clock_t; 12 | #define __clock_t_defined 13 | #endif 14 | 15 | /* Get Process Times, P1003.1b-1993, p. 92 */ 16 | struct tms { 17 | clock_t tms_utime; /* user time */ 18 | clock_t tms_stime; /* system time */ 19 | clock_t tms_cutime; /* user time, children */ 20 | clock_t tms_cstime; /* system time, children */ 21 | }; 22 | 23 | clock_t _EXFUN(times,(struct tms *)); 24 | 25 | #ifdef __cplusplus 26 | } 27 | #endif 28 | #endif /* !_SYS_TIMES_H */ 29 | -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/include/sys/utime.h: -------------------------------------------------------------------------------- 1 | #ifndef _SYS_UTIME_H 2 | #define _SYS_UTIME_H 3 | 4 | /* This is a dummy file, not customized for any 5 | particular system. If there is a utime.h in libc/sys/SYSDIR/sys, 6 | it will override this one. */ 7 | 8 | #ifdef __cplusplus 9 | extern "C" { 10 | #endif 11 | 12 | struct utimbuf 13 | { 14 | time_t actime; 15 | time_t modtime; 16 | }; 17 | 18 | #ifdef __cplusplus 19 | }; 20 | #endif 21 | 22 | #endif /* _SYS_UTIME_H */ 23 | -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/include/sys/wait.h: -------------------------------------------------------------------------------- 1 | #ifndef _SYS_WAIT_H 2 | #define _SYS_WAIT_H 3 | 4 | #ifdef __cplusplus 5 | extern "C" { 6 | #endif 7 | 8 | #include 9 | 10 | #define WNOHANG 1 11 | #define WUNTRACED 2 12 | 13 | /* A status looks like: 14 | <2 bytes info> <2 bytes code> 15 | 16 | == 0, child has exited, info is the exit value 17 | == 1..7e, child has exited, info is the signal number. 18 | == 7f, child has stopped, info was the signal number. 19 | == 80, there was a core dump. 20 | */ 21 | 22 | #define WIFEXITED(w) (((w) & 0xff) == 0) 23 | #define WIFSIGNALED(w) (((w) & 0x7f) > 0 && (((w) & 0x7f) < 0x7f)) 24 | #define WIFSTOPPED(w) (((w) & 0xff) == 0x7f) 25 | #define WEXITSTATUS(w) (((w) >> 8) & 0xff) 26 | #define WTERMSIG(w) ((w) & 0x7f) 27 | #define WSTOPSIG WEXITSTATUS 28 | 29 | pid_t wait (int *); 30 | pid_t waitpid (pid_t, int *, int); 31 | 32 | /* Provide prototypes for most of the _ names that are 33 | provided in newlib for some compilers. */ 34 | pid_t _wait (int *); 35 | 36 | #ifdef __cplusplus 37 | }; 38 | #endif 39 | 40 | #endif 41 | -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/include/termios.h: -------------------------------------------------------------------------------- 1 | #ifdef __cplusplus 2 | extern "C" { 3 | #endif 4 | #include 5 | #ifdef __cplusplus 6 | } 7 | #endif 8 | -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/include/unistd.h: -------------------------------------------------------------------------------- 1 | #ifndef _UNISTD_H_ 2 | #define _UNISTD_H_ 3 | 4 | # include 5 | 6 | #ifndef L_SET 7 | /* Old BSD names for the same constants; just for compatibility. */ 8 | #define L_SET SEEK_SET 9 | #define L_INCR SEEK_CUR 10 | #define L_XTND SEEK_END 11 | #endif 12 | 13 | #endif /* _UNISTD_H_ */ 14 | -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/include/utime.h: -------------------------------------------------------------------------------- 1 | #ifdef __cplusplus 2 | extern "C" { 3 | #endif 4 | 5 | #include <_ansi.h> 6 | 7 | /* The utime function is defined in libc/sys//sys if it exists. */ 8 | #include 9 | 10 | #ifdef __cplusplus 11 | } 12 | #endif 13 | -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/include/utmp.h: -------------------------------------------------------------------------------- 1 | #ifdef __cplusplus 2 | extern "C" { 3 | #endif 4 | #include 5 | #ifdef __cplusplus 6 | } 7 | #endif 8 | 9 | -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/include/varargs.h: -------------------------------------------------------------------------------- 1 | #ifndef _VARARGS_H 2 | #define _VARARGS_H 3 | 4 | #error "GCC no longer implements ." 5 | #error "Revise your code to use ." 6 | 7 | #endif 8 | -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/include/wctype.h: -------------------------------------------------------------------------------- 1 | #ifndef _WCTYPE_H_ 2 | #define _WCTYPE_H_ 3 | 4 | #include <_ansi.h> 5 | #include 6 | 7 | #define __need_wint_t 8 | #include 9 | 10 | #ifndef WEOF 11 | # define WEOF ((wint_t)-1) 12 | #endif 13 | 14 | _BEGIN_STD_C 15 | 16 | #ifndef _WCTYPE_T 17 | #define _WCTYPE_T 18 | typedef int wctype_t; 19 | #endif 20 | 21 | #ifndef _WCTRANS_T 22 | #define _WCTRANS_T 23 | typedef int wctrans_t; 24 | #endif 25 | 26 | int _EXFUN(iswalpha, (wint_t)); 27 | int _EXFUN(iswalnum, (wint_t)); 28 | int _EXFUN(iswblank, (wint_t)); 29 | int _EXFUN(iswcntrl, (wint_t)); 30 | int _EXFUN(iswctype, (wint_t, wctype_t)); 31 | int _EXFUN(iswdigit, (wint_t)); 32 | int _EXFUN(iswgraph, (wint_t)); 33 | int _EXFUN(iswlower, (wint_t)); 34 | int _EXFUN(iswprint, (wint_t)); 35 | int _EXFUN(iswpunct, (wint_t)); 36 | int _EXFUN(iswspace, (wint_t)); 37 | int _EXFUN(iswupper, (wint_t)); 38 | int _EXFUN(iswxdigit, (wint_t)); 39 | wint_t _EXFUN(towctrans, (wint_t, wctrans_t)); 40 | wint_t _EXFUN(towupper, (wint_t)); 41 | wint_t _EXFUN(towlower, (wint_t)); 42 | wctrans_t _EXFUN(wctrans, (const char *)); 43 | wctype_t _EXFUN(wctype, (const char *)); 44 | 45 | _END_STD_C 46 | 47 | #endif /* _WCTYPE_H_ */ 48 | -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/include/xcc/g++/algorithm: -------------------------------------------------------------------------------- 1 | /* 2 | * 3 | * Copyright (c) 1994 4 | * Hewlett-Packard Company 5 | * 6 | * Permission to use, copy, modify, distribute and sell this software 7 | * and its documentation for any purpose is hereby granted without fee, 8 | * provided that the above copyright notice appear in all copies and 9 | * that both that copyright notice and this permission notice appear 10 | * in supporting documentation. Hewlett-Packard Company makes no 11 | * representations about the suitability of this software for any 12 | * purpose. It is provided "as is" without express or implied warranty. 13 | * 14 | * 15 | * Copyright (c) 1996,1997 16 | * Silicon Graphics Computer Systems, Inc. 17 | * 18 | * Permission to use, copy, modify, distribute and sell this software 19 | * and its documentation for any purpose is hereby granted without fee, 20 | * provided that the above copyright notice appear in all copies and 21 | * that both that copyright notice and this permission notice appear 22 | * in supporting documentation. Silicon Graphics makes no 23 | * representations about the suitability of this software for any 24 | * purpose. It is provided "as is" without express or implied warranty. 25 | */ 26 | 27 | #ifndef __SGI_STL_ALGORITHM 28 | #define __SGI_STL_ALGORITHM 29 | 30 | #include 31 | #include 32 | #include 33 | #include 34 | #include 35 | 36 | #endif /* __SGI_STL_ALGORITHM */ 37 | 38 | // Local Variables: 39 | // mode:C++ 40 | // End: 41 | -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/include/xcc/g++/alloc.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 1996-1997 3 | * Silicon Graphics Computer Systems, Inc. 4 | * 5 | * Permission to use, copy, modify, distribute and sell this software 6 | * and its documentation for any purpose is hereby granted without fee, 7 | * provided that the above copyright notice appear in all copies and 8 | * that both that copyright notice and this permission notice appear 9 | * in supporting documentation. Silicon Graphics makes no 10 | * representations about the suitability of this software for any 11 | * purpose. It is provided "as is" without express or implied warranty. 12 | */ 13 | 14 | #ifndef __SGI_STL_ALLOC_H 15 | #define __SGI_STL_ALLOC_H 16 | 17 | #ifndef __STL_CONFIG_H 18 | #include 19 | #endif 20 | #ifndef __SGI_STL_INTERNAL_ALLOC_H 21 | #include 22 | #endif 23 | 24 | #ifdef __STL_USE_NAMESPACES 25 | 26 | using __STD::__malloc_alloc_template; 27 | using __STD::malloc_alloc; 28 | using __STD::simple_alloc; 29 | using __STD::debug_alloc; 30 | using __STD::__default_alloc_template; 31 | using __STD::alloc; 32 | using __STD::single_client_alloc; 33 | #ifdef __STL_STATIC_TEMPLATE_MEMBER_BUG 34 | using __STD::__malloc_alloc_oom_handler; 35 | #endif /* __STL_STATIC_TEMPLATE_MEMBER_BUG */ 36 | #ifdef __STL_USE_STD_ALLOCATORS 37 | using __STD::allocator; 38 | #endif /* __STL_USE_STD_ALLOCATORS */ 39 | 40 | #endif /* __STL_USE_NAMESPACES */ 41 | 42 | #endif /* __SGI_STL_ALLOC_H */ 43 | 44 | // Local Variables: 45 | // mode:C++ 46 | // End: 47 | -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/include/xcc/g++/cassert: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- forwarding header. 2 | // This file is part of the GNU ANSI C++ Library. 3 | 4 | #ifndef __CASSERT__ 5 | #define __CASSERT__ 6 | #include 7 | #endif 8 | -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/include/xcc/g++/cctype: -------------------------------------------------------------------------------- 1 | // The -*- C++ -*- character type header. 2 | // This file is part of the GNU ANSI C++ Library. 3 | 4 | #ifndef __CCTYPE__ 5 | #define __CCTYPE__ 6 | #include 7 | #endif 8 | -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/include/xcc/g++/cerrno: -------------------------------------------------------------------------------- 1 | // The -*- C++ -*- error number header. 2 | // This file is part of the GNU ANSI C++ Library. 3 | 4 | #ifndef __CERRNO__ 5 | #define __CERRNO__ 6 | #include 7 | #endif 8 | -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/include/xcc/g++/cfloat: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- forwarding header. 2 | // This file is part of the GNU ANSI C++ Library. 3 | 4 | #ifndef __CFLOAT__ 5 | #define __CFLOAT__ 6 | #include 7 | #endif 8 | -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/include/xcc/g++/ciso646: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- forwarding header. 2 | // This file is part of the GNU ANSI C++ Library. 3 | 4 | #ifndef __CISO646__ 5 | #define __CISO646__ 6 | #include 7 | #endif 8 | -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/include/xcc/g++/climits: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- forwarding header. 2 | // This file is part of the GNU ANSI C++ Library. 3 | 4 | #ifndef __CLIMITS__ 5 | #define __CLIMITS__ 6 | #include 7 | #endif 8 | -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/include/xcc/g++/clocale: -------------------------------------------------------------------------------- 1 | // The -*- C++ -*- locale support header. 2 | // This file is part of the GNU ANSI C++ Library. 3 | 4 | #ifndef __CLOCALE__ 5 | #define __CLOCALE__ 6 | #include 7 | #endif 8 | -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/include/xcc/g++/complex: -------------------------------------------------------------------------------- 1 | // Main header for the -*- C++ -*- complex number classes. 2 | // This file is part of the GNU ANSI C++ Library. 3 | 4 | #ifndef __COMPLEX__ 5 | #define __COMPLEX__ 6 | 7 | #include 8 | 9 | extern "C++" { 10 | #define __STD_COMPLEX 11 | 12 | // ANSI complex types 13 | typedef complex float_complex; 14 | typedef complex double_complex; 15 | typedef complex long_double_complex; 16 | } 17 | 18 | #endif 19 | -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/include/xcc/g++/complex.h: -------------------------------------------------------------------------------- 1 | /* Customer ID=7011; Build=0x2b6f6; Copyright (C) 2007--2009 Tensilica, Inc. */ 2 | // -*- C++ -*- backward compatiblity header. 3 | // Copyright (C) 1994 Free Software Foundation 4 | 5 | #ifndef __COMPLEX_H__ 6 | #include 7 | #endif 8 | -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/include/xcc/g++/csetjmp: -------------------------------------------------------------------------------- 1 | // The -*- C++ -*- setjmp/longjmp header. 2 | // This file is part of the GNU ANSI C++ Library. 3 | 4 | #ifndef __CSETJMP__ 5 | #define __CSETJMP__ 6 | #include 7 | #endif 8 | 9 | -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/include/xcc/g++/csignal: -------------------------------------------------------------------------------- 1 | // The -*- C++ -*- signal handling header. 2 | // This file is part of the GNU ANSI C++ Library. 3 | 4 | #ifndef __CSIGNAL__ 5 | #define __CSIGNAL__ 6 | #include 7 | #endif 8 | -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/include/xcc/g++/cstdarg: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- forwarding header. 2 | // This file is part of the GNU ANSI C++ Library. 3 | 4 | #ifndef __CSTDARG__ 5 | #define __CSTDARG__ 6 | #include 7 | #endif 8 | -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/include/xcc/g++/cstddef: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- forwarding header. 2 | // This file is part of the GNU ANSI C++ Library. 3 | 4 | #ifndef __CSTDDEF__ 5 | #define __CSTDDEF__ 6 | #include 7 | #endif 8 | -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/include/xcc/g++/cstdio: -------------------------------------------------------------------------------- 1 | // The -*- C++ -*- standard I/O header. 2 | // This file is part of the GNU ANSI C++ Library. 3 | 4 | #ifndef __CSTDIO__ 5 | #define __CSTDIO__ 6 | #include 7 | #endif 8 | -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/include/xcc/g++/cstdlib: -------------------------------------------------------------------------------- 1 | // The -*- C++ -*- standard library header. 2 | // This file is part of the GNU ANSI C++ Library. 3 | 4 | #ifndef __CSTDLIB__ 5 | #define __CSTDLIB__ 6 | #include 7 | 8 | #ifdef __GNUG__ 9 | #pragma interface "cstdlib" 10 | #endif 11 | 12 | extern "C++" { 13 | 14 | #if _G_HAS_LABS 15 | inline long abs(long x) { return labs (x); } 16 | #else 17 | inline long abs(long x) { return x >= 0 ? x : -x; } 18 | #endif 19 | //inline ldiv_t div(long x, long y) { return ldiv (x, y); } 20 | 21 | } // extern "C++" 22 | 23 | #endif 24 | -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/include/xcc/g++/ctime: -------------------------------------------------------------------------------- 1 | // The -*- C++ -*- time header. 2 | // This file is part of the GNU ANSI C++ Library. 3 | 4 | #ifndef __CTIME__ 5 | #define __CTIME__ 6 | #include 7 | #endif 8 | -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/include/xcc/g++/cwchar: -------------------------------------------------------------------------------- 1 | // The -*- C++ -*- wide character header. 2 | // This file is part of the GNU ANSI C++ Library. 3 | 4 | #ifndef __CWCHAR__ 5 | #define __CWCHAR__ 6 | #include 7 | #endif 8 | -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/include/xcc/g++/cwctype: -------------------------------------------------------------------------------- 1 | // The -*- C++ -*- wide character type header. 2 | // This file is part of the GNU ANSI C++ Library. 3 | 4 | #ifndef __CWCTYPE__ 5 | #define __CWCTYPE__ 6 | #include 7 | #endif 8 | -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/include/xcc/g++/deque: -------------------------------------------------------------------------------- 1 | /* 2 | * 3 | * Copyright (c) 1994 4 | * Hewlett-Packard Company 5 | * 6 | * Permission to use, copy, modify, distribute and sell this software 7 | * and its documentation for any purpose is hereby granted without fee, 8 | * provided that the above copyright notice appear in all copies and 9 | * that both that copyright notice and this permission notice appear 10 | * in supporting documentation. Hewlett-Packard Company makes no 11 | * representations about the suitability of this software for any 12 | * purpose. It is provided "as is" without express or implied warranty. 13 | * 14 | * 15 | * Copyright (c) 1997 16 | * Silicon Graphics Computer Systems, Inc. 17 | * 18 | * Permission to use, copy, modify, distribute and sell this software 19 | * and its documentation for any purpose is hereby granted without fee, 20 | * provided that the above copyright notice appear in all copies and 21 | * that both that copyright notice and this permission notice appear 22 | * in supporting documentation. Silicon Graphics makes no 23 | * representations about the suitability of this software for any 24 | * purpose. It is provided "as is" without express or implied warranty. 25 | */ 26 | 27 | #ifndef __SGI_STL_DEQUE 28 | #define __SGI_STL_DEQUE 29 | 30 | #include 31 | #include 32 | #include 33 | #include 34 | #include 35 | 36 | #endif /* __SGI_STL_DEQUE */ 37 | 38 | // Local Variables: 39 | // mode:C++ 40 | // End: 41 | -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/include/xcc/g++/deque.h: -------------------------------------------------------------------------------- 1 | /* 2 | * 3 | * Copyright (c) 1994 4 | * Hewlett-Packard Company 5 | * 6 | * Permission to use, copy, modify, distribute and sell this software 7 | * and its documentation for any purpose is hereby granted without fee, 8 | * provided that the above copyright notice appear in all copies and 9 | * that both that copyright notice and this permission notice appear 10 | * in supporting documentation. Hewlett-Packard Company makes no 11 | * representations about the suitability of this software for any 12 | * purpose. It is provided "as is" without express or implied warranty. 13 | * 14 | * 15 | * Copyright (c) 1997 16 | * Silicon Graphics Computer Systems, Inc. 17 | * 18 | * Permission to use, copy, modify, distribute and sell this software 19 | * and its documentation for any purpose is hereby granted without fee, 20 | * provided that the above copyright notice appear in all copies and 21 | * that both that copyright notice and this permission notice appear 22 | * in supporting documentation. Silicon Graphics makes no 23 | * representations about the suitability of this software for any 24 | * purpose. It is provided "as is" without express or implied warranty. 25 | */ 26 | 27 | #ifndef __SGI_STL_DEQUE_H 28 | #define __SGI_STL_DEQUE_H 29 | 30 | #include 31 | #include 32 | #include 33 | 34 | #ifdef __STL_USE_NAMESPACES 35 | using __STD::deque; 36 | #endif /* __STL_USE_NAMESPACES */ 37 | 38 | #endif /* __SGI_STL_DEQUE_H */ 39 | 40 | // Local Variables: 41 | // mode:C++ 42 | // End: 43 | -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/include/xcc/g++/fstream: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- forwarding header. 2 | // This file is part of the GNU ANSI C++ Library. 3 | 4 | #ifndef __FSTREAM__ 5 | #define __FSTREAM__ 6 | #include 7 | #endif 8 | -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/include/xcc/g++/functional: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 1997 3 | * Silicon Graphics Computer Systems, Inc. 4 | * 5 | * Permission to use, copy, modify, distribute and sell this software 6 | * and its documentation for any purpose is hereby granted without fee, 7 | * provided that the above copyright notice appear in all copies and 8 | * that both that copyright notice and this permission notice appear 9 | * in supporting documentation. Silicon Graphics makes no 10 | * representations about the suitability of this software for any 11 | * purpose. It is provided "as is" without express or implied warranty. 12 | * 13 | */ 14 | 15 | #ifndef __SGI_STL_FUNCTIONAL 16 | #define __SGI_STL_FUNCTIONAL 17 | 18 | #include 19 | #include 20 | #include 21 | 22 | #endif /* __SGI_STL_FUNCTIONAL */ 23 | 24 | // Local Variables: 25 | // mode:C++ 26 | // End: 27 | -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/include/xcc/g++/hash_map: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 1996 3 | * Silicon Graphics Computer Systems, Inc. 4 | * 5 | * Permission to use, copy, modify, distribute and sell this software 6 | * and its documentation for any purpose is hereby granted without fee, 7 | * provided that the above copyright notice appear in all copies and 8 | * that both that copyright notice and this permission notice appear 9 | * in supporting documentation. Silicon Graphics makes no 10 | * representations about the suitability of this software for any 11 | * purpose. It is provided "as is" without express or implied warranty. 12 | * 13 | * 14 | * Copyright (c) 1994 15 | * Hewlett-Packard Company 16 | * 17 | * Permission to use, copy, modify, distribute and sell this software 18 | * and its documentation for any purpose is hereby granted without fee, 19 | * provided that the above copyright notice appear in all copies and 20 | * that both that copyright notice and this permission notice appear 21 | * in supporting documentation. Hewlett-Packard Company makes no 22 | * representations about the suitability of this software for any 23 | * purpose. It is provided "as is" without express or implied warranty. 24 | * 25 | */ 26 | 27 | #ifndef __SGI_STL_HASH_MAP 28 | #define __SGI_STL_HASH_MAP 29 | 30 | #ifndef __SGI_STL_INTERNAL_HASHTABLE_H 31 | #include 32 | #endif 33 | 34 | #include 35 | 36 | #endif /* __SGI_STL_HASH_MAP */ 37 | 38 | // Local Variables: 39 | // mode:C++ 40 | // End: 41 | -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/include/xcc/g++/hash_set: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 1996 3 | * Silicon Graphics Computer Systems, Inc. 4 | * 5 | * Permission to use, copy, modify, distribute and sell this software 6 | * and its documentation for any purpose is hereby granted without fee, 7 | * provided that the above copyright notice appear in all copies and 8 | * that both that copyright notice and this permission notice appear 9 | * in supporting documentation. Silicon Graphics makes no 10 | * representations about the suitability of this software for any 11 | * purpose. It is provided "as is" without express or implied warranty. 12 | * 13 | * 14 | * Copyright (c) 1994 15 | * Hewlett-Packard Company 16 | * 17 | * Permission to use, copy, modify, distribute and sell this software 18 | * and its documentation for any purpose is hereby granted without fee, 19 | * provided that the above copyright notice appear in all copies and 20 | * that both that copyright notice and this permission notice appear 21 | * in supporting documentation. Hewlett-Packard Company makes no 22 | * representations about the suitability of this software for any 23 | * purpose. It is provided "as is" without express or implied warranty. 24 | * 25 | */ 26 | 27 | #ifndef __SGI_STL_HASH_SET 28 | #define __SGI_STL_HASH_SET 29 | 30 | #ifndef __SGI_STL_INTERNAL_HASHTABLE_H 31 | #include 32 | #endif 33 | 34 | #include 35 | 36 | #endif /* __SGI_STL_HASH_SET */ 37 | 38 | // Local Variables: 39 | // mode:C++ 40 | // End: 41 | -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/include/xcc/g++/iomanip: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- forwarding header. 2 | // This file is part of the GNU ANSI C++ Library. 3 | 4 | #ifndef __IOMANIP__ 5 | #define __IOMANIP__ 6 | #include 7 | #endif 8 | -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/include/xcc/g++/iosfwd: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- I/O forward declaration header. 2 | // This file is part of the GNU ANSI C++ Library. 3 | 4 | #ifndef __IOSFWD__ 5 | #define __IOSFWD__ 6 | class ios; 7 | class streambuf; 8 | class istream; 9 | class ostream; 10 | class iostream; 11 | class filebuf; 12 | class ifstream; 13 | class ofstream; 14 | class fstream; 15 | #endif 16 | -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/include/xcc/g++/iostream: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- forwarding header. 2 | // This file is part of the GNU ANSI C++ Library. 3 | 4 | #ifndef __IOSTREAM__ 5 | #define __IOSTREAM__ 6 | #include 7 | #endif 8 | -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/include/xcc/g++/iostreamP.h: -------------------------------------------------------------------------------- 1 | /* Customer ID=7011; Build=0x2b6f6; Copyright (C) 2007--2009 Tensilica, Inc. */ 2 | /* 3 | Copyright (C) 1993 Free Software Foundation 4 | 5 | This file is part of the GNU IO Library. This library is free 6 | software; you can redistribute it and/or modify it under the 7 | terms of the GNU General Public License as published by the 8 | Free Software Foundation; either version 2, or (at your option) 9 | any later version. 10 | 11 | This library is distributed in the hope that it will be useful, 12 | but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | GNU General Public License for more details. 15 | 16 | You should have received a copy of the GNU General Public License 17 | along with this library; see the file COPYING. If not, write to the Free 18 | Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 19 | 20 | As a special exception, if you link this library with files 21 | compiled with a GNU compiler to produce an executable, this does not cause 22 | the resulting executable to be covered by the GNU General Public License. 23 | This exception does not however invalidate any other reasons why 24 | the executable file might be covered by the GNU General Public License. */ 25 | 26 | #include "streambuf.h" 27 | #include "libioP.h" 28 | -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/include/xcc/g++/istream.h: -------------------------------------------------------------------------------- 1 | /* Customer ID=7011; Build=0x2b6f6; Copyright (C) 2007--2009 Tensilica, Inc. */ 2 | /* 3 | Copyright (C) 1993 Free Software Foundation 4 | 5 | This file is part of the GNU IO Library. This library is free 6 | software; you can redistribute it and/or modify it under the 7 | terms of the GNU General Public License as published by the 8 | Free Software Foundation; either version 2, or (at your option) 9 | any later version. 10 | 11 | This library is distributed in the hope that it will be useful, 12 | but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | GNU General Public License for more details. 15 | 16 | You should have received a copy of the GNU General Public License 17 | along with this library; see the file COPYING. If not, write to the Free 18 | Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 19 | 20 | As a special exception, if you link this library with files 21 | compiled with a GNU compiler to produce an executable, this does not cause 22 | the resulting executable to be covered by the GNU General Public License. 23 | This exception does not however invalidate any other reasons why 24 | the executable file might be covered by the GNU General Public License. */ 25 | 26 | #include 27 | -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/include/xcc/g++/list: -------------------------------------------------------------------------------- 1 | /* 2 | * 3 | * Copyright (c) 1994 4 | * Hewlett-Packard Company 5 | * 6 | * Permission to use, copy, modify, distribute and sell this software 7 | * and its documentation for any purpose is hereby granted without fee, 8 | * provided that the above copyright notice appear in all copies and 9 | * that both that copyright notice and this permission notice appear 10 | * in supporting documentation. Hewlett-Packard Company makes no 11 | * representations about the suitability of this software for any 12 | * purpose. It is provided "as is" without express or implied warranty. 13 | * 14 | * 15 | * Copyright (c) 1996,1997 16 | * Silicon Graphics Computer Systems, Inc. 17 | * 18 | * Permission to use, copy, modify, distribute and sell this software 19 | * and its documentation for any purpose is hereby granted without fee, 20 | * provided that the above copyright notice appear in all copies and 21 | * that both that copyright notice and this permission notice appear 22 | * in supporting documentation. Silicon Graphics makes no 23 | * representations about the suitability of this software for any 24 | * purpose. It is provided "as is" without express or implied warranty. 25 | */ 26 | 27 | #ifndef __SGI_STL_LIST 28 | #define __SGI_STL_LIST 29 | 30 | #include 31 | #include 32 | #include 33 | #include 34 | #include 35 | 36 | #endif /* __SGI_STL_LIST */ 37 | 38 | // Local Variables: 39 | // mode:C++ 40 | // End: 41 | -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/include/xcc/g++/list.h: -------------------------------------------------------------------------------- 1 | /* 2 | * 3 | * Copyright (c) 1994 4 | * Hewlett-Packard Company 5 | * 6 | * Permission to use, copy, modify, distribute and sell this software 7 | * and its documentation for any purpose is hereby granted without fee, 8 | * provided that the above copyright notice appear in all copies and 9 | * that both that copyright notice and this permission notice appear 10 | * in supporting documentation. Hewlett-Packard Company makes no 11 | * representations about the suitability of this software for any 12 | * purpose. It is provided "as is" without express or implied warranty. 13 | * 14 | * 15 | * Copyright (c) 1996,1997 16 | * Silicon Graphics Computer Systems, Inc. 17 | * 18 | * Permission to use, copy, modify, distribute and sell this software 19 | * and its documentation for any purpose is hereby granted without fee, 20 | * provided that the above copyright notice appear in all copies and 21 | * that both that copyright notice and this permission notice appear 22 | * in supporting documentation. Silicon Graphics makes no 23 | * representations about the suitability of this software for any 24 | * purpose. It is provided "as is" without express or implied warranty. 25 | */ 26 | 27 | #ifndef __SGI_STL_LIST_H 28 | #define __SGI_STL_LIST_H 29 | 30 | #include 31 | #include 32 | #include 33 | 34 | #ifdef __STL_USE_NAMESPACES 35 | using __STD::list; 36 | #endif /* __STL_USE_NAMESPACES */ 37 | 38 | #endif /* __SGI_STL_LIST_H */ 39 | 40 | // Local Variables: 41 | // mode:C++ 42 | // End: 43 | -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/include/xcc/g++/map: -------------------------------------------------------------------------------- 1 | /* 2 | * 3 | * Copyright (c) 1994 4 | * Hewlett-Packard Company 5 | * 6 | * Permission to use, copy, modify, distribute and sell this software 7 | * and its documentation for any purpose is hereby granted without fee, 8 | * provided that the above copyright notice appear in all copies and 9 | * that both that copyright notice and this permission notice appear 10 | * in supporting documentation. Hewlett-Packard Company makes no 11 | * representations about the suitability of this software for any 12 | * purpose. It is provided "as is" without express or implied warranty. 13 | * 14 | * 15 | * Copyright (c) 1996,1997 16 | * Silicon Graphics Computer Systems, Inc. 17 | * 18 | * Permission to use, copy, modify, distribute and sell this software 19 | * and its documentation for any purpose is hereby granted without fee, 20 | * provided that the above copyright notice appear in all copies and 21 | * that both that copyright notice and this permission notice appear 22 | * in supporting documentation. Silicon Graphics makes no 23 | * representations about the suitability of this software for any 24 | * purpose. It is provided "as is" without express or implied warranty. 25 | */ 26 | 27 | #ifndef __SGI_STL_MAP 28 | #define __SGI_STL_MAP 29 | 30 | #ifndef __SGI_STL_INTERNAL_TREE_H 31 | #include 32 | #endif 33 | #include 34 | #include 35 | 36 | #endif /* __SGI_STL_MAP */ 37 | 38 | // Local Variables: 39 | // mode:C++ 40 | // End: 41 | -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/include/xcc/g++/map.h: -------------------------------------------------------------------------------- 1 | /* 2 | * 3 | * Copyright (c) 1994 4 | * Hewlett-Packard Company 5 | * 6 | * Permission to use, copy, modify, distribute and sell this software 7 | * and its documentation for any purpose is hereby granted without fee, 8 | * provided that the above copyright notice appear in all copies and 9 | * that both that copyright notice and this permission notice appear 10 | * in supporting documentation. Hewlett-Packard Company makes no 11 | * representations about the suitability of this software for any 12 | * purpose. It is provided "as is" without express or implied warranty. 13 | * 14 | * 15 | * Copyright (c) 1996,1997 16 | * Silicon Graphics Computer Systems, Inc. 17 | * 18 | * Permission to use, copy, modify, distribute and sell this software 19 | * and its documentation for any purpose is hereby granted without fee, 20 | * provided that the above copyright notice appear in all copies and 21 | * that both that copyright notice and this permission notice appear 22 | * in supporting documentation. Silicon Graphics makes no 23 | * representations about the suitability of this software for any 24 | * purpose. It is provided "as is" without express or implied warranty. 25 | */ 26 | 27 | #ifndef __SGI_STL_MAP_H 28 | #define __SGI_STL_MAP_H 29 | 30 | #include 31 | #include 32 | 33 | #ifdef __STL_USE_NAMESPACES 34 | using __STD::map; 35 | #endif /* __STL_USE_NAMESPACES */ 36 | 37 | #endif /* __SGI_STL_MAP_H */ 38 | 39 | // Local Variables: 40 | // mode:C++ 41 | // End: 42 | -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/include/xcc/g++/multimap.h: -------------------------------------------------------------------------------- 1 | /* 2 | * 3 | * Copyright (c) 1994 4 | * Hewlett-Packard Company 5 | * 6 | * Permission to use, copy, modify, distribute and sell this software 7 | * and its documentation for any purpose is hereby granted without fee, 8 | * provided that the above copyright notice appear in all copies and 9 | * that both that copyright notice and this permission notice appear 10 | * in supporting documentation. Hewlett-Packard Company makes no 11 | * representations about the suitability of this software for any 12 | * purpose. It is provided "as is" without express or implied warranty. 13 | * 14 | * 15 | * Copyright (c) 1996,1997 16 | * Silicon Graphics Computer Systems, Inc. 17 | * 18 | * Permission to use, copy, modify, distribute and sell this software 19 | * and its documentation for any purpose is hereby granted without fee, 20 | * provided that the above copyright notice appear in all copies and 21 | * that both that copyright notice and this permission notice appear 22 | * in supporting documentation. Silicon Graphics makes no 23 | * representations about the suitability of this software for any 24 | * purpose. It is provided "as is" without express or implied warranty. 25 | */ 26 | 27 | #ifndef __SGI_STL_MULTIMAP_H 28 | #define __SGI_STL_MULTIMAP_H 29 | 30 | #include 31 | #include 32 | 33 | #ifdef __STL_USE_NAMESPACES 34 | using __STD::multimap; 35 | #endif /* __STL_USE_NAMESPACES */ 36 | 37 | #endif /* __SGI_STL_MULTIMAP_H */ 38 | 39 | // Local Variables: 40 | // mode:C++ 41 | // End: 42 | -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/include/xcc/g++/multiset.h: -------------------------------------------------------------------------------- 1 | /* 2 | * 3 | * Copyright (c) 1994 4 | * Hewlett-Packard Company 5 | * 6 | * Permission to use, copy, modify, distribute and sell this software 7 | * and its documentation for any purpose is hereby granted without fee, 8 | * provided that the above copyright notice appear in all copies and 9 | * that both that copyright notice and this permission notice appear 10 | * in supporting documentation. Hewlett-Packard Company makes no 11 | * representations about the suitability of this software for any 12 | * purpose. It is provided "as is" without express or implied warranty. 13 | * 14 | * 15 | * Copyright (c) 1996,1997 16 | * Silicon Graphics Computer Systems, Inc. 17 | * 18 | * Permission to use, copy, modify, distribute and sell this software 19 | * and its documentation for any purpose is hereby granted without fee, 20 | * provided that the above copyright notice appear in all copies and 21 | * that both that copyright notice and this permission notice appear 22 | * in supporting documentation. Silicon Graphics makes no 23 | * representations about the suitability of this software for any 24 | * purpose. It is provided "as is" without express or implied warranty. 25 | */ 26 | 27 | #ifndef __SGI_STL_MULTISET_H 28 | #define __SGI_STL_MULTISET_H 29 | 30 | #include 31 | #include 32 | 33 | #ifdef __STL_USE_NAMESPACES 34 | using __STD::multiset; 35 | #endif /* __STL_USE_NAMESPACES */ 36 | 37 | #endif /* __SGI_STL_MULTISET_H */ 38 | 39 | // Local Variables: 40 | // mode:C++ 41 | // End: 42 | -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/include/xcc/g++/numeric: -------------------------------------------------------------------------------- 1 | /* 2 | * 3 | * Copyright (c) 1994 4 | * Hewlett-Packard Company 5 | * 6 | * Permission to use, copy, modify, distribute and sell this software 7 | * and its documentation for any purpose is hereby granted without fee, 8 | * provided that the above copyright notice appear in all copies and 9 | * that both that copyright notice and this permission notice appear 10 | * in supporting documentation. Hewlett-Packard Company makes no 11 | * representations about the suitability of this software for any 12 | * purpose. It is provided "as is" without express or implied warranty. 13 | * 14 | * 15 | * Copyright (c) 1996,1997 16 | * Silicon Graphics Computer Systems, Inc. 17 | * 18 | * Permission to use, copy, modify, distribute and sell this software 19 | * and its documentation for any purpose is hereby granted without fee, 20 | * provided that the above copyright notice appear in all copies and 21 | * that both that copyright notice and this permission notice appear 22 | * in supporting documentation. Silicon Graphics makes no 23 | * representations about the suitability of this software for any 24 | * purpose. It is provided "as is" without express or implied warranty. 25 | */ 26 | 27 | #ifndef __SGI_STL_NUMERIC 28 | #define __SGI_STL_NUMERIC 29 | 30 | #include 31 | #include 32 | #include 33 | #include 34 | #include 35 | #include 36 | #include 37 | 38 | #endif /* __SGI_STL_NUMERIC */ 39 | 40 | // Local Variables: 41 | // mode:C++ 42 | // End: 43 | -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/include/xcc/g++/ostream.h: -------------------------------------------------------------------------------- 1 | /* Customer ID=7011; Build=0x2b6f6; Copyright (C) 2007--2009 Tensilica, Inc. */ 2 | /* 3 | Copyright (C) 1993 Free Software Foundation 4 | 5 | This file is part of the GNU IO Library. This library is free 6 | software; you can redistribute it and/or modify it under the 7 | terms of the GNU General Public License as published by the 8 | Free Software Foundation; either version 2, or (at your option) 9 | any later version. 10 | 11 | This library is distributed in the hope that it will be useful, 12 | but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | GNU General Public License for more details. 15 | 16 | You should have received a copy of the GNU General Public License 17 | along with this library; see the file COPYING. If not, write to the Free 18 | Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 19 | 20 | As a special exception, if you link this library with files 21 | compiled with a GNU compiler to produce an executable, this does not cause 22 | the resulting executable to be covered by the GNU General Public License. 23 | This exception does not however invalidate any other reasons why 24 | the executable file might be covered by the GNU General Public License. */ 25 | 26 | #include 27 | -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/include/xcc/g++/pthread_alloc.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 1996-1997 3 | * Silicon Graphics Computer Systems, Inc. 4 | * 5 | * Permission to use, copy, modify, distribute and sell this software 6 | * and its documentation for any purpose is hereby granted without fee, 7 | * provided that the above copyright notice appear in all copies and 8 | * that both that copyright notice and this permission notice appear 9 | * in supporting documentation. Silicon Graphics makes no 10 | * representations about the suitability of this software for any 11 | * purpose. It is provided "as is" without express or implied warranty. 12 | */ 13 | 14 | #ifndef __SGI_STL_PTHREAD_ALLOC_H 15 | #define __SGI_STL_PTHREAD_ALLOC_H 16 | 17 | #include 18 | 19 | #ifdef __STL_USE_NAMESPACES 20 | 21 | using __STD::_Pthread_alloc_template; 22 | using __STD::pthread_alloc; 23 | 24 | #endif /* __STL_USE_NAMESPACES */ 25 | 26 | 27 | #endif /* __SGI_STL_PTHREAD_ALLOC_H */ 28 | 29 | // Local Variables: 30 | // mode:C++ 31 | // End: 32 | -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/include/xcc/g++/rope: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 1997 3 | * Silicon Graphics Computer Systems, Inc. 4 | * 5 | * Permission to use, copy, modify, distribute and sell this software 6 | * and its documentation for any purpose is hereby granted without fee, 7 | * provided that the above copyright notice appear in all copies and 8 | * that both that copyright notice and this permission notice appear 9 | * in supporting documentation. Silicon Graphics makes no 10 | * representations about the suitability of this software for any 11 | * purpose. It is provided "as is" without express or implied warranty. 12 | */ 13 | 14 | #ifndef __SGI_STL_ROPE 15 | #define __SGI_STL_ROPE 16 | 17 | #include 18 | #include 19 | #include 20 | #include 21 | #include 22 | #include 23 | #include 24 | #include 25 | #include 26 | #include 27 | 28 | #endif /* __SGI_STL_ROPE */ 29 | 30 | // Local Variables: 31 | // mode:C++ 32 | // End: 33 | -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/include/xcc/g++/rope.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 1997 3 | * Silicon Graphics Computer Systems, Inc. 4 | * 5 | * Permission to use, copy, modify, distribute and sell this software 6 | * and its documentation for any purpose is hereby granted without fee, 7 | * provided that the above copyright notice appear in all copies and 8 | * that both that copyright notice and this permission notice appear 9 | * in supporting documentation. Silicon Graphics makes no 10 | * representations about the suitability of this software for any 11 | * purpose. It is provided "as is" without express or implied warranty. 12 | */ 13 | 14 | #ifndef __SGI_STL_ROPE_H 15 | #define __SGI_STL_ROPE_H 16 | 17 | #include 18 | #include 19 | 20 | #ifdef __STL_USE_NAMESPACES 21 | 22 | using __STD::char_producer; 23 | using __STD::sequence_buffer; 24 | using __STD::rope; 25 | using __STD::crope; 26 | using __STD::wrope; 27 | 28 | #endif /* __STL_USE_NAMESPACES */ 29 | 30 | #endif /* __SGI_STL_ROPE_H */ 31 | 32 | // Local Variables: 33 | // mode:C++ 34 | // End: 35 | -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/include/xcc/g++/set: -------------------------------------------------------------------------------- 1 | /* 2 | * 3 | * Copyright (c) 1994 4 | * Hewlett-Packard Company 5 | * 6 | * Permission to use, copy, modify, distribute and sell this software 7 | * and its documentation for any purpose is hereby granted without fee, 8 | * provided that the above copyright notice appear in all copies and 9 | * that both that copyright notice and this permission notice appear 10 | * in supporting documentation. Hewlett-Packard Company makes no 11 | * representations about the suitability of this software for any 12 | * purpose. It is provided "as is" without express or implied warranty. 13 | * 14 | * 15 | * Copyright (c) 1996,1997 16 | * Silicon Graphics Computer Systems, Inc. 17 | * 18 | * Permission to use, copy, modify, distribute and sell this software 19 | * and its documentation for any purpose is hereby granted without fee, 20 | * provided that the above copyright notice appear in all copies and 21 | * that both that copyright notice and this permission notice appear 22 | * in supporting documentation. Silicon Graphics makes no 23 | * representations about the suitability of this software for any 24 | * purpose. It is provided "as is" without express or implied warranty. 25 | */ 26 | 27 | #ifndef __SGI_STL_SET 28 | #define __SGI_STL_SET 29 | 30 | #ifndef __SGI_STL_INTERNAL_TREE_H 31 | #include 32 | #endif 33 | #include 34 | #include 35 | 36 | #endif /* __SGI_STL_SET */ 37 | 38 | // Local Variables: 39 | // mode:C++ 40 | // End: 41 | -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/include/xcc/g++/set.h: -------------------------------------------------------------------------------- 1 | /* 2 | * 3 | * Copyright (c) 1994 4 | * Hewlett-Packard Company 5 | * 6 | * Permission to use, copy, modify, distribute and sell this software 7 | * and its documentation for any purpose is hereby granted without fee, 8 | * provided that the above copyright notice appear in all copies and 9 | * that both that copyright notice and this permission notice appear 10 | * in supporting documentation. Hewlett-Packard Company makes no 11 | * representations about the suitability of this software for any 12 | * purpose. It is provided "as is" without express or implied warranty. 13 | * 14 | * 15 | * Copyright (c) 1996,1997 16 | * Silicon Graphics Computer Systems, Inc. 17 | * 18 | * Permission to use, copy, modify, distribute and sell this software 19 | * and its documentation for any purpose is hereby granted without fee, 20 | * provided that the above copyright notice appear in all copies and 21 | * that both that copyright notice and this permission notice appear 22 | * in supporting documentation. Silicon Graphics makes no 23 | * representations about the suitability of this software for any 24 | * purpose. It is provided "as is" without express or implied warranty. 25 | */ 26 | 27 | #ifndef __SGI_STL_SET_H 28 | #define __SGI_STL_SET_H 29 | 30 | #include 31 | #include 32 | 33 | #ifdef __STL_USE_NAMESPACES 34 | using __STD::set; 35 | #endif /* __STL_USE_NAMESPACES */ 36 | 37 | #endif /* __SGI_STL_SET_H */ 38 | 39 | // Local Variables: 40 | // mode:C++ 41 | // End: 42 | -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/include/xcc/g++/slist: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 1997 3 | * Silicon Graphics Computer Systems, Inc. 4 | * 5 | * Permission to use, copy, modify, distribute and sell this software 6 | * and its documentation for any purpose is hereby granted without fee, 7 | * provided that the above copyright notice appear in all copies and 8 | * that both that copyright notice and this permission notice appear 9 | * in supporting documentation. Silicon Graphics makes no 10 | * representations about the suitability of this software for any 11 | * purpose. It is provided "as is" without express or implied warranty. 12 | * 13 | */ 14 | 15 | #ifndef __SGI_STL_SLIST 16 | #define __SGI_STL_SLIST 17 | 18 | #include 19 | #include 20 | #include 21 | #include 22 | #include 23 | 24 | #endif /* __SGI_STL_SLIST */ 25 | 26 | // Local Variables: 27 | // mode:C++ 28 | // End: 29 | -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/include/xcc/g++/slist.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 1997 3 | * Silicon Graphics Computer Systems, Inc. 4 | * 5 | * Permission to use, copy, modify, distribute and sell this software 6 | * and its documentation for any purpose is hereby granted without fee, 7 | * provided that the above copyright notice appear in all copies and 8 | * that both that copyright notice and this permission notice appear 9 | * in supporting documentation. Silicon Graphics makes no 10 | * representations about the suitability of this software for any 11 | * purpose. It is provided "as is" without express or implied warranty. 12 | * 13 | */ 14 | 15 | #ifndef __SGI_STL_SLIST_H 16 | #define __SGI_STL_SLIST_H 17 | 18 | #include 19 | #include 20 | #include 21 | 22 | #ifdef __STL_USE_NAMESPACES 23 | using __STD::slist; 24 | #endif /* __STL_USE_NAMESPACES */ 25 | 26 | #endif /* __SGI_STL_SLIST_H */ 27 | 28 | // Local Variables: 29 | // mode:C++ 30 | // End: 31 | -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/include/xcc/g++/stack: -------------------------------------------------------------------------------- 1 | /* 2 | * 3 | * Copyright (c) 1994 4 | * Hewlett-Packard Company 5 | * 6 | * Permission to use, copy, modify, distribute and sell this software 7 | * and its documentation for any purpose is hereby granted without fee, 8 | * provided that the above copyright notice appear in all copies and 9 | * that both that copyright notice and this permission notice appear 10 | * in supporting documentation. Hewlett-Packard Company makes no 11 | * representations about the suitability of this software for any 12 | * purpose. It is provided "as is" without express or implied warranty. 13 | * 14 | * 15 | * Copyright (c) 1996,1997 16 | * Silicon Graphics Computer Systems, Inc. 17 | * 18 | * Permission to use, copy, modify, distribute and sell this software 19 | * and its documentation for any purpose is hereby granted without fee, 20 | * provided that the above copyright notice appear in all copies and 21 | * that both that copyright notice and this permission notice appear 22 | * in supporting documentation. Silicon Graphics makes no 23 | * representations about the suitability of this software for any 24 | * purpose. It is provided "as is" without express or implied warranty. 25 | */ 26 | 27 | #ifndef __SGI_STL_STACK 28 | #define __SGI_STL_STACK 29 | 30 | #include 31 | #include 32 | #include 33 | #include 34 | #include 35 | #include 36 | 37 | #endif /* __SGI_STL_STACK */ 38 | 39 | // Local Variables: 40 | // mode:C++ 41 | // End: 42 | -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/include/xcc/g++/stl.h: -------------------------------------------------------------------------------- 1 | /* Customer ID=7011; Build=0x2b6f6; Copyright (C) 2007--2009 Tensilica, Inc. */ 2 | // -*- C++ -*- compatibility header. 3 | // This file is part of the GNU ANSI C++ Library. 4 | 5 | #include 6 | #include 7 | #include 8 | #include 9 | #include 10 | #include 11 | #include 12 | #include 13 | #include 14 | #include 15 | #include 16 | #include 17 | -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/include/xcc/g++/string: -------------------------------------------------------------------------------- 1 | // Main header for the -*- C++ -*- string classes. 2 | 3 | #ifndef __STRING__ 4 | #define __STRING__ 5 | 6 | #include 7 | 8 | extern "C++" { 9 | typedef basic_string string; 10 | // typedef basic_string wstring; 11 | } // extern "C++" 12 | 13 | #endif 14 | -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/include/xcc/g++/strstream: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- forwarding header. 2 | // This file is part of the GNU ANSI C++ Library. 3 | 4 | #ifndef __STRSTREAM__ 5 | #define __STRSTREAM__ 6 | #include 7 | #endif 8 | -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/include/xcc/g++/tree.h: -------------------------------------------------------------------------------- 1 | /* 2 | * 3 | * Copyright (c) 1996,1997 4 | * Silicon Graphics Computer Systems, Inc. 5 | * 6 | * Permission to use, copy, modify, distribute and sell this software 7 | * and its documentation for any purpose is hereby granted without fee, 8 | * provided that the above copyright notice appear in all copies and 9 | * that both that copyright notice and this permission notice appear 10 | * in supporting documentation. Silicon Graphics makes no 11 | * representations about the suitability of this software for any 12 | * purpose. It is provided "as is" without express or implied warranty. 13 | * 14 | * 15 | * Copyright (c) 1994 16 | * Hewlett-Packard Company 17 | * 18 | * Permission to use, copy, modify, distribute and sell this software 19 | * and its documentation for any purpose is hereby granted without fee, 20 | * provided that the above copyright notice appear in all copies and 21 | * that both that copyright notice and this permission notice appear 22 | * in supporting documentation. Hewlett-Packard Company makes no 23 | * representations about the suitability of this software for any 24 | * purpose. It is provided "as is" without express or implied warranty. 25 | * 26 | * 27 | */ 28 | 29 | #ifndef __SGI_STL_TREE_H 30 | #define __SGI_STL_TREE_H 31 | 32 | #ifndef __SGI_STL_INTERNAL_TREE_H 33 | #include 34 | #endif 35 | #include 36 | #include 37 | 38 | #ifdef __STL_USE_NAMESPACES 39 | using __STD::rb_tree; 40 | #endif /* __STL_USE_NAMESPACES */ 41 | 42 | #endif /* __SGI_STL_TREE_H */ 43 | 44 | // Local Variables: 45 | // mode:C++ 46 | // End: 47 | -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/include/xcc/g++/utility: -------------------------------------------------------------------------------- 1 | /* 2 | * 3 | * Copyright (c) 1994 4 | * Hewlett-Packard Company 5 | * 6 | * Permission to use, copy, modify, distribute and sell this software 7 | * and its documentation for any purpose is hereby granted without fee, 8 | * provided that the above copyright notice appear in all copies and 9 | * that both that copyright notice and this permission notice appear 10 | * in supporting documentation. Hewlett-Packard Company makes no 11 | * representations about the suitability of this software for any 12 | * purpose. It is provided "as is" without express or implied warranty. 13 | * 14 | * 15 | * Copyright (c) 1996,1997 16 | * Silicon Graphics Computer Systems, Inc. 17 | * 18 | * Permission to use, copy, modify, distribute and sell this software 19 | * and its documentation for any purpose is hereby granted without fee, 20 | * provided that the above copyright notice appear in all copies and 21 | * that both that copyright notice and this permission notice appear 22 | * in supporting documentation. Silicon Graphics makes no 23 | * representations about the suitability of this software for any 24 | * purpose. It is provided "as is" without express or implied warranty. 25 | */ 26 | 27 | #ifndef __SGI_STL_UTILITY 28 | #define __SGI_STL_UTILITY 29 | 30 | #include 31 | #include 32 | #include 33 | 34 | #endif /* __SGI_STL_UTILITY */ 35 | 36 | // Local Variables: 37 | // mode:C++ 38 | // End: 39 | -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/include/xcc/g++/valarray: -------------------------------------------------------------------------------- 1 | // Main header for -*- C++ -*- valarray classes. 2 | 3 | #ifndef __VALARRAY__ 4 | #define __VALARRAY__ 5 | 6 | #include 7 | 8 | #endif 9 | -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/include/xcc/g++/vector: -------------------------------------------------------------------------------- 1 | /* 2 | * 3 | * Copyright (c) 1994 4 | * Hewlett-Packard Company 5 | * 6 | * Permission to use, copy, modify, distribute and sell this software 7 | * and its documentation for any purpose is hereby granted without fee, 8 | * provided that the above copyright notice appear in all copies and 9 | * that both that copyright notice and this permission notice appear 10 | * in supporting documentation. Hewlett-Packard Company makes no 11 | * representations about the suitability of this software for any 12 | * purpose. It is provided "as is" without express or implied warranty. 13 | * 14 | * 15 | * Copyright (c) 1996 16 | * Silicon Graphics Computer Systems, Inc. 17 | * 18 | * Permission to use, copy, modify, distribute and sell this software 19 | * and its documentation for any purpose is hereby granted without fee, 20 | * provided that the above copyright notice appear in all copies and 21 | * that both that copyright notice and this permission notice appear 22 | * in supporting documentation. Silicon Graphics makes no 23 | * representations about the suitability of this software for any 24 | * purpose. It is provided "as is" without express or implied warranty. 25 | */ 26 | 27 | #ifndef __SGI_STL_VECTOR 28 | #define __SGI_STL_VECTOR 29 | 30 | #include 31 | #include 32 | #include 33 | #include 34 | #include 35 | #include 36 | 37 | #endif /* __SGI_STL_VECTOR */ 38 | 39 | // Local Variables: 40 | // mode:C++ 41 | // End: 42 | -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/include/xcc/g++/vector.h: -------------------------------------------------------------------------------- 1 | /* 2 | * 3 | * Copyright (c) 1994 4 | * Hewlett-Packard Company 5 | * 6 | * Permission to use, copy, modify, distribute and sell this software 7 | * and its documentation for any purpose is hereby granted without fee, 8 | * provided that the above copyright notice appear in all copies and 9 | * that both that copyright notice and this permission notice appear 10 | * in supporting documentation. Hewlett-Packard Company makes no 11 | * representations about the suitability of this software for any 12 | * purpose. It is provided "as is" without express or implied warranty. 13 | * 14 | * 15 | * Copyright (c) 1996 16 | * Silicon Graphics Computer Systems, Inc. 17 | * 18 | * Permission to use, copy, modify, distribute and sell this software 19 | * and its documentation for any purpose is hereby granted without fee, 20 | * provided that the above copyright notice appear in all copies and 21 | * that both that copyright notice and this permission notice appear 22 | * in supporting documentation. Silicon Graphics makes no 23 | * representations about the suitability of this software for any 24 | * purpose. It is provided "as is" without express or implied warranty. 25 | */ 26 | 27 | #ifndef __SGI_STL_VECTOR_H 28 | #define __SGI_STL_VECTOR_H 29 | 30 | #include 31 | #include 32 | #include 33 | 34 | #ifdef __STL_USE_NAMESPACES 35 | using __STD::vector; 36 | #endif /* __STL_USE_NAMESPACES */ 37 | 38 | #endif /* __SGI_STL_VECTOR_H */ 39 | 40 | // Local Variables: 41 | // mode:C++ 42 | // End: 43 | -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/install-tools/fixinc_list: -------------------------------------------------------------------------------- 1 | ; 2 | -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/install-tools/gsyslimits.h: -------------------------------------------------------------------------------- 1 | /* syslimits.h stands for the system's own limits.h file. 2 | If we can use it ok unmodified, then we install this text. 3 | If fixincludes fixes it, then the fixed version is installed 4 | instead of this text. */ 5 | 6 | #define _GCC_NEXT_LIMITS_H /* tell gcc's limits.h to recurse */ 7 | #include_next 8 | #undef _GCC_NEXT_LIMITS_H 9 | -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/install-tools/include/README: -------------------------------------------------------------------------------- 1 | This README file is copied into the directory for GCC-only header files 2 | when fixincludes is run by the makefile for GCC. 3 | 4 | Many of the files in this directory were automatically edited from the 5 | standard system header files by the fixincludes process. They are 6 | system-specific, and will not work on any other kind of system. They 7 | are also not part of GCC. The reason we have to do this is because 8 | GCC requires ANSI C headers and many vendors supply ANSI-incompatible 9 | headers. 10 | 11 | Because this is an automated process, sometimes headers get "fixed" 12 | that do not, strictly speaking, need a fix. As long as nothing is broken 13 | by the process, it is just an unfortunate collateral inconvenience. 14 | We would like to rectify it, if it is not "too inconvenient". 15 | -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/install-tools/macro_list: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TuyaInc/tysdk_for_esp8266/f9a262970bda4786df5d5083426dea26cc61397a/platforms/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/install-tools/macro_list -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/install-tools/mkheaders.conf: -------------------------------------------------------------------------------- 1 | SYSTEM_HEADER_DIR="/opt/xte/crosstool-NG/builds/xtensa-lx106-elf/xtensa-lx106-elf/sysroot${sysroot_headers_suffix}/usr/include" 2 | OTHER_FIXINCLUDES_DIRS="" 3 | STMP_FIXINC="stmp-fixinc" 4 | -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/libgcc.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TuyaInc/tysdk_for_esp8266/f9a262970bda4786df5d5083426dea26cc61397a/platforms/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/libgcc.a -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/libgcov.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TuyaInc/tysdk_for_esp8266/f9a262970bda4786df5d5083426dea26cc61397a/platforms/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/libgcov.a -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/libhal.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TuyaInc/tysdk_for_esp8266/f9a262970bda4786df5d5083426dea26cc61397a/platforms/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/libhal.a -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/plugin/include/all-tree.def: -------------------------------------------------------------------------------- 1 | #include "tree.def" 2 | END_OF_BASE_TREE_CODES 3 | #include "c-family/c-common.def" 4 | #include "ada/gcc-interface/ada-tree.def" 5 | #include "cp/cp-tree.def" 6 | #include "java/java-tree.def" 7 | #include "objc/objc-tree.def" 8 | -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/plugin/include/bversion.h: -------------------------------------------------------------------------------- 1 | #define BUILDING_GCC_MAJOR 4 2 | #define BUILDING_GCC_MINOR 8 3 | #define BUILDING_GCC_PATCHLEVEL 2 4 | #define BUILDING_GCC_VERSION (BUILDING_GCC_MAJOR * 1000 + BUILDING_GCC_MINOR) 5 | -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/plugin/include/config.h: -------------------------------------------------------------------------------- 1 | #ifndef GCC_CONFIG_H 2 | #define GCC_CONFIG_H 3 | #ifdef GENERATOR_FILE 4 | #error config.h is for the host, not build, machine. 5 | #endif 6 | #include "auto-host.h" 7 | #ifdef IN_GCC 8 | # include "ansidecl.h" 9 | #endif 10 | #endif /* GCC_CONFIG_H */ 11 | -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/plugin/include/config/initfini-array.h: -------------------------------------------------------------------------------- 1 | /* Definitions for ELF systems with .init_array/.fini_array section 2 | support. 3 | Copyright (C) 2011-2013 Free Software Foundation, Inc. 4 | 5 | This file is part of GCC. 6 | 7 | GCC is free software; you can redistribute it and/or modify it 8 | under the terms of the GNU General Public License as published 9 | by the Free Software Foundation; either version 3, or (at your 10 | option) any later version. 11 | 12 | GCC is distributed in the hope that it will be useful, but WITHOUT 13 | ANY WARRANTY; without even the implied warranty of MERCHANTABILITY 14 | or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public 15 | License for more details. 16 | 17 | You should have received a copy of the GNU General Public License 18 | along with GCC; see the file COPYING3. If not see 19 | . */ 20 | 21 | #ifdef HAVE_INITFINI_ARRAY_SUPPORT 22 | 23 | #define USE_INITFINI_ARRAY 24 | 25 | #undef INIT_SECTION_ASM_OP 26 | #undef FINI_SECTION_ASM_OP 27 | 28 | #undef INIT_ARRAY_SECTION_ASM_OP 29 | #define INIT_ARRAY_SECTION_ASM_OP 30 | 31 | #undef FINI_ARRAY_SECTION_ASM_OP 32 | #define FINI_ARRAY_SECTION_ASM_OP 33 | 34 | /* Use .init_array/.fini_array section for constructors and destructors. */ 35 | #undef TARGET_ASM_CONSTRUCTOR 36 | #define TARGET_ASM_CONSTRUCTOR default_elf_init_array_asm_out_constructor 37 | #undef TARGET_ASM_DESTRUCTOR 38 | #define TARGET_ASM_DESTRUCTOR default_elf_fini_array_asm_out_destructor 39 | 40 | #endif 41 | -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/plugin/include/configargs.h: -------------------------------------------------------------------------------- 1 | /* Generated automatically. */ 2 | static const char configuration_arguments[] = "/opt/xte/crosstool-NG/.build/src/gcc-4.8.2/configure --build=x86_64-build_unknown-linux-gnu --host=x86_64-build_unknown-linux-gnu --target=xtensa-lx106-elf --prefix=/opt/xte/crosstool-NG/builds/xtensa-lx106-elf --with-local-prefix=/opt/xte/crosstool-NG/builds/xtensa-lx106-elf/xtensa-lx106-elf/sysroot --disable-libmudflap --with-sysroot=/opt/xte/crosstool-NG/builds/xtensa-lx106-elf/xtensa-lx106-elf/sysroot --with-newlib --enable-threads=no --disable-shared --with-pkgversion='crosstool-NG 1.20.0' --disable-__cxa_atexit --with-gmp=/opt/xte/crosstool-NG/.build/xtensa-lx106-elf/buildtools --with-mpfr=/opt/xte/crosstool-NG/.build/xtensa-lx106-elf/buildtools --with-mpc=/opt/xte/crosstool-NG/.build/xtensa-lx106-elf/buildtools --with-isl=/opt/xte/crosstool-NG/.build/xtensa-lx106-elf/buildtools --with-cloog=/opt/xte/crosstool-NG/.build/xtensa-lx106-elf/buildtools --with-libelf=/opt/xte/crosstool-NG/.build/xtensa-lx106-elf/buildtools --enable-lto --enable-target-optspace --disable-libgomp --disable-libmudflap --disable-nls --disable-multilib --enable-languages=c"; 3 | static const char thread_model[] = "single"; 4 | 5 | static const struct { 6 | const char *name, *value; 7 | } configure_default_options[] = { { NULL, NULL} }; 8 | -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/plugin/include/gimple-pretty-print.h: -------------------------------------------------------------------------------- 1 | /* Various declarations for pretty formatting of GIMPLE statements and 2 | expressions. 3 | Copyright (C) 2000-2013 Free Software Foundation, Inc. 4 | 5 | This file is part of GCC. 6 | 7 | GCC is free software; you can redistribute it and/or modify it under 8 | the terms of the GNU General Public License as published by the Free 9 | Software Foundation; either version 3, or (at your option) any later 10 | version. 11 | 12 | GCC is distributed in the hope that it will be useful, but WITHOUT ANY 13 | WARRANTY; without even the implied warranty of MERCHANTABILITY or 14 | FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 15 | for more details. 16 | 17 | You should have received a copy of the GNU General Public License 18 | along with GCC; see the file COPYING3. If not see 19 | . */ 20 | 21 | #ifndef GCC_GIMPLE_PRETTY_PRINT_H 22 | #define GCC_GIMPLE_PRETTY_PRINT_H 23 | 24 | #include "pretty-print.h" 25 | #include "tree-pretty-print.h" 26 | 27 | /* In gimple-pretty-print.c */ 28 | extern void debug_gimple_stmt (gimple); 29 | extern void debug_gimple_seq (gimple_seq); 30 | extern void print_gimple_seq (FILE *, gimple_seq, int, int); 31 | extern void print_gimple_stmt (FILE *, gimple, int, int); 32 | extern void print_gimple_expr (FILE *, gimple, int, int); 33 | extern void pp_gimple_stmt_1 (pretty_printer *, gimple, int, int); 34 | extern void gimple_dump_bb_for_graph (pretty_printer *, basic_block); 35 | 36 | #endif /* ! GCC_GIMPLE_PRETTY_PRINT_H */ 37 | -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/plugin/include/highlev-plugin-common.h: -------------------------------------------------------------------------------- 1 | /* Interface for high-level plugins in GCC - Parts common between GCC, 2 | ICI and high-level plugins. 3 | 4 | Copyright (C) 2009-2013 Free Software Foundation, Inc. 5 | 6 | Contributed by INRIA. 7 | 8 | This file is part of GCC. 9 | 10 | GCC is free software; you can redistribute it and/or modify it under 11 | the terms of the GNU General Public License as published by the Free 12 | Software Foundation; either version 3, or (at your option) any later 13 | version. 14 | 15 | GCC is distributed in the hope that it will be useful, but WITHOUT ANY 16 | WARRANTY; without even the implied warranty of MERCHANTABILITY or 17 | FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 18 | for more details. 19 | 20 | You should have received a copy of the GNU General Public License 21 | along with GCC; see the file COPYING3. If not see 22 | . */ 23 | 24 | #ifndef HIGHLEV_PLUGIN_COMMON_H 25 | #define HIGHLEV_PLUGIN_COMMON_H 26 | 27 | /* Return codes for invoke_plugin_callbacks / call_plugin_event . */ 28 | #define PLUGEVT_SUCCESS 0 29 | #define PLUGEVT_NO_EVENTS 1 30 | #define PLUGEVT_NO_SUCH_EVENT 2 31 | #define PLUGEVT_NO_CALLBACK 3 32 | 33 | #endif /* HIGHLEV_PLUGIN_COMMON_H */ 34 | -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/plugin/include/incpath.h: -------------------------------------------------------------------------------- 1 | /* Set up combined include path for the preprocessor. 2 | Copyright (C) 2003-2013 Free Software Foundation, Inc. 3 | 4 | This program is free software; you can redistribute it and/or modify it 5 | under the terms of the GNU General Public License as published by the 6 | Free Software Foundation; either version 3, or (at your option) any 7 | later version. 8 | 9 | This program is distributed in the hope that it will be useful, 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 | GNU General Public License for more details. 13 | 14 | You should have received a copy of the GNU General Public License 15 | along with this program; see the file COPYING3. If not see 16 | . */ 17 | 18 | extern void split_quote_chain (void); 19 | extern void add_path (char *, int, int, bool); 20 | extern void register_include_chains (cpp_reader *, const char *, 21 | const char *, const char *, 22 | int, int, int); 23 | extern void add_cpp_dir_path (struct cpp_dir *, int); 24 | extern struct cpp_dir *get_added_cpp_dirs (int); 25 | 26 | struct target_c_incpath_s { 27 | /* Do extra includes processing. STDINC is false iff -nostdinc was given. */ 28 | void (*extra_pre_includes) (const char *, const char *, int); 29 | void (*extra_includes) (const char *, const char *, int); 30 | }; 31 | 32 | extern struct target_c_incpath_s target_c_incpath; 33 | 34 | enum { QUOTE = 0, BRACKET, SYSTEM, AFTER }; 35 | -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/plugin/include/insn-constants.h: -------------------------------------------------------------------------------- 1 | /* Generated automatically by the program `genconstants' 2 | from the machine description file `md'. */ 3 | 4 | #ifndef GCC_INSN_CONSTANTS_H 5 | #define GCC_INSN_CONSTANTS_H 6 | 7 | #define A1_REG 1 8 | #define UNSPEC_TPOFF 5 9 | #define UNSPEC_MEMW 11 10 | #define A8_REG 8 11 | #define UNSPEC_TLS_ARG 8 12 | #define UNSPEC_TLS_CALL 9 13 | #define A9_REG 9 14 | #define UNSPECV_SET_FP 1 15 | #define UNSPECV_BLOCKAGE 8 16 | #define UNSPEC_TP 10 17 | #define UNSPECV_ENTRY 2 18 | #define UNSPEC_NOP 2 19 | #define UNSPEC_TLS_FUNC 7 20 | #define UNSPECV_SET_TP 7 21 | #define UNSPECV_S32C1I 5 22 | #define UNSPECV_EH_RETURN 6 23 | #define UNSPECV_S32RI 4 24 | #define UNSPEC_PLT 3 25 | #define UNSPEC_DTPOFF 6 26 | #define A0_REG 0 27 | #define UNSPEC_RET_ADDR 4 28 | #define A7_REG 7 29 | 30 | #endif /* GCC_INSN_CONSTANTS_H */ 31 | -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/plugin/include/internal-fn.h: -------------------------------------------------------------------------------- 1 | /* Internal functions. 2 | Copyright (C) 2011-2013 Free Software Foundation, Inc. 3 | 4 | This file is part of GCC. 5 | 6 | GCC is free software; you can redistribute it and/or modify it under 7 | the terms of the GNU General Public License as published by the Free 8 | Software Foundation; either version 3, or (at your option) any later 9 | version. 10 | 11 | GCC is distributed in the hope that it will be useful, but WITHOUT ANY 12 | WARRANTY; without even the implied warranty of MERCHANTABILITY or 13 | FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 14 | for more details. 15 | 16 | You should have received a copy of the GNU General Public License 17 | along with GCC; see the file COPYING3. If not see 18 | . */ 19 | 20 | #ifndef GCC_INTERNAL_FN_H 21 | #define GCC_INTERNAL_FN_H 22 | 23 | enum internal_fn { 24 | #define DEF_INTERNAL_FN(CODE, FLAGS) IFN_##CODE, 25 | #include "internal-fn.def" 26 | #undef DEF_INTERNAL_FN 27 | IFN_LAST 28 | }; 29 | 30 | /* Return the name of internal function FN. The name is only meaningful 31 | for dumps; it has no linkage. */ 32 | 33 | extern const char *const internal_fn_name_array[]; 34 | 35 | static inline const char * 36 | internal_fn_name (enum internal_fn fn) 37 | { 38 | return internal_fn_name_array[(int) fn]; 39 | } 40 | 41 | /* Return the ECF_* flags for function FN. */ 42 | 43 | extern const int internal_fn_flags_array[]; 44 | 45 | static inline int 46 | internal_fn_flags (enum internal_fn fn) 47 | { 48 | return internal_fn_flags_array[(int) fn]; 49 | } 50 | 51 | extern void expand_internal_call (gimple); 52 | 53 | #endif 54 | -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/plugin/include/ipa-reference.h: -------------------------------------------------------------------------------- 1 | /* IPA handling of references. 2 | Copyright (C) 2004-2013 Free Software Foundation, Inc. 3 | Contributed by Kenneth Zadeck 4 | 5 | This file is part of GCC. 6 | 7 | GCC is free software; you can redistribute it and/or modify it under 8 | the terms of the GNU General Public License as published by the Free 9 | Software Foundation; either version 3, or (at your option) any later 10 | version. 11 | 12 | GCC is distributed in the hope that it will be useful, but WITHOUT ANY 13 | WARRANTY; without even the implied warranty of MERCHANTABILITY or 14 | FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 15 | for more details. 16 | 17 | You should have received a copy of the GNU General Public License 18 | along with GCC; see the file COPYING3. If not see 19 | . */ 20 | 21 | #ifndef GCC_IPA_REFERENCE_H 22 | #define GCC_IPA_REFERENCE_H 23 | #include "bitmap.h" 24 | #include "tree.h" 25 | 26 | /* In ipa-reference.c */ 27 | bitmap ipa_reference_get_not_read_global (struct cgraph_node *fn); 28 | bitmap ipa_reference_get_not_written_global (struct cgraph_node *fn); 29 | 30 | #endif /* GCC_IPA_REFERENCE_H */ 31 | 32 | -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/plugin/include/java/java-tree.def: -------------------------------------------------------------------------------- 1 | /* This file contains the definitions and documentation for the 2 | extra tree codes used by gcj. 3 | Copyright (C) 1996-2013 Free Software Foundation, Inc. 4 | 5 | This file is part of GCC. 6 | 7 | GCC is free software; you can redistribute it and/or modify it under 8 | the terms of the GNU General Public License as published by the Free 9 | Software Foundation; either version 3, or (at your option) any later 10 | version. 11 | 12 | GCC is distributed in the hope that it will be useful, but WITHOUT ANY 13 | WARRANTY; without even the implied warranty of MERCHANTABILITY or 14 | FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 15 | for more details. 16 | 17 | You should have received a copy of the GNU General Public License 18 | along with GCC; see the file COPYING3. If not see 19 | . */ 20 | 21 | 22 | /* Shift right, logical. */ 23 | DEFTREECODE (URSHIFT_EXPR, "urshift_expr", tcc_binary, 2) 24 | 25 | /* Return -1, 0, 1 depending on whether the first argument is 26 | less, equal, or greater to the second argument. */ 27 | DEFTREECODE (COMPARE_EXPR, "compare_expr", tcc_binary, 2) 28 | 29 | /* Same as COMPARE_EXPR, but if either value is NaN, the result is -1. */ 30 | DEFTREECODE (COMPARE_L_EXPR, "compare_l_expr", tcc_binary, 2) 31 | /* Same as COMPARE_EXPR, but if either value is NaN, the result is 1. */ 32 | DEFTREECODE (COMPARE_G_EXPR, "compare_g_expr", tcc_binary, 2) 33 | 34 | /* 35 | Local variables: 36 | mode:c 37 | End: 38 | */ 39 | -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/plugin/include/plugin-version.h: -------------------------------------------------------------------------------- 1 | #include "configargs.h" 2 | 3 | #define GCCPLUGIN_VERSION_MAJOR 4 4 | #define GCCPLUGIN_VERSION_MINOR 8 5 | #define GCCPLUGIN_VERSION_PATCHLEVEL 2 6 | #define GCCPLUGIN_VERSION (GCCPLUGIN_VERSION_MAJOR*1000 + GCCPLUGIN_VERSION_MINOR) 7 | 8 | static char basever[] = "4.8.2"; 9 | static char datestamp[] = "20131016"; 10 | static char devphase[] = ""; 11 | static char revision[] = ""; 12 | 13 | /* FIXME plugins: We should make the version information more precise. 14 | One way to do is to add a checksum. */ 15 | 16 | static struct plugin_gcc_version gcc_version = {basever, datestamp, 17 | devphase, revision, 18 | configuration_arguments}; 19 | -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/plugin/include/prefix.h: -------------------------------------------------------------------------------- 1 | /* Provide prototypes for functions exported from prefix.c. 2 | Copyright (C) 1999-2013 Free Software Foundation, Inc. 3 | 4 | This file is part of GCC. 5 | 6 | GCC is free software; you can redistribute it and/or modify it under 7 | the terms of the GNU Library General Public License as published by 8 | the Free Software Foundation; either version 3 of the License, or (at 9 | your option) any later version. 10 | 11 | GCC is distributed in the hope that it will be useful, 12 | but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 | Library General Public License for more details. 15 | 16 | You should have received a copy of the GNU Library General Public 17 | License along with GCC; see the file COPYING3. If not see 18 | . */ 19 | 20 | 21 | #ifndef GCC_PREFIX_H 22 | #define GCC_PREFIX_H 23 | 24 | #ifdef __cplusplus 25 | extern "C" { 26 | #endif 27 | 28 | /* These functions are called by the Ada frontend with C convention. */ 29 | 30 | /* Update PATH using KEY if PATH starts with PREFIX. The returned 31 | string is always malloc-ed, and the caller is responsible for 32 | freeing it. */ 33 | extern char *update_path (const char *path, const char *key); 34 | extern void set_std_prefix (const char *, int); 35 | 36 | #ifdef __cplusplus 37 | } 38 | #endif 39 | 40 | #endif /* ! GCC_PREFIX_H */ 41 | -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/plugin/include/realmpfr.h: -------------------------------------------------------------------------------- 1 | /* Definitions of floating-point conversion from compiler 2 | internal format to MPFR. 3 | Copyright (C) 2010-2013 Free Software Foundation, Inc. 4 | 5 | This file is part of GCC. 6 | 7 | GCC is free software; you can redistribute it and/or modify it under 8 | the terms of the GNU General Public License as published by the Free 9 | Software Foundation; either version 3, or (at your option) any later 10 | version. 11 | 12 | GCC is distributed in the hope that it will be useful, but WITHOUT ANY 13 | WARRANTY; without even the implied warranty of MERCHANTABILITY or 14 | FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 15 | for more details. 16 | 17 | You should have received a copy of the GNU General Public License 18 | along with GCC; see the file COPYING3. If not see 19 | . */ 20 | 21 | #ifndef GCC_REALGMP_H 22 | #define GCC_REALGMP_H 23 | 24 | #include 25 | #include 26 | #include "real.h" 27 | 28 | /* In builtins.c. */ 29 | extern tree do_mpc_arg2 (tree, tree, tree, int, int (*)(mpc_ptr, mpc_srcptr, mpc_srcptr, mpc_rnd_t)); 30 | 31 | /* Convert between MPFR and REAL_VALUE_TYPE. The caller is 32 | responsible for initializing and clearing the MPFR parameter. */ 33 | 34 | extern void real_from_mpfr (REAL_VALUE_TYPE *, mpfr_srcptr, tree, mp_rnd_t); 35 | extern void mpfr_from_real (mpfr_ptr, const REAL_VALUE_TYPE *, mp_rnd_t); 36 | 37 | #endif /* ! GCC_REALGMP_H */ 38 | 39 | -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/plugin/include/tm.h: -------------------------------------------------------------------------------- 1 | #ifndef GCC_TM_H 2 | #define GCC_TM_H 3 | #ifndef LIBC_GLIBC 4 | # define LIBC_GLIBC 1 5 | #endif 6 | #ifndef LIBC_UCLIBC 7 | # define LIBC_UCLIBC 2 8 | #endif 9 | #ifndef LIBC_BIONIC 10 | # define LIBC_BIONIC 3 11 | #endif 12 | #ifdef IN_GCC 13 | # include "options.h" 14 | # include "insn-constants.h" 15 | # include "config/xtensa/xtensa.h" 16 | # include "config/dbxelf.h" 17 | # include "config/elfos.h" 18 | # include "config/newlib-stdint.h" 19 | # include "config/xtensa/elf.h" 20 | # include "config/initfini-array.h" 21 | #endif 22 | #if defined IN_GCC && !defined GENERATOR_FILE && !defined USED_FOR_TARGET 23 | # include "insn-flags.h" 24 | #endif 25 | # include "defaults.h" 26 | #endif /* GCC_TM_H */ 27 | -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/plugin/include/tm_p.h: -------------------------------------------------------------------------------- 1 | #ifndef GCC_TM_P_H 2 | #define GCC_TM_P_H 3 | #ifdef IN_GCC 4 | # include "config/xtensa/xtensa-protos.h" 5 | # include "tm-preds.h" 6 | #endif 7 | #endif /* GCC_TM_P_H */ 8 | -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/plugin/include/version.h: -------------------------------------------------------------------------------- 1 | #ifndef GCC_VERSION_H 2 | #define GCC_VERSION_H 3 | extern const char version_string[]; 4 | extern const char pkgversion_string[]; 5 | extern const char bug_report_url[]; 6 | #endif /* ! GCC_VERSION_H */ 7 | -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/lib/libiberty.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TuyaInc/tysdk_for_esp8266/f9a262970bda4786df5d5083426dea26cc61397a/platforms/xtensa-lx106-elf/lib/libiberty.a -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/libexec/gcc/xtensa-lx106-elf/4.8.2/cc1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TuyaInc/tysdk_for_esp8266/f9a262970bda4786df5d5083426dea26cc61397a/platforms/xtensa-lx106-elf/libexec/gcc/xtensa-lx106-elf/4.8.2/cc1 -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/libexec/gcc/xtensa-lx106-elf/4.8.2/collect2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TuyaInc/tysdk_for_esp8266/f9a262970bda4786df5d5083426dea26cc61397a/platforms/xtensa-lx106-elf/libexec/gcc/xtensa-lx106-elf/4.8.2/collect2 -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/libexec/gcc/xtensa-lx106-elf/4.8.2/install-tools/fixincl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TuyaInc/tysdk_for_esp8266/f9a262970bda4786df5d5083426dea26cc61397a/platforms/xtensa-lx106-elf/libexec/gcc/xtensa-lx106-elf/4.8.2/install-tools/fixincl -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/libexec/gcc/xtensa-lx106-elf/4.8.2/liblto_plugin.la: -------------------------------------------------------------------------------- 1 | # liblto_plugin.la - a libtool library file 2 | # Generated by libtool (GNU libtool 1.3134 2009-11-29) 2.2.7a 3 | # 4 | # Please DO NOT delete this file! 5 | # It is necessary for linking the library. 6 | 7 | # The name that we can dlopen(3). 8 | dlname='liblto_plugin.so.0' 9 | 10 | # Names of this library. 11 | library_names='liblto_plugin.so.0.0.0 liblto_plugin.so.0 liblto_plugin.so' 12 | 13 | # The name of the static archive. 14 | old_library='' 15 | 16 | # Linker flags that can not go in dependency_libs. 17 | inherited_linker_flags='' 18 | 19 | # Libraries that this one depends upon. 20 | dependency_libs=' -lstdc++ -lm' 21 | 22 | # Names of additional weak libraries provided by this library 23 | weak_library_names='' 24 | 25 | # Version information for liblto_plugin. 26 | current=0 27 | age=0 28 | revision=0 29 | 30 | # Is this an already installed library? 31 | installed=yes 32 | 33 | # Should we warn about portability when linking against -modules? 34 | shouldnotlink=yes 35 | 36 | # Files to dlopen/dlpreopen 37 | dlopen='' 38 | dlpreopen='' 39 | 40 | # Directory that this library needs to be installed in: 41 | libdir='/opt/xte/crosstool-NG/builds/xtensa-lx106-elf/libexec/gcc/xtensa-lx106-elf/4.8.2' 42 | -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/libexec/gcc/xtensa-lx106-elf/4.8.2/liblto_plugin.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TuyaInc/tysdk_for_esp8266/f9a262970bda4786df5d5083426dea26cc61397a/platforms/xtensa-lx106-elf/libexec/gcc/xtensa-lx106-elf/4.8.2/liblto_plugin.so -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/libexec/gcc/xtensa-lx106-elf/4.8.2/liblto_plugin.so.0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TuyaInc/tysdk_for_esp8266/f9a262970bda4786df5d5083426dea26cc61397a/platforms/xtensa-lx106-elf/libexec/gcc/xtensa-lx106-elf/4.8.2/liblto_plugin.so.0 -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/libexec/gcc/xtensa-lx106-elf/4.8.2/liblto_plugin.so.0.0.0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TuyaInc/tysdk_for_esp8266/f9a262970bda4786df5d5083426dea26cc61397a/platforms/xtensa-lx106-elf/libexec/gcc/xtensa-lx106-elf/4.8.2/liblto_plugin.so.0.0.0 -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/libexec/gcc/xtensa-lx106-elf/4.8.2/lto-wrapper: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TuyaInc/tysdk_for_esp8266/f9a262970bda4786df5d5083426dea26cc61397a/platforms/xtensa-lx106-elf/libexec/gcc/xtensa-lx106-elf/4.8.2/lto-wrapper -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/libexec/gcc/xtensa-lx106-elf/4.8.2/lto1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TuyaInc/tysdk_for_esp8266/f9a262970bda4786df5d5083426dea26cc61397a/platforms/xtensa-lx106-elf/libexec/gcc/xtensa-lx106-elf/4.8.2/lto1 -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/libexec/gcc/xtensa-lx106-elf/4.8.2/plugin/gengtype: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TuyaInc/tysdk_for_esp8266/f9a262970bda4786df5d5083426dea26cc61397a/platforms/xtensa-lx106-elf/libexec/gcc/xtensa-lx106-elf/4.8.2/plugin/gengtype -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/share/gdb/gdbinit: -------------------------------------------------------------------------------- 1 | python 2 | import sys 3 | sys.path.insert(0, '/opt/xte/crosstool-NG/builds/xtensa-lx106-elf/share/gcc-4.8.2/python') 4 | from libstdcxx.v6.printers import register_libstdcxx_printers 5 | register_libstdcxx_printers (None) 6 | end 7 | -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/share/gdb/python/gdb/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (C) 2010-2012 Free Software Foundation, Inc. 2 | 3 | # This program is free software; you can redistribute it and/or modify 4 | # it under the terms of the GNU General Public License as published by 5 | # the Free Software Foundation; either version 3 of the License, or 6 | # (at your option) any later version. 7 | # 8 | # This program is distributed in the hope that it will be useful, 9 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 10 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11 | # GNU General Public License for more details. 12 | # 13 | # You should have received a copy of the GNU General Public License 14 | # along with this program. If not, see . 15 | 16 | import traceback 17 | 18 | # Auto-load all functions/commands. 19 | 20 | # Modules to auto-load, and the paths where those modules exist. 21 | 22 | module_dict = { 23 | 'gdb.function': os.path.join(gdb.PYTHONDIR, 'gdb', 'function'), 24 | 'gdb.command': os.path.join(gdb.PYTHONDIR, 'gdb', 'command') 25 | } 26 | 27 | # Iterate the dictionary, collating the Python files in each module 28 | # path. Construct the module name, and import. 29 | 30 | for module, location in module_dict.iteritems(): 31 | if os.path.exists(location): 32 | py_files = filter(lambda x: x.endswith('.py') and x != '__init__.py', 33 | os.listdir(location)) 34 | 35 | for py_file in py_files: 36 | # Construct from foo.py, gdb.module.foo 37 | py_file = module + '.' + py_file[:-3] 38 | try: 39 | exec('import ' + py_file) 40 | except: 41 | print >> sys.stderr, traceback.format_exc() 42 | -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/share/gdb/python/gdb/command/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (C) 2010-2012 Free Software Foundation, Inc. 2 | 3 | # This program is free software; you can redistribute it and/or modify 4 | # it under the terms of the GNU General Public License as published by 5 | # the Free Software Foundation; either version 3 of the License, or 6 | # (at your option) any later version. 7 | # 8 | # This program is distributed in the hope that it will be useful, 9 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 10 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11 | # GNU General Public License for more details. 12 | # 13 | # You should have received a copy of the GNU General Public License 14 | # along with this program. If not, see . 15 | 16 | 17 | -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/share/gdb/syscalls/gdb-syscalls.dtd: -------------------------------------------------------------------------------- 1 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 15 | -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/xtensa-lx106-elf.yaml: -------------------------------------------------------------------------------- 1 | spec: 2 | name: xtensa-lx106-elf 3 | version: 1.0.5 4 | summary: embed module created by embedded-cli. 5 | homepage: YOUR_HOMEPAGE 6 | license: 7 | type: MIT 8 | file: LICENSE 9 | author: 10 | name: embedCi 11 | email: ci_manage 12 | source: 13 | git: https://code.registry.wgine.com/hardware_wifi_soc/xtensa-lx106-elf.git 14 | tag: 1.0.5 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/xtensa-lx106-elf/bin/ar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TuyaInc/tysdk_for_esp8266/f9a262970bda4786df5d5083426dea26cc61397a/platforms/xtensa-lx106-elf/xtensa-lx106-elf/bin/ar -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/xtensa-lx106-elf/bin/as: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TuyaInc/tysdk_for_esp8266/f9a262970bda4786df5d5083426dea26cc61397a/platforms/xtensa-lx106-elf/xtensa-lx106-elf/bin/as -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/xtensa-lx106-elf/bin/gcc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TuyaInc/tysdk_for_esp8266/f9a262970bda4786df5d5083426dea26cc61397a/platforms/xtensa-lx106-elf/xtensa-lx106-elf/bin/gcc -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/xtensa-lx106-elf/bin/ld: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TuyaInc/tysdk_for_esp8266/f9a262970bda4786df5d5083426dea26cc61397a/platforms/xtensa-lx106-elf/xtensa-lx106-elf/bin/ld -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/xtensa-lx106-elf/bin/ld.bfd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TuyaInc/tysdk_for_esp8266/f9a262970bda4786df5d5083426dea26cc61397a/platforms/xtensa-lx106-elf/xtensa-lx106-elf/bin/ld.bfd -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/xtensa-lx106-elf/bin/nm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TuyaInc/tysdk_for_esp8266/f9a262970bda4786df5d5083426dea26cc61397a/platforms/xtensa-lx106-elf/xtensa-lx106-elf/bin/nm -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/xtensa-lx106-elf/bin/objcopy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TuyaInc/tysdk_for_esp8266/f9a262970bda4786df5d5083426dea26cc61397a/platforms/xtensa-lx106-elf/xtensa-lx106-elf/bin/objcopy -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/xtensa-lx106-elf/bin/objdump: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TuyaInc/tysdk_for_esp8266/f9a262970bda4786df5d5083426dea26cc61397a/platforms/xtensa-lx106-elf/xtensa-lx106-elf/bin/objdump -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/xtensa-lx106-elf/bin/ranlib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TuyaInc/tysdk_for_esp8266/f9a262970bda4786df5d5083426dea26cc61397a/platforms/xtensa-lx106-elf/xtensa-lx106-elf/bin/ranlib -------------------------------------------------------------------------------- /platforms/xtensa-lx106-elf/xtensa-lx106-elf/bin/strip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TuyaInc/tysdk_for_esp8266/f9a262970bda4786df5d5083426dea26cc61397a/platforms/xtensa-lx106-elf/xtensa-lx106-elf/bin/strip -------------------------------------------------------------------------------- /sdk/esp8266/fac_include/espressif/esp8266/esp8266.h: -------------------------------------------------------------------------------- 1 | /* 2 | * ESPRSSIF MIT License 3 | * 4 | * Copyright (c) 2015 5 | * 6 | * Permission is hereby granted for use on ESPRESSIF SYSTEMS ESP8266 only, in which case, 7 | * it is free of charge, to any person obtaining a copy of this software and associated 8 | * documentation files (the "Software"), to deal in the Software without restriction, including 9 | * without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, 10 | * and/or sell copies of the Software, and to permit persons to whom the Software is furnished 11 | * to do so, subject to the following conditions: 12 | * 13 | * The above copyright notice and this permission notice shall be included in all copies or 14 | * substantial portions of the Software. 15 | * 16 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS 18 | * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR 19 | * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER 20 | * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 21 | * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 22 | * 23 | */ 24 | 25 | #ifndef __ESP8266_H__ 26 | #define __ESP8266_H__ 27 | 28 | #include "ets_sys.h" 29 | #include "eagle_soc.h" 30 | #include "gpio_register.h" 31 | #include "pin_mux_register.h" 32 | #include "spi_register.h" 33 | #include "timer_register.h" 34 | #include "uart_register.h" 35 | 36 | #endif 37 | 38 | -------------------------------------------------------------------------------- /sdk/esp8266/fac_include/lwip/apps/sntp_time.h: -------------------------------------------------------------------------------- 1 | /* 2 | * sntp_time.h 3 | * 4 | * Created on: 2016-11-9 5 | * Author: LiuHan 6 | */ 7 | 8 | #ifndef SNTP_TIME_H_ 9 | #define SNTP_TIME_H_ 10 | 11 | #include "lwip/opt.h" 12 | #include "lwip/timers.h" 13 | 14 | #define SECSPERMIN 60L 15 | #define MINSPERHOUR 60L 16 | #define HOURSPERDAY 24L 17 | #define SECSPERHOUR (SECSPERMIN * MINSPERHOUR) 18 | #define SECSPERDAY (SECSPERHOUR * HOURSPERDAY) 19 | #define DAYSPERWEEK 7 20 | #define MONSPERYEAR 12 21 | 22 | #define YEAR_BASE 1900 23 | #define EPOCH_YEAR 1970 24 | #define EPOCH_WDAY 4 25 | #define EPOCH_YEARS_SINCE_LEAP 2 26 | #define EPOCH_YEARS_SINCE_CENTURY 70 27 | #define EPOCH_YEARS_SINCE_LEAP_CENTURY 370 28 | 29 | #define isleap(y) ((((y) % 4) == 0 && ((y) % 100) != 0) || ((y) % 400) == 0) 30 | 31 | typedef long sntp_time_t; 32 | 33 | typedef struct{ 34 | int tm_sec; 35 | int tm_min; 36 | int tm_hour; 37 | int tm_mday; 38 | int tm_mon; 39 | int tm_year; 40 | int tm_wday; 41 | int tm_yday; 42 | int tm_isdst; 43 | }sntp_tm; 44 | 45 | typedef struct{ 46 | char ch; 47 | int m; 48 | int n; 49 | int d; 50 | int s; 51 | sntp_time_t change; 52 | int offset; 53 | }sntp_tm_type; 54 | 55 | void sntp_set_system_time(sntp_time_t GMT_Time); 56 | bool sntp_set_timezone(s8_t timezone); 57 | u32_t sntp_get_current_timestamp(void); 58 | char* sntp_get_real_time(sntp_time_t t); 59 | 60 | 61 | #endif /* SNTP_TIME_H_ */ 62 | -------------------------------------------------------------------------------- /sdk/esp8266/fac_include/lwip/netif/wlan_lwip_if.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2010-2011 Espressif System 3 | * 4 | */ 5 | 6 | #ifndef _WLAN_LWIP_IF_H_ 7 | #define _WLAN_LWIP_IF_H_ 8 | 9 | #include "lwip/err.h" 10 | 11 | err_t ethernetif_init(struct netif *netif); 12 | void ethernetif_input(struct netif *netif, struct pbuf *p); 13 | 14 | #ifndef IOT_SIP_MODE 15 | sint8 ieee80211_output_pbuf(struct netif *ifp, struct pbuf* pb); 16 | #else 17 | sint8 ieee80211_output_pbuf(struct ieee80211_conn *conn, esf_buf *eb); 18 | #endif 19 | 20 | #endif /* _WLAN_LWIP_IF_H_ */ 21 | -------------------------------------------------------------------------------- /sdk/esp8266/fac_include/lwip/posix/netdb.h: -------------------------------------------------------------------------------- 1 | /** 2 | * @file 3 | * This file is a posix wrapper for lwip/netdb.h. 4 | */ 5 | 6 | /* 7 | * Redistribution and use in source and binary forms, with or without modification, 8 | * are permitted provided that the following conditions are met: 9 | * 10 | * 1. Redistributions of source code must retain the above copyright notice, 11 | * this list of conditions and the following disclaimer. 12 | * 2. Redistributions in binary form must reproduce the above copyright notice, 13 | * this list of conditions and the following disclaimer in the documentation 14 | * and/or other materials provided with the distribution. 15 | * 3. The name of the author may not be used to endorse or promote products 16 | * derived from this software without specific prior written permission. 17 | * 18 | * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED 19 | * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 20 | * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT 21 | * SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 22 | * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT 23 | * OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 24 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 25 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING 26 | * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY 27 | * OF SUCH DAMAGE. 28 | * 29 | * This file is part of the lwIP TCP/IP stack. 30 | * 31 | */ 32 | 33 | #include "lwip/netdb.h" 34 | -------------------------------------------------------------------------------- /sdk/esp8266/fac_include/mqtt/MQTTUnsubscribe.h: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2014 IBM Corp. 3 | * 4 | * All rights reserved. This program and the accompanying materials 5 | * are made available under the terms of the Eclipse Public License v1.0 6 | * and Eclipse Distribution License v1.0 which accompany this distribution. 7 | * 8 | * The Eclipse Public License is available at 9 | * http://www.eclipse.org/legal/epl-v10.html 10 | * and the Eclipse Distribution License is available at 11 | * http://www.eclipse.org/org/documents/edl-v10.php. 12 | * 13 | * Contributors: 14 | * Ian Craggs - initial API and implementation and/or initial documentation 15 | * Xiang Rong - 442039 Add makefile to Embedded C client 16 | *******************************************************************************/ 17 | 18 | #ifndef MQTTUNSUBSCRIBE_H_ 19 | #define MQTTUNSUBSCRIBE_H_ 20 | 21 | #if !defined(DLLImport) 22 | #define DLLImport 23 | #endif 24 | #if !defined(DLLExport) 25 | #define DLLExport 26 | #endif 27 | 28 | DLLExport int MQTTSerialize_unsubscribe(unsigned char* buf, int buflen, unsigned char dup, unsigned short packetid, 29 | int count, MQTTString topicFilters[]); 30 | 31 | DLLExport int MQTTDeserialize_unsubscribe(unsigned char* dup, unsigned short* packetid, int max_count, int* count, MQTTString topicFilters[], 32 | unsigned char* buf, int len); 33 | 34 | DLLExport int MQTTSerialize_unsuback(unsigned char* buf, int buflen, unsigned short packetid); 35 | 36 | DLLExport int MQTTDeserialize_unsuback(unsigned short* packetid, unsigned char* buf, int len); 37 | 38 | #endif /* MQTTUNSUBSCRIBE_H_ */ 39 | -------------------------------------------------------------------------------- /sdk/esp8266/fac_include/openssl/internal/ssl3.h: -------------------------------------------------------------------------------- 1 | // Copyright 2015-2016 Espressif Systems (Shanghai) PTE LTD 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | #ifndef _SSL3_H_ 16 | #define _SSL3_H_ 17 | 18 | #ifdef __cplusplus 19 | extern "C" { 20 | #endif 21 | 22 | # define SSL3_AD_CLOSE_NOTIFY 0 23 | # define SSL3_AD_UNEXPECTED_MESSAGE 10/* fatal */ 24 | # define SSL3_AD_BAD_RECORD_MAC 20/* fatal */ 25 | # define SSL3_AD_DECOMPRESSION_FAILURE 30/* fatal */ 26 | # define SSL3_AD_HANDSHAKE_FAILURE 40/* fatal */ 27 | # define SSL3_AD_NO_CERTIFICATE 41 28 | # define SSL3_AD_BAD_CERTIFICATE 42 29 | # define SSL3_AD_UNSUPPORTED_CERTIFICATE 43 30 | # define SSL3_AD_CERTIFICATE_REVOKED 44 31 | # define SSL3_AD_CERTIFICATE_EXPIRED 45 32 | # define SSL3_AD_CERTIFICATE_UNKNOWN 46 33 | # define SSL3_AD_ILLEGAL_PARAMETER 47/* fatal */ 34 | 35 | # define SSL3_AL_WARNING 1 36 | # define SSL3_AL_FATAL 2 37 | 38 | #define SSL3_VERSION 0x0300 39 | 40 | #ifdef __cplusplus 41 | } 42 | #endif 43 | 44 | #endif 45 | -------------------------------------------------------------------------------- /sdk/esp8266/fac_include/openssl/internal/ssl_cert.h: -------------------------------------------------------------------------------- 1 | // Copyright 2015-2016 Espressif Systems (Shanghai) PTE LTD 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | #ifndef _SSL_CERT_H_ 16 | #define _SSL_CERT_H_ 17 | 18 | #ifdef __cplusplus 19 | extern "C" { 20 | #endif 21 | 22 | #include "ssl_types.h" 23 | 24 | /** 25 | * @brief create a certification object include private key object according to input certification 26 | * 27 | * @param ic - input certification point 28 | * 29 | * @return certification object point 30 | */ 31 | CERT *__ssl_cert_new(CERT *ic); 32 | 33 | /** 34 | * @brief create a certification object include private key object 35 | * 36 | * @param none 37 | * 38 | * @return certification object point 39 | */ 40 | CERT* ssl_cert_new(void); 41 | 42 | /** 43 | * @brief free a certification object 44 | * 45 | * @param cert - certification object point 46 | * 47 | * @return none 48 | */ 49 | void ssl_cert_free(CERT *cert); 50 | 51 | #ifdef __cplusplus 52 | } 53 | #endif 54 | 55 | #endif 56 | -------------------------------------------------------------------------------- /sdk/esp8266/fac_include/openssl/internal/ssl_lib.h: -------------------------------------------------------------------------------- 1 | // Copyright 2015-2016 Espressif Systems (Shanghai) PTE LTD 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | #ifndef _SSL_LIB_H_ 16 | #define _SSL_LIB_H_ 17 | 18 | #ifdef __cplusplus 19 | extern "C" { 20 | #endif 21 | 22 | #include "ssl_types.h" 23 | 24 | #ifdef __cplusplus 25 | } 26 | #endif 27 | 28 | #endif 29 | -------------------------------------------------------------------------------- /sdk/esp8266/fac_include/openssl/internal/ssl_stack.h: -------------------------------------------------------------------------------- 1 | #ifndef _SSL_STACK_H_ 2 | #define _SSL_STACK_H_ 3 | 4 | #ifdef __cplusplus 5 | extern "C" { 6 | #endif 7 | 8 | #include "ssl_types.h" 9 | 10 | #define STACK_OF(type) struct stack_st_##type 11 | 12 | #define SKM_DEFINE_STACK_OF(t1, t2, t3) \ 13 | STACK_OF(t1); \ 14 | static ossl_inline STACK_OF(t1) *sk_##t1##_new_null(void) \ 15 | { \ 16 | return (STACK_OF(t1) *)OPENSSL_sk_new_null(); \ 17 | } \ 18 | 19 | #define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t) 20 | 21 | /** 22 | * @brief create a openssl stack object 23 | * 24 | * @param c - stack function 25 | * 26 | * @return openssl stack object point 27 | */ 28 | OPENSSL_STACK* OPENSSL_sk_new(OPENSSL_sk_compfunc c); 29 | 30 | /** 31 | * @brief create a NULL function openssl stack object 32 | * 33 | * @param none 34 | * 35 | * @return openssl stack object point 36 | */ 37 | OPENSSL_STACK *OPENSSL_sk_new_null(void); 38 | 39 | /** 40 | * @brief free openssl stack object 41 | * 42 | * @param openssl stack object point 43 | * 44 | * @return none 45 | */ 46 | void OPENSSL_sk_free(OPENSSL_STACK *stack); 47 | 48 | #ifdef __cplusplus 49 | } 50 | #endif 51 | 52 | #endif 53 | -------------------------------------------------------------------------------- /sdk/esp8266/fac_include/ssl/ssl_platform.h: -------------------------------------------------------------------------------- 1 | /* 2 | * ssl_platom.h 3 | * 4 | * Created on: Sep 7, 2015 5 | * Author: liuhan 6 | */ 7 | 8 | #ifndef SSL_PLATOM_H_ 9 | #define SSL_PLATOM_H_ 10 | 11 | #include "ssl/ssl_os_port.h" 12 | #include "ssl/ssl_ssl.h" 13 | #include "ssl/ssl_tls1.h" 14 | 15 | typedef void * (*ssl_func_type_t)(void); 16 | typedef void * (*bio_func_type_t)(void); 17 | 18 | typedef struct 19 | { 20 | ssl_func_type_t ssl_func_type; 21 | } PLATOM_CTX; 22 | 23 | #define PLATOM_CTX_ATTR ((PLATOM_CTX *)ssl_ctx->bonus_attr) 24 | 25 | /*encapsulation the structure based on the espressif platform*/ 26 | struct _MD_CTX 27 | { 28 | unsigned char cksum[16]; /* checksum of the data block */ 29 | unsigned char state[48]; /* intermediate digest state */ 30 | unsigned char buffer[16]; /* data block being processed */ 31 | int left; /* amount of data in buffer */ 32 | }; 33 | 34 | typedef struct _MD_CTX EVP_MD_CTX; 35 | typedef unsigned char EVP_MD; 36 | typedef struct _x509_ctx X509; 37 | typedef struct _x509_ctx X509_STORE_CTX; 38 | //typedef struct _SSL SSL; 39 | //typedef struct _SSL_CTX SSL_CTX; 40 | 41 | #define ESP_SSL_ERROR_NONE 0 42 | #define ESP_SSL_ERROR_WANT_WRITE 1 43 | #define ESP_SSL_ERROR_WANT_READ 2 44 | #define ESP_SSL_ERROR_WANT_X509_LOOKUP 3 45 | #define ESP_SSL_ERROR_SYSCALL 4 46 | #define ESP_SSL_ERROR_ZERO_RETURN 5 47 | #define ESP_SSL_ERROR_SSL 6 48 | #define ESP_SSL_FILETYPE_PEM 10 49 | #define ESP_SSL_VERIFY_PEER 11 50 | #define ESP_EVP_MAX_MD_SIZE 6 51 | #define ESP_SSL_VERIFY_FAIL_IF_NO_PEER_CERT 4 52 | 53 | #endif /* SSL_PLATOM_H_ */ 54 | -------------------------------------------------------------------------------- /sdk/esp8266/fac_include/ssl/ssl_version.h: -------------------------------------------------------------------------------- 1 | #define AXTLS_VERSION "1.5.3" 2 | -------------------------------------------------------------------------------- /sdk/esp8266/fac_include/xtensa/simcall-fcntl.h: -------------------------------------------------------------------------------- 1 | /* File control operations for Xtensa ISS semihosting. */ 2 | 3 | /* Copyright (c) 2003 by Tensilica Inc. ALL RIGHTS RESERVED. 4 | These coded instructions, statements, and computer programs are the 5 | copyrighted works and confidential proprietary information of Tensilica Inc. 6 | They may not be modified, copied, reproduced, distributed, or disclosed to 7 | third parties in any manner, medium, or form, in whole or in part, without 8 | the prior written consent of Tensilica Inc. */ 9 | 10 | #ifndef _SIMCALL_FCNTL_H 11 | #define _SIMCALL_FCNTL_H 12 | 13 | #define _SIMC_O_APPEND 0x0008 14 | #define _SIMC_O_NONBLOCK 0x0080 15 | #define _SIMC_O_CREAT 0x0100 16 | #define _SIMC_O_TRUNC 0x0200 17 | #define _SIMC_O_EXCL 0x0400 18 | #define _SIMC_O_TEXT 0x4000 19 | #define _SIMC_O_BINARY 0x8000 20 | 21 | #endif /* ! _SIMCALL_FCNTL_H */ 22 | -------------------------------------------------------------------------------- /sdk/esp8266/fac_include/xtensa/tie/xt_MUL32.h: -------------------------------------------------------------------------------- 1 | /* Definitions for the 32-bit Integer Multiply Option. */ 2 | 3 | /* 4 | * Customer ID=7011; Build=0x2b6f6; Copyright (c) 2009 by Tensilica Inc. ALL RIGHTS RESERVED. 5 | * These coded instructions, statements, and computer programs are the 6 | * copyrighted works and confidential proprietary information of Tensilica Inc. 7 | * They may not be modified, copied, reproduced, distributed, or disclosed to 8 | * third parties in any manner, medium, or form, in whole or in part, without 9 | * the prior written consent of Tensilica Inc. 10 | */ 11 | 12 | /* NOTE: This file exists only for backward compatibility with RB-200X.x 13 | and earlier Xtensa releases. Starting with RC-2009.0 you should use 14 | . */ 15 | 16 | #ifndef _XTENSA_xt_MUL32_HEADER 17 | #define _XTENSA_xt_MUL32_HEADER 18 | 19 | #ifdef __XTENSA__ 20 | 21 | #include 22 | 23 | #endif /* __XTENSA__ */ 24 | #endif /* !_XTENSA_xt_MUL32_HEADER */ 25 | -------------------------------------------------------------------------------- /sdk/esp8266/tuya_include/aes_inf.h: -------------------------------------------------------------------------------- 1 | #ifndef _AES_INF_H_ 2 | #define _AES_INF_H_ 3 | 4 | #if 0 5 | #include 6 | #else 7 | #include "espressif/c_types.h" 8 | #endif 9 | 10 | #include "error_code.h" 11 | #include "tuya_cloud_types.h" 12 | 13 | 14 | void AES128_ECB_encrypt(uint8_t* input, const uint8_t* key, uint8_t *output); 15 | void AES128_ECB_decrypt(uint8_t* input, const uint8_t* key, uint8_t *output); 16 | 17 | 18 | void AES128_CBC_encrypt_buffer(uint8_t* output, uint8_t* input, uint32_t length, const uint8_t* key, const uint8_t* iv); 19 | void AES128_CBC_decrypt_buffer(uint8_t* output, uint8_t* input, uint32_t length, const uint8_t* key, const uint8_t* iv); 20 | 21 | 22 | OPERATE_RET aes128_ecb_encode(IN CONST BYTE_T *data,IN CONST UINT_T len,\ 23 | OUT BYTE_T **ec_data,OUT UINT_T *ec_len,\ 24 | IN CONST BYTE_T *key); 25 | 26 | OPERATE_RET aes128_ecb_decode(IN CONST BYTE_T *data,IN CONST UINT_T len,\ 27 | OUT BYTE_T **dec_data,OUT UINT_T *dec_len,\ 28 | IN CONST BYTE_T *key); 29 | 30 | INT_T aes128_get_data_actual_length(IN CONST BYTE_T *dec_data,IN CONST UINT_T dec_data_len); 31 | 32 | OPERATE_RET aes128_free_data(IN BYTE_T *data); 33 | 34 | #endif //_AES_INF_H_ 35 | -------------------------------------------------------------------------------- /sdk/esp8266/tuya_include/ansi_color.h: -------------------------------------------------------------------------------- 1 | // File: ansi_color.h 2 | // Author: 徐靖航 Xu Jinghang 3 | // comment: ANSI标准显色代码 需要终端程序支持,用于debug 4 | // date: 2017-04-21 5 | // demo: 6 | // printf(ANSI_RED "This text is red color\n" ANSI_OFF); // 这段代码将以红色显示 7 | #ifndef ANSI_COLOR_H 8 | #define ANSI_COLOR_H 9 | 10 | #define ANSI_OFF "\033[0m" // 关闭颜色配置 11 | #define ANSI_BOLD "\033[1m" // 加粗 12 | #define ANSI_UNDERLINE "\033[4m" // 下划线 13 | #define ANSI_BLINK "\033[5m" // 闪烁 14 | #define ANSI_NEGATIVE "\033[7m" // 反显 15 | 16 | #define ANSI_BLACK "\033[30m" // 黑 17 | #define ANSI_RED "\033[31m" // 红 18 | #define ANSI_GREEN "\033[32m" // 绿 19 | #define ANSI_YELLOW "\033[33m" // 黄 20 | #define ANSI_BLUE "\033[34m" // 蓝 21 | #define ANSI_MAGENTA "\033[35m" // 紫 22 | #define ANSI_CYAN "\033[36m" // 青 23 | #define ANSI_GRAY "\033[37m" // 灰 24 | 25 | #endif 26 | -------------------------------------------------------------------------------- /sdk/esp8266/tuya_include/deepsleep.h: -------------------------------------------------------------------------------- 1 | /*********************************************************** 2 | * File: deepsleep.h 3 | * Author: lt 4 | * Date: 170503 5 | ***********************************************************/ 6 | #ifndef __DEEPSLEEP_H__ 7 | #define __DEEPSLEEP_H__ 8 | 9 | #include "com_def.h" 10 | #include "sys_adapter.h" 11 | 12 | #ifdef __cplusplus 13 | extern "C" { 14 | #endif 15 | 16 | #ifdef _DEEPSLEEP_GLOBAL 17 | #define _DEEPSLEEP_EXT 18 | #else 19 | #define _DEEPSLEEP_EXT extern 20 | #endif 21 | 22 | 23 | /*********************************************************** 24 | *************************micro define*********************** 25 | ***********************************************************/ 26 | #define DEEP_SLEEP_DATA_MEM_ADDR 120 27 | #define INIT_MAGIC 0x7e7e55aa 28 | #define MAX_DS_CNT_NUM 1000 29 | 30 | /*********************************************************** 31 | *************************variable define******************** 32 | ***********************************************************/ 33 | 34 | 35 | /*********************************************************** 36 | *************************function define******************** 37 | ***********************************************************/ 38 | 39 | _DEEPSLEEP_EXT \ 40 | OPERATE_RET init_deep_sleep(VOID); 41 | 42 | _DEEPSLEEP_EXT \ 43 | OPERATE_RET control_system_start(IN VOID (*sys_first_power_on_cb)(VOID), 44 | IN VOID(*sys_not_first_power_on_cb)(VOID)); 45 | 46 | _DEEPSLEEP_EXT \ 47 | OPERATE_RET enter_deep_sleep_mode(VOID); 48 | 49 | 50 | _DEEPSLEEP_EXT \ 51 | OPERATE_RET get_time_start2now_us(OUT PUINT start2now_time); 52 | 53 | 54 | 55 | 56 | 57 | 58 | #endif 59 | 60 | -------------------------------------------------------------------------------- /sdk/esp8266/tuya_include/ffc/ffc_app.h: -------------------------------------------------------------------------------- 1 | #ifndef __TUYA_FFC_APP_H__ 2 | #define __TUYA_FFC_APP_H__ 3 | 4 | #ifdef __cplusplus 5 | extern "C" { 6 | #endif 7 | 8 | #include "ffc_env.h" 9 | #include "tuya_iot_wifi_ffc.h" 10 | 11 | typedef enum { 12 | FFC_GROUP_0 = 0x00, 13 | FFC_GROUP_1, 14 | FFC_GROUP_2, 15 | FFC_GROUP_3, 16 | } ffc_group_t; 17 | 18 | typedef enum { 19 | FFC_CHANNEL_SCAN_FLAG = 0x01, 20 | FFC_GROUP_SET_FLAG = 0x02, 21 | } ffc_flag_t; 22 | 23 | typedef FFC_CB_STATE_E ffc_cb_state_t; 24 | 25 | typedef struct { 26 | uint8_t *uuid; 27 | uint8_t auzkey[32 + 1]; 28 | uint8_t mac[6]; 29 | uint8_t channel[13]; 30 | uint8_t channel_count; 31 | uint32_t flag; 32 | } ffc_cfg_t; 33 | 34 | typedef struct { 35 | int (*channel_set)(uint8_t new_channel); 36 | uint8_t (*channel_get)(void); 37 | int (*send_frame)(uint8_t *frame, uint16_t frame_len, uint8_t src_mac[6], uint8_t dst_mac[6]); 38 | } ffc_ops_t; 39 | 40 | typedef struct { 41 | FFC_STATUS_CB status_cb; 42 | FFC_RECV_CB recv_cb; 43 | } ffc_cb_t; 44 | 45 | 46 | #define ffc_init tuya_iot_wifi_ffc_init 47 | #define ffc_bind tuya_iot_wifi_ffc_bind 48 | #define ffc_unbind tuya_iot_wifi_ffc_unbind 49 | #define ffc_send tuya_iot_wifi_ffc_send 50 | #define ffc_control tuya_iot_wifi_ffc_control 51 | 52 | 53 | #ifdef __cplusplus 54 | } 55 | #endif 56 | 57 | #endif /*__TUYA_FFC_APP_H__ */ 58 | 59 | -------------------------------------------------------------------------------- /sdk/esp8266/tuya_include/ffc/tuya_iot_wifi_ffc.h: -------------------------------------------------------------------------------- 1 | /*! 2 | \file tuya_iot_wifi_ffc.h 3 | Copyright(C),2017, 涂鸦科技 www.tuya.comm 4 | */ 5 | 6 | #ifndef _TUYA_IOT_WIFI_FFC_H 7 | #define _TUYA_IOT_WIFI_FFC_H 8 | 9 | #ifdef __cplusplus 10 | extern "C" { 11 | #endif 12 | 13 | #include "tuya_cloud_types.h" 14 | 15 | #define FFC_MASTER 0x01 16 | #define FFC_SLAVER 0x02 17 | 18 | typedef enum { 19 | FFC_INIT_STATE = 0, 20 | FFC_CONTROL_STATE, 21 | FFC_BINDING_BEGIN_STATE, 22 | FFC_BINDING_SUCCESS_STATE, 23 | FFC_BINDING_FINSH_STATE, 24 | } FFC_CB_STATE_E; 25 | 26 | typedef INT_T (*FFC_STATUS_CB)(FFC_CB_STATE_E state); 27 | typedef INT_T (*FFC_RECV_CB)(BYTE_T *data_cmd, SHORT_T data_len); 28 | 29 | OPERATE_RET tuya_iot_wifi_ffc_init(BYTE_T role, FFC_STATUS_CB status_cb, FFC_RECV_CB recv_cb); 30 | OPERATE_RET tuya_iot_wifi_ffc_bind(SHORT_T timeout_s); 31 | OPERATE_RET tuya_iot_wifi_ffc_unbind(SHORT_T timeout_s); 32 | OPERATE_RET tuya_iot_wifi_ffc_send(BYTE_T *data, SHORT_T len); 33 | OPERATE_RET tuya_iot_wifi_ffc_control(INT_T flag, VOID_T *data); 34 | 35 | 36 | #ifdef __cplusplus 37 | } 38 | #endif 39 | 40 | #endif /*_TUYA_IOT_WIFI_FFC_H*/ 41 | 42 | -------------------------------------------------------------------------------- /sdk/esp8266/tuya_include/mbedtls/aes_alt.h: -------------------------------------------------------------------------------- 1 | #ifndef MBEDTLS_AES_INF_H 2 | #define MBEDTLS_AES_INF_H 3 | 4 | #include 5 | #include 6 | 7 | #ifdef __cplusplus 8 | extern "C" { 9 | #endif 10 | 11 | 12 | typedef struct 13 | { 14 | uint8_t aes_key[16]; 15 | } 16 | mbedtls_aes_context; 17 | 18 | #ifdef __cplusplus 19 | } 20 | #endif 21 | 22 | #endif /* aes.h */ 23 | -------------------------------------------------------------------------------- /sdk/esp8266/tuya_include/mbedtls/net.h: -------------------------------------------------------------------------------- 1 | /** 2 | * \file net.h 3 | * 4 | * \brief Deprecated header file that includes mbedtls/net_sockets.h 5 | * 6 | * \deprecated Superseded by mbedtls/net_sockets.h 7 | */ 8 | /* 9 | * Copyright (C) 2006-2016, ARM Limited, All Rights Reserved 10 | * SPDX-License-Identifier: Apache-2.0 11 | * 12 | * Licensed under the Apache License, Version 2.0 (the "License"); you may 13 | * not use this file except in compliance with the License. 14 | * You may obtain a copy of the License at 15 | * 16 | * http://www.apache.org/licenses/LICENSE-2.0 17 | * 18 | * Unless required by applicable law or agreed to in writing, software 19 | * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 20 | * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 21 | * See the License for the specific language governing permissions and 22 | * limitations under the License. 23 | * 24 | * This file is part of mbed TLS (https://tls.mbed.org) 25 | */ 26 | 27 | #if !defined(MBEDTLS_DEPRECATED_REMOVED) 28 | #include "mbedtls/net_sockets.h" 29 | #if defined(MBEDTLS_DEPRECATED_WARNING) 30 | #warning "Deprecated header file: Superseded by mbedtls/net_sockets.h" 31 | #endif /* MBEDTLS_DEPRECATED_WARNING */ 32 | #endif /* !MBEDTLS_DEPRECATED_REMOVED */ 33 | -------------------------------------------------------------------------------- /sdk/esp8266/tuya_include/mqtt_client.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TuyaInc/tysdk_for_esp8266/f9a262970bda4786df5d5083426dea26cc61397a/sdk/esp8266/tuya_include/mqtt_client.h -------------------------------------------------------------------------------- /sdk/esp8266/tuya_include/smart_link.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TuyaInc/tysdk_for_esp8266/f9a262970bda4786df5d5083426dea26cc61397a/sdk/esp8266/tuya_include/smart_link.h -------------------------------------------------------------------------------- /sdk/esp8266/tuya_include/smart_wf_frame.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TuyaInc/tysdk_for_esp8266/f9a262970bda4786df5d5083426dea26cc61397a/sdk/esp8266/tuya_include/smart_wf_frame.h -------------------------------------------------------------------------------- /sdk/esp8266/tuya_include/sys_adapter.h: -------------------------------------------------------------------------------- 1 | /*********************************************************** 2 | * File: sys_adapter.h 3 | * Author: nzy 4 | * Date: 20150526 5 | ***********************************************************/ 6 | #ifndef _SYS_ADAPTER_H 7 | #define _SYS_ADAPTER_H 8 | 9 | #define __time_t_defined // for timt_t redefined 10 | #include "com_def.h" 11 | #include "tuya_cloud_types.h" 12 | #include "error_code.h" 13 | #include "esp_common.h" 14 | #include "mem_pool.h" 15 | #include "freertos/FreeRTOS.h" 16 | #include "freertos/semphr.h" 17 | #include "freertos/task.h" 18 | #include "system/uni_system.h" 19 | #include "system/uni_log.h" 20 | 21 | #ifdef __cplusplus 22 | extern "C" { 23 | #endif 24 | 25 | #ifdef __SYS_ADAPTER_GLOBALS 26 | #define __SYS_ADAPTER_EXT 27 | #else 28 | #define __SYS_ADAPTER_EXT extern 29 | #endif 30 | 31 | /*********************************************************** 32 | *************************micro define*********************** 33 | ***********************************************************/ 34 | // rtos type,only select one as follow: 35 | // #define LINUX 36 | #define FREERTOS 37 | 38 | #ifdef __cplusplus 39 | } 40 | #endif 41 | #endif 42 | 43 | -------------------------------------------------------------------------------- /sdk/esp8266/tuya_include/system/uni_log.h: -------------------------------------------------------------------------------- 1 | /*********************************************************** 2 | * File: uni_log.h 3 | * Author: nzy 4 | * Date: 120427 5 | ***********************************************************/ 6 | #ifndef _UNI_LOG_H 7 | #define _UNI_LOG_H 8 | 9 | 10 | #include "com_def.h" 11 | #include "error_code.h" 12 | #include "sys_adapter.h" 13 | 14 | #ifdef __cplusplus 15 | extern "C" { 16 | #endif 17 | 18 | #ifdef _UNI_LOG_GLOBAL 19 | #define _UNI_LOG_EXT 20 | #else 21 | #define _UNI_LOG_EXT extern 22 | #endif 23 | 24 | 25 | #if DEBUG 26 | #define PR_DEBUG(_fmt_, ...) \ 27 | os_printf("D:%s:%d"_fmt_"\n", __FILE__,__LINE__,##__VA_ARGS__) 28 | #define PR_DEBUG_RAW(_fmt_, ...) \ 29 | os_printf(_fmt_,##__VA_ARGS__) 30 | #else 31 | #define PR_DEBUG(...) 32 | #define PR_DEBUG_RAW(_fmt_, ...) 33 | #endif 34 | 35 | #define PR_NOTICE(_fmt_, ...) \ 36 | os_printf("N:%s:%d"_fmt_"\n", __FILE__,__LINE__,##__VA_ARGS__) 37 | #define PR_ERR(_fmt_, ...) \ 38 | os_printf("E:%s:%d"_fmt_"\n", __FILE__,__LINE__,##__VA_ARGS__) 39 | 40 | 41 | 42 | #define PrintLogRaw os_printf 43 | 44 | #ifdef __cplusplus 45 | } 46 | #endif /* __cplusplus */ 47 | 48 | #endif 49 | 50 | 51 | -------------------------------------------------------------------------------- /sdk/esp8266/tuya_include/system/uni_system.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TuyaInc/tysdk_for_esp8266/f9a262970bda4786df5d5083426dea26cc61397a/sdk/esp8266/tuya_include/system/uni_system.h -------------------------------------------------------------------------------- /sdk/esp8266/tuya_include/system/uni_thread.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TuyaInc/tysdk_for_esp8266/f9a262970bda4786df5d5083426dea26cc61397a/sdk/esp8266/tuya_include/system/uni_thread.h -------------------------------------------------------------------------------- /sdk/esp8266/tuya_include/tuya_gpio_api.h: -------------------------------------------------------------------------------- 1 | #ifndef _TUYA_GPIO_API_H 2 | #define _TUYA_GPIO_API_H 3 | 4 | #include "com_def.h" 5 | 6 | /************************************************************************************* 7 | 函数功能: 读取GPIO电平 8 | 输入参数: gpio_no:0-16分别对应IO0-IO16 9 | 输出参数: 无 10 | 返 回 值: 0 低电平 1 高电平 11 | 备 注: 无 12 | *************************************************************************************/ 13 | INT tuya_read_gpio_level(USHORT gpio_no); 14 | 15 | /************************************************************************************* 16 | 函数功能: 写入GPIO电平 17 | 输入参数: gpio_no:0-16分别对应IO0-IO16 18 | level GPIO电平 19 | <1> 0 低电平 20 | <2> 1 高电平 21 | 输出参数: 无 22 | 返 回 值: 无 23 | 备 注: 无 24 | *************************************************************************************/ 25 | VOID tuya_write_gpio_level(USHORT gpio_no, UCHAR level); 26 | 27 | /************************************************************************************* 28 | 函数功能: tuya sdk 在pre_app_int后app_init前初始化所有gpio为输入 如果想快速启动gpio, 29 | 可以在pre_app_int中启动该api,初始化为输出,后面不在初始化引脚为输入,达到快速启动 30 | 输入参数: gpio_info_list:初始化为输出的gpio数组 31 | gpio_num gpio个数 32 | 输出参数: 无 33 | 返 回 值: 无 34 | 备 注: 无 35 | *************************************************************************************/ 36 | VOID tuya_pre_app_set_gpio_out(UCHAR gpio_info_list[], UCHAR gpio_num); 37 | 38 | 39 | #endif 40 | -------------------------------------------------------------------------------- /sdk/esp8266/tuya_include/tuya_gpio_test.h: -------------------------------------------------------------------------------- 1 | /*********************************************************** 2 | * File: gpio_test.h 3 | * Author: anby 4 | * Date: 20170726 5 | ***********************************************************/ 6 | #ifndef _TUYA_GPIO_TEST_H 7 | #define _TUYA_GPIO_TEST_H 8 | 9 | #include "sys_adapter.h" 10 | 11 | BOOL tuya_all_gpio_test(VOID); 12 | 13 | BOOL tuya_auto_gpio_test(VOID); 14 | 15 | 16 | #endif 17 | 18 | -------------------------------------------------------------------------------- /sdk/esp8266/tuya_include/tuya_ir_control.h: -------------------------------------------------------------------------------- 1 | /*! 2 | \file tuya_ir_control.h 3 | Copyright(C),2017, 涂鸦科技 www.tuya.comm 4 | */ 5 | #ifndef _TUYA_IR_CONTROL_H 6 | #define _TUYA_IR_CONTROL_H 7 | 8 | #include "com_def.h" 9 | #include "cJSON.h" 10 | 11 | #ifdef __cplusplus 12 | extern "C" { 13 | #endif 14 | 15 | #define TY_SYSTEM_DP_IR_CTL 201 16 | #define TY_SYSTEM_DP_STUDY_REPORT 202 17 | 18 | typedef enum { 19 | TY_IR_STUDY_START = 0, 20 | TY_IR_STUDY_EXIT = 1, 21 | 22 | }TY_IR_STUDY_CTL_E; 23 | 24 | typedef struct { 25 | // UINT *code; 26 | USHORT *code; 27 | USHORT code_len; 28 | BYTE send_count; //repeat send count, don't need delay 29 | UINT feq; 30 | USHORT delay; //ms 31 | 32 | }TY_IR_CODE_S; 33 | 34 | typedef VOID (*TY_IR_STUDY_CTL_CB)(TY_IR_STUDY_CTL_E mode); 35 | typedef VOID (*TY_IR_SEND_CB)(TY_IR_CODE_S *ir_code, UCHAR code_num); 36 | 37 | typedef struct { 38 | TY_IR_STUDY_CTL_CB study_ctl_cb; 39 | TY_IR_SEND_CB send_cb; 40 | 41 | }TY_IR_CONTROL_CBS_S; 42 | 43 | OPERATE_RET tuya_ir_control_register(IN CONST TY_IR_CONTROL_CBS_S *p_ir_cbs); 44 | OPERATE_RET tuya_ir_study_code_report(IN CONST USHORT *p_code, IN CONST UINT code_len); 45 | OPERATE_RET tuya_ir_study_error_report(); 46 | OPERATE_RET tuya_ir_code_free(IN TY_IR_CODE_S *ir_code, IN UCHAR code_num); 47 | OPERATE_RET tuya_ir_study_stat_report(IN TY_IR_STUDY_CTL_E mode); 48 | 49 | #ifdef __cplusplus 50 | } 51 | #endif 52 | 53 | #endif 54 | 55 | -------------------------------------------------------------------------------- /sdk/esp8266/tuya_include/tuya_led_api.h: -------------------------------------------------------------------------------- 1 | /*********************************************************** 2 | * File: tuya_led_api.h 3 | * Author: anby 4 | * Date: 20160629 5 | ***********************************************************/ 6 | #ifndef _TUYA_LED_API_H 7 | #define _TUYA_LED_API_H 8 | 9 | #include "led_indicator.h" 10 | 11 | /************************************************************************************* 12 | 函数功能: 创建LED控制句柄 13 | 输入参数: gpio_no GPIO序号 14 | 输出参数: handle LED句柄 15 | 返 回 值: 参照返回值列表 16 | 备 注: 无 17 | *************************************************************************************/ 18 | OPERATE_RET tuya_create_led_handle(IN CONST INT gpio_no,OUT LED_HANDLE *handle); 19 | 20 | /************************************************************************************* 21 | 函数功能: LED控制 22 | 输入参数: handle LED句柄 23 | type 控制类型 24 | <1> OL_LOW LED低电平 25 | <2> OL_HIGH LED高电平 26 | <3> OL_FLASH_LOW LED低电平闪烁 27 | <4> OL_FLASH_HIGH LED高电平闪烁 28 | flh_mstime 闪烁间隔时间 29 | 输出参数: 无 30 | 返 回 值: 参照返回值列表 31 | 备 注: 无 32 | *************************************************************************************/ 33 | VOID tuya_set_led_type(IN CONST LED_HANDLE handle,IN CONST LED_LT_E type,IN CONST USHORT flh_mstime); 34 | 35 | #endif 36 | 37 | -------------------------------------------------------------------------------- /sdk/esp8266/tuya_include/tuya_tls.h: -------------------------------------------------------------------------------- 1 | #ifndef TUYA_TLS_H 2 | #define TUYA_TLS_H 3 | 4 | /* mbedtls 仅仅用于通道加密通讯,不再用于通道建立。*/ 5 | 6 | #include "tuya_cloud_types.h" 7 | 8 | typedef PVOID_T tuya_tls_hander; 9 | 10 | typedef INT_T (*tuya_tls_send_cb)( VOID *p_custom_net_ctx, CONST BYTE_T *buf, SIZE_T len); 11 | typedef INT_T (*tuya_tls_recv_cb)( VOID *p_custom_net_ctx, BYTE_T *buf, SIZE_T len); 12 | VOID tuya_tls_register_constant(IN CHAR_T *p_uuid, IN CHAR_T *p_authkey, IN CHAR_T *p_psk_key); 13 | VOID tuya_tls_register_psk(IN CHAR_T *p_psk_key); 14 | 15 | VOID tuya_tls_set_ssl_verify(IN CONST INT_T verify_mode); 16 | INT_T tuya_tls_register_x509_crt_der(VOID *p_ctx, UCHAR_T *p_der, UINT_T der_len); 17 | 18 | VOID tuya_tls_set_load_cert(BOOL_T load); 19 | OPERATE_RET tuya_tls_connect(OUT tuya_tls_hander *p_tls_handler, IN CHAR_T *hostname,IN INT_T port_num, 20 | IN VOID *p_custom_net_ctx, IN tuya_tls_send_cb send_cb, IN tuya_tls_recv_cb recv_cb, 21 | IN INT_T socket_fd, IN INT_T overtime_s); 22 | 23 | INT_T tuya_tls_write(IN tuya_tls_hander tls_handler, BYTE_T *buf, UINT_T len); 24 | INT_T tuya_tls_read(IN tuya_tls_hander tls_handler, BYTE_T *buf, UINT_T len); 25 | OPERATE_RET tuya_tls_disconnect(IN tuya_tls_hander tls_handler); 26 | 27 | 28 | 29 | 30 | #endif//TUYA_TLS_H 31 | 32 | 33 | -------------------------------------------------------------------------------- /sdk/esp8266/tuya_include/uni_base64.h: -------------------------------------------------------------------------------- 1 | /*********************************************************** 2 | * File: base64.h 3 | * Author: nzy 4 | * Date: 20150609 5 | ***********************************************************/ 6 | #ifndef _UNI_BASE64_H 7 | #define _UNI_BASE64_H 8 | 9 | #ifdef __cplusplus 10 | extern "C" { 11 | #endif 12 | 13 | #ifdef __BASE64_GLOBALS 14 | #define __BASE64_EXT 15 | #else 16 | #define __BASE64_EXT extern 17 | #endif 18 | 19 | /*********************************************************** 20 | *************************micro define*********************** 21 | ***********************************************************/ 22 | 23 | 24 | /*********************************************************** 25 | *************************variable define******************** 26 | ***********************************************************/ 27 | 28 | 29 | /*********************************************************** 30 | *************************function define******************** 31 | ***********************************************************/ 32 | __BASE64_EXT \ 33 | char * base64_encode( const unsigned char * bindata, char * base64, int binlength ); 34 | 35 | __BASE64_EXT \ 36 | int base64_decode( const char * base64, unsigned char * bindata ); 37 | 38 | #ifdef __cplusplus 39 | } 40 | #endif 41 | #endif 42 | 43 | -------------------------------------------------------------------------------- /sdk/esp8266/tuya_include/uni_md5.h: -------------------------------------------------------------------------------- 1 | #ifndef _UNI_MD5_H 2 | #define _UNI_MD5_H 3 | 4 | typedef struct 5 | { 6 | unsigned int count[2]; 7 | unsigned int state[4]; 8 | unsigned char buffer[64]; 9 | }MD5_CTX; 10 | 11 | #define F(x,y,z) ((x & y) | (~x & z)) 12 | #define G(x,y,z) ((x & z) | (y & ~z)) 13 | #define H(x,y,z) (x^y^z) 14 | #define I(x,y,z) (y ^ (x | ~z)) 15 | #define ROTATE_LEFT(x,n) ((x << n) | (x >> (32-n))) 16 | #define FF(a,b,c,d,x,s,ac) \ 17 | { \ 18 | a += F(b,c,d) + x + ac; \ 19 | a = ROTATE_LEFT(a,s); \ 20 | a += b; \ 21 | } 22 | #define GG(a,b,c,d,x,s,ac) \ 23 | { \ 24 | a += G(b,c,d) + x + ac; \ 25 | a = ROTATE_LEFT(a,s); \ 26 | a += b; \ 27 | } 28 | #define HH(a,b,c,d,x,s,ac) \ 29 | { \ 30 | a += H(b,c,d) + x + ac; \ 31 | a = ROTATE_LEFT(a,s); \ 32 | a += b; \ 33 | } 34 | #define II(a,b,c,d,x,s,ac) \ 35 | { \ 36 | a += I(b,c,d) + x + ac; \ 37 | a = ROTATE_LEFT(a,s); \ 38 | a += b; \ 39 | } 40 | void md5_init(MD5_CTX *context); 41 | void md5_update(MD5_CTX *context,unsigned char *input,unsigned int inputlen); 42 | void md5_final(MD5_CTX *context,unsigned char digest[16]); 43 | void md5_transform(unsigned int state[4],unsigned char block[64]); 44 | void md5_encode(unsigned char *output,unsigned int *input,unsigned int len); 45 | void md5_decode(unsigned int *output,unsigned char *input,unsigned int len); 46 | 47 | 48 | typedef MD5_CTX UNI_MD5_CTX_S; 49 | #define uni_md5_init md5_init 50 | #define uni_md5_update md5_update 51 | #define uni_md5_final md5_final 52 | 53 | 54 | 55 | 56 | 57 | #endif 58 | -------------------------------------------------------------------------------- /sdk/lib/fac_lib/libacalg.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TuyaInc/tysdk_for_esp8266/f9a262970bda4786df5d5083426dea26cc61397a/sdk/lib/fac_lib/libacalg.a -------------------------------------------------------------------------------- /sdk/lib/fac_lib/libaipwm.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TuyaInc/tysdk_for_esp8266/f9a262970bda4786df5d5083426dea26cc61397a/sdk/lib/fac_lib/libaipwm.a -------------------------------------------------------------------------------- /sdk/lib/fac_lib/libairkiss.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TuyaInc/tysdk_for_esp8266/f9a262970bda4786df5d5083426dea26cc61397a/sdk/lib/fac_lib/libairkiss.a -------------------------------------------------------------------------------- /sdk/lib/fac_lib/libcirom.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TuyaInc/tysdk_for_esp8266/f9a262970bda4786df5d5083426dea26cc61397a/sdk/lib/fac_lib/libcirom.a -------------------------------------------------------------------------------- /sdk/lib/fac_lib/libcoap.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TuyaInc/tysdk_for_esp8266/f9a262970bda4786df5d5083426dea26cc61397a/sdk/lib/fac_lib/libcoap.a -------------------------------------------------------------------------------- /sdk/lib/fac_lib/libcrypto.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TuyaInc/tysdk_for_esp8266/f9a262970bda4786df5d5083426dea26cc61397a/sdk/lib/fac_lib/libcrypto.a -------------------------------------------------------------------------------- /sdk/lib/fac_lib/libespconn.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TuyaInc/tysdk_for_esp8266/f9a262970bda4786df5d5083426dea26cc61397a/sdk/lib/fac_lib/libespconn.a -------------------------------------------------------------------------------- /sdk/lib/fac_lib/libespnow.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TuyaInc/tysdk_for_esp8266/f9a262970bda4786df5d5083426dea26cc61397a/sdk/lib/fac_lib/libespnow.a -------------------------------------------------------------------------------- /sdk/lib/fac_lib/libfreertos.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TuyaInc/tysdk_for_esp8266/f9a262970bda4786df5d5083426dea26cc61397a/sdk/lib/fac_lib/libfreertos.a -------------------------------------------------------------------------------- /sdk/lib/fac_lib/libgcc.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TuyaInc/tysdk_for_esp8266/f9a262970bda4786df5d5083426dea26cc61397a/sdk/lib/fac_lib/libgcc.a -------------------------------------------------------------------------------- /sdk/lib/fac_lib/libhal.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TuyaInc/tysdk_for_esp8266/f9a262970bda4786df5d5083426dea26cc61397a/sdk/lib/fac_lib/libhal.a -------------------------------------------------------------------------------- /sdk/lib/fac_lib/libjson.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TuyaInc/tysdk_for_esp8266/f9a262970bda4786df5d5083426dea26cc61397a/sdk/lib/fac_lib/libjson.a -------------------------------------------------------------------------------- /sdk/lib/fac_lib/liblwip.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TuyaInc/tysdk_for_esp8266/f9a262970bda4786df5d5083426dea26cc61397a/sdk/lib/fac_lib/liblwip.a -------------------------------------------------------------------------------- /sdk/lib/fac_lib/libmain.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TuyaInc/tysdk_for_esp8266/f9a262970bda4786df5d5083426dea26cc61397a/sdk/lib/fac_lib/libmain.a -------------------------------------------------------------------------------- /sdk/lib/fac_lib/libmbedtls.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TuyaInc/tysdk_for_esp8266/f9a262970bda4786df5d5083426dea26cc61397a/sdk/lib/fac_lib/libmbedtls.a -------------------------------------------------------------------------------- /sdk/lib/fac_lib/libminic.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TuyaInc/tysdk_for_esp8266/f9a262970bda4786df5d5083426dea26cc61397a/sdk/lib/fac_lib/libminic.a -------------------------------------------------------------------------------- /sdk/lib/fac_lib/libmirom.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TuyaInc/tysdk_for_esp8266/f9a262970bda4786df5d5083426dea26cc61397a/sdk/lib/fac_lib/libmirom.a -------------------------------------------------------------------------------- /sdk/lib/fac_lib/libmqtt.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TuyaInc/tysdk_for_esp8266/f9a262970bda4786df5d5083426dea26cc61397a/sdk/lib/fac_lib/libmqtt.a -------------------------------------------------------------------------------- /sdk/lib/fac_lib/libnet80211.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TuyaInc/tysdk_for_esp8266/f9a262970bda4786df5d5083426dea26cc61397a/sdk/lib/fac_lib/libnet80211.a -------------------------------------------------------------------------------- /sdk/lib/fac_lib/libnopoll.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TuyaInc/tysdk_for_esp8266/f9a262970bda4786df5d5083426dea26cc61397a/sdk/lib/fac_lib/libnopoll.a -------------------------------------------------------------------------------- /sdk/lib/fac_lib/libopenssl.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TuyaInc/tysdk_for_esp8266/f9a262970bda4786df5d5083426dea26cc61397a/sdk/lib/fac_lib/libopenssl.a -------------------------------------------------------------------------------- /sdk/lib/fac_lib/libphy.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TuyaInc/tysdk_for_esp8266/f9a262970bda4786df5d5083426dea26cc61397a/sdk/lib/fac_lib/libphy.a -------------------------------------------------------------------------------- /sdk/lib/fac_lib/libpp.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TuyaInc/tysdk_for_esp8266/f9a262970bda4786df5d5083426dea26cc61397a/sdk/lib/fac_lib/libpp.a -------------------------------------------------------------------------------- /sdk/lib/fac_lib/libpwm.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TuyaInc/tysdk_for_esp8266/f9a262970bda4786df5d5083426dea26cc61397a/sdk/lib/fac_lib/libpwm.a -------------------------------------------------------------------------------- /sdk/lib/fac_lib/libsmartconfig.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TuyaInc/tysdk_for_esp8266/f9a262970bda4786df5d5083426dea26cc61397a/sdk/lib/fac_lib/libsmartconfig.a -------------------------------------------------------------------------------- /sdk/lib/fac_lib/libspiffs.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TuyaInc/tysdk_for_esp8266/f9a262970bda4786df5d5083426dea26cc61397a/sdk/lib/fac_lib/libspiffs.a -------------------------------------------------------------------------------- /sdk/lib/fac_lib/libssc.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TuyaInc/tysdk_for_esp8266/f9a262970bda4786df5d5083426dea26cc61397a/sdk/lib/fac_lib/libssc.a -------------------------------------------------------------------------------- /sdk/lib/fac_lib/libssl.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TuyaInc/tysdk_for_esp8266/f9a262970bda4786df5d5083426dea26cc61397a/sdk/lib/fac_lib/libssl.a -------------------------------------------------------------------------------- /sdk/lib/fac_lib/libwolfssl.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TuyaInc/tysdk_for_esp8266/f9a262970bda4786df5d5083426dea26cc61397a/sdk/lib/fac_lib/libwolfssl.a -------------------------------------------------------------------------------- /sdk/lib/fac_lib/libwpa.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TuyaInc/tysdk_for_esp8266/f9a262970bda4786df5d5083426dea26cc61397a/sdk/lib/fac_lib/libwpa.a -------------------------------------------------------------------------------- /sdk/lib/fac_lib/libwps.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TuyaInc/tysdk_for_esp8266/f9a262970bda4786df5d5083426dea26cc61397a/sdk/lib/fac_lib/libwps.a -------------------------------------------------------------------------------- /sdk/lib/tuya_lib/libbase.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TuyaInc/tysdk_for_esp8266/f9a262970bda4786df5d5083426dea26cc61397a/sdk/lib/tuya_lib/libbase.a -------------------------------------------------------------------------------- /sdk/lib/tuya_lib/libdriver.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TuyaInc/tysdk_for_esp8266/f9a262970bda4786df5d5083426dea26cc61397a/sdk/lib/tuya_lib/libdriver.a -------------------------------------------------------------------------------- /sdk/lib/tuya_lib/libffc.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TuyaInc/tysdk_for_esp8266/f9a262970bda4786df5d5083426dea26cc61397a/sdk/lib/tuya_lib/libffc.a -------------------------------------------------------------------------------- /sdk/lib/tuya_lib/libhttpc.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TuyaInc/tysdk_for_esp8266/f9a262970bda4786df5d5083426dea26cc61397a/sdk/lib/tuya_lib/libhttpc.a -------------------------------------------------------------------------------- /sdk/lib/tuya_lib/libpsm.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TuyaInc/tysdk_for_esp8266/f9a262970bda4786df5d5083426dea26cc61397a/sdk/lib/tuya_lib/libpsm.a -------------------------------------------------------------------------------- /sdk/lib/tuya_lib/libsystem.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TuyaInc/tysdk_for_esp8266/f9a262970bda4786df5d5083426dea26cc61397a/sdk/lib/tuya_lib/libsystem.a -------------------------------------------------------------------------------- /sdk/lib/tuya_lib/libtime.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TuyaInc/tysdk_for_esp8266/f9a262970bda4786df5d5083426dea26cc61397a/sdk/lib/tuya_lib/libtime.a -------------------------------------------------------------------------------- /sdk/lib/tuya_lib/libtls.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TuyaInc/tysdk_for_esp8266/f9a262970bda4786df5d5083426dea26cc61397a/sdk/lib/tuya_lib/libtls.a -------------------------------------------------------------------------------- /sdk/lib/tuya_lib/libtuya_sdk.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TuyaInc/tysdk_for_esp8266/f9a262970bda4786df5d5083426dea26cc61397a/sdk/lib/tuya_lib/libtuya_sdk.a --------------------------------------------------------------------------------