├── .gitattributes ├── .github └── workflows │ ├── issue_comment.yml │ ├── new_issues.yml │ └── new_prs.yml ├── .gitignore ├── .gitlab-ci.yml ├── .gitmodules ├── .readthedocs.yaml ├── CMakeLists.txt ├── Kconfig ├── LICENSE ├── README.md ├── SUPPORT_POLICY_CN.md ├── SUPPORT_POLICY_EN.md ├── add_path.sh ├── components ├── app_update │ ├── CMakeLists.txt │ ├── Kconfig │ ├── Makefile.projbuild │ ├── component.mk │ ├── esp_app_desc.c │ ├── esp_ota_ops.c │ ├── include │ │ └── esp_ota_ops.h │ ├── otatool.py │ ├── project_include.cmake │ └── test │ │ ├── component.mk │ │ └── test_ota_ops.c ├── bootloader │ ├── CMakeLists.txt │ ├── Kconfig.projbuild │ ├── Makefile.projbuild │ ├── component.mk │ ├── flash_bootloader_args.in │ ├── project_include.cmake │ └── subproject │ │ ├── .gitignore │ │ ├── CMakeLists.txt │ │ ├── Makefile │ │ └── main │ │ ├── CMakeLists.txt │ │ ├── bootloader_start.c │ │ ├── component.mk │ │ ├── esp8266.bootloader.ld │ │ └── esp8266.bootloader.rom.ld ├── bootloader_support │ ├── CMakeLists.txt │ ├── Makefile.projbuild │ ├── README.rst │ ├── component.mk │ ├── include │ │ ├── bootloader_clock.h │ │ ├── bootloader_common.h │ │ ├── esp_app_format.h │ │ ├── esp_efuse.h │ │ ├── esp_flash_data_types.h │ │ ├── esp_flash_encrypt.h │ │ ├── esp_flash_partitions.h │ │ ├── esp_image_format.h │ │ └── esp_secure_boot.h │ ├── include_priv │ │ ├── bootloader_config.h │ │ ├── bootloader_flash.h │ │ ├── bootloader_init.h │ │ ├── bootloader_random.h │ │ ├── bootloader_sha.h │ │ ├── bootloader_utility.h │ │ └── flash_qio_mode.h │ └── src │ │ ├── bootloader_clock.c │ │ ├── bootloader_common.c │ │ ├── bootloader_flash.c │ │ ├── bootloader_init.c │ │ ├── bootloader_random.c │ │ ├── bootloader_sha.c │ │ ├── bootloader_utility.c │ │ ├── efuse.c │ │ ├── esp_image_format.c │ │ ├── flash_encrypt.c │ │ ├── flash_partitions.c │ │ ├── flash_qio_mode.c │ │ ├── secure_boot.c │ │ └── secure_boot_signatures.c ├── coap │ ├── CMakeLists.txt │ ├── Kconfig │ ├── component.mk │ └── port │ │ ├── coap_io.c │ │ └── include │ │ ├── coap │ │ └── coap.h │ │ ├── coap_config.h │ │ └── coap_config_posix.h ├── console │ ├── CMakeLists.txt │ ├── argtable3 │ │ ├── LICENSE │ │ ├── argtable3.c │ │ └── argtable3.h │ ├── commands.c │ ├── component.mk │ ├── esp_console.h │ ├── linenoise │ │ ├── LICENSE │ │ ├── linenoise.c │ │ └── linenoise.h │ └── split_argv.c ├── esp-tls │ ├── CMakeLists.txt │ ├── Kconfig │ ├── component.mk │ ├── esp_tls.c │ ├── esp_tls.h │ ├── esp_tls_mbedtls.c │ ├── esp_tls_wolfssl.c │ └── private_include │ │ ├── esp_tls_error_capture_internal.h │ │ ├── esp_tls_mbedtls.h │ │ └── esp_tls_wolfssl.h ├── esp-wolfssl │ ├── CMakeLists.txt │ ├── Kconfig │ ├── Makefile.projbuild │ ├── component.mk │ └── wolfssl │ │ ├── README │ │ ├── include │ │ └── user_settings.h │ │ ├── lib │ │ ├── libwolfssl.a │ │ └── libwolfssl_debug.a │ │ ├── source │ │ └── cmake_compiling.c │ │ └── wolfssl │ │ └── wolfssl │ │ ├── openssl │ │ ├── asn1.h │ │ ├── bn.h │ │ ├── crypto.h │ │ ├── dsa.h │ │ ├── ec.h │ │ ├── evp.h │ │ ├── hmac.h │ │ ├── md5.h │ │ ├── opensslv.h │ │ ├── ripemd.h │ │ ├── rsa.h │ │ ├── sha.h │ │ └── ssl.h │ │ ├── ssl.h │ │ ├── version.h │ │ ├── wolfcrypt │ │ ├── aes.h │ │ ├── arc4.h │ │ ├── asn_public.h │ │ ├── des3.h │ │ ├── ecc.h │ │ ├── hash.h │ │ ├── hmac.h │ │ ├── integer.h │ │ ├── logging.h │ │ ├── md5.h │ │ ├── mpi_class.h │ │ ├── mpi_superclass.h │ │ ├── pwdbased.h │ │ ├── random.h │ │ ├── settings.h │ │ ├── sha.h │ │ ├── sha256.h │ │ ├── types.h │ │ ├── visibility.h │ │ ├── wc_port.h │ │ └── wolfmath.h │ │ └── wolfio.h ├── esp8266 │ ├── CMakeLists.txt │ ├── Kconfig │ ├── Makefile.projbuild │ ├── README │ ├── component.mk │ ├── driver │ │ ├── adc.c │ │ ├── gpio.c │ │ ├── hspi_logic_layer.c │ │ ├── hw_timer.c │ │ ├── i2c.c │ │ ├── i2s.c │ │ ├── ir_rx.c │ │ ├── ir_tx.c │ │ ├── ledc.c │ │ ├── pwm.c │ │ ├── spi.c │ │ └── uart.c │ ├── firmware │ │ ├── blank.bin │ │ ├── boot_v1.6.bin │ │ ├── boot_v1.7.bin │ │ ├── esp_init_data_default.bin │ │ └── readme.txt │ ├── include │ │ ├── driver │ │ │ ├── adc.h │ │ │ ├── gpio.h │ │ │ ├── hspi_logic_layer.h │ │ │ ├── hw_timer.h │ │ │ ├── i2c.h │ │ │ ├── i2s.h │ │ │ ├── ir_rx.h │ │ │ ├── ir_tx.h │ │ │ ├── ledc.h │ │ │ ├── pwm.h │ │ │ ├── rtc.h │ │ │ ├── sdmmc_types.h │ │ │ ├── sdspi_host.h │ │ │ ├── soc.h │ │ │ ├── spi.h │ │ │ ├── uart.h │ │ │ └── uart_select.h │ │ ├── esp8266 │ │ │ ├── backtrace.h │ │ │ ├── eagle_soc.h │ │ │ ├── efuse_register.h │ │ │ ├── esp8266.h │ │ │ ├── gpio_register.h │ │ │ ├── gpio_struct.h │ │ │ ├── i2s_register.h │ │ │ ├── i2s_struct.h │ │ │ ├── pin_mux_register.h │ │ │ ├── rom_functions.h │ │ │ ├── rtc_register.h │ │ │ ├── slc_register.h │ │ │ ├── slc_struct.h │ │ │ ├── spi_register.h │ │ │ ├── spi_struct.h │ │ │ ├── timer_register.h │ │ │ ├── timer_struct.h │ │ │ ├── uart_register.h │ │ │ └── uart_struct.h │ │ ├── esp_aio.h │ │ ├── esp_attr.h │ │ ├── esp_clk.h │ │ ├── esp_crc.h │ │ ├── esp_fast_boot.h │ │ ├── esp_idf_version.h │ │ ├── esp_interface.h │ │ ├── esp_libc.h │ │ ├── esp_now.h │ │ ├── esp_phy_init.h │ │ ├── esp_private │ │ │ ├── esp_system_internal.h │ │ │ ├── phy_init_data.h │ │ │ └── wifi.h │ │ ├── esp_sha.h │ │ ├── esp_sleep.h │ │ ├── esp_smartconfig.h │ │ ├── esp_ssc.h │ │ ├── esp_system.h │ │ ├── esp_task_wdt.h │ │ ├── esp_timer.h │ │ ├── esp_types.h │ │ ├── esp_wifi.h │ │ ├── esp_wifi_crypto_types.h │ │ ├── esp_wifi_osi.h │ │ ├── esp_wifi_types.h │ │ ├── ibus_data.h │ │ ├── rom │ │ │ ├── crc.h │ │ │ ├── ets_sys.h │ │ │ ├── gpio.h │ │ │ ├── md5_hash.h │ │ │ ├── queue.h │ │ │ ├── spi_flash.h │ │ │ └── uart.h │ │ ├── smartconfig_ack.h │ │ ├── soc │ │ │ └── cpu.h │ │ ├── util_assert.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 │ ├── ld │ │ ├── esp8266.ld │ │ ├── esp8266.peripherals.ld │ │ ├── esp8266.project.ld.in │ │ ├── esp8266.rom.ld │ │ ├── esp8266_bss_fragments.lf │ │ └── esp8266_fragments.lf │ ├── lib │ │ ├── VERSION │ │ ├── fix_printf.sh │ │ ├── libclk.a │ │ ├── libcore.a │ │ ├── libcore_dbg.a │ │ ├── libespnow.a │ │ ├── libespnow_dbg.a │ │ ├── libgcc.a │ │ ├── libhal.a │ │ ├── libnet80211.a │ │ ├── libnet80211_dbg.a │ │ ├── libphy.a │ │ ├── libpp.a │ │ ├── libpp_dbg.a │ │ ├── librtc.a │ │ ├── libsmartconfig.a │ │ └── libssc.a │ ├── linker.lf │ ├── sdkconfig.rename │ ├── source │ │ ├── backtrace.c │ │ ├── chip_boot.c │ │ ├── crc.c │ │ ├── esp_fast_boot.c │ │ ├── esp_fsleep.c │ │ ├── esp_sleep.c │ │ ├── esp_timer.c │ │ ├── esp_wifi.c │ │ ├── esp_wifi_os_adapter.c │ │ ├── ets_printf.c │ │ ├── hw_random.c │ │ ├── phy.h │ │ ├── phy_init.c │ │ ├── reset_reason.c │ │ ├── rom.c │ │ ├── smartconfig.c │ │ ├── smartconfig_ack.c │ │ ├── startup.c │ │ ├── system_api.c │ │ └── task_wdt.c │ └── test │ │ ├── component.mk │ │ ├── test_esp_timer.c │ │ ├── test_interrupt_overhead.c │ │ └── test_wifi.c ├── esp_common │ ├── CMakeLists.txt │ ├── Kconfig │ ├── component.mk │ ├── include │ │ ├── esp_bit_defs.h │ │ ├── esp_compiler.h │ │ ├── esp_err.h │ │ └── esp_task.h │ └── src │ │ ├── esp_err_to_name.c │ │ └── stack_check.c ├── esp_event │ ├── CMakeLists.txt │ ├── Kconfig │ ├── component.mk │ ├── default_event_loop.c │ ├── esp_event.c │ ├── esp_event_private.c │ ├── event_loop_legacy.c │ ├── event_send.c │ ├── event_send_compat.inc │ ├── include │ │ ├── esp_event.h │ │ ├── esp_event_base.h │ │ ├── esp_event_legacy.h │ │ └── esp_event_loop.h │ ├── private_include │ │ ├── esp_event_internal.h │ │ └── esp_event_private.h │ └── test │ │ ├── CMakeLists.txt │ │ ├── component.mk │ │ └── test_event.c ├── esp_gdbstub │ ├── CMakeLists.txt │ ├── Kconfig │ ├── component.mk │ ├── esp8266 │ │ ├── gdbstub_esp8266.c │ │ └── gdbstub_target_config.h │ ├── include │ │ └── esp_gdbstub.h │ ├── private_include │ │ └── esp_gdbstub_common.h │ ├── src │ │ ├── gdbstub.c │ │ └── packet.c │ └── xtensa │ │ ├── esp_gdbstub_arch.h │ │ └── gdbstub_xtensa.c ├── esp_http_client │ ├── CMakeLists.txt │ ├── Kconfig │ ├── component.mk │ ├── esp_http_client.c │ ├── include │ │ └── esp_http_client.h │ ├── lib │ │ ├── http_auth.c │ │ ├── http_header.c │ │ ├── http_utils.c │ │ └── include │ │ │ ├── http_auth.h │ │ │ ├── http_header.h │ │ │ └── http_utils.h │ └── test │ │ ├── CMakeLists.txt │ │ ├── component.mk │ │ └── test_http_client.c ├── esp_http_server │ ├── CMakeLists.txt │ ├── Kconfig │ ├── component.mk │ ├── include │ │ ├── esp_http_server.h │ │ └── http_server.h │ └── src │ │ ├── esp_httpd_priv.h │ │ ├── httpd_main.c │ │ ├── httpd_parse.c │ │ ├── httpd_sess.c │ │ ├── httpd_txrx.c │ │ ├── httpd_uri.c │ │ ├── port │ │ └── esp8266 │ │ │ └── osal.h │ │ └── util │ │ ├── ctrl_sock.c │ │ └── ctrl_sock.h ├── esp_https_ota │ ├── CMakeLists.txt │ ├── Kconfig │ ├── component.mk │ ├── include │ │ └── esp_https_ota.h │ └── src │ │ └── esp_https_ota.c ├── esp_ringbuf │ ├── CMakeLists.txt │ ├── component.mk │ ├── include │ │ └── freertos │ │ │ └── ringbuf.h │ └── ringbuf.c ├── esptool_py │ ├── CMakeLists.txt │ ├── Kconfig.projbuild │ ├── LICENSE │ ├── Makefile.projbuild │ ├── README │ ├── component.mk │ ├── esptool │ │ ├── .gitignore │ │ ├── .travis.yml │ │ ├── .travis_setup_build_env.sh │ │ ├── CONTRIBUTING.md │ │ ├── LICENSE │ │ ├── MANIFEST.in │ │ ├── README.md │ │ ├── ecdsa │ │ │ ├── __init__.py │ │ │ ├── _version.py │ │ │ ├── curves.py │ │ │ ├── der.py │ │ │ ├── ecdsa.py │ │ │ ├── ellipticcurve.py │ │ │ ├── keys.py │ │ │ ├── numbertheory.py │ │ │ ├── rfc6979.py │ │ │ ├── six.py │ │ │ ├── test_pyecdsa.py │ │ │ └── util.py │ │ ├── espefuse.py │ │ ├── espsecure.py │ │ ├── esptool.py │ │ ├── flasher_stub │ │ │ ├── Makefile │ │ │ ├── README.md │ │ │ ├── compare_stubs.py │ │ │ ├── esptool_test_stub.py │ │ │ ├── miniz.c │ │ │ ├── miniz.h │ │ │ ├── rom_32.ld │ │ │ ├── rom_8266.ld │ │ │ ├── rom_functions.h │ │ │ ├── run_tests_with_stub.sh │ │ │ ├── slip.c │ │ │ ├── slip.h │ │ │ ├── soc_support.h │ │ │ ├── stub_32.ld │ │ │ ├── stub_8266.ld │ │ │ ├── stub_commands.c │ │ │ ├── stub_commands.h │ │ │ ├── stub_flasher.c │ │ │ ├── stub_flasher.h │ │ │ ├── stub_write_flash.c │ │ │ ├── stub_write_flash.h │ │ │ └── wrap_stub.py │ │ ├── pyaes │ │ │ ├── __init__.py │ │ │ ├── aes.py │ │ │ ├── blockfeeder.py │ │ │ └── util.py │ │ ├── setup.cfg │ │ ├── setup.py │ │ └── test │ │ │ ├── README.md │ │ │ ├── elf2image │ │ │ ├── esp32-app-template.elf │ │ │ ├── esp32-bootloader.elf │ │ │ ├── esp8266-nonossdkv12-example.elf │ │ │ ├── esp8266-nonossdkv20-at-v2.elf │ │ │ ├── esp8266-nonosssdk20-iotdemo.elf │ │ │ └── esp8266-openrtos-blink-v2.elf │ │ │ ├── images │ │ │ ├── bootloader.bin │ │ │ ├── esp8266_sdk │ │ │ │ ├── 4096_user1.bin │ │ │ │ ├── blank.bin │ │ │ │ ├── boot_v1.4(b1).bin │ │ │ │ └── esp_init_data_default.bin │ │ │ ├── fifty_kb.bin │ │ │ ├── helloworld-esp32.bin │ │ │ ├── helloworld-esp8266.bin │ │ │ ├── image_header_only.bin │ │ │ ├── nodemcu-master-7-modules-2017-01-19-11-10-03-integer.bin │ │ │ ├── one_kb.bin │ │ │ ├── one_mb.bin │ │ │ ├── one_mb_zeroes.bin │ │ │ ├── onebyte.bin │ │ │ ├── partitions_singleapp.bin │ │ │ ├── sector.bin │ │ │ ├── unaligned.bin │ │ │ └── zerolength.bin │ │ │ ├── test_esptool.py │ │ │ └── test_imagegen.py │ ├── flash_project_args.in │ ├── flasher_args.json.in │ ├── project_include.cmake │ ├── run_esptool.cmake │ └── sdkconfig.rename ├── fatfs │ ├── CMakeLists.txt │ ├── Kconfig │ ├── component.mk │ ├── diskio │ │ ├── diskio.c │ │ ├── diskio_impl.h │ │ ├── diskio_rawflash.c │ │ ├── diskio_rawflash.h │ │ ├── diskio_sdmmc.c │ │ ├── diskio_sdmmc.h │ │ ├── diskio_wl.c │ │ └── diskio_wl.h │ ├── port │ │ ├── freertos │ │ │ └── ffsystem.c │ │ └── linux │ │ │ └── ffsystem.c │ ├── src │ │ ├── 00history.txt │ │ ├── 00readme.txt │ │ ├── diskio.c │ │ ├── diskio.h │ │ ├── ff.c │ │ ├── ff.h │ │ ├── ffconf.h │ │ ├── ffsystem.c │ │ └── ffunicode.c │ ├── test │ │ ├── CMakeLists.txt │ │ ├── component.mk │ │ ├── fatfs.img │ │ ├── test_fatfs_common.c │ │ ├── test_fatfs_common.h │ │ ├── test_fatfs_rawflash.c │ │ ├── test_fatfs_sdmmc.c │ │ └── test_fatfs_spiflash.c │ ├── test_fatfs_host │ │ ├── Makefile │ │ ├── Makefile.files │ │ ├── component.mk │ │ ├── main.cpp │ │ ├── partition_table.csv │ │ ├── sdkconfig │ │ │ └── sdkconfig.h │ │ └── test_fatfs.cpp │ └── vfs │ │ ├── esp_vfs_fat.h │ │ ├── vfs_fat.c │ │ ├── vfs_fat_internal.h │ │ ├── vfs_fat_sdmmc.c │ │ └── vfs_fat_spiflash.c ├── freemodbus │ ├── CMakeLists.txt │ ├── Kconfig │ ├── common │ │ ├── esp_modbus_callbacks.h │ │ ├── esp_modbus_master.c │ │ ├── esp_modbus_master_tcp.c │ │ ├── esp_modbus_slave.c │ │ ├── esp_modbus_slave_tcp.c │ │ ├── include │ │ │ ├── esp_modbus_common.h │ │ │ ├── esp_modbus_master.h │ │ │ ├── esp_modbus_slave.h │ │ │ └── mbcontroller.h │ │ ├── mbc_master.h │ │ └── mbc_slave.h │ ├── component.mk │ ├── modbus │ │ ├── ascii │ │ │ ├── mbascii.c │ │ │ ├── mbascii.h │ │ │ └── mbascii_m.c │ │ ├── functions │ │ │ ├── mbfunccoils.c │ │ │ ├── mbfunccoils_m.c │ │ │ ├── mbfuncdiag.c │ │ │ ├── mbfuncdisc.c │ │ │ ├── mbfuncdisc_m.c │ │ │ ├── mbfuncholding.c │ │ │ ├── mbfuncholding_m.c │ │ │ ├── mbfuncinput.c │ │ │ ├── mbfuncinput_m.c │ │ │ ├── mbfuncother.c │ │ │ └── mbutils.c │ │ ├── include │ │ │ ├── mb.h │ │ │ ├── mb_m.h │ │ │ ├── mbconfig.h │ │ │ ├── mbframe.h │ │ │ ├── mbfunc.h │ │ │ ├── mbport.h │ │ │ ├── mbproto.h │ │ │ └── mbutils.h │ │ ├── mb.c │ │ ├── mb_m.c │ │ ├── rtu │ │ │ ├── mbcrc.c │ │ │ ├── mbcrc.h │ │ │ ├── mbrtu.c │ │ │ ├── mbrtu.h │ │ │ └── mbrtu_m.c │ │ └── tcp │ │ │ ├── mbtcp.c │ │ │ ├── mbtcp.h │ │ │ ├── mbtcp_m.c │ │ │ └── mbtcp_m.h │ ├── port │ │ ├── port.c │ │ ├── port.h │ │ ├── portevent.c │ │ ├── portevent_m.c │ │ ├── portother.c │ │ ├── portother_m.c │ │ ├── porttimer.c │ │ └── porttimer_m.c │ ├── sdkconfig.rename │ ├── tcp_master │ │ ├── modbus_controller │ │ │ ├── mbc_tcp_master.c │ │ │ └── mbc_tcp_master.h │ │ └── port │ │ │ ├── port_tcp_master.c │ │ │ └── port_tcp_master.h │ └── tcp_slave │ │ ├── modbus_controller │ │ ├── mbc_tcp_slave.c │ │ └── mbc_tcp_slave.h │ │ └── port │ │ ├── port_tcp_slave.c │ │ └── port_tcp_slave.h ├── freertos │ ├── CMakeLists.txt │ ├── Kconfig │ ├── component.mk │ ├── freertos │ │ ├── event_groups.c │ │ ├── list.c │ │ ├── queue.c │ │ ├── readme.txt │ │ ├── stream_buffer.c │ │ ├── tasks.c │ │ └── timers.c │ ├── include │ │ └── freertos │ │ │ ├── FreeRTOS.h │ │ │ ├── event_groups.h │ │ │ ├── message_buffer.h │ │ │ ├── private │ │ │ ├── deprecated_definitions.h │ │ │ ├── list.h │ │ │ ├── mpu_wrappers.h │ │ │ ├── portable.h │ │ │ ├── projdefs.h │ │ │ └── stack_macros.h │ │ │ ├── queue.h │ │ │ ├── semphr.h │ │ │ ├── stream_buffer.h │ │ │ ├── task.h │ │ │ └── timers.h │ ├── linker.lf │ ├── port │ │ └── esp8266 │ │ │ ├── freertos_hooks.c │ │ │ ├── include │ │ │ └── freertos │ │ │ │ ├── FreeRTOSConfig.h │ │ │ │ ├── esp_freertos_hooks.h │ │ │ │ ├── portmacro.h │ │ │ │ ├── xtensa_context.h │ │ │ │ ├── xtensa_rtos.h │ │ │ │ └── xtensa_timer.h │ │ │ ├── os_cpu_a.S │ │ │ ├── panic.c │ │ │ ├── port.c │ │ │ ├── xtensa_context.S │ │ │ └── xtensa_vectors.S │ └── test │ │ ├── CMakeLists.txt │ │ ├── component.mk │ │ ├── test_errno.c │ │ └── test_freertos_task_modify_stack_depth.c ├── heap │ ├── CMakeLists.txt │ ├── Kconfig │ ├── component.mk │ ├── include │ │ ├── esp_heap_caps.h │ │ ├── esp_heap_caps_init.h │ │ └── esp_heap_trace.h │ ├── port │ │ └── esp8266 │ │ │ ├── esp_heap_init.c │ │ │ └── include │ │ │ ├── esp_heap_config.h │ │ │ ├── esp_heap_port.h │ │ │ └── priv │ │ │ └── esp_heap_caps_priv.h │ ├── src │ │ ├── esp_heap_caps.c │ │ └── esp_heap_trace.c │ └── test │ │ ├── CMakeLists.txt │ │ ├── component.mk │ │ └── test_heap_effectivity.c ├── http_parser │ ├── CMakeLists.txt │ ├── component.mk │ ├── include │ │ └── http_parser.h │ └── src │ │ └── http_parser.c ├── jsmn │ ├── CMakeLists.txt │ ├── component.mk │ ├── include │ │ └── jsmn.h │ └── src │ │ └── jsmn.c ├── json │ ├── CMakeLists.txt │ └── component.mk ├── libsodium │ ├── CMakeLists.txt │ ├── Kconfig │ ├── component.mk │ ├── libsodium │ │ ├── .gitignore │ │ ├── .travis.yml │ │ ├── AUTHORS │ │ ├── ChangeLog │ │ ├── LICENSE │ │ ├── Makefile.am │ │ ├── README.markdown │ │ ├── THANKS │ │ ├── appveyor.yml │ │ ├── autogen.sh │ │ ├── builds │ │ │ ├── .gitignore │ │ │ └── msvc │ │ │ │ ├── build │ │ │ │ ├── buildall.bat │ │ │ │ └── buildbase.bat │ │ │ │ ├── properties │ │ │ │ ├── ARM.props │ │ │ │ ├── Common.props │ │ │ │ ├── DLL.props │ │ │ │ ├── Debug.props │ │ │ │ ├── DebugDEXE.props │ │ │ │ ├── DebugDLL.props │ │ │ │ ├── DebugLEXE.props │ │ │ │ ├── DebugLIB.props │ │ │ │ ├── DebugLTCG.props │ │ │ │ ├── DebugSEXE.props │ │ │ │ ├── EXE.props │ │ │ │ ├── LIB.props │ │ │ │ ├── LTCG.props │ │ │ │ ├── Link.props │ │ │ │ ├── Messages.props │ │ │ │ ├── Output.props │ │ │ │ ├── Release.props │ │ │ │ ├── ReleaseDEXE.props │ │ │ │ ├── ReleaseDLL.props │ │ │ │ ├── ReleaseLEXE.props │ │ │ │ ├── ReleaseLIB.props │ │ │ │ ├── ReleaseLTCG.props │ │ │ │ ├── ReleaseSEXE.props │ │ │ │ ├── Win32.props │ │ │ │ └── x64.props │ │ │ │ ├── version.h │ │ │ │ ├── vs2010 │ │ │ │ ├── libsodium.import.props │ │ │ │ ├── libsodium.import.xml │ │ │ │ ├── libsodium.sln │ │ │ │ └── libsodium │ │ │ │ │ ├── libsodium.props │ │ │ │ │ ├── libsodium.vcxproj │ │ │ │ │ ├── libsodium.vcxproj.filters │ │ │ │ │ └── libsodium.xml │ │ │ │ ├── vs2012 │ │ │ │ ├── libsodium.import.props │ │ │ │ ├── libsodium.import.xml │ │ │ │ ├── libsodium.sln │ │ │ │ └── libsodium │ │ │ │ │ ├── libsodium.props │ │ │ │ │ ├── libsodium.vcxproj │ │ │ │ │ ├── libsodium.vcxproj.filters │ │ │ │ │ └── libsodium.xml │ │ │ │ ├── vs2013 │ │ │ │ ├── libsodium.import.props │ │ │ │ ├── libsodium.import.xml │ │ │ │ ├── libsodium.sln │ │ │ │ └── libsodium │ │ │ │ │ ├── libsodium.props │ │ │ │ │ ├── libsodium.vcxproj │ │ │ │ │ ├── libsodium.vcxproj.filters │ │ │ │ │ └── libsodium.xml │ │ │ │ ├── vs2015 │ │ │ │ ├── libsodium.import.props │ │ │ │ ├── libsodium.import.xml │ │ │ │ ├── libsodium.sln │ │ │ │ └── libsodium │ │ │ │ │ ├── libsodium.props │ │ │ │ │ ├── libsodium.vcxproj │ │ │ │ │ ├── libsodium.vcxproj.filters │ │ │ │ │ └── libsodium.xml │ │ │ │ └── vs2017 │ │ │ │ ├── libsodium.import.props │ │ │ │ ├── libsodium.import.xml │ │ │ │ ├── libsodium.sln │ │ │ │ └── libsodium │ │ │ │ ├── libsodium.props │ │ │ │ ├── libsodium.vcxproj │ │ │ │ ├── libsodium.vcxproj.filters │ │ │ │ └── libsodium.xml │ │ ├── configure.ac │ │ ├── contrib │ │ │ └── Makefile.am │ │ ├── dist-build │ │ │ ├── Makefile.am │ │ │ ├── android-arm.sh │ │ │ ├── android-armv7-a.sh │ │ │ ├── android-armv8-a.sh │ │ │ ├── android-build.sh │ │ │ ├── android-mips32.sh │ │ │ ├── android-mips64.sh │ │ │ ├── android-x86.sh │ │ │ ├── android-x86_64.sh │ │ │ ├── emscripten-symbols.def │ │ │ ├── emscripten-wasm.sh │ │ │ ├── emscripten.sh │ │ │ ├── generate-emscripten-symbols.sh │ │ │ ├── ios.sh │ │ │ ├── msys2-win32.sh │ │ │ ├── msys2-win64.sh │ │ │ ├── nativeclient-pnacl.sh │ │ │ ├── nativeclient-x86.sh │ │ │ ├── nativeclient-x86_64.sh │ │ │ └── osx.sh │ │ ├── libsodium-uninstalled.pc.in │ │ ├── libsodium.pc.in │ │ ├── libsodium.sln │ │ ├── libsodium.vcxproj │ │ ├── libsodium.vcxproj.filters │ │ ├── logo.png │ │ ├── m4 │ │ │ ├── ax_check_compile_flag.m4 │ │ │ ├── ax_check_define.m4 │ │ │ ├── ax_check_gnu_make.m4 │ │ │ ├── ax_check_link_flag.m4 │ │ │ ├── ax_pthread.m4 │ │ │ ├── ax_valgrind_check.m4 │ │ │ ├── ld-output-def.m4 │ │ │ └── pkg.m4 │ │ ├── msvc-scripts │ │ │ ├── Makefile.am │ │ │ ├── process.bat │ │ │ ├── rep.vbs │ │ │ └── sodium.props │ │ ├── packaging │ │ │ ├── dotnet-core │ │ │ │ ├── .gitignore │ │ │ │ ├── README.md │ │ │ │ ├── libsodium.props │ │ │ │ ├── prepare.py │ │ │ │ └── recipes │ │ │ │ │ ├── alpine-x64 │ │ │ │ │ ├── build │ │ │ │ │ ├── centos-x64 │ │ │ │ │ ├── debian-x64 │ │ │ │ │ ├── fedora-x64 │ │ │ │ │ ├── opensuse-x64 │ │ │ │ │ ├── pack │ │ │ │ │ └── ubuntu-x64 │ │ │ └── nuget │ │ │ │ ├── .gitignore │ │ │ │ ├── package.bat │ │ │ │ ├── package.config │ │ │ │ └── package.gsl │ │ ├── src │ │ │ ├── Makefile.am │ │ │ └── libsodium │ │ │ │ ├── Makefile.am │ │ │ │ ├── crypto_aead │ │ │ │ ├── aes256gcm │ │ │ │ │ └── aesni │ │ │ │ │ │ └── aead_aes256gcm_aesni.c │ │ │ │ ├── chacha20poly1305 │ │ │ │ │ └── sodium │ │ │ │ │ │ └── aead_chacha20poly1305.c │ │ │ │ └── xchacha20poly1305 │ │ │ │ │ └── sodium │ │ │ │ │ └── aead_xchacha20poly1305.c │ │ │ │ ├── crypto_auth │ │ │ │ ├── crypto_auth.c │ │ │ │ ├── hmacsha256 │ │ │ │ │ └── auth_hmacsha256.c │ │ │ │ ├── hmacsha512 │ │ │ │ │ └── auth_hmacsha512.c │ │ │ │ └── hmacsha512256 │ │ │ │ │ └── auth_hmacsha512256.c │ │ │ │ ├── crypto_box │ │ │ │ ├── crypto_box.c │ │ │ │ ├── crypto_box_easy.c │ │ │ │ ├── crypto_box_seal.c │ │ │ │ ├── curve25519xchacha20poly1305 │ │ │ │ │ └── box_curve25519xchacha20poly1305.c │ │ │ │ └── curve25519xsalsa20poly1305 │ │ │ │ │ └── box_curve25519xsalsa20poly1305.c │ │ │ │ ├── crypto_core │ │ │ │ ├── curve25519 │ │ │ │ │ └── ref10 │ │ │ │ │ │ ├── base.h │ │ │ │ │ │ ├── base2.h │ │ │ │ │ │ └── curve25519_ref10.c │ │ │ │ ├── hchacha20 │ │ │ │ │ └── core_hchacha20.c │ │ │ │ ├── hsalsa20 │ │ │ │ │ ├── core_hsalsa20.c │ │ │ │ │ └── ref2 │ │ │ │ │ │ └── core_hsalsa20_ref2.c │ │ │ │ └── salsa │ │ │ │ │ └── ref │ │ │ │ │ └── core_salsa_ref.c │ │ │ │ ├── crypto_generichash │ │ │ │ ├── blake2b │ │ │ │ │ ├── generichash_blake2.c │ │ │ │ │ └── ref │ │ │ │ │ │ ├── blake2.h │ │ │ │ │ │ ├── blake2b-compress-avx2.c │ │ │ │ │ │ ├── blake2b-compress-avx2.h │ │ │ │ │ │ ├── blake2b-compress-ref.c │ │ │ │ │ │ ├── blake2b-compress-sse41.c │ │ │ │ │ │ ├── blake2b-compress-sse41.h │ │ │ │ │ │ ├── blake2b-compress-ssse3.c │ │ │ │ │ │ ├── blake2b-compress-ssse3.h │ │ │ │ │ │ ├── blake2b-load-avx2.h │ │ │ │ │ │ ├── blake2b-load-sse2.h │ │ │ │ │ │ ├── blake2b-load-sse41.h │ │ │ │ │ │ ├── blake2b-ref.c │ │ │ │ │ │ └── generichash_blake2b.c │ │ │ │ └── crypto_generichash.c │ │ │ │ ├── crypto_hash │ │ │ │ ├── crypto_hash.c │ │ │ │ ├── sha256 │ │ │ │ │ ├── cp │ │ │ │ │ │ └── hash_sha256_cp.c │ │ │ │ │ └── hash_sha256.c │ │ │ │ └── sha512 │ │ │ │ │ ├── cp │ │ │ │ │ └── hash_sha512_cp.c │ │ │ │ │ └── hash_sha512.c │ │ │ │ ├── crypto_kdf │ │ │ │ ├── blake2b │ │ │ │ │ └── kdf_blake2b.c │ │ │ │ └── crypto_kdf.c │ │ │ │ ├── crypto_kx │ │ │ │ └── crypto_kx.c │ │ │ │ ├── crypto_onetimeauth │ │ │ │ ├── crypto_onetimeauth.c │ │ │ │ └── poly1305 │ │ │ │ │ ├── donna │ │ │ │ │ ├── poly1305_donna.c │ │ │ │ │ ├── poly1305_donna.h │ │ │ │ │ ├── poly1305_donna32.h │ │ │ │ │ └── poly1305_donna64.h │ │ │ │ │ ├── onetimeauth_poly1305.c │ │ │ │ │ ├── onetimeauth_poly1305.h │ │ │ │ │ └── sse2 │ │ │ │ │ ├── poly1305_sse2.c │ │ │ │ │ └── poly1305_sse2.h │ │ │ │ ├── crypto_pwhash │ │ │ │ ├── argon2 │ │ │ │ │ ├── argon2-core.c │ │ │ │ │ ├── argon2-core.h │ │ │ │ │ ├── argon2-encoding.c │ │ │ │ │ ├── argon2-encoding.h │ │ │ │ │ ├── argon2-fill-block-ref.c │ │ │ │ │ ├── argon2-fill-block-ssse3.c │ │ │ │ │ ├── argon2.c │ │ │ │ │ ├── argon2.h │ │ │ │ │ ├── blake2b-long.c │ │ │ │ │ ├── blake2b-long.h │ │ │ │ │ ├── blamka-round-ref.h │ │ │ │ │ ├── blamka-round-ssse3.h │ │ │ │ │ └── pwhash_argon2i.c │ │ │ │ ├── crypto_pwhash.c │ │ │ │ └── scryptsalsa208sha256 │ │ │ │ │ ├── crypto_scrypt-common.c │ │ │ │ │ ├── crypto_scrypt.h │ │ │ │ │ ├── nosse │ │ │ │ │ └── pwhash_scryptsalsa208sha256_nosse.c │ │ │ │ │ ├── pbkdf2-sha256.c │ │ │ │ │ ├── pbkdf2-sha256.h │ │ │ │ │ ├── pwhash_scryptsalsa208sha256.c │ │ │ │ │ ├── scrypt_platform.c │ │ │ │ │ └── sse │ │ │ │ │ └── pwhash_scryptsalsa208sha256_sse.c │ │ │ │ ├── crypto_scalarmult │ │ │ │ ├── crypto_scalarmult.c │ │ │ │ └── curve25519 │ │ │ │ │ ├── donna_c64 │ │ │ │ │ ├── curve25519_donna_c64.c │ │ │ │ │ └── curve25519_donna_c64.h │ │ │ │ │ ├── ref10 │ │ │ │ │ ├── x25519_ref10.c │ │ │ │ │ └── x25519_ref10.h │ │ │ │ │ ├── sandy2x │ │ │ │ │ ├── consts_namespace.h │ │ │ │ │ ├── curve25519_sandy2x.c │ │ │ │ │ ├── curve25519_sandy2x.h │ │ │ │ │ ├── fe.h │ │ │ │ │ ├── fe51.h │ │ │ │ │ ├── fe51_invert.c │ │ │ │ │ ├── fe51_namespace.h │ │ │ │ │ ├── fe_frombytes_sandy2x.c │ │ │ │ │ ├── ladder.h │ │ │ │ │ ├── ladder_base.h │ │ │ │ │ ├── ladder_base_namespace.h │ │ │ │ │ └── ladder_namespace.h │ │ │ │ │ ├── scalarmult_curve25519.c │ │ │ │ │ └── scalarmult_curve25519.h │ │ │ │ ├── crypto_secretbox │ │ │ │ ├── crypto_secretbox.c │ │ │ │ ├── crypto_secretbox_easy.c │ │ │ │ ├── xchacha20poly1305 │ │ │ │ │ └── secretbox_xchacha20poly1305.c │ │ │ │ └── xsalsa20poly1305 │ │ │ │ │ └── secretbox_xsalsa20poly1305.c │ │ │ │ ├── crypto_shorthash │ │ │ │ ├── crypto_shorthash.c │ │ │ │ └── siphash24 │ │ │ │ │ ├── ref │ │ │ │ │ ├── shorthash_siphash24_ref.c │ │ │ │ │ ├── shorthash_siphash_ref.h │ │ │ │ │ └── shorthash_siphashx24_ref.c │ │ │ │ │ ├── shorthash_siphash24.c │ │ │ │ │ └── shorthash_siphashx24.c │ │ │ │ ├── crypto_sign │ │ │ │ ├── crypto_sign.c │ │ │ │ └── ed25519 │ │ │ │ │ ├── ref10 │ │ │ │ │ ├── ed25519_ref10.h │ │ │ │ │ ├── keypair.c │ │ │ │ │ ├── obsolete.c │ │ │ │ │ ├── open.c │ │ │ │ │ └── sign.c │ │ │ │ │ └── sign_ed25519.c │ │ │ │ ├── crypto_stream │ │ │ │ ├── aes128ctr │ │ │ │ │ ├── nacl │ │ │ │ │ │ ├── afternm_aes128ctr.c │ │ │ │ │ │ ├── beforenm_aes128ctr.c │ │ │ │ │ │ ├── common.h │ │ │ │ │ │ ├── consts.h │ │ │ │ │ │ ├── consts_aes128ctr.c │ │ │ │ │ │ ├── int128.h │ │ │ │ │ │ ├── int128_aes128ctr.c │ │ │ │ │ │ ├── stream_aes128ctr_nacl.c │ │ │ │ │ │ └── xor_afternm_aes128ctr.c │ │ │ │ │ └── stream_aes128ctr.c │ │ │ │ ├── chacha20 │ │ │ │ │ ├── dolbeau │ │ │ │ │ │ ├── chacha20_dolbeau-avx2.c │ │ │ │ │ │ ├── chacha20_dolbeau-avx2.h │ │ │ │ │ │ ├── chacha20_dolbeau-ssse3.c │ │ │ │ │ │ ├── chacha20_dolbeau-ssse3.h │ │ │ │ │ │ ├── u0.h │ │ │ │ │ │ ├── u1.h │ │ │ │ │ │ ├── u4.h │ │ │ │ │ │ └── u8.h │ │ │ │ │ ├── ref │ │ │ │ │ │ ├── chacha20_ref.c │ │ │ │ │ │ └── chacha20_ref.h │ │ │ │ │ ├── stream_chacha20.c │ │ │ │ │ └── stream_chacha20.h │ │ │ │ ├── crypto_stream.c │ │ │ │ ├── salsa20 │ │ │ │ │ ├── ref │ │ │ │ │ │ ├── salsa20_ref.c │ │ │ │ │ │ └── salsa20_ref.h │ │ │ │ │ ├── stream_salsa20.c │ │ │ │ │ ├── stream_salsa20.h │ │ │ │ │ ├── xmm6 │ │ │ │ │ │ ├── salsa20_xmm6.c │ │ │ │ │ │ └── salsa20_xmm6.h │ │ │ │ │ └── xmm6int │ │ │ │ │ │ ├── salsa20_xmm6int-avx2.c │ │ │ │ │ │ ├── salsa20_xmm6int-avx2.h │ │ │ │ │ │ ├── salsa20_xmm6int-sse2.c │ │ │ │ │ │ ├── salsa20_xmm6int-sse2.h │ │ │ │ │ │ ├── u0.h │ │ │ │ │ │ ├── u1.h │ │ │ │ │ │ ├── u4.h │ │ │ │ │ │ └── u8.h │ │ │ │ ├── salsa2012 │ │ │ │ │ ├── ref │ │ │ │ │ │ └── stream_salsa2012_ref.c │ │ │ │ │ └── stream_salsa2012.c │ │ │ │ ├── salsa208 │ │ │ │ │ ├── ref │ │ │ │ │ │ └── stream_salsa208_ref.c │ │ │ │ │ └── stream_salsa208.c │ │ │ │ ├── xchacha20 │ │ │ │ │ └── stream_xchacha20.c │ │ │ │ └── xsalsa20 │ │ │ │ │ └── stream_xsalsa20.c │ │ │ │ ├── crypto_verify │ │ │ │ └── sodium │ │ │ │ │ └── verify.c │ │ │ │ ├── include │ │ │ │ ├── Makefile.am │ │ │ │ ├── sodium.h │ │ │ │ └── sodium │ │ │ │ │ ├── core.h │ │ │ │ │ ├── crypto_aead_aes256gcm.h │ │ │ │ │ ├── crypto_aead_chacha20poly1305.h │ │ │ │ │ ├── crypto_aead_xchacha20poly1305.h │ │ │ │ │ ├── crypto_auth.h │ │ │ │ │ ├── crypto_auth_hmacsha256.h │ │ │ │ │ ├── crypto_auth_hmacsha512.h │ │ │ │ │ ├── crypto_auth_hmacsha512256.h │ │ │ │ │ ├── crypto_box.h │ │ │ │ │ ├── crypto_box_curve25519xchacha20poly1305.h │ │ │ │ │ ├── crypto_box_curve25519xsalsa20poly1305.h │ │ │ │ │ ├── crypto_core_hchacha20.h │ │ │ │ │ ├── crypto_core_hsalsa20.h │ │ │ │ │ ├── crypto_core_salsa20.h │ │ │ │ │ ├── crypto_core_salsa2012.h │ │ │ │ │ ├── crypto_core_salsa208.h │ │ │ │ │ ├── crypto_generichash.h │ │ │ │ │ ├── crypto_generichash_blake2b.h │ │ │ │ │ ├── crypto_hash.h │ │ │ │ │ ├── crypto_hash_sha256.h │ │ │ │ │ ├── crypto_hash_sha512.h │ │ │ │ │ ├── crypto_kdf.h │ │ │ │ │ ├── crypto_kdf_blake2b.h │ │ │ │ │ ├── crypto_kx.h │ │ │ │ │ ├── crypto_onetimeauth.h │ │ │ │ │ ├── crypto_onetimeauth_poly1305.h │ │ │ │ │ ├── crypto_pwhash.h │ │ │ │ │ ├── crypto_pwhash_argon2i.h │ │ │ │ │ ├── crypto_pwhash_scryptsalsa208sha256.h │ │ │ │ │ ├── crypto_scalarmult.h │ │ │ │ │ ├── crypto_scalarmult_curve25519.h │ │ │ │ │ ├── crypto_secretbox.h │ │ │ │ │ ├── crypto_secretbox_xchacha20poly1305.h │ │ │ │ │ ├── crypto_secretbox_xsalsa20poly1305.h │ │ │ │ │ ├── crypto_shorthash.h │ │ │ │ │ ├── crypto_shorthash_siphash24.h │ │ │ │ │ ├── crypto_sign.h │ │ │ │ │ ├── crypto_sign_ed25519.h │ │ │ │ │ ├── crypto_sign_edwards25519sha512batch.h │ │ │ │ │ ├── crypto_stream.h │ │ │ │ │ ├── crypto_stream_aes128ctr.h │ │ │ │ │ ├── crypto_stream_chacha20.h │ │ │ │ │ ├── crypto_stream_salsa20.h │ │ │ │ │ ├── crypto_stream_salsa2012.h │ │ │ │ │ ├── crypto_stream_salsa208.h │ │ │ │ │ ├── crypto_stream_xchacha20.h │ │ │ │ │ ├── crypto_stream_xsalsa20.h │ │ │ │ │ ├── crypto_verify_16.h │ │ │ │ │ ├── crypto_verify_32.h │ │ │ │ │ ├── crypto_verify_64.h │ │ │ │ │ ├── export.h │ │ │ │ │ ├── private │ │ │ │ │ ├── common.h │ │ │ │ │ ├── curve25519_ref10.h │ │ │ │ │ ├── mutex.h │ │ │ │ │ └── sse2_64_32.h │ │ │ │ │ ├── randombytes.h │ │ │ │ │ ├── randombytes_nativeclient.h │ │ │ │ │ ├── randombytes_salsa20_random.h │ │ │ │ │ ├── randombytes_sysrandom.h │ │ │ │ │ ├── runtime.h │ │ │ │ │ ├── utils.h │ │ │ │ │ └── version.h.in │ │ │ │ ├── randombytes │ │ │ │ ├── nativeclient │ │ │ │ │ └── randombytes_nativeclient.c │ │ │ │ ├── randombytes.c │ │ │ │ ├── salsa20 │ │ │ │ │ └── randombytes_salsa20_random.c │ │ │ │ └── sysrandom │ │ │ │ │ └── randombytes_sysrandom.c │ │ │ │ └── sodium │ │ │ │ ├── core.c │ │ │ │ ├── runtime.c │ │ │ │ ├── utils.c │ │ │ │ └── version.c │ │ └── test │ │ │ ├── Makefile.am │ │ │ ├── default │ │ │ ├── Makefile.am │ │ │ ├── aead_aes256gcm.c │ │ │ ├── aead_aes256gcm.exp │ │ │ ├── aead_chacha20poly1305.c │ │ │ ├── aead_chacha20poly1305.exp │ │ │ ├── aead_xchacha20poly1305.c │ │ │ ├── aead_xchacha20poly1305.exp │ │ │ ├── auth.c │ │ │ ├── auth.exp │ │ │ ├── auth2.c │ │ │ ├── auth2.exp │ │ │ ├── auth3.c │ │ │ ├── auth3.exp │ │ │ ├── auth5.c │ │ │ ├── auth5.exp │ │ │ ├── auth6.c │ │ │ ├── auth6.exp │ │ │ ├── auth7.c │ │ │ ├── auth7.exp │ │ │ ├── box.c │ │ │ ├── box.exp │ │ │ ├── box2.c │ │ │ ├── box2.exp │ │ │ ├── box7.c │ │ │ ├── box7.exp │ │ │ ├── box8.c │ │ │ ├── box8.exp │ │ │ ├── box_easy.c │ │ │ ├── box_easy.exp │ │ │ ├── box_easy2.c │ │ │ ├── box_easy2.exp │ │ │ ├── box_seal.c │ │ │ ├── box_seal.exp │ │ │ ├── box_seed.c │ │ │ ├── box_seed.exp │ │ │ ├── chacha20.c │ │ │ ├── chacha20.exp │ │ │ ├── cmptest.h │ │ │ ├── core1.c │ │ │ ├── core1.exp │ │ │ ├── core2.c │ │ │ ├── core2.exp │ │ │ ├── core3.c │ │ │ ├── core3.exp │ │ │ ├── core4.c │ │ │ ├── core4.exp │ │ │ ├── core5.c │ │ │ ├── core5.exp │ │ │ ├── core6.c │ │ │ ├── core6.exp │ │ │ ├── ed25519_convert.c │ │ │ ├── ed25519_convert.exp │ │ │ ├── generichash.c │ │ │ ├── generichash.exp │ │ │ ├── generichash2.c │ │ │ ├── generichash2.exp │ │ │ ├── generichash3.c │ │ │ ├── generichash3.exp │ │ │ ├── hash.c │ │ │ ├── hash.exp │ │ │ ├── hash2.exp │ │ │ ├── hash3.c │ │ │ ├── hash3.exp │ │ │ ├── index-wasm.html.tpl │ │ │ ├── index.html.tpl │ │ │ ├── kdf.c │ │ │ ├── kdf.exp │ │ │ ├── keygen.c │ │ │ ├── keygen.exp │ │ │ ├── kx.c │ │ │ ├── kx.exp │ │ │ ├── nacl-test-wrapper.sh │ │ │ ├── onetimeauth.c │ │ │ ├── onetimeauth.exp │ │ │ ├── onetimeauth2.c │ │ │ ├── onetimeauth2.exp │ │ │ ├── onetimeauth7.c │ │ │ ├── onetimeauth7.exp │ │ │ ├── pre.js.inc │ │ │ ├── pwhash.c │ │ │ ├── pwhash.exp │ │ │ ├── pwhash_scrypt.c │ │ │ ├── pwhash_scrypt.exp │ │ │ ├── pwhash_scrypt_ll.c │ │ │ ├── pwhash_scrypt_ll.exp │ │ │ ├── randombytes.c │ │ │ ├── randombytes.exp │ │ │ ├── scalarmult.c │ │ │ ├── scalarmult.exp │ │ │ ├── scalarmult2.c │ │ │ ├── scalarmult2.exp │ │ │ ├── scalarmult5.c │ │ │ ├── scalarmult5.exp │ │ │ ├── scalarmult6.c │ │ │ ├── scalarmult6.exp │ │ │ ├── scalarmult7.c │ │ │ ├── scalarmult7.exp │ │ │ ├── secretbox.c │ │ │ ├── secretbox.exp │ │ │ ├── secretbox2.c │ │ │ ├── secretbox2.exp │ │ │ ├── secretbox7.c │ │ │ ├── secretbox7.exp │ │ │ ├── secretbox8.c │ │ │ ├── secretbox8.exp │ │ │ ├── secretbox_easy.c │ │ │ ├── secretbox_easy.exp │ │ │ ├── secretbox_easy2.c │ │ │ ├── secretbox_easy2.exp │ │ │ ├── shorthash.c │ │ │ ├── shorthash.exp │ │ │ ├── sign.c │ │ │ ├── sign.exp │ │ │ ├── siphashx24.c │ │ │ ├── siphashx24.exp │ │ │ ├── sodium_core.c │ │ │ ├── sodium_core.exp │ │ │ ├── sodium_utils.c │ │ │ ├── sodium_utils.exp │ │ │ ├── sodium_utils2.c │ │ │ ├── sodium_utils2.exp │ │ │ ├── sodium_utils3.c │ │ │ ├── sodium_utils3.exp │ │ │ ├── sodium_version.c │ │ │ ├── sodium_version.exp │ │ │ ├── stream.c │ │ │ ├── stream.exp │ │ │ ├── stream2.c │ │ │ ├── stream2.exp │ │ │ ├── stream3.c │ │ │ ├── stream3.exp │ │ │ ├── stream4.c │ │ │ ├── stream4.exp │ │ │ ├── verify1.c │ │ │ ├── verify1.exp │ │ │ ├── wintest.bat │ │ │ ├── xchacha20.c │ │ │ └── xchacha20.exp │ │ │ └── quirks │ │ │ └── quirks.h │ ├── port │ │ ├── crypto_hash_mbedtls │ │ │ ├── crypto_hash_sha256_mbedtls.c │ │ │ └── crypto_hash_sha512_mbedtls.c │ │ ├── randombytes_default.h │ │ └── randombytes_esp8266.c │ ├── port_include │ │ └── sodium │ │ │ └── version.h │ └── test │ │ ├── component.mk │ │ └── test_sodium.c ├── log │ ├── CMakeLists.txt │ ├── Kconfig │ ├── README.rst │ ├── component.mk │ ├── include │ │ ├── esp_log.h │ │ └── esp_log_internal.h │ ├── linker.lf │ ├── log.c │ └── test │ │ ├── component.mk │ │ └── test_log_set_tag.c ├── lwip │ ├── CMakeLists.txt │ ├── Kconfig │ ├── apps │ │ ├── dhcpserver │ │ │ └── dhcpserver.c │ │ ├── ping │ │ │ ├── esp_ping.c │ │ │ ├── ping.c │ │ │ └── ping_sock.c │ │ └── sntp │ │ │ └── sntp.c │ ├── component.mk │ ├── include │ │ └── apps │ │ │ ├── dhcpserver │ │ │ ├── dhcpserver.h │ │ │ └── dhcpserver_options.h │ │ │ ├── esp_ping.h │ │ │ ├── esp_sntp.h │ │ │ ├── ping │ │ │ ├── ping.h │ │ │ └── ping_sock.h │ │ │ └── sntp │ │ │ └── sntp.h │ ├── linker.lf │ ├── port │ │ └── esp8266 │ │ │ ├── debug │ │ │ └── lwip_debug.c │ │ │ ├── freertos │ │ │ └── sys_arch.c │ │ │ ├── include │ │ │ ├── arch │ │ │ │ ├── cc.h │ │ │ │ ├── perf.h │ │ │ │ ├── sys_arch.h │ │ │ │ └── vfs_lwip.h │ │ │ ├── arpa │ │ │ │ └── inet.h │ │ │ ├── debug │ │ │ │ └── lwip_debug.h │ │ │ ├── lwipopts.h │ │ │ ├── netdb.h │ │ │ ├── netif │ │ │ │ ├── dhcp_state.h │ │ │ │ ├── ethernetif.h │ │ │ │ └── wlanif.h │ │ │ ├── netinet │ │ │ │ ├── in.h │ │ │ │ └── tcp.h │ │ │ └── sys │ │ │ │ └── socket.h │ │ │ ├── netif │ │ │ ├── dhcp_state.c │ │ │ ├── ethernetif.c │ │ │ └── wlanif.c │ │ │ └── vfs_lwip.c │ ├── sdkconfig.rename │ ├── test_afl_host │ │ ├── CMakeLists.txt │ │ ├── Makefile │ │ ├── dhcp_di.h │ │ ├── dhcpserver_di.h │ │ ├── dns_di.h │ │ ├── in_dhcp_client │ │ │ ├── data0.bin │ │ │ ├── data1.bin │ │ │ ├── data2.bin │ │ │ ├── data3.bin │ │ │ ├── data4.bin │ │ │ ├── data5.bin │ │ │ ├── data6.bin │ │ │ ├── data7.bin │ │ │ └── data8.bin │ │ ├── in_dhcp_server │ │ │ ├── data0.bin │ │ │ ├── data1.bin │ │ │ ├── data2.bin │ │ │ ├── data3.bin │ │ │ ├── data4.bin │ │ │ ├── data5.bin │ │ │ └── data6.bin │ │ ├── in_dns │ │ │ ├── out0.bin │ │ │ ├── out10.bin │ │ │ ├── out28.bin │ │ │ ├── out29.bin │ │ │ ├── out30.bin │ │ │ ├── out31.bin │ │ │ ├── out32.bin │ │ │ ├── out33.bin │ │ │ ├── out34.bin │ │ │ ├── out35.bin │ │ │ ├── out36.bin │ │ │ ├── out37.bin │ │ │ └── out38.bin │ │ ├── network_mock.c │ │ ├── no_warn_host.h │ │ ├── test_dhcp_client.c │ │ ├── test_dhcp_server.c │ │ └── test_dns.c │ └── weekend_test │ │ ├── env.yml │ │ ├── esp32_netsuite.cfg │ │ ├── esp32_netsuite.ttcn │ │ ├── net_suite_test.py │ │ └── test_weekend_network_.yml ├── mbedtls │ ├── CMakeLists.txt │ ├── Kconfig │ ├── Makefile.projbuild │ ├── component.mk │ ├── port │ │ ├── dynamic │ │ │ ├── esp_mbedtls_dynamic_impl.c │ │ │ ├── esp_mbedtls_dynamic_impl.h │ │ │ ├── esp_ssl_cli.c │ │ │ ├── esp_ssl_srv.c │ │ │ └── esp_ssl_tls.c │ │ ├── esp8266 │ │ │ ├── aes.c │ │ │ ├── arc4.c │ │ │ ├── base64.c │ │ │ ├── md5.c │ │ │ ├── sha1.c │ │ │ ├── sha256.c │ │ │ └── sha512.c │ │ ├── esp_aes.c │ │ ├── esp_hardware.c │ │ ├── esp_mem.c │ │ ├── esp_sha1.c │ │ ├── esp_sha256.c │ │ ├── esp_sha512.c │ │ ├── esp_timing.c │ │ ├── include │ │ │ ├── aes_alt.h │ │ │ ├── arc4_alt.h │ │ │ ├── esp8266 │ │ │ │ ├── esp_aes.h │ │ │ │ ├── esp_arc4.h │ │ │ │ ├── esp_base64.h │ │ │ │ └── esp_md5.h │ │ │ ├── esp_mem.h │ │ │ ├── mbedtls │ │ │ │ ├── esp_config.h │ │ │ │ └── esp_debug.h │ │ │ ├── md5_alt.h │ │ │ ├── sha1_alt.h │ │ │ ├── sha256_alt.h │ │ │ └── sha512_alt.h │ │ ├── mbedtls_debug.c │ │ └── net_sockets.c │ └── test │ │ ├── CMakeLists.txt │ │ ├── component.mk │ │ ├── test_aes.c │ │ ├── test_aes_perf.c │ │ ├── test_apb_dport_access.c │ │ ├── test_apb_dport_access.h │ │ ├── test_arc4.c │ │ ├── test_base64.c │ │ ├── test_crc.c │ │ ├── test_ecp.c │ │ ├── test_mbedtls.c │ │ ├── test_mbedtls_mpi.c │ │ ├── test_mbedtls_sha.c │ │ ├── test_md5.c │ │ ├── test_rsa.c │ │ └── test_sha.c ├── mdns │ ├── CMakeLists.txt │ ├── Kconfig │ ├── component.mk │ ├── include │ │ ├── mdns.h │ │ └── mdns_console.h │ ├── mdns.c │ ├── mdns_console.c │ ├── mdns_networking.c │ ├── private_include │ │ ├── mdns_networking.h │ │ └── mdns_private.h │ ├── test │ │ ├── CMakeLists.txt │ │ ├── component.mk │ │ └── test_mdns.c │ └── test_afl_fuzz_host │ │ ├── Makefile │ │ ├── README.md │ │ ├── esp32_compat.h │ │ ├── esp32_mock.c │ │ ├── esp32_mock.h │ │ ├── in │ │ ├── test-14.bin │ │ ├── test-15.bin │ │ ├── test-16.bin │ │ ├── test-28.bin │ │ ├── test-29.bin │ │ ├── test-31.bin │ │ ├── test-53.bin │ │ ├── test-56.bin │ │ ├── test-63.bin │ │ ├── test-83.bin │ │ ├── test-88.bin │ │ ├── test-89.bin │ │ ├── test-95.bin │ │ └── test-96.bin │ │ ├── input_packets.txt │ │ ├── mdns_di.h │ │ └── test.c ├── mqtt │ ├── CMakeLists.txt │ ├── Kconfig │ ├── component.mk │ ├── test │ │ ├── CMakeLists.txt │ │ ├── component.mk │ │ └── test_mqtt.c │ └── weekend_test │ │ ├── env.yml │ │ ├── mqtt_publish_test.py │ │ ├── test_weekend_mqtt_.yml │ │ └── test_weekend_mqtt_qemu.yml ├── newlib │ ├── CMakeLists.txt │ ├── Kconfig │ ├── README.md │ ├── component.mk │ ├── newlib │ │ └── port │ │ │ ├── include │ │ │ └── sys │ │ │ │ ├── unistd.h │ │ │ │ └── utime.h │ │ │ ├── pread.c │ │ │ ├── pwrite.c │ │ │ └── utime.c │ ├── platform_include │ │ ├── esp_newlib.h │ │ ├── pthread.h │ │ ├── sys │ │ │ ├── poll.h │ │ │ ├── random.h │ │ │ ├── select.h │ │ │ ├── termios.h │ │ │ ├── time.h │ │ │ ├── uio.h │ │ │ └── un.h │ │ └── time.h │ └── src │ │ ├── esp_malloc.c │ │ ├── locks.c │ │ ├── random.c │ │ ├── reent_init.c │ │ ├── select.c │ │ ├── syscall.c │ │ ├── termios.c │ │ └── time.c ├── nvs_flash │ ├── .gitignore │ ├── CMakeLists.txt │ ├── component.mk │ ├── host_test │ │ ├── fixtures │ │ │ └── test_fixtures.hpp │ │ └── nvs_page_test │ │ │ ├── CMakeLists.txt │ │ │ ├── README.rst │ │ │ ├── main │ │ │ ├── CMakeLists.txt │ │ │ └── nvs_page_test.cpp │ │ │ └── sdkconfig.defaults │ ├── include │ │ ├── nvs.h │ │ ├── nvs_flash.h │ │ └── nvs_handle.hpp │ ├── mock │ │ └── int │ │ │ ├── crc.cpp │ │ │ └── crc.h │ ├── nvs_partition_generator │ │ ├── README.rst │ │ ├── README_CN.rst │ │ ├── nvs_partition_gen.py │ │ ├── part_old_blob_format.bin │ │ ├── sample_multipage_blob.csv │ │ ├── sample_singlepage_blob.csv │ │ └── testdata │ │ │ ├── sample.base64 │ │ │ ├── sample.hex │ │ │ ├── sample.txt │ │ │ ├── sample_blob.bin │ │ │ ├── sample_encryption_keys.bin │ │ │ ├── sample_multipage_blob.bin │ │ │ └── sample_singlepage_blob.bin │ ├── src │ │ ├── compressed_enum_table.hpp │ │ ├── intrusive_list.h │ │ ├── nvs.hpp │ │ ├── nvs_api.cpp │ │ ├── nvs_cxx_api.cpp │ │ ├── nvs_encrypted_partition.cpp │ │ ├── nvs_encrypted_partition.hpp │ │ ├── nvs_handle_locked.cpp │ │ ├── nvs_handle_locked.hpp │ │ ├── nvs_handle_simple.cpp │ │ ├── nvs_handle_simple.hpp │ │ ├── nvs_item_hash_list.cpp │ │ ├── nvs_item_hash_list.hpp │ │ ├── nvs_page.cpp │ │ ├── nvs_page.hpp │ │ ├── nvs_pagemanager.cpp │ │ ├── nvs_pagemanager.hpp │ │ ├── nvs_partition.cpp │ │ ├── nvs_partition.hpp │ │ ├── nvs_partition_lookup.cpp │ │ ├── nvs_partition_lookup.hpp │ │ ├── nvs_partition_manager.cpp │ │ ├── nvs_partition_manager.hpp │ │ ├── nvs_platform.hpp │ │ ├── nvs_storage.cpp │ │ ├── nvs_storage.hpp │ │ ├── nvs_test_api.h │ │ ├── nvs_types.cpp │ │ ├── nvs_types.hpp │ │ └── partition.hpp │ ├── test │ │ ├── CMakeLists.txt │ │ ├── component.mk │ │ ├── encryption_keys.bin │ │ ├── partition_encrypted.bin │ │ ├── sample.bin │ │ └── test_nvs.c │ └── test_nvs_host │ │ ├── Makefile │ │ ├── README.md │ │ ├── esp_error_check_stub.cpp │ │ ├── main.cpp │ │ ├── sdkconfig.h │ │ ├── spi_flash_emulation.cpp │ │ ├── spi_flash_emulation.h │ │ ├── test_compressed_enum_table.cpp │ │ ├── test_fixtures.hpp │ │ ├── test_intrusive_list.cpp │ │ ├── test_nvs.cpp │ │ ├── test_nvs_cxx_api.cpp │ │ ├── test_nvs_handle.cpp │ │ ├── test_nvs_initialization.cpp │ │ ├── test_nvs_partition.cpp │ │ ├── test_nvs_storage.cpp │ │ ├── test_partition_manager.cpp │ │ └── test_spi_flash_emulation.cpp ├── openssl │ ├── CMakeLists.txt │ ├── Kconfig │ ├── OpenSSL-APIs.rst │ ├── component.mk │ ├── include │ │ ├── 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 │ ├── library │ │ ├── ssl_cert.c │ │ ├── ssl_lib.c │ │ ├── ssl_methods.c │ │ ├── ssl_pkey.c │ │ ├── ssl_stack.c │ │ └── ssl_x509.c │ └── platform │ │ ├── ssl_pm.c │ │ └── ssl_port.c ├── partition_table │ ├── CMakeLists.txt │ ├── Kconfig.projbuild │ ├── Makefile.projbuild │ ├── component.mk │ ├── gen_empty_partition.py │ ├── gen_esp32part.py │ ├── partitions_singleapp.csv │ ├── partitions_two_ota.1MB.csv │ ├── partitions_two_ota.csv │ ├── parttool.py │ ├── project_include.cmake │ └── test_gen_esp32part_host │ │ └── gen_esp32part_tests.py ├── protobuf-c │ ├── CMakeLists.txt │ ├── component.mk │ └── protobuf-c │ │ ├── .commit_docs.sh │ │ ├── .gitignore │ │ ├── .travis.yml │ │ ├── CONTRIBUTING.md │ │ ├── ChangeLog │ │ ├── Doxyfile.in │ │ ├── DoxygenLayout.xml │ │ ├── LICENSE │ │ ├── Makefile.am │ │ ├── README.md │ │ ├── TODO │ │ ├── autogen.sh │ │ ├── build-cmake │ │ ├── .gitignore │ │ └── CMakeLists.txt │ │ ├── configure.ac │ │ ├── m4 │ │ ├── .gitignore │ │ ├── ax_check_compile_flag.m4 │ │ ├── code_coverage.m4 │ │ ├── ld-version-script.m4 │ │ ├── pkg.m4 │ │ └── valgrind-tests.m4 │ │ ├── protobuf-c │ │ ├── libprotobuf-c.pc.in │ │ ├── libprotobuf-c.sym │ │ ├── protobuf-c.c │ │ └── protobuf-c.h │ │ ├── protoc-c │ │ ├── c_bytes_field.cc │ │ ├── c_bytes_field.h │ │ ├── c_enum.cc │ │ ├── c_enum.h │ │ ├── c_enum_field.cc │ │ ├── c_enum_field.h │ │ ├── c_extension.cc │ │ ├── c_extension.h │ │ ├── c_field.cc │ │ ├── c_field.h │ │ ├── c_file.cc │ │ ├── c_file.h │ │ ├── c_generator.cc │ │ ├── c_generator.h │ │ ├── c_helpers.cc │ │ ├── c_helpers.h │ │ ├── c_message.cc │ │ ├── c_message.h │ │ ├── c_message_field.cc │ │ ├── c_message_field.h │ │ ├── c_primitive_field.cc │ │ ├── c_primitive_field.h │ │ ├── c_service.cc │ │ ├── c_service.h │ │ ├── c_string_field.cc │ │ ├── c_string_field.h │ │ └── main.cc │ │ └── t │ │ ├── README │ │ ├── generated-code │ │ └── test-generated-code.c │ │ ├── generated-code2 │ │ ├── common-test-arrays.h │ │ ├── cxx-generate-packed-data.cc │ │ └── test-generated-code2.c │ │ ├── issue220 │ │ ├── .gitignore │ │ ├── issue220.c │ │ └── issue220.proto │ │ ├── issue251 │ │ ├── .gitignore │ │ ├── issue251.c │ │ └── issue251.proto │ │ ├── test-full.proto │ │ ├── test-optimized.proto │ │ ├── test-proto3.proto │ │ ├── test.proto │ │ └── version │ │ └── version.c ├── protocomm │ ├── CMakeLists.txt │ ├── component.mk │ ├── include │ │ ├── common │ │ │ └── protocomm.h │ │ ├── security │ │ │ ├── protocomm_security.h │ │ │ ├── protocomm_security0.h │ │ │ └── protocomm_security1.h │ │ └── transports │ │ │ └── protocomm_httpd.h │ ├── proto-c │ │ ├── constants.pb-c.c │ │ ├── constants.pb-c.h │ │ ├── sec0.pb-c.c │ │ ├── sec0.pb-c.h │ │ ├── sec1.pb-c.c │ │ ├── sec1.pb-c.h │ │ ├── session.pb-c.c │ │ └── session.pb-c.h │ ├── proto │ │ ├── README.md │ │ ├── constants.proto │ │ ├── makefile │ │ ├── sec0.proto │ │ ├── sec1.proto │ │ └── session.proto │ ├── python │ │ ├── constants_pb2.py │ │ ├── sec0_pb2.py │ │ ├── sec1_pb2.py │ │ └── session_pb2.py │ └── src │ │ ├── common │ │ ├── protocomm.c │ │ └── protocomm_priv.h │ │ ├── security │ │ ├── security0.c │ │ └── security1.c │ │ └── transports │ │ └── protocomm_httpd.c ├── pthread │ ├── CMakeLists.txt │ ├── Kconfig │ ├── component.mk │ ├── include │ │ └── esp_pthread.h │ ├── pthread.c │ ├── pthread_cond_var.c │ ├── pthread_internal.h │ ├── pthread_local_storage.c │ ├── sdkconfig.rename │ └── test │ │ ├── CMakeLists.txt │ │ ├── component.mk │ │ ├── test_cxx_cond_var.cpp │ │ ├── test_cxx_std_future.cpp │ │ ├── test_pthread.c │ │ ├── test_pthread_cxx.cpp │ │ └── test_pthread_local_storage.c ├── spi_flash │ ├── CMakeLists.txt │ ├── Kconfig │ ├── component.mk │ ├── include │ │ ├── esp_partition.h │ │ ├── esp_spi_flash.h │ │ ├── priv │ │ │ └── esp_spi_flash_raw.h │ │ └── spi_flash.h │ ├── linker.lf │ ├── port │ │ └── port.c │ ├── src │ │ ├── partition.c │ │ ├── patch │ │ │ └── th25q16hb.c │ │ ├── spi_flash.c │ │ └── spi_flash_raw.c │ └── test │ │ ├── component.mk │ │ └── test_read_write.c ├── spi_ram │ ├── CMakeLists.txt │ ├── component.mk │ ├── include │ │ ├── spi_ram.h │ │ └── spi_ram_fifo.h │ ├── spi_ram.c │ └── spi_ram_fifo.c ├── spiffs │ ├── CMakeLists.txt │ ├── Kconfig │ ├── component.mk │ ├── esp_spiffs.c │ ├── include │ │ ├── esp_spiffs.h │ │ └── spiffs_config.h │ ├── spiffs │ │ ├── .travis.yml │ │ ├── FUZZING.md │ │ ├── LICENSE │ │ ├── README.md │ │ ├── afltests │ │ │ ├── 100 │ │ │ ├── 200 │ │ │ ├── a │ │ │ └── b │ │ ├── docs │ │ │ ├── TECH_SPEC │ │ │ └── TODO │ │ ├── files.mk │ │ ├── makefile │ │ └── src │ │ │ ├── default │ │ │ └── spiffs_config.h │ │ │ ├── spiffs.h │ │ │ ├── spiffs_cache.c │ │ │ ├── spiffs_check.c │ │ │ ├── spiffs_gc.c │ │ │ ├── spiffs_hydrogen.c │ │ │ ├── spiffs_nucleus.c │ │ │ ├── spiffs_nucleus.h │ │ │ └── test │ │ │ ├── main.c │ │ │ ├── params_test.h │ │ │ ├── test_bugreports.c │ │ │ ├── test_check.c │ │ │ ├── test_dev.c │ │ │ ├── test_hydrogen.c │ │ │ ├── test_spiffs.c │ │ │ ├── test_spiffs.h │ │ │ ├── testrunner.c │ │ │ ├── testrunner.h │ │ │ └── testsuites.c │ ├── spiffs_api.c │ ├── spiffs_api.h │ ├── test │ │ ├── CMakeLists.txt │ │ ├── component.mk │ │ └── test_spiffs.c │ └── test_spiffs_host │ │ ├── Makefile │ │ ├── Makefile.files │ │ ├── component.mk │ │ ├── main.cpp │ │ ├── partition_table.csv │ │ ├── sdkconfig │ │ └── sdkconfig.h │ │ ├── test_spiffs.cpp │ │ └── test_utils.c ├── tcp_transport │ ├── CMakeLists.txt │ ├── component.mk │ ├── include │ │ ├── esp_transport.h │ │ ├── esp_transport_ssl.h │ │ ├── esp_transport_tcp.h │ │ └── esp_transport_ws.h │ ├── private_include │ │ ├── esp_transport_ssl_internal.h │ │ └── esp_transport_utils.h │ ├── test │ │ ├── CMakeLists.txt │ │ ├── component.mk │ │ └── test_transport.c │ ├── transport.c │ ├── transport_ssl.c │ ├── transport_tcp.c │ ├── transport_utils.c │ └── transport_ws.c ├── tcpip_adapter │ ├── CMakeLists.txt │ ├── Kconfig │ ├── component.mk │ ├── esp_netif.c │ ├── event_handlers.c │ ├── include │ │ ├── esp_netif.h │ │ └── tcpip_adapter.h │ └── tcpip_adapter_lwip.c ├── vfs │ ├── CMakeLists.txt │ ├── Kconfig │ ├── README.rst │ ├── README_CN.rst │ ├── component.mk │ ├── include │ │ ├── esp_vfs.h │ │ ├── esp_vfs_dev.h │ │ ├── esp_vfs_semihost.h │ │ └── sys │ │ │ ├── dirent.h │ │ │ └── ioctl.h │ ├── sdkconfig.rename │ ├── test │ │ ├── CMakeLists.txt │ │ ├── component.mk │ │ ├── test_vfs_access.c │ │ ├── test_vfs_append.c │ │ ├── test_vfs_fd.c │ │ ├── test_vfs_paths.c │ │ ├── test_vfs_select.c │ │ └── test_vfs_uart.c │ ├── vfs.c │ ├── vfs_semihost.c │ └── vfs_uart.c ├── wear_levelling │ ├── .gitignore │ ├── CMakeLists.txt │ ├── Kconfig │ ├── Partition.cpp │ ├── README.rst │ ├── README_CN.rst │ ├── SPI_Flash.cpp │ ├── WL_Ext_Perf.cpp │ ├── WL_Ext_Safe.cpp │ ├── WL_Flash.cpp │ ├── component.mk │ ├── crc32.cpp │ ├── crc32.h │ ├── doc │ │ └── wl_sw_structure.rst │ ├── include │ │ └── wear_levelling.h │ ├── private_include │ │ ├── Flash_Access.h │ │ ├── Partition.h │ │ ├── SPI_Flash.h │ │ ├── WL_Config.h │ │ ├── WL_Ext_Cfg.h │ │ ├── WL_Ext_Perf.h │ │ ├── WL_Ext_Safe.h │ │ ├── WL_Flash.h │ │ └── WL_State.h │ ├── test │ │ ├── CMakeLists.txt │ │ ├── component.mk │ │ ├── test_partition_v1.bin │ │ └── test_wl.c │ ├── test_wl_host │ │ ├── Makefile │ │ ├── Makefile.files │ │ ├── component.mk │ │ ├── esp_error_check_stub.cpp │ │ ├── main.cpp │ │ ├── partition_table.csv │ │ ├── sdkconfig │ │ │ └── sdkconfig.h │ │ └── test_wl.cpp │ └── wear_levelling.cpp ├── wifi_provisioning │ ├── CMakeLists.txt │ ├── Kconfig │ ├── component.mk │ ├── include │ │ └── wifi_provisioning │ │ │ ├── manager.h │ │ │ ├── scheme_softap.h │ │ │ ├── wifi_config.h │ │ │ └── wifi_scan.h │ ├── proto-c │ │ ├── wifi_config.pb-c.c │ │ ├── wifi_config.pb-c.h │ │ ├── wifi_constants.pb-c.c │ │ ├── wifi_constants.pb-c.h │ │ ├── wifi_scan.pb-c.c │ │ └── wifi_scan.pb-c.h │ ├── proto │ │ ├── CMakeLists.txt │ │ ├── README.md │ │ ├── makefile │ │ ├── wifi_config.proto │ │ ├── wifi_constants.proto │ │ └── wifi_scan.proto │ ├── python │ │ ├── wifi_config_pb2.py │ │ ├── wifi_constants_pb2.py │ │ └── wifi_scan_pb2.py │ └── src │ │ ├── handlers.c │ │ ├── manager.c │ │ ├── scheme_softap.c │ │ ├── wifi_config.c │ │ ├── wifi_provisioning_priv.h │ │ └── wifi_scan.c └── wpa_supplicant │ ├── CMakeLists.txt │ ├── COPYING │ ├── Kconfig │ ├── component.mk │ ├── include │ ├── esp_supplicant │ │ ├── esp_rrm.h │ │ ├── esp_wnm.h │ │ ├── esp_wpa.h │ │ ├── esp_wpa2.h │ │ └── esp_wps.h │ └── utils │ │ ├── wpa_debug.h │ │ └── wpabuf.h │ ├── port │ ├── include │ │ ├── byteswap.h │ │ ├── os.h │ │ └── supplicant_opt.h │ └── os_xtensa.c │ ├── src │ ├── ap │ │ ├── ap_config.c │ │ ├── ap_config.h │ │ ├── hostapd.h │ │ ├── ieee802_1x.c │ │ ├── ieee802_1x.h │ │ ├── sta_info.h │ │ ├── wpa_auth.c │ │ ├── wpa_auth.h │ │ ├── wpa_auth_i.h │ │ ├── wpa_auth_ie.c │ │ └── wpa_auth_ie.h │ ├── common │ │ ├── bss.c │ │ ├── bss.h │ │ ├── defs.h │ │ ├── dpp.c │ │ ├── dpp.h │ │ ├── eapol_common.h │ │ ├── ieee802_11_common.c │ │ ├── ieee802_11_common.h │ │ ├── ieee802_11_defs.h │ │ ├── rrm.c │ │ ├── rrm.h │ │ ├── sae.c │ │ ├── sae.h │ │ ├── scan.c │ │ ├── scan.h │ │ ├── wnm_sta.c │ │ ├── wnm_sta.h │ │ ├── wpa_common.c │ │ ├── wpa_common.h │ │ ├── wpa_ctrl.h │ │ └── wpa_supplicant_i.h │ ├── crypto │ │ ├── aes-cbc.c │ │ ├── aes-ccm.c │ │ ├── aes-ctr.c │ │ ├── aes-internal-dec.c │ │ ├── aes-internal-enc.c │ │ ├── aes-internal.c │ │ ├── aes-omac1.c │ │ ├── aes-siv.c │ │ ├── aes-unwrap.c │ │ ├── aes-wrap.c │ │ ├── aes.h │ │ ├── aes_i.h │ │ ├── aes_siv.h │ │ ├── aes_wrap.h │ │ ├── bignum.c │ │ ├── bignum.h │ │ ├── ccmp.c │ │ ├── ccmp.h │ │ ├── crypto.h │ │ ├── crypto_internal-cipher.c │ │ ├── crypto_internal-modexp.c │ │ ├── crypto_internal-rsa.c │ │ ├── crypto_internal.c │ │ ├── crypto_mbedtls-bignum.c │ │ ├── crypto_mbedtls-ec.c │ │ ├── crypto_mbedtls-rsa.c │ │ ├── crypto_mbedtls.c │ │ ├── crypto_ops.c │ │ ├── des-internal.c │ │ ├── des_i.h │ │ ├── dh_group5.c │ │ ├── dh_group5.h │ │ ├── dh_groups.c │ │ ├── dh_groups.h │ │ ├── libtommath.h │ │ ├── md4-internal.c │ │ ├── md5-internal.c │ │ ├── md5.c │ │ ├── md5.h │ │ ├── md5_i.h │ │ ├── ms_funcs.c │ │ ├── ms_funcs.h │ │ ├── random.h │ │ ├── rc4.c │ │ ├── sha1-internal.c │ │ ├── sha1-pbkdf2.c │ │ ├── sha1-tlsprf.c │ │ ├── sha1.c │ │ ├── sha1.h │ │ ├── sha1_i.h │ │ ├── sha256-internal.c │ │ ├── sha256-kdf.c │ │ ├── sha256-prf.c │ │ ├── sha256-tlsprf.c │ │ ├── sha256.c │ │ ├── sha256.h │ │ ├── sha256_i.h │ │ ├── sha384-tlsprf.c │ │ ├── sha384.h │ │ └── tls_mbedtls.c │ ├── drivers │ │ └── driver.h │ ├── eap_peer │ │ ├── chap.c │ │ ├── chap.h │ │ ├── eap.c │ │ ├── eap.h │ │ ├── eap_common.c │ │ ├── eap_common.h │ │ ├── eap_config.h │ │ ├── eap_defs.h │ │ ├── eap_i.h │ │ ├── eap_methods.h │ │ ├── eap_mschapv2.c │ │ ├── eap_peap.c │ │ ├── eap_peap_common.c │ │ ├── eap_peap_common.h │ │ ├── eap_tls.c │ │ ├── eap_tls.h │ │ ├── eap_tls_common.c │ │ ├── eap_tls_common.h │ │ ├── eap_tlv_common.h │ │ ├── eap_ttls.c │ │ ├── eap_ttls.h │ │ ├── mschapv2.c │ │ └── mschapv2.h │ ├── esp_supplicant │ │ ├── esp_common.c │ │ ├── esp_common_i.h │ │ ├── esp_hostap.c │ │ ├── esp_hostap.h │ │ ├── esp_scan.c │ │ ├── esp_scan_i.h │ │ ├── esp_wifi_driver.h │ │ ├── esp_wpa2.c │ │ ├── esp_wpa3.c │ │ ├── esp_wpa3_i.h │ │ ├── esp_wpa_err.h │ │ ├── esp_wpa_main.c │ │ ├── esp_wpas_glue.c │ │ ├── esp_wpas_glue.h │ │ └── esp_wps.c │ ├── rsn_supp │ │ ├── pmksa_cache.c │ │ ├── pmksa_cache.h │ │ ├── wpa.c │ │ ├── wpa.h │ │ ├── wpa_i.h │ │ ├── wpa_ie.c │ │ └── wpa_ie.h │ ├── tls │ │ ├── asn1.c │ │ ├── asn1.h │ │ ├── bignum.c │ │ ├── bignum.h │ │ ├── libtommath.h │ │ ├── pkcs1.c │ │ ├── pkcs1.h │ │ ├── pkcs5.c │ │ ├── pkcs5.h │ │ ├── pkcs8.c │ │ ├── pkcs8.h │ │ ├── rsa.c │ │ ├── rsa.h │ │ ├── tls.h │ │ ├── tls_internal.c │ │ ├── tlsv1_client.c │ │ ├── tlsv1_client.h │ │ ├── tlsv1_client_i.h │ │ ├── tlsv1_client_read.c │ │ ├── tlsv1_client_write.c │ │ ├── tlsv1_common.c │ │ ├── tlsv1_common.h │ │ ├── tlsv1_cred.c │ │ ├── tlsv1_cred.h │ │ ├── tlsv1_record.c │ │ ├── tlsv1_record.h │ │ ├── tlsv1_server.c │ │ ├── tlsv1_server.h │ │ ├── tlsv1_server_i.h │ │ ├── tlsv1_server_read.c │ │ ├── tlsv1_server_write.c │ │ ├── x509v3.c │ │ └── x509v3.h │ ├── utils │ │ ├── base64.c │ │ ├── base64.h │ │ ├── bitfield.c │ │ ├── bitfield.h │ │ ├── common.c │ │ ├── common.h │ │ ├── ext_password.c │ │ ├── ext_password.h │ │ ├── ext_password_i.h │ │ ├── includes.h │ │ ├── json.c │ │ ├── json.h │ │ ├── list.h │ │ ├── state_machine.h │ │ ├── uuid.c │ │ ├── uuid.h │ │ ├── wpa_debug.c │ │ └── wpabuf.c │ └── wps │ │ ├── wps.c │ │ ├── wps.h │ │ ├── wps_attr_build.c │ │ ├── wps_attr_parse.c │ │ ├── wps_attr_parse.h │ │ ├── wps_attr_process.c │ │ ├── wps_common.c │ │ ├── wps_defs.h │ │ ├── wps_dev_attr.c │ │ ├── wps_dev_attr.h │ │ ├── wps_enrollee.c │ │ ├── wps_i.h │ │ ├── wps_registrar.c │ │ └── wps_validate.c │ └── test │ ├── CMakeLists.txt │ ├── component.mk │ ├── test_crypto.c │ ├── test_dpp.c │ └── test_sae.c ├── docs ├── Doxyfile ├── _static │ ├── api-guides.gif │ ├── api-reference.gif │ ├── esp8266-devkitc-dimensions-back.jpg │ ├── esp8266-devkitc-functional-overview.jpg │ ├── espressif-logo.svg │ ├── general-notes.gif │ ├── get-started.gif │ ├── linux-logo.png │ ├── macos-logo.png │ ├── msys2-terminal-window.png │ ├── multi-ota-urls.gif │ ├── project-configuration.png │ ├── single_ota_url.gif │ ├── what-you-need.png │ └── windows-logo.png ├── check_doc_warnings.sh ├── conf_common.py ├── docs_common.mk ├── en │ ├── Makefile │ ├── api-guides │ │ ├── build-system.rst │ │ ├── factory-test.rst │ │ ├── fota-from-old-new.rst │ │ ├── index.rst │ │ ├── partition-tables.rst │ │ ├── pwm-and-sniffer-coexists.rst │ │ └── system-tasks.rst │ ├── api-reference │ │ ├── index.rst │ │ ├── peripherals │ │ │ ├── adc.rst │ │ │ ├── gpio.rst │ │ │ ├── hw_timer.rst │ │ │ ├── i2c.rst │ │ │ ├── i2s.rst │ │ │ ├── index.rst │ │ │ ├── pwm.rst │ │ │ ├── spi.rst │ │ │ └── uart.rst │ │ ├── system │ │ │ ├── heap_debug.rst │ │ │ ├── index.rst │ │ │ ├── log.rst │ │ │ ├── mem_alloc.rst │ │ │ ├── sleep_modes.rst │ │ │ ├── system.rst │ │ │ └── wdts.rst │ │ ├── tcpip │ │ │ ├── index.rst │ │ │ └── tcpip_adapter.rst │ │ └── wifi │ │ │ ├── esp_smartconfig.rst │ │ │ ├── esp_wifi.rst │ │ │ └── index.rst │ ├── conf.py │ ├── general-notes │ │ └── index.rst │ ├── get-started │ │ ├── eclipse-setup-windows.rst │ │ ├── eclipse-setup.rst │ │ ├── get-started-devkitc.rst │ │ ├── index.rst │ │ ├── linux-setup.rst │ │ ├── macos-setup.rst │ │ └── windows-setup.rst │ └── index.rst ├── gen-dxd.py ├── gen-toolchain-links.py ├── gen-version-specific-includes.py ├── issue_template.md ├── link-roles.py ├── local_util.py ├── requirements.txt ├── setuptools.requirements.txt └── sphinx-known-warnings.txt ├── examples ├── README.md ├── common_components │ └── protocol_examples_common │ │ ├── CMakeLists.txt │ │ ├── Kconfig.projbuild │ │ ├── component.mk │ │ ├── connect.c │ │ ├── include │ │ └── protocol_examples_common.h │ │ └── stdin_out.c ├── get-started │ └── hello_world │ │ ├── CMakeLists.txt │ │ ├── Makefile │ │ ├── README.md │ │ ├── main │ │ ├── CMakeLists.txt │ │ ├── component.mk │ │ └── hello_world_main.c │ │ ├── sdkconfig.ci.2MB │ │ └── sdkconfig.ci.4MB ├── peripherals │ ├── adc │ │ ├── CMakeLists.txt │ │ ├── Makefile │ │ ├── README.md │ │ ├── adc.png │ │ └── main │ │ │ ├── CMakeLists.txt │ │ │ ├── adc_example_main.c │ │ │ └── component.mk │ ├── gpio │ │ ├── CMakeLists.txt │ │ ├── Makefile │ │ ├── README.md │ │ └── main │ │ │ ├── CMakeLists.txt │ │ │ ├── component.mk │ │ │ └── user_main.c │ ├── hw_timer │ │ ├── CMakeLists.txt │ │ ├── Makefile │ │ ├── README.md │ │ ├── main │ │ │ ├── CMakeLists.txt │ │ │ ├── component.mk │ │ │ └── hw_timer_example_main.c │ │ └── wave.png │ ├── i2c │ │ ├── CMakeLists.txt │ │ ├── Makefile │ │ ├── README.md │ │ └── main │ │ │ ├── CMakeLists.txt │ │ │ ├── component.mk │ │ │ └── user_main.c │ ├── i2s │ │ ├── CMakeLists.txt │ │ ├── Makefile │ │ ├── README.md │ │ └── main │ │ │ ├── CMakeLists.txt │ │ │ ├── component.mk │ │ │ └── i2s_example_main.c │ ├── ir_rx │ │ ├── CMakeLists.txt │ │ ├── Makefile │ │ ├── README.md │ │ └── main │ │ │ ├── CMakeLists.txt │ │ │ ├── component.mk │ │ │ └── ir_rx_example_main.c │ ├── ir_tx │ │ ├── CMakeLists.txt │ │ ├── Makefile │ │ ├── README.md │ │ └── main │ │ │ ├── CMakeLists.txt │ │ │ ├── component.mk │ │ │ └── ir_tx_example_main.c │ ├── ledc │ │ ├── CMakeLists.txt │ │ ├── Makefile │ │ ├── README.md │ │ ├── main │ │ │ ├── CMakeLists.txt │ │ │ ├── component.mk │ │ │ └── ledc_example_main.c │ │ └── wave.png │ ├── pwm │ │ ├── CMakeLists.txt │ │ ├── Makefile │ │ ├── README.md │ │ ├── main │ │ │ ├── CMakeLists.txt │ │ │ ├── component.mk │ │ │ └── pwm_example_main.c │ │ └── wave.png │ ├── spi │ │ ├── README.md │ │ ├── high_performance │ │ │ ├── spi_master │ │ │ │ ├── CMakeLists.txt │ │ │ │ ├── Makefile │ │ │ │ ├── main │ │ │ │ │ ├── CMakeLists.txt │ │ │ │ │ ├── component.mk │ │ │ │ │ └── spi_master_example_main.c │ │ │ │ └── sdkconfig.defaults │ │ │ └── spi_slave │ │ │ │ ├── CMakeLists.txt │ │ │ │ ├── Makefile │ │ │ │ ├── main │ │ │ │ ├── CMakeLists.txt │ │ │ │ ├── component.mk │ │ │ │ └── spi_slave_example_main.c │ │ │ │ └── sdkconfig.defaults │ │ ├── normal_performance │ │ │ ├── spi_master │ │ │ │ ├── CMakeLists.txt │ │ │ │ ├── Makefile │ │ │ │ └── main │ │ │ │ │ ├── CMakeLists.txt │ │ │ │ │ ├── component.mk │ │ │ │ │ └── spi_master_example_main.c │ │ │ └── spi_slave │ │ │ │ ├── CMakeLists.txt │ │ │ │ ├── Makefile │ │ │ │ └── main │ │ │ │ ├── CMakeLists.txt │ │ │ │ ├── component.mk │ │ │ │ └── spi_slave_example_main.c │ │ └── res │ │ │ ├── master_recv_data.png │ │ │ ├── master_recv_length.png │ │ │ ├── master_send.png │ │ │ ├── master_send_data.png │ │ │ ├── master_send_length.png │ │ │ └── slave_send.png │ ├── spi_oled │ │ ├── CMakeLists.txt │ │ ├── Makefile │ │ ├── README.md │ │ ├── main │ │ │ ├── CMakeLists.txt │ │ │ ├── component.mk │ │ │ └── spi_oled_example_main.c │ │ └── wave.png │ ├── uart_echo │ │ ├── CMakeLists.txt │ │ ├── Makefile │ │ ├── README.md │ │ └── main │ │ │ ├── CMakeLists.txt │ │ │ ├── component.mk │ │ │ └── uart_echo_example_main.c │ ├── uart_events │ │ ├── CMakeLists.txt │ │ ├── Makefile │ │ ├── README.md │ │ └── main │ │ │ ├── CMakeLists.txt │ │ │ ├── component.mk │ │ │ └── uart_events_example_main.c │ └── uart_select │ │ ├── CMakeLists.txt │ │ ├── Makefile │ │ ├── README.md │ │ ├── main │ │ ├── CMakeLists.txt │ │ ├── component.mk │ │ └── uart_select_example_main.c │ │ ├── sdkconfig.ci │ │ └── sdkconfig.defaults ├── protocols │ ├── coap_client │ │ ├── CMakeLists.txt │ │ ├── Makefile │ │ ├── README.md │ │ ├── main │ │ │ ├── CMakeLists.txt │ │ │ ├── Kconfig.projbuild │ │ │ ├── coap_client_example_main.c │ │ │ └── component.mk │ │ └── sdkconfig.defaults │ ├── coap_server │ │ ├── CMakeLists.txt │ │ ├── Makefile │ │ ├── README.md │ │ ├── main │ │ │ ├── CMakeLists.txt │ │ │ ├── Kconfig.projbuild │ │ │ ├── coap_server_example_main.c │ │ │ └── component.mk │ │ └── sdkconfig.defaults │ ├── esp_http_client │ │ ├── CMakeLists.txt │ │ ├── Makefile │ │ ├── README.md │ │ ├── esp_http_client_test.py │ │ ├── main │ │ │ ├── CMakeLists.txt │ │ │ ├── component.mk │ │ │ ├── esp_http_client_example.c │ │ │ └── howsmyssl_com_root_cert.pem │ │ ├── sdkconfig.ci │ │ ├── sdkconfig.ci.ssldyn │ │ └── sdkconfig.defaults │ ├── http_request │ │ ├── CMakeLists.txt │ │ ├── Makefile │ │ ├── README.md │ │ └── main │ │ │ ├── CMakeLists.txt │ │ │ ├── component.mk │ │ │ └── http_request_example_main.c │ ├── http_server │ │ ├── advanced_tests │ │ │ ├── CMakeLists.txt │ │ │ ├── Makefile │ │ │ ├── main │ │ │ │ ├── CMakeLists.txt │ │ │ │ ├── component.mk │ │ │ │ ├── include │ │ │ │ │ └── tests.h │ │ │ │ ├── main.c │ │ │ │ └── tests.c │ │ │ ├── scripts │ │ │ │ └── test.py │ │ │ └── sdkconfig.defaults │ │ ├── persistent_sockets │ │ │ ├── CMakeLists.txt │ │ │ ├── Makefile │ │ │ ├── README.md │ │ │ ├── main │ │ │ │ ├── CMakeLists.txt │ │ │ │ ├── component.mk │ │ │ │ └── main.c │ │ │ ├── scripts │ │ │ │ └── adder.py │ │ │ └── sdkconfig.defaults │ │ └── simple │ │ │ ├── CMakeLists.txt │ │ │ ├── Makefile │ │ │ ├── README.md │ │ │ ├── http_server_simple_test.py │ │ │ ├── main │ │ │ ├── CMakeLists.txt │ │ │ ├── component.mk │ │ │ └── main.c │ │ │ ├── scripts │ │ │ └── client.py │ │ │ └── sdkconfig.defaults │ ├── https_mbedtls │ │ ├── CMakeLists.txt │ │ ├── Makefile │ │ └── main │ │ │ ├── CMakeLists.txt │ │ │ ├── component.mk │ │ │ ├── https_mbedtls_example_main.c │ │ │ └── server_root_cert.pem │ ├── https_request │ │ ├── CMakeLists.txt │ │ ├── Makefile │ │ ├── README.md │ │ ├── main │ │ │ ├── CMakeLists.txt │ │ │ ├── component.mk │ │ │ ├── https_request_example_main.c │ │ │ └── server_root_cert.pem │ │ ├── sdkconfig.ci │ │ └── sdkconfig.defaults │ ├── icmp_echo │ │ ├── CMakeLists.txt │ │ ├── Makefile │ │ ├── README.md │ │ ├── example_test.py │ │ └── main │ │ │ ├── CMakeLists.txt │ │ │ ├── component.mk │ │ │ └── echo_example_main.c │ ├── mdns │ │ ├── CMakeLists.txt │ │ ├── Makefile │ │ ├── README.md │ │ ├── main │ │ │ ├── CMakeLists.txt │ │ │ ├── Kconfig.projbuild │ │ │ ├── component.mk │ │ │ └── mdns_example_main.c │ │ ├── mdns_example_test.py │ │ ├── sdkconfig.ci │ │ └── sdkconfig.defaults │ ├── modbus │ │ ├── mb_example_common │ │ │ ├── CMakeLists.txt │ │ │ ├── README.md │ │ │ ├── component.mk │ │ │ ├── include │ │ │ │ └── modbus_params.h │ │ │ └── modbus_params.c │ │ └── tcp │ │ │ ├── README.md │ │ │ ├── example_test.py │ │ │ ├── mb_tcp_master │ │ │ ├── CMakeLists.txt │ │ │ ├── Makefile │ │ │ ├── README.md │ │ │ ├── main │ │ │ │ ├── CMakeLists.txt │ │ │ │ ├── Kconfig.projbuild │ │ │ │ ├── component.mk │ │ │ │ └── tcp_master.c │ │ │ └── sdkconfig.defaults │ │ │ └── mb_tcp_slave │ │ │ ├── CMakeLists.txt │ │ │ ├── Makefile │ │ │ ├── README.md │ │ │ ├── main │ │ │ ├── CMakeLists.txt │ │ │ ├── Kconfig.projbuild │ │ │ ├── component.mk │ │ │ └── tcp_slave.c │ │ │ └── sdkconfig.defaults │ ├── mqtt │ │ ├── ssl │ │ │ ├── CMakeLists.txt │ │ │ ├── Makefile │ │ │ ├── README.md │ │ │ ├── main │ │ │ │ ├── CMakeLists.txt │ │ │ │ ├── Kconfig.projbuild │ │ │ │ ├── app_main.c │ │ │ │ ├── component.mk │ │ │ │ └── mqtt_eclipse_org.pem │ │ │ ├── mqtt_ssl_example_test.py │ │ │ └── sdkconfig.ci │ │ ├── ssl_mutual_auth │ │ │ ├── CMakeLists.txt │ │ │ ├── Makefile │ │ │ ├── README.md │ │ │ └── main │ │ │ │ ├── CMakeLists.txt │ │ │ │ ├── app_main.c │ │ │ │ ├── client.crt │ │ │ │ ├── client.key │ │ │ │ └── component.mk │ │ ├── ssl_psk │ │ │ ├── CMakeLists.txt │ │ │ ├── Makefile │ │ │ ├── README.md │ │ │ ├── main │ │ │ │ ├── CMakeLists.txt │ │ │ │ ├── app_main.c │ │ │ │ └── component.mk │ │ │ └── sdkconfig.defaults │ │ ├── tcp │ │ │ ├── CMakeLists.txt │ │ │ ├── Makefile │ │ │ ├── README.md │ │ │ ├── main │ │ │ │ ├── CMakeLists.txt │ │ │ │ ├── Kconfig.projbuild │ │ │ │ ├── app_main.c │ │ │ │ └── component.mk │ │ │ ├── mqtt_tcp_example_test.py │ │ │ └── sdkconfig.ci │ │ ├── ws │ │ │ ├── CMakeLists.txt │ │ │ ├── Makefile │ │ │ ├── README.md │ │ │ ├── main │ │ │ │ ├── CMakeLists.txt │ │ │ │ ├── Kconfig.projbuild │ │ │ │ ├── app_main.c │ │ │ │ └── component.mk │ │ │ ├── mqtt_ws_example_test.py │ │ │ └── sdkconfig.ci │ │ └── wss │ │ │ ├── CMakeLists.txt │ │ │ ├── Makefile │ │ │ ├── README.md │ │ │ ├── main │ │ │ ├── CMakeLists.txt │ │ │ ├── Kconfig.projbuild │ │ │ ├── app_main.c │ │ │ ├── component.mk │ │ │ └── mqtt_eclipse_org.pem │ │ │ ├── mqtt_wss_example_test.py │ │ │ └── sdkconfig.ci │ ├── openssl_client │ │ ├── CMakeLists.txt │ │ ├── Makefile │ │ ├── README.md │ │ ├── gencrt.sh │ │ └── main │ │ │ ├── CMakeLists.txt │ │ │ ├── Kconfig.projbuild │ │ │ ├── ca.pem │ │ │ ├── client.key │ │ │ ├── client.pem │ │ │ ├── component.mk │ │ │ ├── openssl_client_example_main.c │ │ │ ├── server.key │ │ │ └── server.pem │ ├── openssl_demo │ │ ├── CMakeLists.txt │ │ ├── Makefile │ │ ├── main │ │ │ ├── CMakeLists.txt │ │ │ ├── component.mk │ │ │ └── openssl_demo_example_main.c │ │ └── sdkconfig.defaults │ ├── openssl_server │ │ ├── CMakeLists.txt │ │ ├── Makefile │ │ ├── README.md │ │ ├── gencrt.sh │ │ └── main │ │ │ ├── CMakeLists.txt │ │ │ ├── ca.pem │ │ │ ├── client.key │ │ │ ├── client.pem │ │ │ ├── component.mk │ │ │ ├── openssl_server_example_main.c │ │ │ ├── server.key │ │ │ └── server.pem │ ├── sntp │ │ ├── CMakeLists.txt │ │ ├── Makefile │ │ ├── README.md │ │ └── main │ │ │ ├── CMakeLists.txt │ │ │ ├── component.mk │ │ │ └── sntp_example_main.c │ └── sockets │ │ ├── README.md │ │ ├── scripts │ │ ├── tcpclient.py │ │ ├── tcpserver.py │ │ ├── udpclient.py │ │ └── udpserver.py │ │ ├── tcp_client │ │ ├── CMakeLists.txt │ │ ├── Makefile │ │ ├── README.md │ │ └── main │ │ │ ├── CMakeLists.txt │ │ │ ├── Kconfig.projbuild │ │ │ ├── component.mk │ │ │ └── tcp_client.c │ │ ├── tcp_server │ │ ├── CMakeLists.txt │ │ ├── Makefile │ │ ├── README.md │ │ └── main │ │ │ ├── CMakeLists.txt │ │ │ ├── Kconfig.projbuild │ │ │ ├── component.mk │ │ │ └── tcp_server.c │ │ ├── udp_client │ │ ├── CMakeLists.txt │ │ ├── Makefile │ │ ├── README.md │ │ └── main │ │ │ ├── CMakeLists.txt │ │ │ ├── Kconfig.projbuild │ │ │ ├── component.mk │ │ │ └── udp_client.c │ │ ├── udp_multicast │ │ ├── CMakeLists.txt │ │ ├── Makefile │ │ ├── README.md │ │ └── main │ │ │ ├── CMakeLists.txt │ │ │ ├── Kconfig.projbuild │ │ │ ├── component.mk │ │ │ └── udp_multicast_example_main.c │ │ └── udp_server │ │ ├── CMakeLists.txt │ │ ├── Makefile │ │ ├── README.md │ │ └── main │ │ ├── CMakeLists.txt │ │ ├── Kconfig.projbuild │ │ ├── component.mk │ │ └── udp_server.c ├── provisioning │ ├── README.md │ └── legacy │ │ ├── custom_config │ │ ├── CMakeLists.txt │ │ ├── Makefile │ │ ├── README.md │ │ ├── components │ │ │ └── custom_provisioning │ │ │ │ ├── CMakeLists.txt │ │ │ │ ├── component.mk │ │ │ │ ├── include │ │ │ │ └── custom_provisioning │ │ │ │ │ └── custom_config.h │ │ │ │ ├── proto-c │ │ │ │ ├── custom_config.pb-c.c │ │ │ │ └── custom_config.pb-c.h │ │ │ │ ├── proto │ │ │ │ ├── CMakeLists.txt │ │ │ │ ├── README.md │ │ │ │ ├── custom_config.proto │ │ │ │ └── makefile │ │ │ │ ├── python │ │ │ │ └── custom_config_pb2.py │ │ │ │ └── src │ │ │ │ └── custom_config.c │ │ ├── main │ │ │ ├── CMakeLists.txt │ │ │ ├── Kconfig.projbuild │ │ │ ├── app_main.c │ │ │ ├── app_prov.c │ │ │ ├── app_prov.h │ │ │ ├── app_prov_handlers.c │ │ │ └── component.mk │ │ └── sdkconfig.defaults │ │ └── softap_prov │ │ ├── CMakeLists.txt │ │ ├── Makefile │ │ ├── README.md │ │ ├── main │ │ ├── CMakeLists.txt │ │ ├── Kconfig.projbuild │ │ ├── app_main.c │ │ ├── app_prov.c │ │ ├── app_prov.h │ │ ├── app_prov_handlers.c │ │ └── component.mk │ │ ├── sdkconfig.defaults │ │ └── softap_prov_test.py ├── storage │ └── spiffs │ │ ├── CMakeLists.txt │ │ ├── Makefile │ │ ├── README.md │ │ ├── main │ │ ├── CMakeLists.txt │ │ ├── component.mk │ │ └── spiffs_example_main.c │ │ ├── partitions_example.csv │ │ └── sdkconfig.defaults ├── system │ ├── console │ │ ├── CMakeLists.txt │ │ ├── Makefile │ │ ├── README.md │ │ ├── components │ │ │ └── cmd_system │ │ │ │ ├── CMakeLists.txt │ │ │ │ ├── cmd_system.c │ │ │ │ ├── cmd_system.h │ │ │ │ └── component.mk │ │ ├── main │ │ │ ├── CMakeLists.txt │ │ │ ├── Kconfig.projbuild │ │ │ ├── cmd_decl.h │ │ │ ├── cmd_wifi.c │ │ │ ├── cmd_wifi.h │ │ │ ├── component.mk │ │ │ └── console_example_main.c │ │ ├── partitions_example.csv │ │ └── sdkconfig.defaults │ ├── factory-test │ │ ├── Kconfig.projbuild │ │ ├── Makefile │ │ ├── README.md │ │ ├── components │ │ │ └── rf_test │ │ │ │ ├── Kconfig │ │ │ │ ├── Makefile.projbuild │ │ │ │ ├── component.mk │ │ │ │ ├── include │ │ │ │ ├── esp_rftest.h │ │ │ │ └── nano_console.h │ │ │ │ ├── lib │ │ │ │ └── librftest.a │ │ │ │ ├── nano_console.c │ │ │ │ └── rftest_command.c │ │ ├── main │ │ │ ├── component.mk │ │ │ └── main.c │ │ └── sdkconfig.defaults │ └── ota │ │ ├── OTA_workflow.png │ │ ├── native_ota │ │ ├── 1MB_flash │ │ │ ├── new_to_new_no_old │ │ │ │ ├── CMakeLists.txt │ │ │ │ ├── Makefile │ │ │ │ ├── README.md │ │ │ │ ├── main │ │ │ │ │ ├── CMakeLists.txt │ │ │ │ │ ├── Kconfig.projbuild │ │ │ │ │ ├── component.mk │ │ │ │ │ └── ota_example_main.c │ │ │ │ └── sdkconfig.defaults │ │ │ ├── new_to_new_no_old_copy │ │ │ │ ├── CMakeLists.txt │ │ │ │ ├── Makefile │ │ │ │ ├── README.md │ │ │ │ ├── main │ │ │ │ │ ├── CMakeLists.txt │ │ │ │ │ ├── Kconfig.projbuild │ │ │ │ │ ├── component.mk │ │ │ │ │ └── ota_example_main.c │ │ │ │ └── sdkconfig.defaults │ │ │ └── new_to_new_with_old │ │ │ │ ├── CMakeLists.txt │ │ │ │ ├── Makefile │ │ │ │ ├── README.md │ │ │ │ ├── main │ │ │ │ ├── CMakeLists.txt │ │ │ │ ├── Kconfig.projbuild │ │ │ │ ├── component.mk │ │ │ │ └── ota_example_main.c │ │ │ │ ├── partitions_two_ota_v2tov3.1MB.csv │ │ │ │ └── sdkconfig.defaults │ │ ├── 2+MB_flash │ │ │ ├── new_to_new_no_old │ │ │ │ ├── CMakeLists.txt │ │ │ │ ├── Makefile │ │ │ │ ├── README.md │ │ │ │ ├── main │ │ │ │ │ ├── CMakeLists.txt │ │ │ │ │ ├── Kconfig.projbuild │ │ │ │ │ ├── component.mk │ │ │ │ │ └── ota_example_main.c │ │ │ │ └── sdkconfig.defaults │ │ │ └── new_to_new_with_old │ │ │ │ ├── CMakeLists.txt │ │ │ │ ├── Makefile │ │ │ │ ├── README.md │ │ │ │ ├── main │ │ │ │ ├── CMakeLists.txt │ │ │ │ ├── Kconfig.projbuild │ │ │ │ ├── component.mk │ │ │ │ └── ota_example_main.c │ │ │ │ ├── partitions_two_ota_v2tov3.2MB.csv │ │ │ │ └── sdkconfig.defaults │ │ └── README.md │ │ └── simple_ota_example │ │ ├── CMakeLists.txt │ │ ├── Makefile │ │ ├── README.md │ │ ├── main │ │ ├── CMakeLists.txt │ │ ├── Kconfig.projbuild │ │ ├── component.mk │ │ └── simple_ota_example.c │ │ ├── sdkconfig.defaults │ │ └── server_certs │ │ └── ca_cert.pem └── wifi │ ├── espnow │ ├── CMakeLists.txt │ ├── Makefile │ ├── README.md │ └── main │ │ ├── CMakeLists.txt │ │ ├── Kconfig.projbuild │ │ ├── component.mk │ │ ├── espnow_example.h │ │ └── espnow_example_main.c │ ├── getting_started │ ├── softAP │ │ ├── CMakeLists.txt │ │ ├── Makefile │ │ ├── README.md │ │ └── main │ │ │ ├── CMakeLists.txt │ │ │ ├── Kconfig.projbuild │ │ │ ├── component.mk │ │ │ └── softap_example_main.c │ └── station │ │ ├── CMakeLists.txt │ │ ├── Makefile │ │ ├── README.md │ │ └── main │ │ ├── CMakeLists.txt │ │ ├── Kconfig.projbuild │ │ ├── component.mk │ │ └── station_example_main.c │ ├── iperf │ ├── CMakeLists.txt │ ├── Makefile │ ├── README.md │ ├── components │ │ └── iperf │ │ │ ├── CMakeLists.txt │ │ │ ├── component.mk │ │ │ ├── iperf.c │ │ │ └── iperf.h │ ├── iperf_test.py │ ├── main │ │ ├── CMakeLists.txt │ │ ├── cmd_decl.h │ │ ├── cmd_wifi.c │ │ ├── cmd_wifi.h │ │ ├── component.mk │ │ └── iperf_example_main.c │ └── sdkconfig.defaults │ ├── power_save │ ├── CMakeLists.txt │ ├── Makefile │ ├── README.md │ └── main │ │ ├── CMakeLists.txt │ │ ├── Kconfig.projbuild │ │ ├── component.mk │ │ └── power_save.c │ ├── roaming │ ├── CMakeLists.txt │ ├── Makefile │ ├── main │ │ ├── CMakeLists.txt │ │ ├── Kconfig.projbuild │ │ ├── component.mk │ │ └── roaming_example.c │ └── sdkconfig.defaults │ ├── smart_config │ ├── CMakeLists.txt │ ├── Makefile │ ├── README.md │ └── main │ │ ├── CMakeLists.txt │ │ ├── Kconfig.projbuild │ │ ├── component.mk │ │ └── smartconfig_main.c │ ├── sniffer │ ├── CMakeLists.txt │ ├── Makefile │ └── main │ │ ├── CMakeLists.txt │ │ ├── Kconfig.projbuild │ │ ├── component.mk │ │ └── sniffer_main.c │ ├── wpa2_enterprise │ ├── CMakeLists.txt │ ├── Makefile │ ├── README.md │ └── main │ │ ├── CMakeLists.txt │ │ ├── Kconfig.projbuild │ │ ├── component.mk │ │ ├── wpa2_ca.pem │ │ ├── wpa2_client.crt │ │ ├── wpa2_client.key │ │ ├── wpa2_client.pem │ │ ├── wpa2_enterprise_main.c │ │ ├── wpa2_server.crt │ │ ├── wpa2_server.key │ │ └── wpa2_server.pem │ └── wps │ ├── CMakeLists.txt │ ├── Makefile │ ├── README.md │ └── main │ ├── CMakeLists.txt │ ├── Kconfig.projbuild │ ├── component.mk │ └── wps.c ├── export.sh ├── install.sh ├── make ├── common.mk ├── component_common.mk ├── component_wrapper.mk ├── ldgen.mk ├── project.mk ├── project_config.mk └── version.mk ├── requirements.txt ├── sdkconfig.rename └── tools ├── check_kconfigs.py ├── check_python_dependencies.py ├── ci ├── build_all.sh ├── build_examples.sh ├── build_examples_cmake.sh ├── configure_ci_environment.sh └── envsubst.py ├── cmake ├── build.cmake ├── component.cmake ├── convert_to_cmake.py ├── crosstool_version_check.cmake ├── git_submodules.cmake ├── idf.cmake ├── kconfig.cmake ├── ldgen.cmake ├── project.cmake ├── project_description.json.in ├── run_cmake_lint.sh ├── scripts │ ├── component_get_requirements.cmake │ ├── data_file_embed_asm.cmake │ └── fail.cmake ├── targets.cmake ├── third_party │ ├── GetGitRevisionDescription.cmake │ └── GetGitRevisionDescription.cmake.in ├── toolchain-esp32.cmake ├── toolchain-esp8266.cmake ├── utilities.cmake └── version.cmake ├── docker ├── Dockerfile ├── entrypoint.sh └── hooks │ └── build ├── eclipse-code-style.xml ├── elf_to_ld.sh ├── esp_prov ├── README.md ├── esp_prov.py ├── proto │ └── __init__.py ├── prov │ ├── __init__.py │ ├── custom_prov.py │ ├── wifi_prov.py │ └── wifi_scan.py ├── requirements.txt ├── requirements_linux_extra.txt ├── security │ ├── __init__.py │ ├── security.py │ ├── security0.py │ └── security1.py ├── transport │ ├── __init__.py │ ├── ble_cli.py │ ├── transport.py │ ├── transport_ble.py │ ├── transport_console.py │ └── transport_http.py └── utils │ ├── __init__.py │ └── convenience.py ├── format-minimal.sh ├── format.sh ├── gen_esp_err_to_name.py ├── idf.py ├── idf_monitor.py ├── idf_size.py ├── idf_tools.py ├── kconfig ├── .gitignore ├── Kconfig ├── Makefile ├── POTFILES.in ├── check.sh ├── conf.c ├── confdata.c ├── expand_env.c ├── expand_env.h ├── expr.c ├── expr.h ├── gconf.c ├── gconf.glade ├── images.c ├── kconfig-language.txt ├── kxgettext.c ├── list.h ├── lkc.h ├── lkc_proto.h ├── lxdialog │ ├── .gitignore │ ├── BIG.FAT.WARNING │ ├── check-lxdialog.sh │ ├── checklist.c │ ├── dialog.h │ ├── inputbox.c │ ├── menubox.c │ ├── textbox.c │ ├── util.c │ └── yesno.c ├── mconf.c ├── menu.c ├── merge_config.sh ├── nconf.c ├── nconf.gui.c ├── nconf.h ├── qconf.cc ├── qconf.h ├── streamline_config.pl ├── symbol.c ├── util.c ├── zconf.gperf ├── zconf.l └── zconf.y ├── kconfig_new ├── README.md ├── confgen.py ├── config.env.in ├── confserver.py ├── gen_kconfig_doc.py ├── kconfiglib.py └── test │ ├── Kconfig │ ├── README.md │ ├── sdkconfig │ ├── test_confserver.py │ ├── testcases_v1.txt │ └── testcases_v2.txt ├── ldgen ├── __init__.py ├── fragments.py ├── generation.py ├── ldgen.py ├── ldgen_common.py ├── samples │ ├── esp32.lf │ ├── mappings.lf │ ├── sdkconfig │ ├── sections.info │ └── template.ld ├── sdkconfig.py └── test │ ├── data │ ├── Kconfig │ ├── sample.lf │ ├── sdkconfig │ ├── sections.info │ └── template.ld │ ├── test_fragments.py │ └── test_generation.py ├── pack_fw.py ├── set-submodules-to-github.sh ├── test_check_kconfigs.py ├── toolchain_versions.mk ├── tools.json ├── tools_schema.json ├── unit-test-app ├── CMakeLists.txt ├── Makefile ├── README.md ├── components │ └── unity │ │ ├── CMakeLists.txt │ │ ├── Kconfig │ │ ├── component.mk │ │ ├── include │ │ ├── idf_performance.h │ │ ├── test_utils.h │ │ ├── unity.h │ │ ├── unity_config.h │ │ └── unity_internals.h │ │ ├── license.txt │ │ ├── test_utils.c │ │ ├── unity.c │ │ └── unity_platform.c ├── main │ ├── CMakeLists.txt │ ├── app_main.c │ └── component.mk ├── partition_table_unit_test_app.csv └── sdkconfig.defaults └── windows ├── ctng-toolchain-linux64-win32-canadian-build.conf ├── eclipse_make.py ├── eclipse_make.sh ├── idf_exe ├── CMakeLists.txt ├── README.md ├── idf_main.c └── toolchain-i686-w64-mingw32.cmake ├── tool_setup ├── .gitignore ├── README.md ├── build_installer.sh ├── choice_page.iss.inc ├── cmdline_page.iss.inc ├── cmdlinerunner │ ├── CMakeLists.txt │ ├── cmdlinerunner.c │ ├── cmdlinerunner.h │ └── toolchain-i686-w64-mingw32.cmake ├── git_find_installed.iss.inc ├── git_page.iss.inc ├── idf_cmd_init.bat ├── idf_download_page.iss.inc ├── idf_page.iss.inc ├── idf_setup.iss.inc ├── idf_tool_setup.iss ├── license.txt ├── main.iss.inc ├── python_find_installed.iss.inc ├── python_page.iss.inc ├── summary.iss.inc ├── tools_fallback.json └── utils.iss.inc └── windows_install_prerequisites.sh /.gitattributes: -------------------------------------------------------------------------------- 1 | * text=auto 2 | 3 | *.bin binary 4 | -------------------------------------------------------------------------------- /components/app_update/project_include.cmake: -------------------------------------------------------------------------------- 1 | 2 | # Set empty otadata partition file for flashing, if OTA data partition in 3 | # partition table 4 | # (NB: because of component dependency, we know partition_table 5 | # project_include.cmake has already been included.) 6 | if(${OTADATA_PARTITION_OFFSET}) 7 | set(BLANK_OTADATA_FILE "ota_data_initial.bin") 8 | endif() 9 | -------------------------------------------------------------------------------- /components/app_update/test/component.mk: -------------------------------------------------------------------------------- 1 | # 2 | #Component Makefile 3 | # 4 | 5 | COMPONENT_ADD_LDFLAGS = -Wl,--whole-archive -l$(COMPONENT_NAME) -Wl,--no-whole-archive 6 | -------------------------------------------------------------------------------- /components/bootloader/component.mk: -------------------------------------------------------------------------------- 1 | # bootloader component is special, as bootloader is also a project. 2 | # 3 | # This top-level component is only configuration files for the IDF project. 4 | # 5 | # See Makefile.projbuild for the targets which actually build the bootloader. 6 | COMPONENT_CONFIG_ONLY := 1 7 | 8 | -------------------------------------------------------------------------------- /components/bootloader/flash_bootloader_args.in: -------------------------------------------------------------------------------- 1 | --flash_mode ${ESPFLASHMODE} 2 | --flash_size ${ESPFLASHSIZE} 3 | --flash_freq ${ESPFLASHFREQ} 4 | ${OFFSET} ${IMAGE} 5 | -------------------------------------------------------------------------------- /components/bootloader/subproject/.gitignore: -------------------------------------------------------------------------------- 1 | build 2 | sdkconfig 3 | -------------------------------------------------------------------------------- /components/bootloader_support/Makefile.projbuild: -------------------------------------------------------------------------------- 1 | $(SECURE_BOOT_SIGNING_KEY): 2 | @echo "Need to generate secure boot signing key." 3 | @echo "One way is to run this command:" 4 | @echo "$(ESPSECUREPY) generate_signing_key $@" 5 | @echo "Keep key file safe after generating." 6 | @echo "(See secure boot documentation for risks & alternatives.)" 7 | @exit 1 8 | -------------------------------------------------------------------------------- /components/coap/Kconfig: -------------------------------------------------------------------------------- 1 | menu "COAP" 2 | 3 | config ENABLE_COAP 4 | bool "Enable coap" 5 | default n 6 | select LWIP_IPV6 7 | help 8 | Enable this option and coap is to be used, IPv6 is to be Enable. 9 | endmenu 10 | 11 | -------------------------------------------------------------------------------- /components/console/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | set(COMPONENT_ADD_INCLUDEDIRS .) 2 | set(COMPONENT_SRCS "commands.c" 3 | "split_argv.c" 4 | "argtable3/argtable3.c" 5 | "linenoise/linenoise.c") 6 | 7 | set(COMPONENT_REQUIRES) 8 | 9 | register_component() 10 | -------------------------------------------------------------------------------- /components/console/component.mk: -------------------------------------------------------------------------------- 1 | 2 | COMPONENT_ADD_INCLUDEDIRS := . 3 | COMPONENT_SRCDIRS := linenoise argtable3 . 4 | -------------------------------------------------------------------------------- /components/esp-wolfssl/Makefile.projbuild: -------------------------------------------------------------------------------- 1 | # Anyone compiling mbedTLS code needs the name of the 2 | # alternative config file 3 | 4 | ifdef CONFIG_ESP_WOLFSSL_INTERNAL 5 | CPPFLAGS += -DWOLFSSL_USER_SETTINGS 6 | endif 7 | -------------------------------------------------------------------------------- /components/esp-wolfssl/wolfssl/lib/libwolfssl.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/ESP8266_RTOS_SDK/d412ac601befc4dd024d2d2adcfaa319c7463e36/components/esp-wolfssl/wolfssl/lib/libwolfssl.a -------------------------------------------------------------------------------- /components/esp-wolfssl/wolfssl/lib/libwolfssl_debug.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/ESP8266_RTOS_SDK/d412ac601befc4dd024d2d2adcfaa319c7463e36/components/esp-wolfssl/wolfssl/lib/libwolfssl_debug.a -------------------------------------------------------------------------------- /components/esp-wolfssl/wolfssl/source/cmake_compiling.c: -------------------------------------------------------------------------------- 1 | // Just for passing cmake project compiling. 2 | -------------------------------------------------------------------------------- /components/esp8266/firmware/blank.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/ESP8266_RTOS_SDK/d412ac601befc4dd024d2d2adcfaa319c7463e36/components/esp8266/firmware/blank.bin -------------------------------------------------------------------------------- /components/esp8266/firmware/boot_v1.6.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/ESP8266_RTOS_SDK/d412ac601befc4dd024d2d2adcfaa319c7463e36/components/esp8266/firmware/boot_v1.6.bin -------------------------------------------------------------------------------- /components/esp8266/firmware/boot_v1.7.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/ESP8266_RTOS_SDK/d412ac601befc4dd024d2d2adcfaa319c7463e36/components/esp8266/firmware/boot_v1.7.bin -------------------------------------------------------------------------------- /components/esp8266/firmware/esp_init_data_default.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/ESP8266_RTOS_SDK/d412ac601befc4dd024d2d2adcfaa319c7463e36/components/esp8266/firmware/esp_init_data_default.bin -------------------------------------------------------------------------------- /components/esp8266/firmware/readme.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/ESP8266_RTOS_SDK/d412ac601befc4dd024d2d2adcfaa319c7463e36/components/esp8266/firmware/readme.txt -------------------------------------------------------------------------------- /components/esp8266/include/rom/crc.h: -------------------------------------------------------------------------------- 1 | 2 | #pragma once 3 | 4 | #include "esp_crc.h" 5 | -------------------------------------------------------------------------------- /components/esp8266/ld/esp8266_bss_fragments.lf: -------------------------------------------------------------------------------- 1 | 2 | [scheme:iram_bss] 3 | entries: 4 | bss -> iram0_bss 5 | common -> iram0_bss 6 | -------------------------------------------------------------------------------- /components/esp8266/lib/VERSION: -------------------------------------------------------------------------------- 1 | gwen: 2 | core: 231e0e2 3 | net80211: 9ad2f23 4 | pp: 25e5ef2 5 | espnow: 231e0e2 6 | 7 | smartconfig: 3.0.0/af78f443 8 | phy: 1166.0 9 | -------------------------------------------------------------------------------- /components/esp8266/lib/fix_printf.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | xtensa-lx106-elf-objcopy --redefine-sym ets_printf=phy_printf libphy.a 3 | -------------------------------------------------------------------------------- /components/esp8266/lib/libclk.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/ESP8266_RTOS_SDK/d412ac601befc4dd024d2d2adcfaa319c7463e36/components/esp8266/lib/libclk.a -------------------------------------------------------------------------------- /components/esp8266/lib/libcore.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/ESP8266_RTOS_SDK/d412ac601befc4dd024d2d2adcfaa319c7463e36/components/esp8266/lib/libcore.a -------------------------------------------------------------------------------- /components/esp8266/lib/libcore_dbg.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/ESP8266_RTOS_SDK/d412ac601befc4dd024d2d2adcfaa319c7463e36/components/esp8266/lib/libcore_dbg.a -------------------------------------------------------------------------------- /components/esp8266/lib/libespnow.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/ESP8266_RTOS_SDK/d412ac601befc4dd024d2d2adcfaa319c7463e36/components/esp8266/lib/libespnow.a -------------------------------------------------------------------------------- /components/esp8266/lib/libespnow_dbg.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/ESP8266_RTOS_SDK/d412ac601befc4dd024d2d2adcfaa319c7463e36/components/esp8266/lib/libespnow_dbg.a -------------------------------------------------------------------------------- /components/esp8266/lib/libgcc.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/ESP8266_RTOS_SDK/d412ac601befc4dd024d2d2adcfaa319c7463e36/components/esp8266/lib/libgcc.a -------------------------------------------------------------------------------- /components/esp8266/lib/libhal.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/ESP8266_RTOS_SDK/d412ac601befc4dd024d2d2adcfaa319c7463e36/components/esp8266/lib/libhal.a -------------------------------------------------------------------------------- /components/esp8266/lib/libnet80211.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/ESP8266_RTOS_SDK/d412ac601befc4dd024d2d2adcfaa319c7463e36/components/esp8266/lib/libnet80211.a -------------------------------------------------------------------------------- /components/esp8266/lib/libnet80211_dbg.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/ESP8266_RTOS_SDK/d412ac601befc4dd024d2d2adcfaa319c7463e36/components/esp8266/lib/libnet80211_dbg.a -------------------------------------------------------------------------------- /components/esp8266/lib/libphy.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/ESP8266_RTOS_SDK/d412ac601befc4dd024d2d2adcfaa319c7463e36/components/esp8266/lib/libphy.a -------------------------------------------------------------------------------- /components/esp8266/lib/libpp.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/ESP8266_RTOS_SDK/d412ac601befc4dd024d2d2adcfaa319c7463e36/components/esp8266/lib/libpp.a -------------------------------------------------------------------------------- /components/esp8266/lib/libpp_dbg.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/ESP8266_RTOS_SDK/d412ac601befc4dd024d2d2adcfaa319c7463e36/components/esp8266/lib/libpp_dbg.a -------------------------------------------------------------------------------- /components/esp8266/lib/librtc.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/ESP8266_RTOS_SDK/d412ac601befc4dd024d2d2adcfaa319c7463e36/components/esp8266/lib/librtc.a -------------------------------------------------------------------------------- /components/esp8266/lib/libsmartconfig.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/ESP8266_RTOS_SDK/d412ac601befc4dd024d2d2adcfaa319c7463e36/components/esp8266/lib/libsmartconfig.a -------------------------------------------------------------------------------- /components/esp8266/lib/libssc.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/ESP8266_RTOS_SDK/d412ac601befc4dd024d2d2adcfaa319c7463e36/components/esp8266/lib/libssc.a -------------------------------------------------------------------------------- /components/esp8266/test/component.mk: -------------------------------------------------------------------------------- 1 | # 2 | #Component Makefile 3 | # 4 | 5 | COMPONENT_ADD_LDFLAGS = -Wl,--whole-archive -l$(COMPONENT_NAME) -Wl,--no-whole-archive 6 | -------------------------------------------------------------------------------- /components/esp_event/include/esp_event_loop.h: -------------------------------------------------------------------------------- 1 | #include "esp_event_legacy.h" 2 | -------------------------------------------------------------------------------- /components/esp_event/test/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | idf_component_register(SRC_DIRS "." 2 | PRIV_INCLUDE_DIRS "../private_include" "." 3 | REQUIRES unity test_utils esp_event driver) 4 | -------------------------------------------------------------------------------- /components/esp_event/test/component.mk: -------------------------------------------------------------------------------- 1 | # 2 | #Component Makefile 3 | # 4 | COMPONENT_PRIV_INCLUDEDIRS := ../private_include . 5 | COMPONENT_ADD_LDFLAGS = -Wl,--whole-archive -l$(COMPONENT_NAME) -Wl,--no-whole-archive -------------------------------------------------------------------------------- /components/esp_gdbstub/component.mk: -------------------------------------------------------------------------------- 1 | COMPONENT_ADD_INCLUDEDIRS := include 2 | COMPONENT_PRIV_INCLUDEDIRS := private_include esp8266 xtensa 3 | COMPONENT_SRCDIRS := src esp8266 xtensa 4 | -------------------------------------------------------------------------------- /components/esp_http_client/component.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Component Makefile 3 | # 4 | 5 | COMPONENT_SRCDIRS := . lib 6 | COMPONENT_PRIV_INCLUDEDIRS := lib/include 7 | -------------------------------------------------------------------------------- /components/esp_http_client/test/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | idf_component_register(SRC_DIRS "." 2 | PRIV_INCLUDE_DIRS "." 3 | PRIV_REQUIRES unity test_utils esp_http_client) -------------------------------------------------------------------------------- /components/esp_http_client/test/component.mk: -------------------------------------------------------------------------------- 1 | COMPONENT_ADD_LDFLAGS = -Wl,--whole-archive -l$(COMPONENT_NAME) -Wl,--no-whole-archive 2 | -------------------------------------------------------------------------------- /components/esp_http_server/component.mk: -------------------------------------------------------------------------------- 1 | 2 | COMPONENT_SRCDIRS := src src/util 3 | COMPONENT_ADD_INCLUDEDIRS := include 4 | COMPONENT_PRIV_INCLUDEDIRS := src/port/esp8266 src/util 5 | 6 | -------------------------------------------------------------------------------- /components/esp_http_server/include/http_server.h: -------------------------------------------------------------------------------- 1 | #warning http_server.h has been renamed to esp_http_server.h, please update include directives 2 | #include "esp_http_server.h" 3 | -------------------------------------------------------------------------------- /components/esp_https_ota/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | set(COMPONENT_ADD_INCLUDEDIRS include) 2 | set(COMPONENT_SRCS "src/esp_https_ota.c") 3 | 4 | set(COMPONENT_REQUIRES esp_http_client) 5 | set(COMPONENT_PRIV_REQUIRES log app_update) 6 | 7 | register_component() 8 | -------------------------------------------------------------------------------- /components/esp_https_ota/component.mk: -------------------------------------------------------------------------------- 1 | 2 | COMPONENT_SRCDIRS := src 3 | 4 | COMPONENT_ADD_INCLUDEDIRS := include 5 | -------------------------------------------------------------------------------- /components/esp_ringbuf/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | set(COMPONENT_ADD_INCLUDEDIRS "include" "include/freertos") 2 | set(COMPONENT_SRCS "ringbuf.c") 3 | 4 | set(COMPONENT_REQUIRES) 5 | 6 | register_component() 7 | -------------------------------------------------------------------------------- /components/esp_ringbuf/component.mk: -------------------------------------------------------------------------------- 1 | 2 | COMPONENT_ADD_INCLUDEDIRS += include/freertos 3 | 4 | -------------------------------------------------------------------------------- /components/esptool_py/README: -------------------------------------------------------------------------------- 1 | README 2 | 3 | The information of esptool is following: 4 | 5 | URL: https://github.com/espressif/esptool 6 | tag: v2.3.1 7 | -------------------------------------------------------------------------------- /components/esptool_py/component.mk: -------------------------------------------------------------------------------- 1 | # esptool_py component is special, because it doesn't contain any 2 | # IDF source files. It only adds steps via Makefile.projbuild & 3 | # Kconfig.projbuild 4 | COMPONENT_CONFIG_ONLY := 1 5 | 6 | -------------------------------------------------------------------------------- /components/esptool_py/esptool/.gitignore: -------------------------------------------------------------------------------- 1 | .pypirc 2 | *.pyc 3 | *~ 4 | GPATH 5 | GRTAGS 6 | GTAGS 7 | esptool.egg-info 8 | .eggs 9 | build 10 | dist 11 | local.mk 12 | 13 | .envrc 14 | -------------------------------------------------------------------------------- /components/esptool_py/esptool/MANIFEST.in: -------------------------------------------------------------------------------- 1 | include README.md 2 | include LICENSE 3 | # sdist includes test/test*.py by default, but esptool.py tests 4 | # are so far only intended to run from the git repo itself 5 | exclude test/*.py 6 | -------------------------------------------------------------------------------- /components/esptool_py/esptool/setup.cfg: -------------------------------------------------------------------------------- 1 | [flake8] 2 | ignore = E231,E221,FI50,FI11,FI12,FI53,FI14,FI15,FI16,FI17,E241,W503,W504 3 | max-line-length = 160 4 | 5 | -------------------------------------------------------------------------------- /components/esptool_py/esptool/test/elf2image/esp32-app-template.elf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/ESP8266_RTOS_SDK/d412ac601befc4dd024d2d2adcfaa319c7463e36/components/esptool_py/esptool/test/elf2image/esp32-app-template.elf -------------------------------------------------------------------------------- /components/esptool_py/esptool/test/elf2image/esp32-bootloader.elf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/ESP8266_RTOS_SDK/d412ac601befc4dd024d2d2adcfaa319c7463e36/components/esptool_py/esptool/test/elf2image/esp32-bootloader.elf -------------------------------------------------------------------------------- /components/esptool_py/esptool/test/elf2image/esp8266-nonossdkv12-example.elf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/ESP8266_RTOS_SDK/d412ac601befc4dd024d2d2adcfaa319c7463e36/components/esptool_py/esptool/test/elf2image/esp8266-nonossdkv12-example.elf -------------------------------------------------------------------------------- /components/esptool_py/esptool/test/elf2image/esp8266-nonossdkv20-at-v2.elf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/ESP8266_RTOS_SDK/d412ac601befc4dd024d2d2adcfaa319c7463e36/components/esptool_py/esptool/test/elf2image/esp8266-nonossdkv20-at-v2.elf -------------------------------------------------------------------------------- /components/esptool_py/esptool/test/elf2image/esp8266-nonosssdk20-iotdemo.elf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/ESP8266_RTOS_SDK/d412ac601befc4dd024d2d2adcfaa319c7463e36/components/esptool_py/esptool/test/elf2image/esp8266-nonosssdk20-iotdemo.elf -------------------------------------------------------------------------------- /components/esptool_py/esptool/test/elf2image/esp8266-openrtos-blink-v2.elf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/ESP8266_RTOS_SDK/d412ac601befc4dd024d2d2adcfaa319c7463e36/components/esptool_py/esptool/test/elf2image/esp8266-openrtos-blink-v2.elf -------------------------------------------------------------------------------- /components/esptool_py/esptool/test/images/bootloader.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/ESP8266_RTOS_SDK/d412ac601befc4dd024d2d2adcfaa319c7463e36/components/esptool_py/esptool/test/images/bootloader.bin -------------------------------------------------------------------------------- /components/esptool_py/esptool/test/images/esp8266_sdk/4096_user1.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/ESP8266_RTOS_SDK/d412ac601befc4dd024d2d2adcfaa319c7463e36/components/esptool_py/esptool/test/images/esp8266_sdk/4096_user1.bin -------------------------------------------------------------------------------- /components/esptool_py/esptool/test/images/esp8266_sdk/blank.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/ESP8266_RTOS_SDK/d412ac601befc4dd024d2d2adcfaa319c7463e36/components/esptool_py/esptool/test/images/esp8266_sdk/blank.bin -------------------------------------------------------------------------------- /components/esptool_py/esptool/test/images/esp8266_sdk/boot_v1.4(b1).bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/ESP8266_RTOS_SDK/d412ac601befc4dd024d2d2adcfaa319c7463e36/components/esptool_py/esptool/test/images/esp8266_sdk/boot_v1.4(b1).bin -------------------------------------------------------------------------------- /components/esptool_py/esptool/test/images/esp8266_sdk/esp_init_data_default.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/ESP8266_RTOS_SDK/d412ac601befc4dd024d2d2adcfaa319c7463e36/components/esptool_py/esptool/test/images/esp8266_sdk/esp_init_data_default.bin -------------------------------------------------------------------------------- /components/esptool_py/esptool/test/images/fifty_kb.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/ESP8266_RTOS_SDK/d412ac601befc4dd024d2d2adcfaa319c7463e36/components/esptool_py/esptool/test/images/fifty_kb.bin -------------------------------------------------------------------------------- /components/esptool_py/esptool/test/images/helloworld-esp32.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/ESP8266_RTOS_SDK/d412ac601befc4dd024d2d2adcfaa319c7463e36/components/esptool_py/esptool/test/images/helloworld-esp32.bin -------------------------------------------------------------------------------- /components/esptool_py/esptool/test/images/helloworld-esp8266.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/ESP8266_RTOS_SDK/d412ac601befc4dd024d2d2adcfaa319c7463e36/components/esptool_py/esptool/test/images/helloworld-esp8266.bin -------------------------------------------------------------------------------- /components/esptool_py/esptool/test/images/image_header_only.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/ESP8266_RTOS_SDK/d412ac601befc4dd024d2d2adcfaa319c7463e36/components/esptool_py/esptool/test/images/image_header_only.bin -------------------------------------------------------------------------------- /components/esptool_py/esptool/test/images/nodemcu-master-7-modules-2017-01-19-11-10-03-integer.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/ESP8266_RTOS_SDK/d412ac601befc4dd024d2d2adcfaa319c7463e36/components/esptool_py/esptool/test/images/nodemcu-master-7-modules-2017-01-19-11-10-03-integer.bin -------------------------------------------------------------------------------- /components/esptool_py/esptool/test/images/one_kb.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/ESP8266_RTOS_SDK/d412ac601befc4dd024d2d2adcfaa319c7463e36/components/esptool_py/esptool/test/images/one_kb.bin -------------------------------------------------------------------------------- /components/esptool_py/esptool/test/images/one_mb.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/ESP8266_RTOS_SDK/d412ac601befc4dd024d2d2adcfaa319c7463e36/components/esptool_py/esptool/test/images/one_mb.bin -------------------------------------------------------------------------------- /components/esptool_py/esptool/test/images/onebyte.bin: -------------------------------------------------------------------------------- 1 | a -------------------------------------------------------------------------------- /components/esptool_py/esptool/test/images/partitions_singleapp.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/ESP8266_RTOS_SDK/d412ac601befc4dd024d2d2adcfaa319c7463e36/components/esptool_py/esptool/test/images/partitions_singleapp.bin -------------------------------------------------------------------------------- /components/esptool_py/esptool/test/images/sector.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/ESP8266_RTOS_SDK/d412ac601befc4dd024d2d2adcfaa319c7463e36/components/esptool_py/esptool/test/images/sector.bin -------------------------------------------------------------------------------- /components/esptool_py/esptool/test/images/unaligned.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/ESP8266_RTOS_SDK/d412ac601befc4dd024d2d2adcfaa319c7463e36/components/esptool_py/esptool/test/images/unaligned.bin -------------------------------------------------------------------------------- /components/esptool_py/esptool/test/images/zerolength.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/ESP8266_RTOS_SDK/d412ac601befc4dd024d2d2adcfaa319c7463e36/components/esptool_py/esptool/test/images/zerolength.bin -------------------------------------------------------------------------------- /components/esptool_py/flash_project_args.in: -------------------------------------------------------------------------------- 1 | ${ESPTOOLPY_FLASH_PROJECT_OPTIONS} 2 | $ -------------------------------------------------------------------------------- /components/fatfs/component.mk: -------------------------------------------------------------------------------- 1 | COMPONENT_ADD_INCLUDEDIRS := diskio vfs src 2 | COMPONENT_SRCDIRS := diskio vfs port/freertos src 3 | COMPONENT_OBJEXCLUDE := src/diskio.o src/ffsystem.o diskio/diskio_sdmmc.o vfs/vfs_fat_sdmmc.o 4 | -------------------------------------------------------------------------------- /components/fatfs/test/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | idf_component_register(SRC_DIRS . 2 | INCLUDE_DIRS . 3 | REQUIRES unity test_utils vfs fatfs 4 | EMBED_TXTFILES fatfs.img 5 | ) -------------------------------------------------------------------------------- /components/fatfs/test/component.mk: -------------------------------------------------------------------------------- 1 | COMPONENT_ADD_LDFLAGS = -Wl,--whole-archive -l$(COMPONENT_NAME) -Wl,--no-whole-archive 2 | COMPONENT_EMBED_TXTFILES := fatfs.img 3 | -------------------------------------------------------------------------------- /components/fatfs/test/fatfs.img: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/ESP8266_RTOS_SDK/d412ac601befc4dd024d2d2adcfaa319c7463e36/components/fatfs/test/fatfs.img -------------------------------------------------------------------------------- /components/fatfs/test_fatfs_host/main.cpp: -------------------------------------------------------------------------------- 1 | #define CATCH_CONFIG_MAIN 2 | #include "catch.hpp" 3 | -------------------------------------------------------------------------------- /components/fatfs/test_fatfs_host/partition_table.csv: -------------------------------------------------------------------------------- 1 | # Name, Type, SubType, Offset, Size, Flags 2 | # Note: if you have increased the bootloader size, make sure to update the offsets to avoid overlap 3 | nvs, data, nvs, 0x9000, 0x6000, 4 | phy_init, data, phy, 0xf000, 0x1000, 5 | factory, app, factory, 0x10000, 1M, 6 | storage, data, fat, , 1M, -------------------------------------------------------------------------------- /components/freertos/test/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | idf_component_register(SRC_DIRS "." 2 | INCLUDE_DIRS "." 3 | REQUIRES unity test_utils freertos) 4 | -------------------------------------------------------------------------------- /components/freertos/test/component.mk: -------------------------------------------------------------------------------- 1 | # 2 | #Component Makefile 3 | # 4 | 5 | COMPONENT_ADD_LDFLAGS = -Wl,--whole-archive -l$(COMPONENT_NAME) -Wl,--no-whole-archive 6 | -------------------------------------------------------------------------------- /components/heap/component.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Component Makefile 3 | # 4 | 5 | COMPONENT_ADD_INCLUDEDIRS := include port/esp8266/include 6 | 7 | COMPONENT_SRCDIRS := src port/esp8266 8 | -------------------------------------------------------------------------------- /components/heap/test/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | set(COMPONENT_SRCDIRS ".") 2 | set(COMPONENT_ADD_INCLUDEDIRS ".") 3 | 4 | set(COMPONENT_REQUIRES unity heap esp8266) 5 | 6 | register_component() -------------------------------------------------------------------------------- /components/heap/test/component.mk: -------------------------------------------------------------------------------- 1 | # 2 | #Component Makefile 3 | # 4 | 5 | COMPONENT_ADD_LDFLAGS = -Wl,--whole-archive -l$(COMPONENT_NAME) -Wl,--no-whole-archive 6 | -------------------------------------------------------------------------------- /components/http_parser/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | set(COMPONENT_ADD_INCLUDEDIRS "include") 2 | set(COMPONENT_SRCDIRS "src") 3 | 4 | register_component() 5 | 6 | target_compile_options(${COMPONENT_LIB} PRIVATE -Wno-implicit-fallthrough) 7 | -------------------------------------------------------------------------------- /components/http_parser/component.mk: -------------------------------------------------------------------------------- 1 | 2 | COMPONENT_SRCDIRS := src 3 | COMPONENT_ADD_INCLUDEDIRS := include 4 | COMPONENT_PRIV_INCLUDEDIRS := 5 | 6 | src/http_parser.o: CFLAGS += -Wno-implicit-fallthrough 7 | -------------------------------------------------------------------------------- /components/jsmn/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | set(COMPONENT_SRCDIRS "src") 2 | set(COMPONENT_ADD_INCLUDEDIRS "include") 3 | 4 | set(COMPONENT_REQUIRES "") 5 | 6 | register_component() 7 | -------------------------------------------------------------------------------- /components/jsmn/component.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Component Makefile 3 | # 4 | 5 | COMPONENT_ADD_INCLUDEDIRS := include/ 6 | COMPONENT_SRCDIRS := src/ 7 | -------------------------------------------------------------------------------- /components/json/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | idf_component_register(SRCS "cJSON/cJSON.c" 2 | "cJSON/cJSON_Utils.c" 3 | "cJSON/test.c" 4 | INCLUDE_DIRS cJSON) 5 | -------------------------------------------------------------------------------- /components/json/component.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Component Makefile 3 | # 4 | COMPONENT_ADD_INCLUDEDIRS := cJSON 5 | COMPONENT_SRCDIRS := cJSON 6 | COMPONENT_SUBMODULES := cJSON 7 | COMPONENT_OBJS := cJSON/cJSON.o cJSON/cJSON_Utils.o 8 | -------------------------------------------------------------------------------- /components/libsodium/libsodium/builds/.gitignore: -------------------------------------------------------------------------------- 1 | *.opensdf 2 | *.suo 3 | *.sdf 4 | *.vcxproj.user 5 | *.aps 6 | *.log 7 | !build -------------------------------------------------------------------------------- /components/libsodium/libsodium/contrib/Makefile.am: -------------------------------------------------------------------------------- 1 | 2 | EXTRA_DIST = \ 3 | Findsodium.cmake 4 | -------------------------------------------------------------------------------- /components/libsodium/libsodium/dist-build/android-arm.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | export TARGET_ARCH=armv6 3 | export CFLAGS="-Os -mthumb -marm -march=${TARGET_ARCH}" 4 | ARCH=arm HOST_COMPILER=arm-linux-androideabi "$(dirname "$0")/android-build.sh" 5 | -------------------------------------------------------------------------------- /components/libsodium/libsodium/dist-build/android-armv7-a.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | export TARGET_ARCH=armv7-a 3 | export CFLAGS="-Os -mfloat-abi=softfp -mfpu=vfpv3-d16 -mthumb -marm -march=${TARGET_ARCH}" 4 | ARCH=arm HOST_COMPILER=arm-linux-androideabi "$(dirname "$0")/android-build.sh" 5 | -------------------------------------------------------------------------------- /components/libsodium/libsodium/dist-build/android-armv8-a.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | export TARGET_ARCH=armv8-a 3 | export CFLAGS="-Os -march=${TARGET_ARCH}" 4 | NDK_PLATFORM_COMPAT=android-21 ARCH=arm64 HOST_COMPILER=aarch64-linux-android "$(dirname "$0")/android-build.sh" 5 | -------------------------------------------------------------------------------- /components/libsodium/libsodium/dist-build/android-mips32.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | export TARGET_ARCH=mips32 3 | export CFLAGS="-Os" 4 | ARCH=mips HOST_COMPILER=mips64el-linux-android "$(dirname "$0")/android-build.sh" 5 | -------------------------------------------------------------------------------- /components/libsodium/libsodium/dist-build/android-mips64.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | export TARGET_ARCH=mips64r6 3 | export CFLAGS="-Os -march=${TARGET_ARCH}" 4 | CC="mips64el-linux-android-gcc" NDK_PLATFORM_COMPAT=android-21 ARCH=mips64 HOST_COMPILER=mips64el-linux-android "$(dirname "$0")/android-build.sh" 5 | -------------------------------------------------------------------------------- /components/libsodium/libsodium/dist-build/android-x86.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | export TARGET_ARCH=i686 3 | export CFLAGS="-Os -march=${TARGET_ARCH}" 4 | ARCH=x86 HOST_COMPILER=i686-linux-android "$(dirname "$0")/android-build.sh" 5 | -------------------------------------------------------------------------------- /components/libsodium/libsodium/dist-build/android-x86_64.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | export TARGET_ARCH=westmere 3 | export CFLAGS="-Os -march=${TARGET_ARCH}" 4 | NDK_PLATFORM_COMPAT=android-21 ARCH=x86_64 HOST_COMPILER=x86_64-linux-android "$(dirname "$0")/android-build.sh" 5 | -------------------------------------------------------------------------------- /components/libsodium/libsodium/libsodium-uninstalled.pc.in: -------------------------------------------------------------------------------- 1 | Name: @PACKAGE_NAME@ 2 | Version: @PACKAGE_VERSION@ 3 | Description: A modern and easy-to-use crypto library 4 | 5 | Libs: -L${pcfiledir}/src/libsodium -lsodium 6 | Cflags: -I${pcfiledir}/src/libsodium/include -I@top_srcdir@/src/libsodium/include -I@top_srcdir@/src/libsodium/include/sodium 7 | -------------------------------------------------------------------------------- /components/libsodium/libsodium/libsodium.pc.in: -------------------------------------------------------------------------------- 1 | prefix=@prefix@ 2 | exec_prefix=@exec_prefix@ 3 | libdir=@libdir@ 4 | includedir=@includedir@ 5 | 6 | Name: @PACKAGE_NAME@ 7 | Version: @PACKAGE_VERSION@ 8 | Description: A modern and easy-to-use crypto library 9 | 10 | Libs: -L${libdir} -lsodium 11 | Cflags: -I${includedir} 12 | -------------------------------------------------------------------------------- /components/libsodium/libsodium/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/ESP8266_RTOS_SDK/d412ac601befc4dd024d2d2adcfaa319c7463e36/components/libsodium/libsodium/logo.png -------------------------------------------------------------------------------- /components/libsodium/libsodium/msvc-scripts/Makefile.am: -------------------------------------------------------------------------------- 1 | EXTRA_DIST = \ 2 | process.bat \ 3 | rep.vbs \ 4 | sodium.props 5 | -------------------------------------------------------------------------------- /components/libsodium/libsodium/packaging/dotnet-core/.gitignore: -------------------------------------------------------------------------------- 1 | build 2 | cache 3 | temp 4 | Makefile 5 | !recipes/* 6 | -------------------------------------------------------------------------------- /components/libsodium/libsodium/packaging/dotnet-core/recipes/alpine-x64: -------------------------------------------------------------------------------- 1 | apk add --update alpine-sdk 2 | 3 | . $(dirname $0)/build 4 | -------------------------------------------------------------------------------- /components/libsodium/libsodium/packaging/dotnet-core/recipes/build: -------------------------------------------------------------------------------- 1 | cd ~ 2 | tar xzf /io/libsodium.tar.gz 3 | cd libsodium-* 4 | ./configure 5 | make 6 | make check 7 | make install 8 | strip --strip-all /usr/local/lib/libsodium.so 9 | cp /usr/local/lib/libsodium.so /io/output 10 | -------------------------------------------------------------------------------- /components/libsodium/libsodium/packaging/dotnet-core/recipes/centos-x64: -------------------------------------------------------------------------------- 1 | yum install -y binutils gcc make tar 2 | 3 | . $(dirname $0)/build 4 | -------------------------------------------------------------------------------- /components/libsodium/libsodium/packaging/dotnet-core/recipes/debian-x64: -------------------------------------------------------------------------------- 1 | apt-get update 2 | apt-get install -y --no-install-recommends build-essential 3 | 4 | . $(dirname $0)/build 5 | -------------------------------------------------------------------------------- /components/libsodium/libsodium/packaging/dotnet-core/recipes/fedora-x64: -------------------------------------------------------------------------------- 1 | dnf install -y binutils gcc make tar 2 | 3 | . $(dirname $0)/build 4 | -------------------------------------------------------------------------------- /components/libsodium/libsodium/packaging/dotnet-core/recipes/opensuse-x64: -------------------------------------------------------------------------------- 1 | zypper install -y --no-recommends -n binutils gcc make tar 2 | 3 | . $(dirname $0)/build 4 | -------------------------------------------------------------------------------- /components/libsodium/libsodium/packaging/dotnet-core/recipes/pack: -------------------------------------------------------------------------------- 1 | cp -r /io/input ~/build 2 | cd ~/build 3 | dotnet restore 4 | dotnet pack --version-suffix "$1" 5 | cp *.nupkg /io/output 6 | -------------------------------------------------------------------------------- /components/libsodium/libsodium/packaging/dotnet-core/recipes/ubuntu-x64: -------------------------------------------------------------------------------- 1 | apt-get update 2 | apt-get install -y --no-install-recommends build-essential 3 | 4 | . $(dirname $0)/build 5 | -------------------------------------------------------------------------------- /components/libsodium/libsodium/packaging/nuget/.gitignore: -------------------------------------------------------------------------------- 1 | *.nupkg 2 | package.nuspec 3 | package.targets 4 | package.xml 5 | -------------------------------------------------------------------------------- /components/libsodium/libsodium/src/Makefile.am: -------------------------------------------------------------------------------- 1 | 2 | SUBDIRS = \ 3 | libsodium 4 | -------------------------------------------------------------------------------- /components/libsodium/libsodium/src/libsodium/crypto_hash/sha256/hash_sha256.c: -------------------------------------------------------------------------------- 1 | #include "crypto_hash_sha256.h" 2 | 3 | size_t 4 | crypto_hash_sha256_bytes(void) 5 | { 6 | return crypto_hash_sha256_BYTES; 7 | } 8 | 9 | size_t 10 | crypto_hash_sha256_statebytes(void) 11 | { 12 | return sizeof(crypto_hash_sha256_state); 13 | } 14 | -------------------------------------------------------------------------------- /components/libsodium/libsodium/src/libsodium/crypto_hash/sha512/hash_sha512.c: -------------------------------------------------------------------------------- 1 | #include "crypto_hash_sha512.h" 2 | 3 | size_t 4 | crypto_hash_sha512_bytes(void) 5 | { 6 | return crypto_hash_sha512_BYTES; 7 | } 8 | 9 | size_t 10 | crypto_hash_sha512_statebytes(void) 11 | { 12 | return sizeof(crypto_hash_sha512_state); 13 | } 14 | -------------------------------------------------------------------------------- /components/libsodium/libsodium/src/libsodium/crypto_pwhash/argon2/blake2b-long.h: -------------------------------------------------------------------------------- 1 | #ifndef blake2b_long_H 2 | #define blake2b_long_H 3 | 4 | #include 5 | 6 | int blake2b_long(void *pout, size_t outlen, const void *in, size_t inlen); 7 | 8 | #endif 9 | -------------------------------------------------------------------------------- /components/libsodium/libsodium/src/libsodium/crypto_scalarmult/curve25519/sandy2x/curve25519_sandy2x.h: -------------------------------------------------------------------------------- 1 | #ifndef curve25519_sandy2x_H 2 | #define curve25519_sandy2x_H 3 | 4 | #include "crypto_scalarmult_curve25519.h" 5 | 6 | extern struct crypto_scalarmult_curve25519_implementation 7 | crypto_scalarmult_curve25519_sandy2x_implementation; 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /components/libsodium/libsodium/src/libsodium/crypto_scalarmult/curve25519/sandy2x/ladder_namespace.h: -------------------------------------------------------------------------------- 1 | #ifndef ladder_namespace_H 2 | #define ladder_namespace_H 3 | 4 | #define ladder crypto_scalarmult_curve25519_sandy2x_ladder 5 | #define _ladder _crypto_scalarmult_curve25519_sandy2x_ladder 6 | 7 | #endif /* ifndef ladder_namespace_H */ 8 | 9 | -------------------------------------------------------------------------------- /components/libsodium/libsodium/src/libsodium/crypto_stream/chacha20/dolbeau/chacha20_dolbeau-avx2.h: -------------------------------------------------------------------------------- 1 | 2 | #include 3 | 4 | #include "../stream_chacha20.h" 5 | #include "crypto_stream_chacha20.h" 6 | 7 | extern struct crypto_stream_chacha20_implementation 8 | crypto_stream_chacha20_dolbeau_avx2_implementation; 9 | -------------------------------------------------------------------------------- /components/libsodium/libsodium/src/libsodium/crypto_stream/chacha20/dolbeau/chacha20_dolbeau-ssse3.h: -------------------------------------------------------------------------------- 1 | 2 | #include 3 | 4 | #include "../stream_chacha20.h" 5 | #include "crypto_stream_chacha20.h" 6 | 7 | extern struct crypto_stream_chacha20_implementation 8 | crypto_stream_chacha20_dolbeau_ssse3_implementation; 9 | -------------------------------------------------------------------------------- /components/libsodium/libsodium/src/libsodium/crypto_stream/chacha20/ref/chacha20_ref.h: -------------------------------------------------------------------------------- 1 | 2 | #include 3 | 4 | #include "../stream_chacha20.h" 5 | #include "crypto_stream_chacha20.h" 6 | 7 | extern struct crypto_stream_chacha20_implementation 8 | crypto_stream_chacha20_ref_implementation; 9 | -------------------------------------------------------------------------------- /components/libsodium/libsodium/src/libsodium/crypto_stream/salsa20/ref/salsa20_ref.h: -------------------------------------------------------------------------------- 1 | 2 | #include 3 | 4 | #include "../stream_salsa20.h" 5 | #include "crypto_stream_salsa20.h" 6 | 7 | extern struct crypto_stream_salsa20_implementation 8 | crypto_stream_salsa20_ref_implementation; 9 | -------------------------------------------------------------------------------- /components/libsodium/libsodium/src/libsodium/crypto_stream/salsa20/xmm6/salsa20_xmm6.h: -------------------------------------------------------------------------------- 1 | 2 | #include 3 | 4 | #include "../stream_salsa20.h" 5 | #include "crypto_stream_salsa20.h" 6 | 7 | extern struct crypto_stream_salsa20_implementation 8 | crypto_stream_salsa20_xmm6_implementation; 9 | -------------------------------------------------------------------------------- /components/libsodium/libsodium/src/libsodium/crypto_stream/salsa20/xmm6int/salsa20_xmm6int-avx2.h: -------------------------------------------------------------------------------- 1 | 2 | #include 3 | 4 | #include "../stream_salsa20.h" 5 | #include "crypto_stream_salsa20.h" 6 | 7 | extern struct crypto_stream_salsa20_implementation 8 | crypto_stream_salsa20_xmm6int_avx2_implementation; 9 | -------------------------------------------------------------------------------- /components/libsodium/libsodium/src/libsodium/crypto_stream/salsa20/xmm6int/salsa20_xmm6int-sse2.h: -------------------------------------------------------------------------------- 1 | 2 | #include 3 | 4 | #include "../stream_salsa20.h" 5 | #include "crypto_stream_salsa20.h" 6 | 7 | extern struct crypto_stream_salsa20_implementation 8 | crypto_stream_salsa20_xmm6int_sse2_implementation; 9 | -------------------------------------------------------------------------------- /components/libsodium/libsodium/src/libsodium/include/sodium/private/mutex.h: -------------------------------------------------------------------------------- 1 | #ifndef mutex_H 2 | #define mutex_H 1 3 | 4 | extern int sodium_crit_enter(void); 5 | extern int sodium_crit_leave(void); 6 | 7 | #endif 8 | -------------------------------------------------------------------------------- /components/libsodium/libsodium/test/Makefile.am: -------------------------------------------------------------------------------- 1 | SUBDIRS = \ 2 | default 3 | 4 | EXTRA_DIST = \ 5 | quirks/quirks.h 6 | -------------------------------------------------------------------------------- /components/libsodium/libsodium/test/default/aead_aes256gcm.exp: -------------------------------------------------------------------------------- 1 | OK 2 | -------------------------------------------------------------------------------- /components/libsodium/libsodium/test/default/auth2.exp: -------------------------------------------------------------------------------- 1 | ,0x37,0x2e,0xfc,0xf9,0xb4,0x0b,0x35,0xc2 2 | ,0x11,0x5b,0x13,0x46,0x90,0x3d,0x2e,0xf4 3 | ,0x2f,0xce,0xd4,0x6f,0x08,0x46,0xe7,0x25 4 | ,0x7b,0xb1,0x56,0xd3,0xd7,0xb3,0x0d,0x3f 5 | -------------------------------------------------------------------------------- /components/libsodium/libsodium/test/default/auth3.exp: -------------------------------------------------------------------------------- 1 | 0 2 | -------------------------------------------------------------------------------- /components/libsodium/libsodium/test/default/auth5.exp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/ESP8266_RTOS_SDK/d412ac601befc4dd024d2d2adcfaa319c7463e36/components/libsodium/libsodium/test/default/auth5.exp -------------------------------------------------------------------------------- /components/libsodium/libsodium/test/default/auth7.exp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/ESP8266_RTOS_SDK/d412ac601befc4dd024d2d2adcfaa319c7463e36/components/libsodium/libsodium/test/default/auth7.exp -------------------------------------------------------------------------------- /components/libsodium/libsodium/test/default/box7.exp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/ESP8266_RTOS_SDK/d412ac601befc4dd024d2d2adcfaa319c7463e36/components/libsodium/libsodium/test/default/box7.exp -------------------------------------------------------------------------------- /components/libsodium/libsodium/test/default/box8.exp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/ESP8266_RTOS_SDK/d412ac601befc4dd024d2d2adcfaa319c7463e36/components/libsodium/libsodium/test/default/box8.exp -------------------------------------------------------------------------------- /components/libsodium/libsodium/test/default/box_easy2.exp: -------------------------------------------------------------------------------- 1 | 0 2 | 0 3 | 0 4 | 0 5 | 0 6 | 0 7 | OK 8 | -------------------------------------------------------------------------------- /components/libsodium/libsodium/test/default/box_seal.exp: -------------------------------------------------------------------------------- 1 | 0 2 | -1 3 | -1 4 | -1 5 | -------------------------------------------------------------------------------- /components/libsodium/libsodium/test/default/core1.exp: -------------------------------------------------------------------------------- 1 | 0x1b,0x27,0x55,0x64,0x73,0xe9,0x85,0xd4 2 | ,0x62,0xcd,0x51,0x19,0x7a,0x9a,0x46,0xc7 3 | ,0x60,0x09,0x54,0x9e,0xac,0x64,0x74,0xf2 4 | ,0x06,0xc4,0xee,0x08,0x44,0xf6,0x83,0x89 5 | -------------------------------------------------------------------------------- /components/libsodium/libsodium/test/default/core2.exp: -------------------------------------------------------------------------------- 1 | 0xdc,0x90,0x8d,0xda,0x0b,0x93,0x44,0xa9 2 | ,0x53,0x62,0x9b,0x73,0x38,0x20,0x77,0x88 3 | ,0x80,0xf3,0xce,0xb4,0x21,0xbb,0x61,0xb9 4 | ,0x1c,0xbd,0x4c,0x3e,0x66,0x25,0x6c,0xe4 5 | -------------------------------------------------------------------------------- /components/libsodium/libsodium/test/default/core3.exp: -------------------------------------------------------------------------------- 1 | 662b9d0e3463029156069b12f918691a98f7dfb2ca0393c96bbfc6b1fbd630a2 2 | -------------------------------------------------------------------------------- /components/libsodium/libsodium/test/default/core4.exp: -------------------------------------------------------------------------------- 1 | 69, 37, 68, 39, 41, 15,107,193 2 | ,255,139,122, 6,170,233,217, 98 3 | , 89,144,182,106, 21, 51,200, 65 4 | ,239, 49,222, 34,215,114, 40,126 5 | ,104,197, 7,225,197,153, 31, 2 6 | ,102, 78, 76,176, 84,245,246,184 7 | ,177,160,133,130, 6, 72,149,119 8 | ,192,195,132,236,234,103,246, 74 9 | -------------------------------------------------------------------------------- /components/libsodium/libsodium/test/default/core5.exp: -------------------------------------------------------------------------------- 1 | ,0xbc,0x1b,0x30,0xfc,0x07,0x2c,0xc1,0x40 2 | ,0x75,0xe4,0xba,0xa7,0x31,0xb5,0xa8,0x45 3 | ,0xea,0x9b,0x11,0xe9,0xa5,0x19,0x1f,0x94 4 | ,0xe1,0x8c,0xba,0x8f,0xd8,0x21,0xa7,0xcd 5 | -------------------------------------------------------------------------------- /components/libsodium/libsodium/test/default/core6.exp: -------------------------------------------------------------------------------- 1 | ,0xbc,0x1b,0x30,0xfc,0x07,0x2c,0xc1,0x40 2 | ,0x75,0xe4,0xba,0xa7,0x31,0xb5,0xa8,0x45 3 | ,0xea,0x9b,0x11,0xe9,0xa5,0x19,0x1f,0x94 4 | ,0xe1,0x8c,0xba,0x8f,0xd8,0x21,0xa7,0xcd 5 | -------------------------------------------------------------------------------- /components/libsodium/libsodium/test/default/ed25519_convert.exp: -------------------------------------------------------------------------------- 1 | curve25519 pk: [f1814f0e8ff1043d8a44d25babff3cedcae6c22c3edaa48f857ae70de2baae50] 2 | curve25519 sk: [8052030376d47112be7f73ed7a019293dd12ad910b654455798b4667d73de166] 3 | ok 4 | -------------------------------------------------------------------------------- /components/libsodium/libsodium/test/default/hash2.exp: -------------------------------------------------------------------------------- 1 | 24f950aac7b9ea9b3cb728228a0c82b67c39e96b4b344798870d5daee93e3ae5931baae8c7cacfea4b629452c38026a81d138bc7aad1af3ef7bfd5ec646d6c28 2 | -------------------------------------------------------------------------------- /components/libsodium/libsodium/test/default/hash3.exp: -------------------------------------------------------------------------------- 1 | 24f950aac7b9ea9b3cb728228a0c82b67c39e96b4b344798870d5daee93e3ae5931baae8c7cacfea4b629452c38026a81d138bc7aad1af3ef7bfd5ec646d6c28 2 | -------------------------------------------------------------------------------- /components/libsodium/libsodium/test/default/keygen.exp: -------------------------------------------------------------------------------- 1 | tv_keygen: ok 2 | -------------------------------------------------------------------------------- /components/libsodium/libsodium/test/default/onetimeauth.exp: -------------------------------------------------------------------------------- 1 | ,0xf3,0xff,0xc7,0x70,0x3f,0x94,0x00,0xe5 2 | ,0x2a,0x7d,0xfb,0x4b,0x3d,0x33,0x05,0xd9 3 | ,0xf3,0xff,0xc7,0x70,0x3f,0x94,0x00,0xe5 4 | ,0x2a,0x7d,0xfb,0x4b,0x3d,0x33,0x05,0xd9 5 | -------------------------------------------------------------------------------- /components/libsodium/libsodium/test/default/onetimeauth2.exp: -------------------------------------------------------------------------------- 1 | 0 2 | -------------------------------------------------------------------------------- /components/libsodium/libsodium/test/default/onetimeauth7.exp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/ESP8266_RTOS_SDK/d412ac601befc4dd024d2d2adcfaa319c7463e36/components/libsodium/libsodium/test/default/onetimeauth7.exp -------------------------------------------------------------------------------- /components/libsodium/libsodium/test/default/randombytes.exp: -------------------------------------------------------------------------------- 1 | 0d8e6cc68715648926732e7ea73250cfaf2d58422083904c841a8ba33b986111f346ba50723a68ae283524a6bded09f83be6b80595856f72e25b86918e8b114bafb94bc8abedd73daab454576b7c5833eb0bf982a1bb4587a5c970ff0810ca3b791d7e12 (deterministic) 2 | OK 3 | -------------------------------------------------------------------------------- /components/libsodium/libsodium/test/default/scalarmult2.exp: -------------------------------------------------------------------------------- 1 | 0xde,0x9e,0xdb,0x7d,0x7b,0x7d,0xc1,0xb4 2 | ,0xd3,0x5b,0x61,0xc2,0xec,0xe4,0x35,0x37 3 | ,0x3f,0x83,0x43,0xc8,0x5b,0x78,0x67,0x4d 4 | ,0xad,0xfc,0x7e,0x14,0x6f,0x88,0x2b,0x4f 5 | -------------------------------------------------------------------------------- /components/libsodium/libsodium/test/default/scalarmult5.exp: -------------------------------------------------------------------------------- 1 | 0x4a,0x5d,0x9d,0x5b,0xa4,0xce,0x2d,0xe1 2 | ,0x72,0x8e,0x3b,0xf4,0x80,0x35,0x0f,0x25 3 | ,0xe0,0x7e,0x21,0xc9,0x47,0xd1,0x9e,0x33 4 | ,0x76,0xf0,0x9b,0x3c,0x1e,0x16,0x17,0x42 5 | -------------------------------------------------------------------------------- /components/libsodium/libsodium/test/default/scalarmult6.exp: -------------------------------------------------------------------------------- 1 | 0x4a,0x5d,0x9d,0x5b,0xa4,0xce,0x2d,0xe1 2 | ,0x72,0x8e,0x3b,0xf4,0x80,0x35,0x0f,0x25 3 | ,0xe0,0x7e,0x21,0xc9,0x47,0xd1,0x9e,0x33 4 | ,0x76,0xf0,0x9b,0x3c,0x1e,0x16,0x17,0x42 5 | -------------------------------------------------------------------------------- /components/libsodium/libsodium/test/default/scalarmult7.exp: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /components/libsodium/libsodium/test/default/secretbox7.exp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/ESP8266_RTOS_SDK/d412ac601befc4dd024d2d2adcfaa319c7463e36/components/libsodium/libsodium/test/default/secretbox7.exp -------------------------------------------------------------------------------- /components/libsodium/libsodium/test/default/secretbox8.exp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/ESP8266_RTOS_SDK/d412ac601befc4dd024d2d2adcfaa319c7463e36/components/libsodium/libsodium/test/default/secretbox8.exp -------------------------------------------------------------------------------- /components/libsodium/libsodium/test/default/secretbox_easy2.exp: -------------------------------------------------------------------------------- 1 | 0 2 | 0 3 | 0 4 | 0 5 | 0 6 | -------------------------------------------------------------------------------- /components/libsodium/libsodium/test/default/sodium_core.exp: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /components/libsodium/libsodium/test/default/sodium_utils2.exp: -------------------------------------------------------------------------------- 1 | OK 2 | Intentional segfault / bus error caught 3 | OK 4 | -------------------------------------------------------------------------------- /components/libsodium/libsodium/test/default/sodium_utils3.exp: -------------------------------------------------------------------------------- 1 | Intentional segfault / bus error caught 2 | OK 3 | -------------------------------------------------------------------------------- /components/libsodium/libsodium/test/default/sodium_version.exp: -------------------------------------------------------------------------------- 1 | 1 2 | 1 3 | 1 4 | -------------------------------------------------------------------------------- /components/libsodium/libsodium/test/default/stream2.exp: -------------------------------------------------------------------------------- 1 | 662b9d0e3463029156069b12f918691a98f7dfb2ca0393c96bbfc6b1fbd630a2 2 | 0cc9ffaf60a99d221b548e9762385a231121ab226d1c610d2661ced26b6ad5ee 3 | -------------------------------------------------------------------------------- /components/libsodium/libsodium/test/default/stream3.exp: -------------------------------------------------------------------------------- 1 | ,0xee,0xa6,0xa7,0x25,0x1c,0x1e,0x72,0x91 2 | ,0x6d,0x11,0xc2,0xcb,0x21,0x4d,0x3c,0x25 3 | ,0x25,0x39,0x12,0x1d,0x8e,0x23,0x4e,0x65 4 | ,0x2d,0x65,0x1f,0xa4,0xc8,0xcf,0xf8,0x80 5 | -------------------------------------------------------------------------------- /components/libsodium/libsodium/test/default/verify1.exp: -------------------------------------------------------------------------------- 1 | OK 2 | OK 3 | -------------------------------------------------------------------------------- /components/log/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | idf_component_register(SRCS "log.c" 2 | INCLUDE_DIRS "include" 3 | LDFRAGMENTS "linker.lf") 4 | -------------------------------------------------------------------------------- /components/log/component.mk: -------------------------------------------------------------------------------- 1 | 2 | COMPONENT_ADD_LDFRAGMENTS += linker.lf 3 | -------------------------------------------------------------------------------- /components/log/linker.lf: -------------------------------------------------------------------------------- 1 | [mapping:log] 2 | archive: liblog.a 3 | entries: 4 | * (noflash_data) 5 | -------------------------------------------------------------------------------- /components/log/test/component.mk: -------------------------------------------------------------------------------- 1 | # 2 | #Component Makefile 3 | # 4 | 5 | COMPONENT_ADD_LDFLAGS = -Wl,--whole-archive -l$(COMPONENT_NAME) -Wl,--no-whole-archive 6 | -------------------------------------------------------------------------------- /components/lwip/linker.lf: -------------------------------------------------------------------------------- 1 | [mapping:lwip] 2 | archive: liblwip.a 3 | entries: 4 | * (iram_bss) 5 | -------------------------------------------------------------------------------- /components/lwip/test_afl_host/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # The following four lines of boilerplate have to be in your project's CMakeLists 2 | # in this exact order for cmake to work correctly 3 | cmake_minimum_required(VERSION 3.5) 4 | 5 | include($ENV{IDF_PATH}/tools/cmake/project.cmake) 6 | 7 | project(fuzz_test_lwip) -------------------------------------------------------------------------------- /components/lwip/test_afl_host/in_dhcp_client/data0.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/ESP8266_RTOS_SDK/d412ac601befc4dd024d2d2adcfaa319c7463e36/components/lwip/test_afl_host/in_dhcp_client/data0.bin -------------------------------------------------------------------------------- /components/lwip/test_afl_host/in_dhcp_client/data1.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/ESP8266_RTOS_SDK/d412ac601befc4dd024d2d2adcfaa319c7463e36/components/lwip/test_afl_host/in_dhcp_client/data1.bin -------------------------------------------------------------------------------- /components/lwip/test_afl_host/in_dhcp_client/data2.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/ESP8266_RTOS_SDK/d412ac601befc4dd024d2d2adcfaa319c7463e36/components/lwip/test_afl_host/in_dhcp_client/data2.bin -------------------------------------------------------------------------------- /components/lwip/test_afl_host/in_dhcp_client/data3.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/ESP8266_RTOS_SDK/d412ac601befc4dd024d2d2adcfaa319c7463e36/components/lwip/test_afl_host/in_dhcp_client/data3.bin -------------------------------------------------------------------------------- /components/lwip/test_afl_host/in_dhcp_client/data4.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/ESP8266_RTOS_SDK/d412ac601befc4dd024d2d2adcfaa319c7463e36/components/lwip/test_afl_host/in_dhcp_client/data4.bin -------------------------------------------------------------------------------- /components/lwip/test_afl_host/in_dhcp_client/data5.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/ESP8266_RTOS_SDK/d412ac601befc4dd024d2d2adcfaa319c7463e36/components/lwip/test_afl_host/in_dhcp_client/data5.bin -------------------------------------------------------------------------------- /components/lwip/test_afl_host/in_dhcp_client/data6.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/ESP8266_RTOS_SDK/d412ac601befc4dd024d2d2adcfaa319c7463e36/components/lwip/test_afl_host/in_dhcp_client/data6.bin -------------------------------------------------------------------------------- /components/lwip/test_afl_host/in_dhcp_client/data7.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/ESP8266_RTOS_SDK/d412ac601befc4dd024d2d2adcfaa319c7463e36/components/lwip/test_afl_host/in_dhcp_client/data7.bin -------------------------------------------------------------------------------- /components/lwip/test_afl_host/in_dhcp_client/data8.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/ESP8266_RTOS_SDK/d412ac601befc4dd024d2d2adcfaa319c7463e36/components/lwip/test_afl_host/in_dhcp_client/data8.bin -------------------------------------------------------------------------------- /components/lwip/test_afl_host/in_dhcp_server/data0.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/ESP8266_RTOS_SDK/d412ac601befc4dd024d2d2adcfaa319c7463e36/components/lwip/test_afl_host/in_dhcp_server/data0.bin -------------------------------------------------------------------------------- /components/lwip/test_afl_host/in_dhcp_server/data1.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/ESP8266_RTOS_SDK/d412ac601befc4dd024d2d2adcfaa319c7463e36/components/lwip/test_afl_host/in_dhcp_server/data1.bin -------------------------------------------------------------------------------- /components/lwip/test_afl_host/in_dhcp_server/data2.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/ESP8266_RTOS_SDK/d412ac601befc4dd024d2d2adcfaa319c7463e36/components/lwip/test_afl_host/in_dhcp_server/data2.bin -------------------------------------------------------------------------------- /components/lwip/test_afl_host/in_dhcp_server/data3.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/ESP8266_RTOS_SDK/d412ac601befc4dd024d2d2adcfaa319c7463e36/components/lwip/test_afl_host/in_dhcp_server/data3.bin -------------------------------------------------------------------------------- /components/lwip/test_afl_host/in_dhcp_server/data4.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/ESP8266_RTOS_SDK/d412ac601befc4dd024d2d2adcfaa319c7463e36/components/lwip/test_afl_host/in_dhcp_server/data4.bin -------------------------------------------------------------------------------- /components/lwip/test_afl_host/in_dhcp_server/data5.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/ESP8266_RTOS_SDK/d412ac601befc4dd024d2d2adcfaa319c7463e36/components/lwip/test_afl_host/in_dhcp_server/data5.bin -------------------------------------------------------------------------------- /components/lwip/test_afl_host/in_dhcp_server/data6.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/ESP8266_RTOS_SDK/d412ac601befc4dd024d2d2adcfaa319c7463e36/components/lwip/test_afl_host/in_dhcp_server/data6.bin -------------------------------------------------------------------------------- /components/lwip/test_afl_host/in_dns/out0.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/ESP8266_RTOS_SDK/d412ac601befc4dd024d2d2adcfaa319c7463e36/components/lwip/test_afl_host/in_dns/out0.bin -------------------------------------------------------------------------------- /components/lwip/test_afl_host/in_dns/out10.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/ESP8266_RTOS_SDK/d412ac601befc4dd024d2d2adcfaa319c7463e36/components/lwip/test_afl_host/in_dns/out10.bin -------------------------------------------------------------------------------- /components/lwip/test_afl_host/in_dns/out28.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/ESP8266_RTOS_SDK/d412ac601befc4dd024d2d2adcfaa319c7463e36/components/lwip/test_afl_host/in_dns/out28.bin -------------------------------------------------------------------------------- /components/lwip/test_afl_host/in_dns/out29.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/ESP8266_RTOS_SDK/d412ac601befc4dd024d2d2adcfaa319c7463e36/components/lwip/test_afl_host/in_dns/out29.bin -------------------------------------------------------------------------------- /components/lwip/test_afl_host/in_dns/out30.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/ESP8266_RTOS_SDK/d412ac601befc4dd024d2d2adcfaa319c7463e36/components/lwip/test_afl_host/in_dns/out30.bin -------------------------------------------------------------------------------- /components/lwip/test_afl_host/in_dns/out31.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/ESP8266_RTOS_SDK/d412ac601befc4dd024d2d2adcfaa319c7463e36/components/lwip/test_afl_host/in_dns/out31.bin -------------------------------------------------------------------------------- /components/lwip/test_afl_host/in_dns/out32.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/ESP8266_RTOS_SDK/d412ac601befc4dd024d2d2adcfaa319c7463e36/components/lwip/test_afl_host/in_dns/out32.bin -------------------------------------------------------------------------------- /components/lwip/test_afl_host/in_dns/out33.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/ESP8266_RTOS_SDK/d412ac601befc4dd024d2d2adcfaa319c7463e36/components/lwip/test_afl_host/in_dns/out33.bin -------------------------------------------------------------------------------- /components/lwip/test_afl_host/in_dns/out34.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/ESP8266_RTOS_SDK/d412ac601befc4dd024d2d2adcfaa319c7463e36/components/lwip/test_afl_host/in_dns/out34.bin -------------------------------------------------------------------------------- /components/lwip/test_afl_host/in_dns/out35.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/ESP8266_RTOS_SDK/d412ac601befc4dd024d2d2adcfaa319c7463e36/components/lwip/test_afl_host/in_dns/out35.bin -------------------------------------------------------------------------------- /components/lwip/test_afl_host/in_dns/out36.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/ESP8266_RTOS_SDK/d412ac601befc4dd024d2d2adcfaa319c7463e36/components/lwip/test_afl_host/in_dns/out36.bin -------------------------------------------------------------------------------- /components/lwip/test_afl_host/in_dns/out37.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/ESP8266_RTOS_SDK/d412ac601befc4dd024d2d2adcfaa319c7463e36/components/lwip/test_afl_host/in_dns/out37.bin -------------------------------------------------------------------------------- /components/lwip/test_afl_host/in_dns/out38.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/ESP8266_RTOS_SDK/d412ac601befc4dd024d2d2adcfaa319c7463e36/components/lwip/test_afl_host/in_dns/out38.bin -------------------------------------------------------------------------------- /components/lwip/test_afl_host/no_warn_host.h: -------------------------------------------------------------------------------- 1 | // Note: these undefs and defines are used to suppress warnings and errors when compiling esp32 idf on host gcc/clang 2 | #undef __nonnull 3 | #define __warning__ deprecated 4 | #define IRAM_ATTR 5 | #define __ESP_ATTR_H__ 6 | -------------------------------------------------------------------------------- /components/lwip/weekend_test/env.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/ESP8266_RTOS_SDK/d412ac601befc4dd024d2d2adcfaa319c7463e36/components/lwip/weekend_test/env.yml -------------------------------------------------------------------------------- /components/lwip/weekend_test/esp32_netsuite.cfg: -------------------------------------------------------------------------------- 1 | [LOGGING] 2 | FileMask := LOG_ALL | DEBUG | TTCN_DEBUG 3 | ConsoleMask := LOG_ALL | DEBUG | TTCN_DEBUG 4 | LogSourceInfo := Yes 5 | 6 | [MODULE_PARAMETERS] 7 | libtest.m_ip_dst := "10.0.0.1" 8 | libtest.m_ip_src := "10.0.0.2" 9 | 10 | [EXECUTE] 11 | esp32_netsuite.control 12 | -------------------------------------------------------------------------------- /components/lwip/weekend_test/esp32_netsuite.ttcn: -------------------------------------------------------------------------------- 1 | module esp32_netsuite { 2 | import from tcp_suite all; 3 | 4 | control { 5 | execute(tc_tcp_002()); 6 | execute(tc_tcp_003()); 7 | execute(tc_tcp_004()); 8 | execute(tc_tcp_005()); 9 | } 10 | 11 | } 12 | -------------------------------------------------------------------------------- /components/lwip/weekend_test/test_weekend_network_.yml: -------------------------------------------------------------------------------- 1 | CaseConfig: 2 | - name: lwip_test_suite 3 | 4 | -------------------------------------------------------------------------------- /components/mbedtls/test/component.mk: -------------------------------------------------------------------------------- 1 | # 2 | #Component Makefile 3 | # 4 | 5 | COMPONENT_ADD_LDFLAGS = -Wl,--whole-archive -l$(COMPONENT_NAME) -Wl,--no-whole-archive 6 | -------------------------------------------------------------------------------- /components/mdns/component.mk: -------------------------------------------------------------------------------- 1 | COMPONENT_ADD_INCLUDEDIRS := include 2 | COMPONENT_PRIV_INCLUDEDIRS := private_include 3 | 4 | ifndef CONFIG_ENABLE_MDNS 5 | COMPONENT_OBJEXCLUDE += mdns.o 6 | COMPONENT_OBJEXCLUDE += mdns_networking.o 7 | endif 8 | 9 | ifndef CONFIG_ENABLE_MDNS_CONSOLE 10 | COMPONENT_OBJEXCLUDE += mdns_console.o 11 | endif 12 | -------------------------------------------------------------------------------- /components/mdns/test/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | idf_component_register(SRC_DIRS "." 2 | PRIV_REQUIRES unity test_utils mdns) -------------------------------------------------------------------------------- /components/mdns/test/component.mk: -------------------------------------------------------------------------------- 1 | # 2 | #Component Makefile 3 | # 4 | COMPONENT_ADD_LDFLAGS = -Wl,--whole-archive -l$(COMPONENT_NAME) -Wl,--no-whole-archive -------------------------------------------------------------------------------- /components/mdns/test_afl_fuzz_host/in/test-14.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/ESP8266_RTOS_SDK/d412ac601befc4dd024d2d2adcfaa319c7463e36/components/mdns/test_afl_fuzz_host/in/test-14.bin -------------------------------------------------------------------------------- /components/mdns/test_afl_fuzz_host/in/test-15.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/ESP8266_RTOS_SDK/d412ac601befc4dd024d2d2adcfaa319c7463e36/components/mdns/test_afl_fuzz_host/in/test-15.bin -------------------------------------------------------------------------------- /components/mdns/test_afl_fuzz_host/in/test-16.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/ESP8266_RTOS_SDK/d412ac601befc4dd024d2d2adcfaa319c7463e36/components/mdns/test_afl_fuzz_host/in/test-16.bin -------------------------------------------------------------------------------- /components/mdns/test_afl_fuzz_host/in/test-28.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/ESP8266_RTOS_SDK/d412ac601befc4dd024d2d2adcfaa319c7463e36/components/mdns/test_afl_fuzz_host/in/test-28.bin -------------------------------------------------------------------------------- /components/mdns/test_afl_fuzz_host/in/test-29.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/ESP8266_RTOS_SDK/d412ac601befc4dd024d2d2adcfaa319c7463e36/components/mdns/test_afl_fuzz_host/in/test-29.bin -------------------------------------------------------------------------------- /components/mdns/test_afl_fuzz_host/in/test-31.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/ESP8266_RTOS_SDK/d412ac601befc4dd024d2d2adcfaa319c7463e36/components/mdns/test_afl_fuzz_host/in/test-31.bin -------------------------------------------------------------------------------- /components/mdns/test_afl_fuzz_host/in/test-53.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/ESP8266_RTOS_SDK/d412ac601befc4dd024d2d2adcfaa319c7463e36/components/mdns/test_afl_fuzz_host/in/test-53.bin -------------------------------------------------------------------------------- /components/mdns/test_afl_fuzz_host/in/test-56.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/ESP8266_RTOS_SDK/d412ac601befc4dd024d2d2adcfaa319c7463e36/components/mdns/test_afl_fuzz_host/in/test-56.bin -------------------------------------------------------------------------------- /components/mdns/test_afl_fuzz_host/in/test-63.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/ESP8266_RTOS_SDK/d412ac601befc4dd024d2d2adcfaa319c7463e36/components/mdns/test_afl_fuzz_host/in/test-63.bin -------------------------------------------------------------------------------- /components/mdns/test_afl_fuzz_host/in/test-83.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/ESP8266_RTOS_SDK/d412ac601befc4dd024d2d2adcfaa319c7463e36/components/mdns/test_afl_fuzz_host/in/test-83.bin -------------------------------------------------------------------------------- /components/mdns/test_afl_fuzz_host/in/test-88.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/ESP8266_RTOS_SDK/d412ac601befc4dd024d2d2adcfaa319c7463e36/components/mdns/test_afl_fuzz_host/in/test-88.bin -------------------------------------------------------------------------------- /components/mdns/test_afl_fuzz_host/in/test-89.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/ESP8266_RTOS_SDK/d412ac601befc4dd024d2d2adcfaa319c7463e36/components/mdns/test_afl_fuzz_host/in/test-89.bin -------------------------------------------------------------------------------- /components/mdns/test_afl_fuzz_host/in/test-95.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/ESP8266_RTOS_SDK/d412ac601befc4dd024d2d2adcfaa319c7463e36/components/mdns/test_afl_fuzz_host/in/test-95.bin -------------------------------------------------------------------------------- /components/mdns/test_afl_fuzz_host/in/test-96.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/ESP8266_RTOS_SDK/d412ac601befc4dd024d2d2adcfaa319c7463e36/components/mdns/test_afl_fuzz_host/in/test-96.bin -------------------------------------------------------------------------------- /components/mqtt/component.mk: -------------------------------------------------------------------------------- 1 | COMPONENT_SUBMODULES += esp-mqtt 2 | COMPONENT_ADD_INCLUDEDIRS := esp-mqtt/include 3 | COMPONENT_SRCDIRS := esp-mqtt esp-mqtt/lib 4 | COMPONENT_PRIV_INCLUDEDIRS := esp-mqtt/lib/include 5 | -------------------------------------------------------------------------------- /components/mqtt/test/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | idf_component_register(SRC_DIRS "." 2 | PRIV_REQUIRES unity test_utils mqtt nvs_flash app_update) -------------------------------------------------------------------------------- /components/mqtt/test/component.mk: -------------------------------------------------------------------------------- 1 | # 2 | #Component Makefile 3 | # 4 | COMPONENT_ADD_LDFLAGS = -Wl,--whole-archive -l$(COMPONENT_NAME) -Wl,--no-whole-archive -------------------------------------------------------------------------------- /components/mqtt/weekend_test/env.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/ESP8266_RTOS_SDK/d412ac601befc4dd024d2d2adcfaa319c7463e36/components/mqtt/weekend_test/env.yml -------------------------------------------------------------------------------- /components/mqtt/weekend_test/test_weekend_mqtt_.yml: -------------------------------------------------------------------------------- 1 | CaseConfig: 2 | - name: test_weekend_mqtt_publish 3 | 4 | -------------------------------------------------------------------------------- /components/mqtt/weekend_test/test_weekend_mqtt_qemu.yml: -------------------------------------------------------------------------------- 1 | CaseConfig: 2 | - name: test_weekend_mqtt_publish 3 | overwrite: 4 | dut: 5 | class: ESP32QEMUDUT 6 | package: ttfw_idf 7 | 8 | -------------------------------------------------------------------------------- /components/nvs_flash/.gitignore: -------------------------------------------------------------------------------- 1 | test_nvs_host/test_nvs 2 | test_nvs_host/coverage_report 3 | test_nvs_host/coverage.info 4 | **/*.gcno 5 | **/*.gcda 6 | **/*.gcov 7 | **/*.o 8 | -------------------------------------------------------------------------------- /components/nvs_flash/component.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Component Makefile 3 | # 4 | 5 | COMPONENT_ADD_INCLUDEDIRS := include 6 | 7 | COMPONENT_SRCDIRS := src 8 | 9 | ifndef CONFIG_NVS_ENCRYPTION 10 | COMPONENT_OBJEXCLUDE := src/nvs_encr.o 11 | endif 12 | -------------------------------------------------------------------------------- /components/nvs_flash/host_test/nvs_page_test/sdkconfig.defaults: -------------------------------------------------------------------------------- 1 | CONFIG_UNITY_ENABLE_IDF_TEST_RUNNER=n 2 | CONFIG_IDF_TARGET="linux" 3 | CONFIG_CXX_EXCEPTIONS=y 4 | -------------------------------------------------------------------------------- /components/nvs_flash/nvs_partition_generator/part_old_blob_format.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/ESP8266_RTOS_SDK/d412ac601befc4dd024d2d2adcfaa319c7463e36/components/nvs_flash/nvs_partition_generator/part_old_blob_format.bin -------------------------------------------------------------------------------- /components/nvs_flash/nvs_partition_generator/testdata/sample.base64: -------------------------------------------------------------------------------- 1 | AQIDBAUGBwgJq83v 2 | -------------------------------------------------------------------------------- /components/nvs_flash/nvs_partition_generator/testdata/sample.hex: -------------------------------------------------------------------------------- 1 | 0123456789abcdef -------------------------------------------------------------------------------- /components/nvs_flash/nvs_partition_generator/testdata/sample.txt: -------------------------------------------------------------------------------- 1 | abcdefghijklmnopqrstuvwxyz -------------------------------------------------------------------------------- /components/nvs_flash/nvs_partition_generator/testdata/sample_encryption_keys.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/ESP8266_RTOS_SDK/d412ac601befc4dd024d2d2adcfaa319c7463e36/components/nvs_flash/nvs_partition_generator/testdata/sample_encryption_keys.bin -------------------------------------------------------------------------------- /components/nvs_flash/nvs_partition_generator/testdata/sample_singlepage_blob.bin: -------------------------------------------------------------------------------- 1 | start0000000000000000000000start0123456789abcdef00000000000000000123456789abcdef00000000000000000123456789abcdef00000000000000000123456789abcdef00000000000000000123456789abcdef00000000000000000123456789abcdef0000000000000000 2 | -------------------------------------------------------------------------------- /components/nvs_flash/test/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | idf_component_register(SRC_DIRS "." 2 | PRIV_INCLUDE_DIRS "." 3 | PRIV_REQUIRES cmock test_utils nvs_flash bootloader_support 4 | EMBED_TXTFILES encryption_keys.bin partition_encrypted.bin sample.bin) 5 | -------------------------------------------------------------------------------- /components/nvs_flash/test/component.mk: -------------------------------------------------------------------------------- 1 | # 2 | #Component Makefile 3 | # 4 | 5 | COMPONENT_ADD_LDFLAGS = -Wl,--whole-archive -l$(COMPONENT_NAME) -Wl,--no-whole-archive 6 | COMPONENT_EMBED_TXTFILES += encryption_keys.bin partition_encrypted.bin sample.bin 7 | -------------------------------------------------------------------------------- /components/nvs_flash/test/encryption_keys.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/ESP8266_RTOS_SDK/d412ac601befc4dd024d2d2adcfaa319c7463e36/components/nvs_flash/test/encryption_keys.bin -------------------------------------------------------------------------------- /components/nvs_flash/test/partition_encrypted.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/ESP8266_RTOS_SDK/d412ac601befc4dd024d2d2adcfaa319c7463e36/components/nvs_flash/test/partition_encrypted.bin -------------------------------------------------------------------------------- /components/nvs_flash/test_nvs_host/main.cpp: -------------------------------------------------------------------------------- 1 | #define CATCH_CONFIG_MAIN 2 | #include "catch.hpp" 3 | -------------------------------------------------------------------------------- /components/nvs_flash/test_nvs_host/sdkconfig.h: -------------------------------------------------------------------------------- 1 | #define CONFIG_NVS_ENCRYPTION 1 2 | //currently use the legacy implementation, since the stubs for new HAL are not done yet 3 | #define CONFIG_SPI_FLASH_USE_LEGACY_IMPL 1 4 | -------------------------------------------------------------------------------- /components/openssl/component.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Component Makefile 3 | # 4 | 5 | COMPONENT_ADD_INCLUDEDIRS := include 6 | COMPONENT_PRIV_INCLUDEDIRS := include/internal include/platform include/openssl 7 | 8 | COMPONENT_SRCDIRS := library platform 9 | 10 | -------------------------------------------------------------------------------- /components/partition_table/component.mk: -------------------------------------------------------------------------------- 1 | # partition table component is special, because it doesn't contain any 2 | # IDF source files. It only adds steps via Makefile.projbuild & 3 | # Kconfig.projbuild 4 | COMPONENT_CONFIG_ONLY := 1 5 | 6 | -------------------------------------------------------------------------------- /components/partition_table/partitions_singleapp.csv: -------------------------------------------------------------------------------- 1 | # Name, Type, SubType, Offset, Size, Flags 2 | # Note: if you change the phy_init or app partition offset, make sure to change the offset in Kconfig.projbuild 3 | nvs, data, nvs, 0x9000, 0x6000, 4 | phy_init, data, phy, 0xf000, 0x1000, 5 | factory, app, factory, 0x10000, 0xF0000, 6 | -------------------------------------------------------------------------------- /components/protobuf-c/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | set(COMPONENT_ADD_INCLUDEDIRS "protobuf-c") 2 | set(COMPONENT_SRCS "protobuf-c/protobuf-c/protobuf-c.c") 3 | 4 | register_component() 5 | -------------------------------------------------------------------------------- /components/protobuf-c/component.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Component Makefile 3 | # 4 | COMPONENT_ADD_INCLUDEDIRS := protobuf-c 5 | 6 | COMPONENT_SRCDIRS := protobuf-c/protobuf-c 7 | -------------------------------------------------------------------------------- /components/protobuf-c/protobuf-c/autogen.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | exec autoreconf -fvi 3 | -------------------------------------------------------------------------------- /components/protobuf-c/protobuf-c/build-cmake/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | !CMakeLists.txt 4 | -------------------------------------------------------------------------------- /components/protobuf-c/protobuf-c/m4/.gitignore: -------------------------------------------------------------------------------- 1 | libtool.m4 2 | ltoptions.m4 3 | ltsugar.m4 4 | ltversion.m4 5 | lt~obsolete.m4 6 | -------------------------------------------------------------------------------- /components/protobuf-c/protobuf-c/protobuf-c/libprotobuf-c.pc.in: -------------------------------------------------------------------------------- 1 | prefix=@prefix@ 2 | exec_prefix=@exec_prefix@ 3 | libdir=@libdir@ 4 | includedir=@includedir@ 5 | bindir=@bindir@ 6 | 7 | Name: libprotobuf-c 8 | Description: Protocol Buffers C library 9 | Version: @VERSION@ 10 | Libs: -L${libdir} -lprotobuf-c 11 | Libs.private: 12 | Cflags: -I${includedir} 13 | -------------------------------------------------------------------------------- /components/protobuf-c/protobuf-c/t/issue220/.gitignore: -------------------------------------------------------------------------------- 1 | issue220 2 | -------------------------------------------------------------------------------- /components/protobuf-c/protobuf-c/t/issue251/.gitignore: -------------------------------------------------------------------------------- 1 | issue251 2 | -------------------------------------------------------------------------------- /components/protobuf-c/protobuf-c/t/issue251/issue251.c: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | #include "t/issue251/issue251.pb-c.h" 4 | 5 | int main(void) 6 | { 7 | /* 8 | * The problem in #251 caused invalid code to be generated in the 9 | * .pb-c.h file, so there's nothing for us to do here. 10 | */ 11 | return EXIT_SUCCESS; 12 | } 13 | -------------------------------------------------------------------------------- /components/protobuf-c/protobuf-c/t/issue251/issue251.proto: -------------------------------------------------------------------------------- 1 | message two_oneofs { 2 | oneof first_oneof { 3 | bool a = 10; 4 | bool b = 11; 5 | } 6 | 7 | oneof second_oneof { 8 | bool c = 20; 9 | bool d = 21; 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /components/protobuf-c/protobuf-c/t/test-optimized.proto: -------------------------------------------------------------------------------- 1 | package foo; 2 | 3 | option optimize_for = CODE_SIZE; 4 | 5 | enum TestEnumLite { 6 | LITE = 0; 7 | LITE1 = 1; 8 | } 9 | 10 | message TestMessLite { 11 | required int32 field1 = 1; 12 | required TestEnumLite field2 = 2; 13 | } 14 | -------------------------------------------------------------------------------- /components/protocomm/component.mk: -------------------------------------------------------------------------------- 1 | COMPONENT_ADD_INCLUDEDIRS := 2 | COMPONENT_SRCDIRS := 3 | 4 | ifdef CONFIG_ENABLE_UNIFIED_PROVISIONING 5 | COMPONENT_ADD_INCLUDEDIRS := include/common include/security include/transports 6 | COMPONENT_PRIV_INCLUDEDIRS := proto-c src/common 7 | COMPONENT_SRCDIRS := src/common src/security proto-c src/transports 8 | endif 9 | -------------------------------------------------------------------------------- /components/protocomm/proto/makefile: -------------------------------------------------------------------------------- 1 | all: c_proto python_proto 2 | 3 | c_proto: *.proto 4 | @protoc-c --c_out=../proto-c/ -I . *.proto 5 | 6 | python_proto: *.proto 7 | @protoc --python_out=../python/ -I . *.proto 8 | -------------------------------------------------------------------------------- /components/pthread/test/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | idf_component_register(SRC_DIRS "." 2 | INCLUDE_DIRS "." 3 | REQUIRES unity test_utils pthread) -------------------------------------------------------------------------------- /components/pthread/test/component.mk: -------------------------------------------------------------------------------- 1 | # 2 | #Component Makefile 3 | # 4 | 5 | COMPONENT_SRCDIRS := . 6 | 7 | #CXXFLAGS += -H 8 | 9 | COMPONENT_ADD_LDFLAGS = -Wl,--whole-archive -l$(COMPONENT_NAME) -Wl,--no-whole-archive 10 | -------------------------------------------------------------------------------- /components/spi_flash/linker.lf: -------------------------------------------------------------------------------- 1 | [mapping:spi_flash] 2 | archive: libspi_flash.a 3 | entries: 4 | spi_flash_raw (noflash) 5 | th25q16hb (noflash) 6 | -------------------------------------------------------------------------------- /components/spi_flash/test/component.mk: -------------------------------------------------------------------------------- 1 | # 2 | #Component Makefile 3 | # 4 | 5 | COMPONENT_ADD_LDFLAGS = -Wl,--whole-archive -l$(COMPONENT_NAME) -Wl,--no-whole-archive 6 | -------------------------------------------------------------------------------- /components/spi_ram/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | set(COMPONENT_SRCDIRS ".") 2 | set(COMPONENT_ADD_INCLUDEDIRS "include") 3 | 4 | set(COMPONENT_REQUIRES) 5 | 6 | register_component() 7 | -------------------------------------------------------------------------------- /components/spi_ram/component.mk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/ESP8266_RTOS_SDK/d412ac601befc4dd024d2d2adcfaa319c7463e36/components/spi_ram/component.mk -------------------------------------------------------------------------------- /components/spiffs/component.mk: -------------------------------------------------------------------------------- 1 | COMPONENT_ADD_INCLUDEDIRS := include 2 | COMPONENT_PRIV_INCLUDEDIRS := . spiffs/src 3 | COMPONENT_SRCDIRS := . spiffs/src 4 | -------------------------------------------------------------------------------- /components/spiffs/spiffs/.travis.yml: -------------------------------------------------------------------------------- 1 | language: c 2 | 3 | compiler: 4 | - gcc 5 | 6 | before_script: 7 | 8 | script: make all && make clean && make test && make build-all && make clean test FLAGS=-DSPIFFS_OBJ_META_LEN=8 9 | -------------------------------------------------------------------------------- /components/spiffs/spiffs/afltests/100: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/ESP8266_RTOS_SDK/d412ac601befc4dd024d2d2adcfaa319c7463e36/components/spiffs/spiffs/afltests/100 -------------------------------------------------------------------------------- /components/spiffs/spiffs/afltests/200: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/ESP8266_RTOS_SDK/d412ac601befc4dd024d2d2adcfaa319c7463e36/components/spiffs/spiffs/afltests/200 -------------------------------------------------------------------------------- /components/spiffs/spiffs/afltests/a: -------------------------------------------------------------------------------- 1 | b55 2 | O4W4R4C4D4 3 | b45 4 | d5rh 5 | O4W4R4f4C4 6 | baaU 7 | d5rh 8 | OaWaRafaCa 9 | cd5rh 10 | OaWaRafaCa 11 | O4S4W4R4C4 12 | d5rh 13 | O4W4S4R4C4 14 | d5rh 15 | O4W4R4S4C4 16 | d5rh 17 | O4W4R4C4 18 | d5rh 19 | -------------------------------------------------------------------------------- /components/spiffs/spiffs/afltests/b: -------------------------------------------------------------------------------- 1 | b55 2 | O4 3 | W?W?W?W?W?f4 4 | WW:W;f4 5 | C4 6 | b45 7 | d5rh 8 | O4W?R4f4C4 9 | baa 10 | d5rh 11 | OaWaRafaCa 12 | d5rh 13 | OaWaRafaCa 14 | O4W?R4C4 15 | d5rh 16 | -------------------------------------------------------------------------------- /components/spiffs/spiffs/src/test/main.c: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | #ifndef NO_TEST 4 | #include "testrunner.h" 5 | #endif 6 | 7 | int main(int argc, char **args) { 8 | #ifndef NO_TEST 9 | run_tests(argc, args); 10 | #endif 11 | exit(EXIT_SUCCESS); 12 | } 13 | -------------------------------------------------------------------------------- /components/spiffs/spiffs/src/test/testsuites.c: -------------------------------------------------------------------------------- 1 | /* 2 | * testsuites.c 3 | * 4 | * Created on: Jun 19, 2013 5 | * Author: petera 6 | */ 7 | 8 | #include "testrunner.h" 9 | 10 | void add_suites(void) { 11 | //ADD_SUITE(dev_tests); 12 | ADD_SUITE(check_tests); 13 | ADD_SUITE(hydrogen_tests); 14 | ADD_SUITE(bug_tests); 15 | } 16 | -------------------------------------------------------------------------------- /components/spiffs/test/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | set(COMPONENT_SRCDIRS ".") 2 | set(COMPONENT_ADD_INCLUDEDIRS ".") 3 | 4 | set(COMPONENT_REQUIRES unity spiffs) 5 | 6 | register_component() -------------------------------------------------------------------------------- /components/spiffs/test/component.mk: -------------------------------------------------------------------------------- 1 | COMPONENT_ADD_LDFLAGS = -Wl,--whole-archive -l$(COMPONENT_NAME) -Wl,--no-whole-archive 2 | -------------------------------------------------------------------------------- /components/spiffs/test_spiffs_host/main.cpp: -------------------------------------------------------------------------------- 1 | #define CATCH_CONFIG_MAIN 2 | #include "catch.hpp" 3 | 4 | -------------------------------------------------------------------------------- /components/spiffs/test_spiffs_host/test_utils.c: -------------------------------------------------------------------------------- 1 | #include "esp_spi_flash.h" 2 | #include "esp_partition.h" 3 | 4 | void init_spi_flash(const char* chip_size, size_t block_size, size_t sector_size, size_t page_size, const char* partition_bin) 5 | { 6 | spi_flash_init(chip_size, block_size, sector_size, page_size, partition_bin); 7 | } 8 | -------------------------------------------------------------------------------- /components/tcp_transport/component.mk: -------------------------------------------------------------------------------- 1 | COMPONENT_ADD_INCLUDEDIRS := include 2 | COMPONENT_PRIV_INCLUDEDIRS := private_include -------------------------------------------------------------------------------- /components/tcp_transport/test/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | idf_component_register(SRC_DIRS "." 2 | PRIV_INCLUDE_DIRS "../private_include" "." 3 | PRIV_REQUIRES unity test_utils tcp_transport) -------------------------------------------------------------------------------- /components/tcp_transport/test/component.mk: -------------------------------------------------------------------------------- 1 | # 2 | #Component Makefile 3 | # 4 | COMPONENT_PRIV_INCLUDEDIRS := ../private_include . 5 | COMPONENT_ADD_LDFLAGS = -Wl,--whole-archive -l$(COMPONENT_NAME) -Wl,--no-whole-archive -------------------------------------------------------------------------------- /components/tcpip_adapter/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | set(COMPONENT_SRCDIRS ".") 2 | set(COMPONENT_ADD_INCLUDEDIRS "include") 3 | 4 | set(COMPONENT_REQUIRES "lwip") 5 | 6 | register_component() 7 | 8 | component_compile_options("-DLWIP_OPEN_SRC") 9 | -------------------------------------------------------------------------------- /components/tcpip_adapter/component.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Component Makefile 3 | # 4 | COMPONENT_ADD_INCLUDEDIRS += include 5 | 6 | COMPONENT_SRCDIRS := ./ 7 | -------------------------------------------------------------------------------- /components/vfs/component.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Component Makefile 3 | # 4 | # (Uses default behaviour of compiling all source files in directory, adding 'include' to include path.) 5 | 6 | -------------------------------------------------------------------------------- /components/vfs/sdkconfig.rename: -------------------------------------------------------------------------------- 1 | # sdkconfig replacement configurations for deprecated options formatted as 2 | # CONFIG_DEPRECATED_OPTION CONFIG_NEW_OPTION 3 | 4 | CONFIG_SUPPRESS_SELECT_DEBUG_OUTPUT CONFIG_VFS_SUPPRESS_SELECT_DEBUG_OUTPUT 5 | CONFIG_SUPPORT_TERMIOS CONFIG_VFS_SUPPORT_TERMIOS 6 | -------------------------------------------------------------------------------- /components/vfs/test/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | idf_component_register(SRC_DIRS "." 2 | INCLUDE_DIRS . 3 | REQUIRES unity test_utils vfs fatfs spiffs) 4 | -------------------------------------------------------------------------------- /components/vfs/test/component.mk: -------------------------------------------------------------------------------- 1 | COMPONENT_ADD_LDFLAGS = -Wl,--whole-archive -l$(COMPONENT_NAME) -Wl,--no-whole-archive 2 | -------------------------------------------------------------------------------- /components/wear_levelling/.gitignore: -------------------------------------------------------------------------------- 1 | **/*.gcno 2 | **/*.gcda 3 | test_wl_host/coverage_report 4 | test_wl_host/coverage.info 5 | **/*.o 6 | test_wl_host/test_wl 7 | -------------------------------------------------------------------------------- /components/wear_levelling/component.mk: -------------------------------------------------------------------------------- 1 | COMPONENT_PRIV_INCLUDEDIRS := private_include 2 | -------------------------------------------------------------------------------- /components/wear_levelling/test/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | idf_component_register(SRC_DIRS . 2 | INCLUDE_DIRS . 3 | REQUIRES unity test_utils wear_levelling 4 | EMBED_FILES test_partition_v1.bin 5 | ) -------------------------------------------------------------------------------- /components/wear_levelling/test/component.mk: -------------------------------------------------------------------------------- 1 | COMPONENT_ADD_LDFLAGS = -Wl,--whole-archive -l$(COMPONENT_NAME) -Wl,--no-whole-archive 2 | COMPONENT_EMBED_FILES := test_partition_v1.bin 3 | -------------------------------------------------------------------------------- /components/wear_levelling/test/test_partition_v1.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/ESP8266_RTOS_SDK/d412ac601befc4dd024d2d2adcfaa319c7463e36/components/wear_levelling/test/test_partition_v1.bin -------------------------------------------------------------------------------- /components/wear_levelling/test_wl_host/main.cpp: -------------------------------------------------------------------------------- 1 | #define CATCH_CONFIG_MAIN 2 | #include "catch.hpp" -------------------------------------------------------------------------------- /components/wear_levelling/test_wl_host/partition_table.csv: -------------------------------------------------------------------------------- 1 | # Name, Type, SubType, Offset, Size, Flags 2 | # Note: if you have increased the bootloader size, make sure to update the offsets to avoid overlap 3 | nvs, data, nvs, 0x9000, 0x6000, 4 | phy_init, data, phy, 0xf000, 0x1000, 5 | factory, app, factory, 0x10000, 1M, 6 | storage, data, , , 1M, -------------------------------------------------------------------------------- /components/wifi_provisioning/proto/makefile: -------------------------------------------------------------------------------- 1 | all: c_proto python_proto 2 | 3 | c_proto: *.proto 4 | @protoc-c --c_out=../proto-c/ -I . -I ../../protocomm/proto/ *.proto 5 | 6 | python_proto: *.proto 7 | @protoc --python_out=../python/ -I . -I ../../protocomm/proto/ *.proto 8 | -------------------------------------------------------------------------------- /components/wpa_supplicant/test/component.mk: -------------------------------------------------------------------------------- 1 | # 2 | #Component Makefile 3 | # 4 | 5 | COMPONENT_PRIV_INCLUDEDIRS := ../src 6 | COMPONENT_SRCDIRS := . 7 | 8 | COMPONENT_ADD_LDFLAGS = -Wl,--whole-archive -l$(COMPONENT_NAME) -Wl,--no-whole-archive 9 | 10 | CFLAGS+= -DCONFIG_WPA3_SAE 11 | CFLAGS+= -DCONFIG_DPP 12 | -------------------------------------------------------------------------------- /docs/_static/api-guides.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/ESP8266_RTOS_SDK/d412ac601befc4dd024d2d2adcfaa319c7463e36/docs/_static/api-guides.gif -------------------------------------------------------------------------------- /docs/_static/api-reference.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/ESP8266_RTOS_SDK/d412ac601befc4dd024d2d2adcfaa319c7463e36/docs/_static/api-reference.gif -------------------------------------------------------------------------------- /docs/_static/esp8266-devkitc-dimensions-back.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/ESP8266_RTOS_SDK/d412ac601befc4dd024d2d2adcfaa319c7463e36/docs/_static/esp8266-devkitc-dimensions-back.jpg -------------------------------------------------------------------------------- /docs/_static/esp8266-devkitc-functional-overview.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/ESP8266_RTOS_SDK/d412ac601befc4dd024d2d2adcfaa319c7463e36/docs/_static/esp8266-devkitc-functional-overview.jpg -------------------------------------------------------------------------------- /docs/_static/general-notes.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/ESP8266_RTOS_SDK/d412ac601befc4dd024d2d2adcfaa319c7463e36/docs/_static/general-notes.gif -------------------------------------------------------------------------------- /docs/_static/get-started.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/ESP8266_RTOS_SDK/d412ac601befc4dd024d2d2adcfaa319c7463e36/docs/_static/get-started.gif -------------------------------------------------------------------------------- /docs/_static/linux-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/ESP8266_RTOS_SDK/d412ac601befc4dd024d2d2adcfaa319c7463e36/docs/_static/linux-logo.png -------------------------------------------------------------------------------- /docs/_static/macos-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/ESP8266_RTOS_SDK/d412ac601befc4dd024d2d2adcfaa319c7463e36/docs/_static/macos-logo.png -------------------------------------------------------------------------------- /docs/_static/msys2-terminal-window.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/ESP8266_RTOS_SDK/d412ac601befc4dd024d2d2adcfaa319c7463e36/docs/_static/msys2-terminal-window.png -------------------------------------------------------------------------------- /docs/_static/multi-ota-urls.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/ESP8266_RTOS_SDK/d412ac601befc4dd024d2d2adcfaa319c7463e36/docs/_static/multi-ota-urls.gif -------------------------------------------------------------------------------- /docs/_static/project-configuration.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/ESP8266_RTOS_SDK/d412ac601befc4dd024d2d2adcfaa319c7463e36/docs/_static/project-configuration.png -------------------------------------------------------------------------------- /docs/_static/single_ota_url.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/ESP8266_RTOS_SDK/d412ac601befc4dd024d2d2adcfaa319c7463e36/docs/_static/single_ota_url.gif -------------------------------------------------------------------------------- /docs/_static/what-you-need.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/ESP8266_RTOS_SDK/d412ac601befc4dd024d2d2adcfaa319c7463e36/docs/_static/what-you-need.png -------------------------------------------------------------------------------- /docs/_static/windows-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/ESP8266_RTOS_SDK/d412ac601befc4dd024d2d2adcfaa319c7463e36/docs/_static/windows-logo.png -------------------------------------------------------------------------------- /docs/en/Makefile: -------------------------------------------------------------------------------- 1 | LANGUAGE=en 2 | include ../docs_common.mk 3 | -------------------------------------------------------------------------------- /docs/en/api-reference/index.rst: -------------------------------------------------------------------------------- 1 | ************* 2 | API Reference 3 | ************* 4 | 5 | .. toctree:: 6 | :maxdepth: 2 7 | 8 | Peripherals 9 | Wi-Fi 10 | TCP-IP 11 | System 12 | -------------------------------------------------------------------------------- /docs/en/api-reference/peripherals/adc.rst: -------------------------------------------------------------------------------- 1 | ADC 2 | === 3 | 4 | API Reference 5 | ------------- 6 | 7 | .. include:: /_build/inc/adc.inc -------------------------------------------------------------------------------- /docs/en/api-reference/peripherals/gpio.rst: -------------------------------------------------------------------------------- 1 | GPIO 2 | ==== 3 | 4 | API Reference 5 | ------------- 6 | 7 | .. include:: /_build/inc/gpio.inc -------------------------------------------------------------------------------- /docs/en/api-reference/peripherals/hw_timer.rst: -------------------------------------------------------------------------------- 1 | Hardware Timer 2 | ============== 3 | 4 | API Reference 5 | ------------- 6 | 7 | .. include:: /_build/inc/hw_timer.inc -------------------------------------------------------------------------------- /docs/en/api-reference/peripherals/i2c.rst: -------------------------------------------------------------------------------- 1 | I2C 2 | === 3 | 4 | API Reference 5 | ------------- 6 | 7 | .. include:: /_build/inc/i2c.inc -------------------------------------------------------------------------------- /docs/en/api-reference/peripherals/i2s.rst: -------------------------------------------------------------------------------- 1 | I2S 2 | === 3 | 4 | API Reference 5 | ------------- 6 | 7 | .. include:: /_build/inc/i2s.inc 8 | -------------------------------------------------------------------------------- /docs/en/api-reference/peripherals/pwm.rst: -------------------------------------------------------------------------------- 1 | PWM 2 | ==== 3 | 4 | API Reference 5 | ------------- 6 | 7 | .. include:: /_build/inc/pwm.inc -------------------------------------------------------------------------------- /docs/en/api-reference/peripherals/spi.rst: -------------------------------------------------------------------------------- 1 | SPI 2 | === 3 | 4 | API Reference 5 | ------------- 6 | 7 | .. include:: /_build/inc/spi.inc 8 | -------------------------------------------------------------------------------- /docs/en/api-reference/peripherals/uart.rst: -------------------------------------------------------------------------------- 1 | UART 2 | ==== 3 | 4 | API Reference 5 | ------------- 6 | 7 | .. include:: /_build/inc/uart.inc -------------------------------------------------------------------------------- /docs/en/api-reference/system/heap_debug.rst: -------------------------------------------------------------------------------- 1 | Heap debug 2 | ========== 3 | 4 | API Reference 5 | ------------- 6 | 7 | .. include:: /_build/inc/esp_heap_trace.inc -------------------------------------------------------------------------------- /docs/en/api-reference/system/index.rst: -------------------------------------------------------------------------------- 1 | System API 2 | ********** 3 | 4 | .. toctree:: 5 | :maxdepth: 1 6 | 7 | Heap Memory Allocation 8 | Heap Memory Debugging 9 | Watchdogs 10 | Logging 11 | Sleep Modes 12 | Miscellaneous System APIs 13 | -------------------------------------------------------------------------------- /docs/en/api-reference/system/log.rst: -------------------------------------------------------------------------------- 1 | Log 2 | === 3 | 4 | API Reference 5 | ------------- 6 | 7 | .. include:: /_build/inc/esp_log.inc -------------------------------------------------------------------------------- /docs/en/api-reference/system/mem_alloc.rst: -------------------------------------------------------------------------------- 1 | Mem alloc 2 | ========== 3 | 4 | API Reference 5 | ------------- 6 | 7 | .. include:: /_build/inc/esp_heap_caps.inc 8 | .. include:: /_build/inc/esp_heap_caps_init.inc -------------------------------------------------------------------------------- /docs/en/api-reference/system/sleep_modes.rst: -------------------------------------------------------------------------------- 1 | Sleep modes 2 | =========== 3 | 4 | API Reference 5 | ------------- 6 | 7 | .. include:: /_build/inc/esp_sleep.inc -------------------------------------------------------------------------------- /docs/en/api-reference/system/system.rst: -------------------------------------------------------------------------------- 1 | System 2 | ====== 3 | 4 | API Reference 5 | ------------- 6 | 7 | .. include:: /_build/inc/esp_system.inc -------------------------------------------------------------------------------- /docs/en/api-reference/system/wdts.rst: -------------------------------------------------------------------------------- 1 | Watch dog task 2 | ============== 3 | 4 | API Reference 5 | ------------- 6 | 7 | .. include:: /_build/inc/esp_task_wdt.inc -------------------------------------------------------------------------------- /docs/en/api-reference/tcpip/index.rst: -------------------------------------------------------------------------------- 1 | TCP-IP API 2 | ********** 3 | 4 | .. toctree:: 5 | :maxdepth: 1 6 | 7 | TCP-IP Adapter 8 | -------------------------------------------------------------------------------- /docs/en/api-reference/tcpip/tcpip_adapter.rst: -------------------------------------------------------------------------------- 1 | TCPIP Adapter 2 | ============= 3 | 4 | API Reference 5 | ------------- 6 | 7 | .. include:: /_build/inc/tcpip_adapter.inc 8 | -------------------------------------------------------------------------------- /docs/en/api-reference/wifi/esp_smartconfig.rst: -------------------------------------------------------------------------------- 1 | Smart Config 2 | ============ 3 | 4 | API Reference 5 | ------------- 6 | 7 | .. include:: /_build/inc/esp_smartconfig.inc 8 | -------------------------------------------------------------------------------- /docs/en/api-reference/wifi/index.rst: -------------------------------------------------------------------------------- 1 | Wi-Fi API 2 | ********* 3 | 4 | .. toctree:: 5 | :maxdepth: 1 6 | 7 | Wi-Fi 8 | Smart Config 9 | 10 | 11 | Example code for this API section is provided in :example:`wifi` directory of SDK examples. 12 | -------------------------------------------------------------------------------- /docs/setuptools.requirements.txt: -------------------------------------------------------------------------------- 1 | setuptools<57.5.0 -------------------------------------------------------------------------------- /examples/common_components/protocol_examples_common/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | idf_component_register(SRCS "connect.c" "stdin_out.c" 2 | INCLUDE_DIRS "include" 3 | REQUIRES "tcpip_adapter") 4 | -------------------------------------------------------------------------------- /examples/common_components/protocol_examples_common/component.mk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/ESP8266_RTOS_SDK/d412ac601befc4dd024d2d2adcfaa319c7463e36/examples/common_components/protocol_examples_common/component.mk -------------------------------------------------------------------------------- /examples/get-started/hello_world/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # The following lines of boilerplate have to be in your project's 2 | # CMakeLists in this exact order for cmake to work correctly 3 | cmake_minimum_required(VERSION 3.5) 4 | 5 | include($ENV{IDF_PATH}/tools/cmake/project.cmake) 6 | project(hello-world) -------------------------------------------------------------------------------- /examples/get-started/hello_world/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # This is a project Makefile. It is assumed the directory this Makefile resides in is a 3 | # project subdirectory. 4 | # 5 | 6 | PROJECT_NAME := hello-world 7 | 8 | include $(IDF_PATH)/make/project.mk 9 | 10 | -------------------------------------------------------------------------------- /examples/get-started/hello_world/README.md: -------------------------------------------------------------------------------- 1 | # Hello World Example 2 | 3 | Starts a FreeRTOS task to print "Hello World" 4 | 5 | See the README.md file in the upper level 'examples' directory for more information about examples. 6 | -------------------------------------------------------------------------------- /examples/get-started/hello_world/main/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | idf_component_register(SRCS "hello_world_main.c" 2 | INCLUDE_DIRS "") -------------------------------------------------------------------------------- /examples/get-started/hello_world/main/component.mk: -------------------------------------------------------------------------------- 1 | # 2 | # "main" pseudo-component makefile. 3 | # 4 | # (Uses default behaviour of compiling all source files in directory, adding 'include' to include path.) 5 | 6 | -------------------------------------------------------------------------------- /examples/get-started/hello_world/sdkconfig.ci.2MB: -------------------------------------------------------------------------------- 1 | CONFIG_ESPTOOLPY_FLASHSIZE_2MB=y 2 | -------------------------------------------------------------------------------- /examples/get-started/hello_world/sdkconfig.ci.4MB: -------------------------------------------------------------------------------- 1 | CONFIG_ESPTOOLPY_FLASHSIZE_4MB=y 2 | -------------------------------------------------------------------------------- /examples/peripherals/adc/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # The following four lines of boilerplate have to be in your project's CMakeLists 2 | # in this exact order for cmake to work correctly 3 | cmake_minimum_required(VERSION 3.5) 4 | 5 | include($ENV{IDF_PATH}/tools/cmake/project.cmake) 6 | project(adc) 7 | -------------------------------------------------------------------------------- /examples/peripherals/adc/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # This is a project Makefile. It is assumed the directory this Makefile resides in is a 3 | # project subdirectory. 4 | # 5 | 6 | PROJECT_NAME := adc_example 7 | 8 | include $(IDF_PATH)/make/project.mk 9 | 10 | -------------------------------------------------------------------------------- /examples/peripherals/adc/adc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/ESP8266_RTOS_SDK/d412ac601befc4dd024d2d2adcfaa319c7463e36/examples/peripherals/adc/adc.png -------------------------------------------------------------------------------- /examples/peripherals/adc/main/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | set(COMPONENT_SRCS "adc_example_main.c") 2 | 3 | register_component() 4 | -------------------------------------------------------------------------------- /examples/peripherals/adc/main/component.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Main Makefile. This is basically the same as a component makefile. 3 | # 4 | -------------------------------------------------------------------------------- /examples/peripherals/gpio/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # The following four lines of boilerplate have to be in your project's CMakeLists 2 | # in this exact order for cmake to work correctly 3 | cmake_minimum_required(VERSION 3.5) 4 | 5 | include($ENV{IDF_PATH}/tools/cmake/project.cmake) 6 | project(gpio) 7 | -------------------------------------------------------------------------------- /examples/peripherals/gpio/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # This is a project Makefile. It is assumed the directory this Makefile resides in is a 3 | # project subdirectory. 4 | # 5 | 6 | PROJECT_NAME := gpio 7 | 8 | include $(IDF_PATH)/make/project.mk 9 | 10 | -------------------------------------------------------------------------------- /examples/peripherals/gpio/main/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | set(COMPONENT_SRCS "user_main.c") 2 | 3 | register_component() 4 | -------------------------------------------------------------------------------- /examples/peripherals/gpio/main/component.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Main Makefile. This is basically the same as a component makefile. 3 | # 4 | -------------------------------------------------------------------------------- /examples/peripherals/hw_timer/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # The following four lines of boilerplate have to be in your project's CMakeLists 2 | # in this exact order for cmake to work correctly 3 | cmake_minimum_required(VERSION 3.5) 4 | 5 | include($ENV{IDF_PATH}/tools/cmake/project.cmake) 6 | project(hw_timer) 7 | -------------------------------------------------------------------------------- /examples/peripherals/hw_timer/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # This is a project Makefile. It is assumed the directory this Makefile resides in is a 3 | # project subdirectory. 4 | # 5 | 6 | PROJECT_NAME := hw_timer 7 | 8 | include $(IDF_PATH)/make/project.mk 9 | 10 | -------------------------------------------------------------------------------- /examples/peripherals/hw_timer/main/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | set(COMPONENT_SRCS "hw_timer_example_main.c") 2 | 3 | register_component() 4 | -------------------------------------------------------------------------------- /examples/peripherals/hw_timer/main/component.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Main Makefile. This is basically the same as a component makefile. 3 | # 4 | -------------------------------------------------------------------------------- /examples/peripherals/hw_timer/wave.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/ESP8266_RTOS_SDK/d412ac601befc4dd024d2d2adcfaa319c7463e36/examples/peripherals/hw_timer/wave.png -------------------------------------------------------------------------------- /examples/peripherals/i2c/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # The following four lines of boilerplate have to be in your project's CMakeLists 2 | # in this exact order for cmake to work correctly 3 | cmake_minimum_required(VERSION 3.5) 4 | 5 | include($ENV{IDF_PATH}/tools/cmake/project.cmake) 6 | project(i2c) 7 | -------------------------------------------------------------------------------- /examples/peripherals/i2c/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # This is a project Makefile. It is assumed the directory this Makefile resides in is a 3 | # project subdirectory. 4 | # 5 | 6 | PROJECT_NAME := i2c 7 | 8 | include $(IDF_PATH)/make/project.mk 9 | 10 | -------------------------------------------------------------------------------- /examples/peripherals/i2c/main/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | set(COMPONENT_SRCS "user_main.c") 2 | 3 | register_component() 4 | -------------------------------------------------------------------------------- /examples/peripherals/i2c/main/component.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Main Makefile. This is basically the same as a component makefile. 3 | # 4 | -------------------------------------------------------------------------------- /examples/peripherals/i2s/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # The following four lines of boilerplate have to be in your project's CMakeLists 2 | # in this exact order for cmake to work correctly 3 | cmake_minimum_required(VERSION 3.5) 4 | 5 | include($ENV{IDF_PATH}/tools/cmake/project.cmake) 6 | project(i2s) 7 | -------------------------------------------------------------------------------- /examples/peripherals/i2s/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # This is a project Makefile. It is assumed the directory this Makefile resides in is a 3 | # project subdirectory. 4 | # 5 | 6 | PROJECT_NAME := i2s 7 | 8 | include $(IDF_PATH)/make/project.mk 9 | 10 | -------------------------------------------------------------------------------- /examples/peripherals/i2s/main/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | set(COMPONENT_SRCS "i2s_example_main.c") 2 | 3 | register_component() 4 | -------------------------------------------------------------------------------- /examples/peripherals/i2s/main/component.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Main Makefile. This is basically the same as a component makefile. 3 | # 4 | -------------------------------------------------------------------------------- /examples/peripherals/ir_rx/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # The following four lines of boilerplate have to be in your project's CMakeLists 2 | # in this exact order for cmake to work correctly 3 | cmake_minimum_required(VERSION 3.5) 4 | 5 | include($ENV{IDF_PATH}/tools/cmake/project.cmake) 6 | project(ir_rx) 7 | -------------------------------------------------------------------------------- /examples/peripherals/ir_rx/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # This is a project Makefile. It is assumed the directory this Makefile resides in is a 3 | # project subdirectory. 4 | # 5 | 6 | PROJECT_NAME := ir_rx 7 | 8 | include $(IDF_PATH)/make/project.mk 9 | 10 | -------------------------------------------------------------------------------- /examples/peripherals/ir_rx/main/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | set(COMPONENT_SRCS "ir_rx_example_main.c") 2 | 3 | register_component() 4 | -------------------------------------------------------------------------------- /examples/peripherals/ir_rx/main/component.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Main Makefile. This is basically the same as a component makefile. 3 | # 4 | -------------------------------------------------------------------------------- /examples/peripherals/ir_tx/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # The following four lines of boilerplate have to be in your project's CMakeLists 2 | # in this exact order for cmake to work correctly 3 | cmake_minimum_required(VERSION 3.5) 4 | 5 | include($ENV{IDF_PATH}/tools/cmake/project.cmake) 6 | project(ir_tx) 7 | -------------------------------------------------------------------------------- /examples/peripherals/ir_tx/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # This is a project Makefile. It is assumed the directory this Makefile resides in is a 3 | # project subdirectory. 4 | # 5 | 6 | PROJECT_NAME := ir 7 | 8 | include $(IDF_PATH)/make/project.mk 9 | 10 | -------------------------------------------------------------------------------- /examples/peripherals/ir_tx/main/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | set(COMPONENT_SRCS "ir_tx_example_main.c") 2 | 3 | register_component() 4 | -------------------------------------------------------------------------------- /examples/peripherals/ir_tx/main/component.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Main Makefile. This is basically the same as a component makefile. 3 | # 4 | -------------------------------------------------------------------------------- /examples/peripherals/ledc/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # The following four lines of boilerplate have to be in your project's CMakeLists 2 | # in this exact order for cmake to work correctly 3 | cmake_minimum_required(VERSION 3.5) 4 | 5 | include($ENV{IDF_PATH}/tools/cmake/project.cmake) 6 | project(ledc) 7 | -------------------------------------------------------------------------------- /examples/peripherals/ledc/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # This is a project Makefile. It is assumed the directory this Makefile resides in is a 3 | # project subdirectory. 4 | # 5 | 6 | PROJECT_NAME := ledc 7 | 8 | include $(IDF_PATH)/make/project.mk 9 | 10 | -------------------------------------------------------------------------------- /examples/peripherals/ledc/main/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | set(COMPONENT_SRCS "ledc_example_main.c") 2 | 3 | register_component() 4 | -------------------------------------------------------------------------------- /examples/peripherals/ledc/main/component.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Main Makefile. This is basically the same as a component makefile. 3 | # 4 | -------------------------------------------------------------------------------- /examples/peripherals/ledc/wave.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/ESP8266_RTOS_SDK/d412ac601befc4dd024d2d2adcfaa319c7463e36/examples/peripherals/ledc/wave.png -------------------------------------------------------------------------------- /examples/peripherals/pwm/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # The following four lines of boilerplate have to be in your project's CMakeLists 2 | # in this exact order for cmake to work correctly 3 | cmake_minimum_required(VERSION 3.5) 4 | 5 | include($ENV{IDF_PATH}/tools/cmake/project.cmake) 6 | project(pwm) 7 | -------------------------------------------------------------------------------- /examples/peripherals/pwm/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # This is a project Makefile. It is assumed the directory this Makefile resides in is a 3 | # project subdirectory. 4 | # 5 | 6 | PROJECT_NAME := pwm 7 | 8 | include $(IDF_PATH)/make/project.mk 9 | 10 | -------------------------------------------------------------------------------- /examples/peripherals/pwm/main/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | set(COMPONENT_SRCS "pwm_example_main.c") 2 | 3 | register_component() 4 | -------------------------------------------------------------------------------- /examples/peripherals/pwm/main/component.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Main Makefile. This is basically the same as a component makefile. 3 | # 4 | -------------------------------------------------------------------------------- /examples/peripherals/pwm/wave.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/ESP8266_RTOS_SDK/d412ac601befc4dd024d2d2adcfaa319c7463e36/examples/peripherals/pwm/wave.png -------------------------------------------------------------------------------- /examples/peripherals/spi/high_performance/spi_master/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # The following four lines of boilerplate have to be in your project's CMakeLists 2 | # in this exact order for cmake to work correctly 3 | cmake_minimum_required(VERSION 3.5) 4 | 5 | include($ENV{IDF_PATH}/tools/cmake/project.cmake) 6 | project(spi_master) 7 | -------------------------------------------------------------------------------- /examples/peripherals/spi/high_performance/spi_master/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # This is a project Makefile. It is assumed the directory this Makefile resides in is a 3 | # project subdirectory. 4 | # 5 | 6 | PROJECT_NAME := spi_master 7 | 8 | include $(IDF_PATH)/make/project.mk 9 | 10 | -------------------------------------------------------------------------------- /examples/peripherals/spi/high_performance/spi_master/main/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | set(COMPONENT_SRCS "spi_master_example_main.c") 2 | 3 | register_component() 4 | -------------------------------------------------------------------------------- /examples/peripherals/spi/high_performance/spi_master/main/component.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Main Makefile. This is basically the same as a component makefile. 3 | # 4 | -------------------------------------------------------------------------------- /examples/peripherals/spi/high_performance/spi_master/sdkconfig.defaults: -------------------------------------------------------------------------------- 1 | 2 | CONFIG_ESP8266_HSPI_HIGH_THROUGHPUT=y 3 | 4 | CONFIG_ESP8266_DEFAULT_CPU_FREQ_160=y 5 | CONFIG_ESP8266_DEFAULT_CPU_FREQ_MHZ=160 6 | 7 | CONFIG_FREERTOS_CODE_LINK_TO_IRAM=y 8 | -------------------------------------------------------------------------------- /examples/peripherals/spi/high_performance/spi_slave/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # The following four lines of boilerplate have to be in your project's CMakeLists 2 | # in this exact order for cmake to work correctly 3 | cmake_minimum_required(VERSION 3.5) 4 | 5 | include($ENV{IDF_PATH}/tools/cmake/project.cmake) 6 | project(spi_slave) 7 | -------------------------------------------------------------------------------- /examples/peripherals/spi/high_performance/spi_slave/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # This is a project Makefile. It is assumed the directory this Makefile resides in is a 3 | # project subdirectory. 4 | # 5 | 6 | PROJECT_NAME := spi_slave 7 | 8 | include $(IDF_PATH)/make/project.mk 9 | 10 | -------------------------------------------------------------------------------- /examples/peripherals/spi/high_performance/spi_slave/main/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | set(COMPONENT_SRCS "spi_slave_example_main.c") 2 | 3 | register_component() 4 | -------------------------------------------------------------------------------- /examples/peripherals/spi/high_performance/spi_slave/main/component.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Main Makefile. This is basically the same as a component makefile. 3 | # 4 | 5 | -------------------------------------------------------------------------------- /examples/peripherals/spi/high_performance/spi_slave/sdkconfig.defaults: -------------------------------------------------------------------------------- 1 | 2 | CONFIG_ESP8266_HSPI_HIGH_THROUGHPUT=y 3 | 4 | CONFIG_ESP8266_DEFAULT_CPU_FREQ_160=y 5 | CONFIG_ESP8266_DEFAULT_CPU_FREQ_MHZ=160 6 | -------------------------------------------------------------------------------- /examples/peripherals/spi/normal_performance/spi_master/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # The following four lines of boilerplate have to be in your project's CMakeLists 2 | # in this exact order for cmake to work correctly 3 | cmake_minimum_required(VERSION 3.5) 4 | 5 | include($ENV{IDF_PATH}/tools/cmake/project.cmake) 6 | project(spi_master) 7 | -------------------------------------------------------------------------------- /examples/peripherals/spi/normal_performance/spi_master/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # This is a project Makefile. It is assumed the directory this Makefile resides in is a 3 | # project subdirectory. 4 | # 5 | 6 | PROJECT_NAME := spi_master 7 | 8 | include $(IDF_PATH)/make/project.mk 9 | 10 | -------------------------------------------------------------------------------- /examples/peripherals/spi/normal_performance/spi_master/main/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | set(COMPONENT_SRCS "spi_master_example_main.c") 2 | 3 | register_component() 4 | -------------------------------------------------------------------------------- /examples/peripherals/spi/normal_performance/spi_master/main/component.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Main Makefile. This is basically the same as a component makefile. 3 | # 4 | -------------------------------------------------------------------------------- /examples/peripherals/spi/normal_performance/spi_slave/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # The following four lines of boilerplate have to be in your project's CMakeLists 2 | # in this exact order for cmake to work correctly 3 | cmake_minimum_required(VERSION 3.5) 4 | 5 | include($ENV{IDF_PATH}/tools/cmake/project.cmake) 6 | project(spi_slave) 7 | -------------------------------------------------------------------------------- /examples/peripherals/spi/normal_performance/spi_slave/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # This is a project Makefile. It is assumed the directory this Makefile resides in is a 3 | # project subdirectory. 4 | # 5 | 6 | PROJECT_NAME := spi_slave 7 | 8 | include $(IDF_PATH)/make/project.mk 9 | 10 | -------------------------------------------------------------------------------- /examples/peripherals/spi/normal_performance/spi_slave/main/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | set(COMPONENT_SRCS "spi_slave_example_main.c") 2 | 3 | register_component() 4 | -------------------------------------------------------------------------------- /examples/peripherals/spi/normal_performance/spi_slave/main/component.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Main Makefile. This is basically the same as a component makefile. 3 | # 4 | -------------------------------------------------------------------------------- /examples/peripherals/spi/res/master_recv_data.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/ESP8266_RTOS_SDK/d412ac601befc4dd024d2d2adcfaa319c7463e36/examples/peripherals/spi/res/master_recv_data.png -------------------------------------------------------------------------------- /examples/peripherals/spi/res/master_recv_length.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/ESP8266_RTOS_SDK/d412ac601befc4dd024d2d2adcfaa319c7463e36/examples/peripherals/spi/res/master_recv_length.png -------------------------------------------------------------------------------- /examples/peripherals/spi/res/master_send.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/ESP8266_RTOS_SDK/d412ac601befc4dd024d2d2adcfaa319c7463e36/examples/peripherals/spi/res/master_send.png -------------------------------------------------------------------------------- /examples/peripherals/spi/res/master_send_data.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/ESP8266_RTOS_SDK/d412ac601befc4dd024d2d2adcfaa319c7463e36/examples/peripherals/spi/res/master_send_data.png -------------------------------------------------------------------------------- /examples/peripherals/spi/res/master_send_length.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/ESP8266_RTOS_SDK/d412ac601befc4dd024d2d2adcfaa319c7463e36/examples/peripherals/spi/res/master_send_length.png -------------------------------------------------------------------------------- /examples/peripherals/spi/res/slave_send.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/ESP8266_RTOS_SDK/d412ac601befc4dd024d2d2adcfaa319c7463e36/examples/peripherals/spi/res/slave_send.png -------------------------------------------------------------------------------- /examples/peripherals/spi_oled/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # The following four lines of boilerplate have to be in your project's CMakeLists 2 | # in this exact order for cmake to work correctly 3 | cmake_minimum_required(VERSION 3.5) 4 | 5 | include($ENV{IDF_PATH}/tools/cmake/project.cmake) 6 | project(spi_oled) 7 | -------------------------------------------------------------------------------- /examples/peripherals/spi_oled/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # This is a project Makefile. It is assumed the directory this Makefile resides in is a 3 | # project subdirectory. 4 | # 5 | 6 | PROJECT_NAME := spi_oled 7 | 8 | include $(IDF_PATH)/make/project.mk 9 | 10 | -------------------------------------------------------------------------------- /examples/peripherals/spi_oled/main/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | set(COMPONENT_SRCS "spi_oled_example_main.c") 2 | 3 | register_component() 4 | -------------------------------------------------------------------------------- /examples/peripherals/spi_oled/main/component.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Main Makefile. This is basically the same as a component makefile. 3 | # 4 | -------------------------------------------------------------------------------- /examples/peripherals/spi_oled/wave.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/ESP8266_RTOS_SDK/d412ac601befc4dd024d2d2adcfaa319c7463e36/examples/peripherals/spi_oled/wave.png -------------------------------------------------------------------------------- /examples/peripherals/uart_echo/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # The following four lines of boilerplate have to be in your project's CMakeLists 2 | # in this exact order for cmake to work correctly 3 | cmake_minimum_required(VERSION 3.5) 4 | 5 | include($ENV{IDF_PATH}/tools/cmake/project.cmake) 6 | project(uart_echo) 7 | -------------------------------------------------------------------------------- /examples/peripherals/uart_echo/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # This is a project Makefile. It is assumed the directory this Makefile resides in is a 3 | # project subdirectory. 4 | # 5 | 6 | PROJECT_NAME := uart_echo 7 | 8 | include $(IDF_PATH)/make/project.mk 9 | 10 | -------------------------------------------------------------------------------- /examples/peripherals/uart_echo/main/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | set(COMPONENT_SRCS "uart_echo_example_main.c") 2 | 3 | register_component() 4 | -------------------------------------------------------------------------------- /examples/peripherals/uart_echo/main/component.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Main Makefile. This is basically the same as a component makefile. 3 | # 4 | -------------------------------------------------------------------------------- /examples/peripherals/uart_events/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # The following four lines of boilerplate have to be in your project's CMakeLists 2 | # in this exact order for cmake to work correctly 3 | cmake_minimum_required(VERSION 3.5) 4 | 5 | include($ENV{IDF_PATH}/tools/cmake/project.cmake) 6 | project(uart_event) 7 | -------------------------------------------------------------------------------- /examples/peripherals/uart_events/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # This is a project Makefile. It is assumed the directory this Makefile resides in is a 3 | # project subdirectory. 4 | # 5 | 6 | PROJECT_NAME := uart_events 7 | 8 | include $(IDF_PATH)/make/project.mk 9 | 10 | -------------------------------------------------------------------------------- /examples/peripherals/uart_events/main/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | set(COMPONENT_SRCS "uart_events_example_main.c") 2 | 3 | register_component() 4 | -------------------------------------------------------------------------------- /examples/peripherals/uart_events/main/component.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Main Makefile. This is basically the same as a component makefile. 3 | # 4 | -------------------------------------------------------------------------------- /examples/peripherals/uart_select/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # The following lines of boilerplate have to be in your project's CMakeLists 2 | # in this exact order for cmake to work correctly 3 | cmake_minimum_required(VERSION 3.5) 4 | 5 | include($ENV{IDF_PATH}/tools/cmake/project.cmake) 6 | project(uart_select) 7 | -------------------------------------------------------------------------------- /examples/peripherals/uart_select/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # This is a project Makefile. It is assumed the directory this Makefile resides in is a 3 | # project subdirectory. 4 | # 5 | 6 | PROJECT_NAME := uart_select 7 | 8 | include $(IDF_PATH)/make/project.mk 9 | -------------------------------------------------------------------------------- /examples/peripherals/uart_select/main/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | set(COMPONENT_SRCS "uart_select_example_main.c") 2 | set(COMPONENT_ADD_INCLUDEDIRS ".") 3 | 4 | register_component() 5 | -------------------------------------------------------------------------------- /examples/peripherals/uart_select/main/component.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Main Makefile. This is basically the same as a component makefile. 3 | # 4 | -------------------------------------------------------------------------------- /examples/peripherals/uart_select/sdkconfig.ci: -------------------------------------------------------------------------------- 1 | CONFIG_SUPPRESS_SELECT_DEBUG_OUTPUT=y 2 | CONFIG_SUPPORT_TERMIOS=y 3 | 4 | CONFIG_LWIP_RAW=y 5 | -------------------------------------------------------------------------------- /examples/peripherals/uart_select/sdkconfig.defaults: -------------------------------------------------------------------------------- 1 | CONFIG_SUPPRESS_SELECT_DEBUG_OUTPUT=y 2 | CONFIG_SUPPORT_TERMIOS=y 3 | 4 | -------------------------------------------------------------------------------- /examples/protocols/coap_client/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # This is a project Makefile. It is assumed the directory this Makefile resides in is a 3 | # project subdirectory. 4 | # 5 | 6 | PROJECT_NAME := coap_client 7 | 8 | EXTRA_COMPONENT_DIRS = $(IDF_PATH)/examples/common_components/protocol_examples_common 9 | 10 | include $(IDF_PATH)/make/project.mk 11 | 12 | -------------------------------------------------------------------------------- /examples/protocols/coap_client/main/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | idf_component_register(SRCS "coap_client_example_main.c" 2 | INCLUDE_DIRS ".") -------------------------------------------------------------------------------- /examples/protocols/coap_client/main/Kconfig.projbuild: -------------------------------------------------------------------------------- 1 | menu "Example Configuration" 2 | 3 | config TARGET_DOMAIN_URI 4 | string "Target Uri" 5 | default "coap://californium.eclipse.org" 6 | help 7 | Target uri for the example to use. 8 | 9 | endmenu 10 | -------------------------------------------------------------------------------- /examples/protocols/coap_client/main/component.mk: -------------------------------------------------------------------------------- 1 | # 2 | # "main" pseudo-component makefile. 3 | # 4 | # (Uses default behaviour of compiling all source files in directory, adding 'include' to include path.) 5 | 6 | -------------------------------------------------------------------------------- /examples/protocols/coap_client/sdkconfig.defaults: -------------------------------------------------------------------------------- 1 | CONFIG_ENABLE_COAP=y 2 | CONFIG_EXAMPLE_CONNECT_IPV6=y 3 | -------------------------------------------------------------------------------- /examples/protocols/coap_server/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # This is a project Makefile. It is assumed the directory this Makefile resides in is a 3 | # project subdirectory. 4 | # 5 | 6 | PROJECT_NAME := coap_server 7 | 8 | EXTRA_COMPONENT_DIRS = $(IDF_PATH)/examples/common_components/protocol_examples_common 9 | 10 | include $(IDF_PATH)/make/project.mk 11 | 12 | -------------------------------------------------------------------------------- /examples/protocols/coap_server/main/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | idf_component_register(SRCS "coap_server_example_main.c" 2 | INCLUDE_DIRS ".") -------------------------------------------------------------------------------- /examples/protocols/coap_server/main/component.mk: -------------------------------------------------------------------------------- 1 | # 2 | # "main" pseudo-component makefile. 3 | # 4 | # (Uses default behaviour of compiling all source files in directory, adding 'include' to include path.) 5 | 6 | -------------------------------------------------------------------------------- /examples/protocols/coap_server/sdkconfig.defaults: -------------------------------------------------------------------------------- 1 | CONFIG_ENABLE_COAP=y 2 | CONFIG_EXAMPLE_CONNECT_IPV6=y 3 | -------------------------------------------------------------------------------- /examples/protocols/esp_http_client/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # This is a project Makefile. It is assumed the directory this Makefile resides in is a 3 | # project subdirectory. 4 | # 5 | 6 | PROJECT_NAME := esp-http-client-example 7 | 8 | EXTRA_COMPONENT_DIRS = $(IDF_PATH)/examples/common_components/protocol_examples_common 9 | 10 | include $(IDF_PATH)/make/project.mk 11 | 12 | -------------------------------------------------------------------------------- /examples/protocols/esp_http_client/README.md: -------------------------------------------------------------------------------- 1 | # ESP HTTP Client Example 2 | 3 | See the README.md file in the upper level 'examples' directory for more information about examples. 4 | -------------------------------------------------------------------------------- /examples/protocols/esp_http_client/main/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # Embed the server root certificate into the final binary 2 | # 3 | # (If this was a component, we would set COMPONENT_EMBED_TXTFILES here.) 4 | idf_component_register(SRCS "esp_http_client_example.c" 5 | INCLUDE_DIRS "." 6 | EMBED_TXTFILES howsmyssl_com_root_cert.pem) -------------------------------------------------------------------------------- /examples/protocols/esp_http_client/main/component.mk: -------------------------------------------------------------------------------- 1 | # 2 | # "main" pseudo-component makefile. 3 | # 4 | # (Uses default behaviour of compiling all source files in directory, adding 'include' to include path.) 5 | 6 | # embed files from the "certs" directory as binary data symbols 7 | # in the app 8 | COMPONENT_EMBED_TXTFILES := howsmyssl_com_root_cert.pem 9 | -------------------------------------------------------------------------------- /examples/protocols/esp_http_client/sdkconfig.defaults: -------------------------------------------------------------------------------- 1 | CONFIG_NEWLIB_LIBRARY_LEVEL_NORMAL=y 2 | CONFIG_MBEDTLS_SSL_OUT_CONTENT_LEN=1024 3 | CONFIG_MBEDTLS_SSL_IN_CONTENT_LEN=16384 4 | -------------------------------------------------------------------------------- /examples/protocols/http_request/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # This is a project Makefile. It is assumed the directory this Makefile resides in is a 3 | # project subdirectory. 4 | # 5 | 6 | PROJECT_NAME := http-request 7 | 8 | EXTRA_COMPONENT_DIRS = $(IDF_PATH)/examples/common_components/protocol_examples_common 9 | 10 | include $(IDF_PATH)/make/project.mk 11 | 12 | -------------------------------------------------------------------------------- /examples/protocols/http_request/README.md: -------------------------------------------------------------------------------- 1 | # HTTP Request Example 2 | 3 | Uses a POSIX socket to make a very simple HTTP request. 4 | 5 | See the README.md file in the upper level 'examples' directory for more information about examples. 6 | -------------------------------------------------------------------------------- /examples/protocols/http_request/main/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | set(COMPONENT_SRCS "http_request_example_main.c") 2 | 3 | register_component() 4 | -------------------------------------------------------------------------------- /examples/protocols/http_request/main/component.mk: -------------------------------------------------------------------------------- 1 | # 2 | # "main" pseudo-component makefile. 3 | # 4 | # (Uses default behaviour of compiling all source files in directory, adding 'include' to include path.) 5 | -------------------------------------------------------------------------------- /examples/protocols/http_server/advanced_tests/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # This is a project Makefile. It is assumed the directory this Makefile resides in is a 3 | # project subdirectory. 4 | # 5 | 6 | PROJECT_NAME := tests 7 | 8 | EXTRA_COMPONENT_DIRS = $(IDF_PATH)/examples/common_components/protocol_examples_common 9 | 10 | include $(IDF_PATH)/make/project.mk 11 | 12 | -------------------------------------------------------------------------------- /examples/protocols/http_server/advanced_tests/main/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | set(COMPONENT_SRCS "main.c" 2 | "tests.c") 3 | set(COMPONENT_ADD_INCLUDEDIRS ". include") 4 | 5 | register_component() 6 | -------------------------------------------------------------------------------- /examples/protocols/http_server/advanced_tests/main/component.mk: -------------------------------------------------------------------------------- 1 | # 2 | # "main" pseudo-component makefile. 3 | # 4 | # (Uses default behaviour of compiling all source files in directory, adding 'include' to include path.) 5 | 6 | -------------------------------------------------------------------------------- /examples/protocols/http_server/advanced_tests/main/include/tests.h: -------------------------------------------------------------------------------- 1 | #ifndef __HTTPD_TESTS_H__ 2 | #define __HTTPD_TESTS_H__ 3 | 4 | #include 5 | 6 | extern httpd_handle_t start_tests(void); 7 | extern void stop_tests(httpd_handle_t hd); 8 | 9 | #endif // __HTTPD_TESTS_H__ 10 | -------------------------------------------------------------------------------- /examples/protocols/http_server/advanced_tests/sdkconfig.defaults: -------------------------------------------------------------------------------- 1 | CONFIG_LWIP_NETIF_LOOPBACK=y 2 | CONFIG_LWIP_LOOPBACK_MAX_PBUFS=1 3 | -------------------------------------------------------------------------------- /examples/protocols/http_server/persistent_sockets/main/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | set(COMPONENT_SRCS "main.c") 2 | set(COMPONENT_ADD_INCLUDEDIRS ".") 3 | 4 | register_component() 5 | -------------------------------------------------------------------------------- /examples/protocols/http_server/persistent_sockets/main/component.mk: -------------------------------------------------------------------------------- 1 | # 2 | # "main" pseudo-component makefile. 3 | # 4 | # (Uses default behaviour of compiling all source files in directory, adding 'include' to include path.) 5 | 6 | -------------------------------------------------------------------------------- /examples/protocols/http_server/persistent_sockets/sdkconfig.defaults: -------------------------------------------------------------------------------- 1 | CONFIG_LWIP_NETIF_LOOPBACK=y 2 | CONFIG_LWIP_LOOPBACK_MAX_PBUFS=1 3 | -------------------------------------------------------------------------------- /examples/protocols/http_server/simple/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # This is a project Makefile. It is assumed the directory this Makefile resides in is a 3 | # project subdirectory. 4 | # 5 | 6 | PROJECT_NAME := simple 7 | 8 | EXTRA_COMPONENT_DIRS = $(IDF_PATH)/examples/common_components/protocol_examples_common 9 | 10 | include $(IDF_PATH)/make/project.mk 11 | 12 | -------------------------------------------------------------------------------- /examples/protocols/http_server/simple/main/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | set(COMPONENT_SRCS "main.c") 2 | set(COMPONENT_ADD_INCLUDEDIRS ".") 3 | 4 | register_component() 5 | -------------------------------------------------------------------------------- /examples/protocols/http_server/simple/main/component.mk: -------------------------------------------------------------------------------- 1 | # 2 | # "main" pseudo-component makefile. 3 | # 4 | # (Uses default behaviour of compiling all source files in directory, adding 'include' to include path.) 5 | 6 | -------------------------------------------------------------------------------- /examples/protocols/http_server/simple/sdkconfig.defaults: -------------------------------------------------------------------------------- 1 | CONFIG_LWIP_NETIF_LOOPBACK=y 2 | CONFIG_LWIP_LOOPBACK_MAX_PBUFS=1 3 | -------------------------------------------------------------------------------- /examples/protocols/https_mbedtls/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # This is a project Makefile. It is assumed the directory this Makefile resides in is a 3 | # project subdirectory. 4 | # 5 | 6 | PROJECT_NAME := https-mbedtls 7 | 8 | EXTRA_COMPONENT_DIRS = $(IDF_PATH)/examples/common_components/protocol_examples_common 9 | 10 | include $(IDF_PATH)/make/project.mk -------------------------------------------------------------------------------- /examples/protocols/https_mbedtls/main/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | set(COMPONENT_SRCS "https_mbedtls_example_main.c") 2 | 3 | # Embed the server root certificate into the final binary 4 | # 5 | # (If this was a component, we would set COMPONENT_EMBED_TXTFILES here.) 6 | set(COMPONENT_EMBED_TXTFILES server_root_cert.pem) 7 | 8 | register_component() 9 | -------------------------------------------------------------------------------- /examples/protocols/https_mbedtls/main/component.mk: -------------------------------------------------------------------------------- 1 | # 2 | # "main" pseudo-component makefile. 3 | # 4 | # (Uses default behaviour of compiling all source files in directory, adding 'include' to include path.) 5 | COMPONENT_EMBED_TXTFILES := server_root_cert.pem 6 | -------------------------------------------------------------------------------- /examples/protocols/https_request/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # This is a project Makefile. It is assumed the directory this Makefile resides in is a 3 | # project subdirectory. 4 | # 5 | 6 | PROJECT_NAME := https_request 7 | 8 | EXTRA_COMPONENT_DIRS = $(IDF_PATH)/examples/common_components/protocol_examples_common 9 | 10 | include $(IDF_PATH)/make/project.mk 11 | 12 | -------------------------------------------------------------------------------- /examples/protocols/https_request/README.md: -------------------------------------------------------------------------------- 1 | # HTTPS Request Example 2 | 3 | Uses APIs from `esp-tls` component to make a very simple HTTPS request over a secure connection, including verifying the server TLS certificate. 4 | 5 | See the README.md file in the upper level 'examples' directory for more information about examples. 6 | -------------------------------------------------------------------------------- /examples/protocols/https_request/main/component.mk: -------------------------------------------------------------------------------- 1 | # 2 | # "main" pseudo-component makefile. 3 | # 4 | # (Uses default behaviour of compiling all source files in directory, adding 'include' to include path.) 5 | 6 | # embed files from the "certs" directory as binary data symbols 7 | # in the app 8 | COMPONENT_EMBED_TXTFILES := server_root_cert.pem 9 | 10 | 11 | -------------------------------------------------------------------------------- /examples/protocols/https_request/sdkconfig.ci: -------------------------------------------------------------------------------- 1 | CONFIG_LWIP_IPV6=y 2 | 3 | CONFIG_ESP_TLS_SERVER=y 4 | -------------------------------------------------------------------------------- /examples/protocols/https_request/sdkconfig.defaults: -------------------------------------------------------------------------------- 1 | CONFIG_LWIP_IPV6=y 2 | -------------------------------------------------------------------------------- /examples/protocols/icmp_echo/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # This is a project Makefile. It is assumed the directory this Makefile resides in is a 3 | # project subdirectory. 4 | # 5 | 6 | PROJECT_NAME := icmp-echo 7 | 8 | EXTRA_COMPONENT_DIRS = $(IDF_PATH)/examples/common_components/protocol_examples_common 9 | 10 | include $(IDF_PATH)/make/project.mk 11 | 12 | -------------------------------------------------------------------------------- /examples/protocols/icmp_echo/main/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | idf_component_register(SRCS "echo_example_main.c" 2 | INCLUDE_DIRS ".") 3 | -------------------------------------------------------------------------------- /examples/protocols/icmp_echo/main/component.mk: -------------------------------------------------------------------------------- 1 | # 2 | # "main" pseudo-component makefile. 3 | # 4 | # (Uses default behaviour of compiling all source files in directory, adding 'include' to include path.) 5 | -------------------------------------------------------------------------------- /examples/protocols/mdns/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # This is a project Makefile. It is assumed the directory this Makefile resides in is a 3 | # project subdirectory. 4 | # 5 | 6 | PROJECT_NAME := mdns-test 7 | 8 | EXTRA_COMPONENT_DIRS = $(IDF_PATH)/examples/common_components/protocol_examples_common 9 | 10 | include $(IDF_PATH)/make/project.mk 11 | 12 | -------------------------------------------------------------------------------- /examples/protocols/mdns/main/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | idf_component_register(SRCS "mdns_example_main.c" 2 | INCLUDE_DIRS ".") -------------------------------------------------------------------------------- /examples/protocols/mdns/main/component.mk: -------------------------------------------------------------------------------- 1 | # 2 | # "main" pseudo-component makefile. 3 | # 4 | # (Uses default behaviour of compiling all source files in directory, adding 'include' to include path.) 5 | -------------------------------------------------------------------------------- /examples/protocols/mdns/sdkconfig.ci: -------------------------------------------------------------------------------- 1 | CONFIG_MDNS_RESOLVE_TEST_SERVICES=y 2 | CONFIG_MDNS_ADD_MAC_TO_HOSTNAME=y 3 | CONFIG_ENABLE_MDNS=y 4 | -------------------------------------------------------------------------------- /examples/protocols/mdns/sdkconfig.defaults: -------------------------------------------------------------------------------- 1 | CONFIG_ENABLE_MDNS=y 2 | -------------------------------------------------------------------------------- /examples/protocols/modbus/mb_example_common/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # The following five lines of boilerplate have to be in your project's 2 | # CMakeLists in this exact order for cmake to work correctly 3 | cmake_minimum_required(VERSION 3.5) 4 | idf_component_register(SRCS "modbus_params.c" 5 | INCLUDE_DIRS "include" 6 | PRIV_REQUIRES freemodbus) -------------------------------------------------------------------------------- /examples/protocols/modbus/mb_example_common/component.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Component Makefile 3 | # 4 | COMPONENT_ADD_INCLUDEDIRS := include 5 | COMPONENT_SRCDIRS := . -------------------------------------------------------------------------------- /examples/protocols/modbus/tcp/mb_tcp_master/main/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | set(PROJECT_NAME "modbus_tcp_master") 2 | 3 | idf_component_register(SRCS "tcp_master.c" 4 | INCLUDE_DIRS ".") 5 | 6 | -------------------------------------------------------------------------------- /examples/protocols/modbus/tcp/mb_tcp_master/main/component.mk: -------------------------------------------------------------------------------- 1 | # 2 | # "main" pseudo-component makefile. 3 | # 4 | # (Uses default behaviour of compiling all source files in directory, adding 'include' to include path.) 5 | -------------------------------------------------------------------------------- /examples/protocols/modbus/tcp/mb_tcp_slave/main/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | set(PROJECT_NAME "modbus_tcp_slave") 2 | 3 | idf_component_register(SRCS "tcp_slave.c" 4 | INCLUDE_DIRS ".") -------------------------------------------------------------------------------- /examples/protocols/modbus/tcp/mb_tcp_slave/main/component.mk: -------------------------------------------------------------------------------- 1 | # 2 | # "main" pseudo-component makefile. 3 | # 4 | # (Uses default behaviour of compiling all source files in directory, adding 'include' to include path.) 5 | -------------------------------------------------------------------------------- /examples/protocols/mqtt/ssl/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # This is a project Makefile. It is assumed the directory this Makefile resides in is a 3 | # project subdirectory. 4 | # 5 | PROJECT_NAME := mqtt_ssl 6 | 7 | EXTRA_COMPONENT_DIRS = $(IDF_PATH)/examples/common_components/protocol_examples_common 8 | 9 | include $(IDF_PATH)/make/project.mk 10 | -------------------------------------------------------------------------------- /examples/protocols/mqtt/ssl/main/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | idf_component_register(SRCS "app_main.c" 2 | INCLUDE_DIRS ".") -------------------------------------------------------------------------------- /examples/protocols/mqtt/ssl/main/component.mk: -------------------------------------------------------------------------------- 1 | COMPONENT_EMBED_TXTFILES := mqtt_eclipse_org.pem 2 | -------------------------------------------------------------------------------- /examples/protocols/mqtt/ssl_mutual_auth/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # This is a project Makefile. It is assumed the directory this Makefile resides in is a 3 | # project subdirectory. 4 | # 5 | PROJECT_NAME := mqtt_ssl_mutual_auth 6 | 7 | EXTRA_COMPONENT_DIRS = $(IDF_PATH)/examples/common_components/protocol_examples_common 8 | 9 | include $(IDF_PATH)/make/project.mk 10 | -------------------------------------------------------------------------------- /examples/protocols/mqtt/ssl_mutual_auth/main/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | idf_component_register(SRCS "app_main.c" 2 | INCLUDE_DIRS ".") -------------------------------------------------------------------------------- /examples/protocols/mqtt/ssl_mutual_auth/main/client.crt: -------------------------------------------------------------------------------- 1 | Please paste your client certificate here (follow instructions in README.md) 2 | -------------------------------------------------------------------------------- /examples/protocols/mqtt/ssl_mutual_auth/main/client.key: -------------------------------------------------------------------------------- 1 | Please paste here your client key (follow instructions in README.md) 2 | -------------------------------------------------------------------------------- /examples/protocols/mqtt/ssl_mutual_auth/main/component.mk: -------------------------------------------------------------------------------- 1 | COMPONENT_EMBED_TXTFILES := client.crt client.key 2 | -------------------------------------------------------------------------------- /examples/protocols/mqtt/ssl_psk/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # This is a project Makefile. It is assumed the directory this Makefile resides in is a 3 | # project subdirectory. 4 | # 5 | PROJECT_NAME := mqtt_ssl_psk 6 | 7 | EXTRA_COMPONENT_DIRS = $(IDF_PATH)/examples/common_components/protocol_examples_common 8 | 9 | include $(IDF_PATH)/make/project.mk 10 | -------------------------------------------------------------------------------- /examples/protocols/mqtt/ssl_psk/main/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | idf_component_register(SRCS "app_main.c" 2 | INCLUDE_DIRS ".") 3 | -------------------------------------------------------------------------------- /examples/protocols/mqtt/ssl_psk/main/component.mk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/ESP8266_RTOS_SDK/d412ac601befc4dd024d2d2adcfaa319c7463e36/examples/protocols/mqtt/ssl_psk/main/component.mk -------------------------------------------------------------------------------- /examples/protocols/mqtt/ssl_psk/sdkconfig.defaults: -------------------------------------------------------------------------------- 1 | CONFIG_ESP_TLS_PSK_VERIFICATION=y 2 | -------------------------------------------------------------------------------- /examples/protocols/mqtt/tcp/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # This is a project Makefile. It is assumed the directory this Makefile resides in is a 3 | # project subdirectory. 4 | # 5 | PROJECT_NAME := mqtt_tcp 6 | 7 | EXTRA_COMPONENT_DIRS = $(IDF_PATH)/examples/common_components/protocol_examples_common 8 | 9 | include $(IDF_PATH)/make/project.mk 10 | -------------------------------------------------------------------------------- /examples/protocols/mqtt/tcp/main/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | idf_component_register(SRCS "app_main.c" 2 | INCLUDE_DIRS ".") -------------------------------------------------------------------------------- /examples/protocols/mqtt/tcp/main/component.mk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/ESP8266_RTOS_SDK/d412ac601befc4dd024d2d2adcfaa319c7463e36/examples/protocols/mqtt/tcp/main/component.mk -------------------------------------------------------------------------------- /examples/protocols/mqtt/tcp/sdkconfig.ci: -------------------------------------------------------------------------------- 1 | CONFIG_LOG_DEFAULT_LEVEL_DEBUG=y 2 | CONFIG_BROKER_URL="FROM_STDIN" 3 | CONFIG_ESP_NETIF_TCPIP_ADAPTER_COMPATIBLE_LAYER=n 4 | -------------------------------------------------------------------------------- /examples/protocols/mqtt/ws/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # This is a project Makefile. It is assumed the directory this Makefile resides in is a 3 | # project subdirectory. 4 | # 5 | PROJECT_NAME := mqtt_websocket 6 | 7 | EXTRA_COMPONENT_DIRS = $(IDF_PATH)/examples/common_components/protocol_examples_common 8 | 9 | include $(IDF_PATH)/make/project.mk 10 | -------------------------------------------------------------------------------- /examples/protocols/mqtt/ws/main/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | idf_component_register(SRCS "app_main.c" 2 | INCLUDE_DIRS ".") -------------------------------------------------------------------------------- /examples/protocols/mqtt/ws/main/Kconfig.projbuild: -------------------------------------------------------------------------------- 1 | menu "Example Configuration" 2 | 3 | config BROKER_URI 4 | string "Broker URL" 5 | default "ws://mqtt.eclipse.org:80/mqtt" 6 | help 7 | URL of an mqtt broker which this example connects to. 8 | 9 | endmenu 10 | -------------------------------------------------------------------------------- /examples/protocols/mqtt/ws/main/component.mk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/ESP8266_RTOS_SDK/d412ac601befc4dd024d2d2adcfaa319c7463e36/examples/protocols/mqtt/ws/main/component.mk -------------------------------------------------------------------------------- /examples/protocols/mqtt/ws/sdkconfig.ci: -------------------------------------------------------------------------------- 1 | CONFIG_BROKER_URI="ws://${EXAMPLE_MQTT_BROKER_WS}/ws" 2 | CONFIG_ESP_NETIF_TCPIP_ADAPTER_COMPATIBLE_LAYER=n 3 | -------------------------------------------------------------------------------- /examples/protocols/mqtt/wss/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # This is a project Makefile. It is assumed the directory this Makefile resides in is a 3 | # project subdirectory. 4 | # 5 | PROJECT_NAME := mqtt_websocket_secure 6 | 7 | EXTRA_COMPONENT_DIRS = $(IDF_PATH)/examples/common_components/protocol_examples_common 8 | 9 | include $(IDF_PATH)/make/project.mk 10 | -------------------------------------------------------------------------------- /examples/protocols/mqtt/wss/main/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | idf_component_register(SRCS "app_main.c" 2 | INCLUDE_DIRS ".") -------------------------------------------------------------------------------- /examples/protocols/mqtt/wss/main/component.mk: -------------------------------------------------------------------------------- 1 | COMPONENT_EMBED_TXTFILES := mqtt_eclipse_org.pem 2 | -------------------------------------------------------------------------------- /examples/protocols/mqtt/wss/sdkconfig.ci: -------------------------------------------------------------------------------- 1 | CONFIG_BROKER_URI="wss://${EXAMPLE_MQTT_BROKER_WSS}/ws" 2 | CONFIG_BROKER_CERTIFICATE_OVERRIDE="${EXAMPLE_MQTT_BROKER_CERTIFICATE}" 3 | CONFIG_ESP_NETIF_TCPIP_ADAPTER_COMPATIBLE_LAYER=n 4 | -------------------------------------------------------------------------------- /examples/protocols/openssl_client/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # This is a project Makefile. It is assumed the directory this Makefile resides in is a 3 | # project subdirectory. 4 | # 5 | 6 | PROJECT_NAME := openssl_client 7 | 8 | EXTRA_COMPONENT_DIRS = $(IDF_PATH)/examples/common_components/protocol_examples_common 9 | 10 | include $(IDF_PATH)/make/project.mk 11 | 12 | -------------------------------------------------------------------------------- /examples/protocols/openssl_client/main/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | set(COMPONENT_SRCS "openssl_client_example_main.c") 2 | 3 | # Embed the server root certificate into the final binary 4 | # 5 | # (If this was a component, we would set COMPONENT_EMBED_TXTFILES here.) 6 | set(COMPONENT_EMBED_TXTFILES "client.pem" "client.key" "ca.pem") 7 | 8 | register_component() 9 | -------------------------------------------------------------------------------- /examples/protocols/openssl_client/main/component.mk: -------------------------------------------------------------------------------- 1 | # 2 | # "main" pseudo-component makefile. 3 | # 4 | # (Uses default behaviour of compiling all source files in directory, adding 'include' to include path.) 5 | COMPONENT_EMBED_TXTFILES := ca.pem 6 | COMPONENT_EMBED_TXTFILES += client.pem 7 | COMPONENT_EMBED_TXTFILES += client.key -------------------------------------------------------------------------------- /examples/protocols/openssl_demo/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # This is a project Makefile. It is assumed the directory this Makefile resides in is a 3 | # project subdirectory. 4 | # 5 | 6 | PROJECT_NAME := openssl_demo 7 | 8 | EXTRA_COMPONENT_DIRS = $(IDF_PATH)/examples/common_components/protocol_examples_common 9 | 10 | include $(IDF_PATH)/make/project.mk 11 | 12 | -------------------------------------------------------------------------------- /examples/protocols/openssl_demo/main/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | set(COMPONENT_SRCS "openssl_demo_example_main.c") 2 | 3 | register_component() 4 | -------------------------------------------------------------------------------- /examples/protocols/openssl_demo/main/component.mk: -------------------------------------------------------------------------------- 1 | # 2 | # "main" pseudo-component makefile. 3 | # 4 | # (Uses default behaviour of compiling all source files in directory, adding 'include' to include path.) 5 | 6 | -------------------------------------------------------------------------------- /examples/protocols/openssl_demo/sdkconfig.defaults: -------------------------------------------------------------------------------- 1 | # 2 | # Override some defaults so wolfSSL is enabled 3 | # by default in this example 4 | # 5 | CONFIG_MBEDTLS_SSL_MAX_CONTENT_LEN=8192 6 | -------------------------------------------------------------------------------- /examples/protocols/openssl_server/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # This is a project Makefile. It is assumed the directory this Makefile resides in is a 3 | # project subdirectory. 4 | # 5 | 6 | PROJECT_NAME := openssl-server 7 | 8 | EXTRA_COMPONENT_DIRS = $(IDF_PATH)/examples/common_components/protocol_examples_common 9 | 10 | include $(IDF_PATH)/make/project.mk 11 | 12 | -------------------------------------------------------------------------------- /examples/protocols/openssl_server/main/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | set(COMPONENT_SRCS "openssl_server_example_main.c") 2 | 3 | # Embed the server root certificate into the final binary 4 | # 5 | # (If this was a component, we would set COMPONENT_EMBED_TXTFILES here.) 6 | set(COMPONENT_EMBED_TXTFILES "server.pem" "server.key" "ca.pem") 7 | 8 | register_component() 9 | -------------------------------------------------------------------------------- /examples/protocols/openssl_server/main/component.mk: -------------------------------------------------------------------------------- 1 | # 2 | # "main" pseudo-component makefile. 3 | # 4 | # (Uses default behaviour of compiling all source files in directory, adding 'include' to include path.) 5 | COMPONENT_EMBED_TXTFILES := ca.pem 6 | COMPONENT_EMBED_TXTFILES += server.pem 7 | COMPONENT_EMBED_TXTFILES += server.key -------------------------------------------------------------------------------- /examples/protocols/sntp/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # This is a project Makefile. It is assumed the directory this Makefile resides in is a 3 | # project subdirectory. 4 | # 5 | 6 | PROJECT_NAME := sntp 7 | 8 | EXTRA_COMPONENT_DIRS = $(IDF_PATH)/examples/common_components/protocol_examples_common 9 | 10 | include $(IDF_PATH)/make/project.mk 11 | 12 | -------------------------------------------------------------------------------- /examples/protocols/sntp/main/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | set(COMPONENT_SRCS "sntp_example_main.c") 2 | 3 | register_component() 4 | -------------------------------------------------------------------------------- /examples/protocols/sntp/main/component.mk: -------------------------------------------------------------------------------- 1 | # 2 | # "main" pseudo-component makefile. 3 | # 4 | # (Uses default behaviour of compiling all source files in directory, adding 'include' to include path.) 5 | -------------------------------------------------------------------------------- /examples/protocols/sockets/tcp_client/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # This is a project Makefile. It is assumed the directory this Makefile resides in is a 3 | # project subdirectory. 4 | # 5 | 6 | PROJECT_NAME := tcp_client 7 | 8 | EXTRA_COMPONENT_DIRS = $(IDF_PATH)/examples/common_components/protocol_examples_common 9 | 10 | include $(IDF_PATH)/make/project.mk 11 | 12 | -------------------------------------------------------------------------------- /examples/protocols/sockets/tcp_client/main/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | set(COMPONENT_SRCS "tcp_client.c") 2 | set(COMPONENT_ADD_INCLUDEDIRS ".") 3 | 4 | register_component() 5 | -------------------------------------------------------------------------------- /examples/protocols/sockets/tcp_client/main/component.mk: -------------------------------------------------------------------------------- 1 | # 2 | # "main" pseudo-component makefile. 3 | # 4 | # (Uses default behaviour of compiling all source files in directory, adding 'include' to include path.) 5 | -------------------------------------------------------------------------------- /examples/protocols/sockets/tcp_server/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # This is a project Makefile. It is assumed the directory this Makefile resides in is a 3 | # project subdirectory. 4 | # 5 | 6 | PROJECT_NAME := tcp_server 7 | 8 | EXTRA_COMPONENT_DIRS = $(IDF_PATH)/examples/common_components/protocol_examples_common 9 | 10 | include $(IDF_PATH)/make/project.mk 11 | 12 | -------------------------------------------------------------------------------- /examples/protocols/sockets/tcp_server/main/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | set(COMPONENT_SRCS "tcp_server.c") 2 | set(COMPONENT_ADD_INCLUDEDIRS ".") 3 | 4 | register_component() 5 | -------------------------------------------------------------------------------- /examples/protocols/sockets/tcp_server/main/component.mk: -------------------------------------------------------------------------------- 1 | # 2 | # "main" pseudo-component makefile. 3 | # 4 | # (Uses default behaviour of compiling all source files in directory, adding 'include' to include path.) 5 | -------------------------------------------------------------------------------- /examples/protocols/sockets/udp_client/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # This is a project Makefile. It is assumed the directory this Makefile resides in is a 3 | # project subdirectory. 4 | # 5 | 6 | PROJECT_NAME := udp_client 7 | 8 | EXTRA_COMPONENT_DIRS = $(IDF_PATH)/examples/common_components/protocol_examples_common 9 | 10 | include $(IDF_PATH)/make/project.mk 11 | 12 | -------------------------------------------------------------------------------- /examples/protocols/sockets/udp_client/main/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | set(COMPONENT_SRCS "udp_client.c") 2 | set(COMPONENT_ADD_INCLUDEDIRS ".") 3 | 4 | register_component() 5 | -------------------------------------------------------------------------------- /examples/protocols/sockets/udp_client/main/component.mk: -------------------------------------------------------------------------------- 1 | # 2 | # "main" pseudo-component makefile. 3 | # 4 | # (Uses default behaviour of compiling all source files in directory, adding 'include' to include path.) 5 | -------------------------------------------------------------------------------- /examples/protocols/sockets/udp_multicast/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # This is a project Makefile. It is assumed the directory this Makefile resides in is a 3 | # project subdirectory. 4 | # 5 | 6 | PROJECT_NAME := udp-multicast 7 | 8 | EXTRA_COMPONENT_DIRS = $(IDF_PATH)/examples/common_components/protocol_examples_common 9 | 10 | include $(IDF_PATH)/make/project.mk 11 | 12 | -------------------------------------------------------------------------------- /examples/protocols/sockets/udp_multicast/main/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | set(COMPONENT_SRCS "udp_multicast_example_main.c") 2 | set(COMPONENT_ADD_INCLUDEDIRS ".") 3 | 4 | register_component() 5 | -------------------------------------------------------------------------------- /examples/protocols/sockets/udp_multicast/main/component.mk: -------------------------------------------------------------------------------- 1 | # 2 | # "main" pseudo-component makefile. 3 | # 4 | # (Uses default behaviour of compiling all source files in directory, adding 'include' to include path.) 5 | -------------------------------------------------------------------------------- /examples/protocols/sockets/udp_server/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # This is a project Makefile. It is assumed the directory this Makefile resides in is a 3 | # project subdirectory. 4 | # 5 | 6 | PROJECT_NAME := udp_server 7 | 8 | EXTRA_COMPONENT_DIRS = $(IDF_PATH)/examples/common_components/protocol_examples_common 9 | 10 | include $(IDF_PATH)/make/project.mk 11 | 12 | -------------------------------------------------------------------------------- /examples/protocols/sockets/udp_server/main/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | set(COMPONENT_SRCS "udp_server.c") 2 | set(COMPONENT_ADD_INCLUDEDIRS ".") 3 | 4 | register_component() 5 | -------------------------------------------------------------------------------- /examples/protocols/sockets/udp_server/main/component.mk: -------------------------------------------------------------------------------- 1 | # 2 | # "main" pseudo-component makefile. 3 | # 4 | # (Uses default behaviour of compiling all source files in directory, adding 'include' to include path.) 5 | -------------------------------------------------------------------------------- /examples/provisioning/legacy/custom_config/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # The following lines of boilerplate have to be in your project's CMakeLists 2 | # in this exact order for cmake to work correctly 3 | cmake_minimum_required(VERSION 3.5) 4 | 5 | include($ENV{IDF_PATH}/tools/cmake/project.cmake) 6 | project(custom_config) 7 | -------------------------------------------------------------------------------- /examples/provisioning/legacy/custom_config/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # This is a project Makefile. It is assumed the directory this Makefile resides in is a 3 | # project subdirectory. 4 | # 5 | 6 | PROJECT_NAME := custom_config 7 | 8 | include $(IDF_PATH)/make/project.mk 9 | 10 | -------------------------------------------------------------------------------- /examples/provisioning/legacy/custom_config/components/custom_provisioning/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | idf_component_register(SRCS "src/custom_config.c" 2 | "proto-c/custom_config.pb-c.c" 3 | INCLUDE_DIRS include 4 | PRIV_INCLUDE_DIRS proto-c 5 | PRIV_REQUIRES protobuf-c) -------------------------------------------------------------------------------- /examples/provisioning/legacy/custom_config/components/custom_provisioning/component.mk: -------------------------------------------------------------------------------- 1 | COMPONENT_SRCDIRS := src proto-c 2 | COMPONENT_ADD_INCLUDEDIRS := include 3 | COMPONENT_PRIV_INCLUDEDIRS := proto-c 4 | -------------------------------------------------------------------------------- /examples/provisioning/legacy/custom_config/components/custom_provisioning/proto/makefile: -------------------------------------------------------------------------------- 1 | all: c_proto python_proto 2 | 3 | c_proto: *.proto 4 | @protoc-c --c_out=../proto-c/ *.proto 5 | 6 | python_proto: *.proto 7 | @protoc --python_out=../python/ *.proto 8 | -------------------------------------------------------------------------------- /examples/provisioning/legacy/custom_config/main/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | idf_component_register(SRCS "app_main.c" 2 | "app_prov.c" 3 | "app_prov_handlers.c" 4 | INCLUDE_DIRS ".") -------------------------------------------------------------------------------- /examples/provisioning/legacy/custom_config/sdkconfig.defaults: -------------------------------------------------------------------------------- 1 | CONFIG_ENABLE_UNIFIED_PROVISIONING=y 2 | -------------------------------------------------------------------------------- /examples/provisioning/legacy/softap_prov/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # The following lines of boilerplate have to be in your project's CMakeLists 2 | # in this exact order for cmake to work correctly 3 | cmake_minimum_required(VERSION 3.5) 4 | 5 | include($ENV{IDF_PATH}/tools/cmake/project.cmake) 6 | project(softap_prov) 7 | -------------------------------------------------------------------------------- /examples/provisioning/legacy/softap_prov/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # This is a project Makefile. It is assumed the directory this Makefile resides in is a 3 | # project subdirectory. 4 | # 5 | 6 | PROJECT_NAME := softap_prov 7 | 8 | include $(IDF_PATH)/make/project.mk 9 | 10 | -------------------------------------------------------------------------------- /examples/provisioning/legacy/softap_prov/main/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | idf_component_register(SRCS "app_main.c" 2 | "app_prov.c" 3 | "app_prov_handlers.c" 4 | INCLUDE_DIRS ".") -------------------------------------------------------------------------------- /examples/provisioning/legacy/softap_prov/sdkconfig.defaults: -------------------------------------------------------------------------------- 1 | CONFIG_ENABLE_UNIFIED_PROVISIONING=y 2 | -------------------------------------------------------------------------------- /examples/storage/spiffs/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # The following lines of boilerplate have to be in your project's CMakeLists 2 | # in this exact order for cmake to work correctly 3 | cmake_minimum_required(VERSION 3.5) 4 | 5 | include($ENV{IDF_PATH}/tools/cmake/project.cmake) 6 | project(spiffs) 7 | -------------------------------------------------------------------------------- /examples/storage/spiffs/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # This is a project Makefile. It is assumed the directory this Makefile resides in is a 3 | # project subdirectory. 4 | # 5 | 6 | PROJECT_NAME := spiffs 7 | 8 | include $(IDF_PATH)/make/project.mk 9 | 10 | -------------------------------------------------------------------------------- /examples/storage/spiffs/main/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | set(COMPONENT_SRCS "spiffs_example_main.c") 2 | set(COMPONENT_ADD_INCLUDEDIRS ".") 3 | 4 | register_component() 5 | -------------------------------------------------------------------------------- /examples/storage/spiffs/main/component.mk: -------------------------------------------------------------------------------- 1 | # 2 | # "main" pseudo-component makefile. 3 | # 4 | # (Uses default behaviour of compiling all source files in directory, adding 'include' to include path.) 5 | -------------------------------------------------------------------------------- /examples/storage/spiffs/sdkconfig.defaults: -------------------------------------------------------------------------------- 1 | CONFIG_PARTITION_TABLE_CUSTOM=y 2 | CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="partitions_example.csv" 3 | CONFIG_PARTITION_TABLE_FILENAME="partitions_example.csv" 4 | -------------------------------------------------------------------------------- /examples/system/console/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # The following lines of boilerplate have to be in your project's CMakeLists 2 | # in this exact order for cmake to work correctly 3 | cmake_minimum_required(VERSION 3.5) 4 | 5 | include($ENV{IDF_PATH}/tools/cmake/project.cmake) 6 | project(console) 7 | -------------------------------------------------------------------------------- /examples/system/console/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # This is a project Makefile. It is assumed the directory this Makefile resides in is a 3 | # project subdirectory. 4 | # 5 | 6 | PROJECT_NAME := console 7 | 8 | include $(IDF_PATH)/make/project.mk 9 | 10 | -------------------------------------------------------------------------------- /examples/system/console/components/cmd_system/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | set(COMPONENT_ADD_INCLUDEDIRS .) 2 | 3 | set(COMPONENT_SRCS "cmd_system.c") 4 | 5 | set(COMPONENT_REQUIRES console spi_flash) 6 | 7 | register_component() 8 | -------------------------------------------------------------------------------- /examples/system/console/main/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | set(COMPONENT_SRCS "cmd_wifi.c" 2 | "console_example_main.c") 3 | set(COMPONENT_ADD_INCLUDEDIRS ".") 4 | 5 | register_component() 6 | -------------------------------------------------------------------------------- /examples/system/console/main/component.mk: -------------------------------------------------------------------------------- 1 | # 2 | # "main" pseudo-component makefile. 3 | # 4 | # (Uses default behaviour of compiling all source files in directory, adding 'include' to include path.) 5 | 6 | -------------------------------------------------------------------------------- /examples/system/console/partitions_example.csv: -------------------------------------------------------------------------------- 1 | # Name, Type, SubType, Offset, Size, Flags 2 | # Note: if you change the phy_init or app partition offset, make sure to change the offset in Kconfig.projbuild 3 | nvs, data, nvs, 0x9000, 0x6000, 4 | phy_init, data, phy, 0xf000, 0x1000, 5 | factory, app, factory, 0x10000, 1M, 6 | -------------------------------------------------------------------------------- /examples/system/factory-test/Kconfig.projbuild: -------------------------------------------------------------------------------- 1 | menu "Factory-test config" 2 | 3 | config FACTORY_TEST 4 | bool "Enable factory test" 5 | default n 6 | select BOOTLOADER_INIT_SPI_FLASH 7 | help 8 | Enable this option, project compiling script will generate factory test firmware. 9 | 10 | endmenu 11 | -------------------------------------------------------------------------------- /examples/system/factory-test/Makefile: -------------------------------------------------------------------------------- 1 | 2 | PROJECT_NAME := factory-test 3 | 4 | include $(IDF_PATH)/make/project.mk 5 | -------------------------------------------------------------------------------- /examples/system/factory-test/README.md: -------------------------------------------------------------------------------- 1 | 2 | # Important 3 | 4 | Please refer to the document at *docs/en/api-guides/factory-test.rst*. 5 | -------------------------------------------------------------------------------- /examples/system/factory-test/components/rf_test/Kconfig: -------------------------------------------------------------------------------- 1 | menu "Nano Console" 2 | 3 | config NC_ECHO_CMD 4 | bool "echo input command" 5 | default y 6 | help 7 | Enable this option, the console terminal will echo the input command. 8 | 9 | endmenu 10 | -------------------------------------------------------------------------------- /examples/system/factory-test/components/rf_test/Makefile.projbuild: -------------------------------------------------------------------------------- 1 | 2 | CFLAGS += -DESP_DPORT_CLOSE_NMI 3 | -------------------------------------------------------------------------------- /examples/system/factory-test/components/rf_test/component.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Component Makefile 3 | # 4 | 5 | LIBS := rftest 6 | 7 | COMPONENT_ADD_LDFLAGS += -L$(COMPONENT_PATH)/lib $(addprefix -l,$(LIBS)) 8 | COMPONENT_ADD_LINKER_DEPS += $(patsubst %,$(COMPONENT_PATH)/lib/lib%.a,$(LIBS)) 9 | -------------------------------------------------------------------------------- /examples/system/factory-test/components/rf_test/lib/librftest.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/ESP8266_RTOS_SDK/d412ac601befc4dd024d2d2adcfaa319c7463e36/examples/system/factory-test/components/rf_test/lib/librftest.a -------------------------------------------------------------------------------- /examples/system/factory-test/main/component.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Main factory-test Makefile. 3 | # 4 | # This is basically the same as a component makefile, but in the case of the factory-test 5 | # we pull in factory-test-specific linker arguments. 6 | # 7 | -------------------------------------------------------------------------------- /examples/system/factory-test/sdkconfig.defaults: -------------------------------------------------------------------------------- 1 | # 2 | # PThreads 3 | # 4 | CONFIG_ENABLE_PTHREAD=y 5 | 6 | # 7 | # Partition Table 8 | # 9 | CONFIG_PARTITION_TABLE_TWO_OTA=y 10 | 11 | # 12 | # Bootloader config 13 | # 14 | CONFIG_BOOTLOADER_APP_TEST=y 15 | CONFIG_BOOTLOADER_APP_TEST_IN_OTA_1=y 16 | CONFIG_BOOTLOADER_NUM_PIN_APP_TEST=12 17 | -------------------------------------------------------------------------------- /examples/system/ota/OTA_workflow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/ESP8266_RTOS_SDK/d412ac601befc4dd024d2d2adcfaa319c7463e36/examples/system/ota/OTA_workflow.png -------------------------------------------------------------------------------- /examples/system/ota/native_ota/1MB_flash/new_to_new_no_old/main/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | set(COMPONENT_SRCS "ota_example_main.c") 2 | set(COMPONENT_ADD_INCLUDEDIRS ".") 3 | 4 | register_component() 5 | -------------------------------------------------------------------------------- /examples/system/ota/native_ota/1MB_flash/new_to_new_no_old/main/component.mk: -------------------------------------------------------------------------------- 1 | # 2 | # "main" pseudo-component makefile. 3 | # 4 | # (Uses default behaviour of compiling all source files in directory, adding 'include' to include path.) 5 | -------------------------------------------------------------------------------- /examples/system/ota/native_ota/1MB_flash/new_to_new_no_old_copy/main/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | set(COMPONENT_SRCS "ota_example_main.c") 2 | set(COMPONENT_ADD_INCLUDEDIRS ".") 3 | 4 | register_component() 5 | -------------------------------------------------------------------------------- /examples/system/ota/native_ota/1MB_flash/new_to_new_no_old_copy/main/component.mk: -------------------------------------------------------------------------------- 1 | # 2 | # "main" pseudo-component makefile. 3 | # 4 | # (Uses default behaviour of compiling all source files in directory, adding 'include' to include path.) 5 | -------------------------------------------------------------------------------- /examples/system/ota/native_ota/1MB_flash/new_to_new_with_old/main/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | set(COMPONENT_SRCS "ota_example_main.c") 2 | set(COMPONENT_ADD_INCLUDEDIRS ".") 3 | 4 | register_component() 5 | -------------------------------------------------------------------------------- /examples/system/ota/native_ota/1MB_flash/new_to_new_with_old/main/component.mk: -------------------------------------------------------------------------------- 1 | # 2 | # "main" pseudo-component makefile. 3 | # 4 | # (Uses default behaviour of compiling all source files in directory, adding 'include' to include path.) 5 | -------------------------------------------------------------------------------- /examples/system/ota/native_ota/2+MB_flash/new_to_new_no_old/main/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | set(COMPONENT_SRCS "ota_example_main.c") 2 | set(COMPONENT_ADD_INCLUDEDIRS ".") 3 | 4 | register_component() 5 | -------------------------------------------------------------------------------- /examples/system/ota/native_ota/2+MB_flash/new_to_new_no_old/main/component.mk: -------------------------------------------------------------------------------- 1 | # 2 | # "main" pseudo-component makefile. 3 | # 4 | # (Uses default behaviour of compiling all source files in directory, adding 'include' to include path.) 5 | -------------------------------------------------------------------------------- /examples/system/ota/native_ota/2+MB_flash/new_to_new_with_old/main/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | set(COMPONENT_SRCS "ota_example_main.c") 2 | set(COMPONENT_ADD_INCLUDEDIRS ".") 3 | 4 | register_component() 5 | -------------------------------------------------------------------------------- /examples/system/ota/native_ota/2+MB_flash/new_to_new_with_old/main/component.mk: -------------------------------------------------------------------------------- 1 | # 2 | # "main" pseudo-component makefile. 3 | # 4 | # (Uses default behaviour of compiling all source files in directory, adding 'include' to include path.) 5 | -------------------------------------------------------------------------------- /examples/system/ota/simple_ota_example/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # This is a project Makefile. It is assumed the directory this Makefile resides in is a 3 | # project subdirectory. 4 | # 5 | 6 | PROJECT_NAME := simple_ota 7 | 8 | EXTRA_COMPONENT_DIRS = $(IDF_PATH)/examples/common_components/protocol_examples_common 9 | 10 | include $(IDF_PATH)/make/project.mk 11 | 12 | -------------------------------------------------------------------------------- /examples/system/ota/simple_ota_example/main/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | idf_build_get_property(project_dir PROJECT_DIR) 2 | idf_component_register(SRCS "simple_ota_example.c" 3 | INCLUDE_DIRS "." 4 | EMBED_TXTFILES ${project_dir}/server_certs/ca_cert.pem) 5 | -------------------------------------------------------------------------------- /examples/system/ota/simple_ota_example/main/Kconfig.projbuild: -------------------------------------------------------------------------------- 1 | menu "Example Configuration" 2 | 3 | config FIRMWARE_UPGRADE_URL 4 | string "firmware upgrade url endpoint" 5 | default "https://192.168.0.3:8070/hello-world.bin" 6 | help 7 | URL of server which hosts the firmware 8 | image. 9 | endmenu 10 | -------------------------------------------------------------------------------- /examples/system/ota/simple_ota_example/main/component.mk: -------------------------------------------------------------------------------- 1 | # 2 | # "main" pseudo-component makefile. 3 | # 4 | # (Uses default behaviour of compiling all source files in directory, adding 'include' to include path.) 5 | 6 | COMPONENT_EMBED_TXTFILES := ${PROJECT_PATH}/server_certs/ca_cert.pem 7 | -------------------------------------------------------------------------------- /examples/system/ota/simple_ota_example/sdkconfig.defaults: -------------------------------------------------------------------------------- 1 | # Default sdkconfig parameters to use the OTA 2 | # partition table layout, with a 4MB flash size 3 | CONFIG_ESPTOOLPY_FLASHSIZE_4MB=y 4 | CONFIG_PARTITION_TABLE_TWO_OTA=y 5 | CONFIG_NEWLIB_LIBRARY_LEVEL_NORMAL=y 6 | CONFIG_MBEDTLS_SSL_OUT_CONTENT_LEN=1024 7 | CONFIG_MBEDTLS_SSL_IN_CONTENT_LEN=16384 8 | -------------------------------------------------------------------------------- /examples/system/ota/simple_ota_example/server_certs/ca_cert.pem: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/ESP8266_RTOS_SDK/d412ac601befc4dd024d2d2adcfaa319c7463e36/examples/system/ota/simple_ota_example/server_certs/ca_cert.pem -------------------------------------------------------------------------------- /examples/wifi/espnow/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # The following four lines of boilerplate have to be in your project's CMakeLists 2 | # in this exact order for cmake to work correctly 3 | cmake_minimum_required(VERSION 3.5) 4 | 5 | include($ENV{IDF_PATH}/tools/cmake/project.cmake) 6 | project(espnow) 7 | -------------------------------------------------------------------------------- /examples/wifi/espnow/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # This is a project Makefile. It is assumed the directory this Makefile resides in is a 3 | # project subdirectory. 4 | # 5 | 6 | PROJECT_NAME := espnow_example 7 | 8 | include $(IDF_PATH)/make/project.mk 9 | 10 | -------------------------------------------------------------------------------- /examples/wifi/espnow/main/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | set(COMPONENT_ADD_INCLUDEDIRS .) 2 | set(COMPONENT_SRCS "espnow_example_main.c") 3 | 4 | register_component() 5 | -------------------------------------------------------------------------------- /examples/wifi/espnow/main/component.mk: -------------------------------------------------------------------------------- 1 | # 2 | # "main" pseudo-component makefile. 3 | # 4 | # (Uses default behaviour of compiling all source files in directory, adding 'include' to include path.) 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /examples/wifi/getting_started/softAP/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # The following five lines of boilerplate have to be in your project's 2 | # CMakeLists in this exact order for cmake to work correctly 3 | cmake_minimum_required(VERSION 3.5) 4 | 5 | include($ENV{IDF_PATH}/tools/cmake/project.cmake) 6 | project(wifi_softAP) 7 | -------------------------------------------------------------------------------- /examples/wifi/getting_started/softAP/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # This is a project Makefile. It is assumed the directory this Makefile resides in is a 3 | # project subdirectory. 4 | # 5 | 6 | PROJECT_NAME := wifi_softAP 7 | 8 | include $(IDF_PATH)/make/project.mk 9 | 10 | -------------------------------------------------------------------------------- /examples/wifi/getting_started/softAP/main/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | idf_component_register(SRCS "softap_example_main.c" 2 | INCLUDE_DIRS ".") -------------------------------------------------------------------------------- /examples/wifi/getting_started/station/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # The following five lines of boilerplate have to be in your project's 2 | # CMakeLists in this exact order for cmake to work correctly 3 | cmake_minimum_required(VERSION 3.5) 4 | 5 | include($ENV{IDF_PATH}/tools/cmake/project.cmake) 6 | project(wifi_station) 7 | -------------------------------------------------------------------------------- /examples/wifi/getting_started/station/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # This is a project Makefile. It is assumed the directory this Makefile resides in is a 3 | # project subdirectory. 4 | # 5 | 6 | PROJECT_NAME := wifi_station 7 | 8 | include $(IDF_PATH)/make/project.mk 9 | 10 | -------------------------------------------------------------------------------- /examples/wifi/getting_started/station/main/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | idf_component_register(SRCS "station_example_main.c" 2 | INCLUDE_DIRS ".") -------------------------------------------------------------------------------- /examples/wifi/iperf/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # The following lines of boilerplate have to be in your project's CMakeLists 2 | # in this exact order for cmake to work correctly 3 | cmake_minimum_required(VERSION 3.5) 4 | 5 | set(EXTRA_COMPONENT_DIRS $ENV{IDF_PATH}/examples/system/console/components) 6 | 7 | include($ENV{IDF_PATH}/tools/cmake/project.cmake) 8 | project(iperf) 9 | -------------------------------------------------------------------------------- /examples/wifi/iperf/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # This is a project Makefile. It is assumed the directory this Makefile resides in is a 3 | # project subdirectory. 4 | # 5 | 6 | PROJECT_NAME := iperf 7 | 8 | EXTRA_COMPONENT_DIRS := $(IDF_PATH)/examples/system/console/components 9 | 10 | include $(IDF_PATH)/make/project.mk 11 | -------------------------------------------------------------------------------- /examples/wifi/iperf/components/iperf/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | idf_component_register(SRCS "iperf.c" 2 | INCLUDE_DIRS . 3 | REQUIRES lwip) -------------------------------------------------------------------------------- /examples/wifi/iperf/main/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | idf_component_register(SRCS "cmd_wifi.c" 2 | "iperf_example_main.c" 3 | INCLUDE_DIRS ".") -------------------------------------------------------------------------------- /examples/wifi/iperf/main/cmd_wifi.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #ifdef __cplusplus 4 | extern "C" { 5 | #endif 6 | 7 | // Register WiFi functions 8 | void register_wifi(void); 9 | void initialise_wifi(void); 10 | 11 | #ifdef __cplusplus 12 | } 13 | #endif 14 | -------------------------------------------------------------------------------- /examples/wifi/iperf/main/component.mk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/ESP8266_RTOS_SDK/d412ac601befc4dd024d2d2adcfaa319c7463e36/examples/wifi/iperf/main/component.mk -------------------------------------------------------------------------------- /examples/wifi/power_save/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # This is a project Makefile. It is assumed the directory this Makefile resides in is a 3 | # project subdirectory. 4 | # 5 | 6 | PROJECT_NAME := power_save 7 | 8 | EXTRA_COMPONENT_DIRS = $(IDF_PATH)/examples/common_components/protocol_examples_common 9 | 10 | include $(IDF_PATH)/make/project.mk 11 | 12 | -------------------------------------------------------------------------------- /examples/wifi/power_save/main/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | set(COMPONENT_SRCS "power_save.c") 2 | 3 | register_component() 4 | -------------------------------------------------------------------------------- /examples/wifi/power_save/main/component.mk: -------------------------------------------------------------------------------- 1 | # 2 | # "main" pseudo-component makefile. 3 | # 4 | # (Uses default behaviour of compiling all source files in directory, adding 'include' to include path.) 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /examples/wifi/roaming/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # This is a project Makefile. It is assumed the directory this Makefile resides in is a 3 | # project subdirectory. 4 | # 5 | 6 | PROJECT_NAME := roaminng 7 | 8 | include $(IDF_PATH)/make/project.mk 9 | 10 | -------------------------------------------------------------------------------- /examples/wifi/roaming/main/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # Embed CA, certificate & key directly into binary 2 | idf_component_register(SRCS "roaming_example.c" 3 | INCLUDE_DIRS ".") 4 | -------------------------------------------------------------------------------- /examples/wifi/roaming/main/component.mk: -------------------------------------------------------------------------------- 1 | # 2 | # "main" pseudo-component makefile. 3 | # 4 | # (Uses default behaviour of compiling all source files in directory, adding 'include' to include path.) 5 | -------------------------------------------------------------------------------- /examples/wifi/roaming/sdkconfig.defaults: -------------------------------------------------------------------------------- 1 | CONFIG_WPA_11KV_SUPPORT=y 2 | CONFIG_WPA_SCAN_CACHE=y 3 | -------------------------------------------------------------------------------- /examples/wifi/smart_config/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # The following four lines of boilerplate have to be in your project's CMakeLists 2 | # in this exact order for cmake to work correctly 3 | cmake_minimum_required(VERSION 3.5) 4 | 5 | include($ENV{IDF_PATH}/tools/cmake/project.cmake) 6 | project(smart_config) 7 | -------------------------------------------------------------------------------- /examples/wifi/smart_config/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # This is a project Makefile. It is assumed the directory this Makefile resides in is a 3 | # project subdirectory. 4 | # 5 | 6 | PROJECT_NAME := smart_config 7 | 8 | include $(IDF_PATH)/make/project.mk 9 | 10 | -------------------------------------------------------------------------------- /examples/wifi/smart_config/main/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | set(COMPONENT_SRCS "smartconfig_main.c") 2 | 3 | register_component() 4 | -------------------------------------------------------------------------------- /examples/wifi/smart_config/main/component.mk: -------------------------------------------------------------------------------- 1 | # 2 | # "main" pseudo-component makefile. 3 | # 4 | # (Uses default behaviour of compiling all source files in directory, adding 'include' to include path.) 5 | 6 | 7 | -------------------------------------------------------------------------------- /examples/wifi/sniffer/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # The following four lines of boilerplate have to be in your project's CMakeLists 2 | # in this exact order for cmake to work correctly 3 | cmake_minimum_required(VERSION 3.5) 4 | 5 | include($ENV{IDF_PATH}/tools/cmake/project.cmake) 6 | project(sniffer) 7 | -------------------------------------------------------------------------------- /examples/wifi/sniffer/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # This is a project Makefile. It is assumed the directory this Makefile resides in is a 3 | # project subdirectory. 4 | # 5 | 6 | PROJECT_NAME := sniffer 7 | 8 | include $(IDF_PATH)/make/project.mk 9 | -------------------------------------------------------------------------------- /examples/wifi/sniffer/main/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | set(COMPONENT_SRCS "sniffer_main.c") 2 | 3 | register_component() 4 | -------------------------------------------------------------------------------- /examples/wifi/sniffer/main/component.mk: -------------------------------------------------------------------------------- 1 | # 2 | # "main" pseudo-component makefile. 3 | # 4 | # (Uses default behaviour of compiling all source files in directory, adding 'include' to include path.) -------------------------------------------------------------------------------- /examples/wifi/wpa2_enterprise/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # This is a project Makefile. It is assumed the directory this Makefile resides in is a 3 | # project subdirectory. 4 | # 5 | 6 | PROJECT_NAME := wpa2-enterprise 7 | 8 | include $(IDF_PATH)/make/project.mk 9 | 10 | -------------------------------------------------------------------------------- /examples/wifi/wpa2_enterprise/main/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | set(COMPONENT_SRCS "wpa2_enterprise_main.c") 2 | set(COMPONENT_ADD_INCLUDEDIRS ".") 3 | 4 | 5 | # Embed CA, certificate & key directly into binary 6 | set(COMPONENT_EMBED_TXTFILES wpa2_ca.pem wpa2_client.crt wpa2_client.key) 7 | 8 | register_component() 9 | -------------------------------------------------------------------------------- /examples/wifi/wps/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # The following lines of boilerplate have to be in your project's CMakeLists 2 | # in this exact order for cmake to work correctly 3 | cmake_minimum_required(VERSION 3.5) 4 | 5 | include($ENV{IDF_PATH}/tools/cmake/project.cmake) 6 | project(wps_example) -------------------------------------------------------------------------------- /examples/wifi/wps/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # This is a project Makefile. It is assumed the directory this Makefile resides in is a 3 | # project subdirectory. 4 | # 5 | 6 | PROJECT_NAME := wps_example 7 | 8 | include $(IDF_PATH)/make/project.mk 9 | 10 | -------------------------------------------------------------------------------- /examples/wifi/wps/main/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | set(COMPONENT_SRCS "wps.c") 2 | set(COMPONENT_ADD_INCLUDEDIRS ".") 3 | 4 | register_component() 5 | -------------------------------------------------------------------------------- /examples/wifi/wps/main/component.mk: -------------------------------------------------------------------------------- 1 | # 2 | # "main" pseudo-component makefile. 3 | # 4 | # (Uses default behaviour of compiling all source files in directory, adding 'include' to include path.) 5 | -------------------------------------------------------------------------------- /make/component_common.mk: -------------------------------------------------------------------------------- 1 | $(warning Deprecated feature: No longer necessary to include component_common.mk from $(COMPONENT_PATH)/component.mk) 2 | -------------------------------------------------------------------------------- /make/version.mk: -------------------------------------------------------------------------------- 1 | IDF_VERSION_MAJOR := 4 2 | IDF_VERSION_MINOR := 0 3 | IDF_VERSION_PATCH := 0 4 | -------------------------------------------------------------------------------- /tools/cmake/scripts/fail.cmake: -------------------------------------------------------------------------------- 1 | # 'cmake -E' doesn't have a way to fail outright, so run this script 2 | # with 'cmake -P' to fail a build. 3 | message(FATAL_ERROR "Failing the build (see errors on lines above)") 4 | 5 | -------------------------------------------------------------------------------- /tools/cmake/version.cmake: -------------------------------------------------------------------------------- 1 | set(IDF_VERSION_MAJOR 4) 2 | set(IDF_VERSION_MINOR 0) 3 | set(IDF_VERSION_PATCH 0) 4 | -------------------------------------------------------------------------------- /tools/docker/entrypoint.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | set -e 3 | 4 | . $IDF_PATH/export.sh 5 | 6 | exec "$@" 7 | -------------------------------------------------------------------------------- /tools/elf_to_ld.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | echo '/*' 4 | echo 'ESP32 ROM address table' 5 | echo 'Generated for ROM with MD5sum:' 6 | md5sum $1 7 | echo '*/' 8 | xtensa-esp108-elf-nm $1 | grep '[0-9a-f] [TBRD]' | while read adr ttp nm; do 9 | if ! echo "$nm" | grep -q -e '^_bss' -e '_heap'; then 10 | echo "PROVIDE ( $nm = 0x$adr );"; 11 | fi 12 | done -------------------------------------------------------------------------------- /tools/esp_prov/requirements.txt: -------------------------------------------------------------------------------- 1 | future 2 | protobuf 3 | cryptography 4 | -------------------------------------------------------------------------------- /tools/esp_prov/requirements_linux_extra.txt: -------------------------------------------------------------------------------- 1 | dbus-python 2 | -------------------------------------------------------------------------------- /tools/format-minimal.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # Runs astyle with parameters which should be checked in a pre-commit hook 3 | astyle \ 4 | --style=otbs \ 5 | --indent=spaces=4 \ 6 | --convert-tabs \ 7 | --keep-one-line-statements \ 8 | --pad-header \ 9 | "$@" 10 | -------------------------------------------------------------------------------- /tools/format.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # Runs astyle with the full set of formatting options 3 | astyle \ 4 | --style=otbs \ 5 | --indent=spaces=4 \ 6 | --convert-tabs \ 7 | --align-pointer=name \ 8 | --align-reference=name \ 9 | --keep-one-line-statements \ 10 | --pad-header \ 11 | --pad-oper \ 12 | "$@" 13 | -------------------------------------------------------------------------------- /tools/kconfig/Kconfig: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /tools/kconfig/check.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # Needed for systems without gettext 3 | $* -x c -o /dev/null - > /dev/null 2>&1 << EOF 4 | #include 5 | int main() 6 | { 7 | gettext(""); 8 | return 0; 9 | } 10 | EOF 11 | if [ ! "$?" -eq "0" ]; then 12 | echo -DKBUILD_NO_NLS; 13 | fi 14 | -------------------------------------------------------------------------------- /tools/kconfig/lxdialog/.gitignore: -------------------------------------------------------------------------------- 1 | # 2 | # Generated files 3 | # 4 | lxdialog 5 | -------------------------------------------------------------------------------- /tools/kconfig/lxdialog/BIG.FAT.WARNING: -------------------------------------------------------------------------------- 1 | This is NOT the official version of dialog. This version has been 2 | significantly modified from the original. It is for use by the Linux 3 | kernel configuration script. Please do not bother Savio Lam with 4 | questions about this program. 5 | -------------------------------------------------------------------------------- /tools/kconfig_new/config.env.in: -------------------------------------------------------------------------------- 1 | { 2 | "COMPONENT_KCONFIGS": "${kconfigs}", 3 | "COMPONENT_KCONFIGS_PROJBUILD": "${kconfig_projbuilds}", 4 | "IDF_CMAKE": "y", 5 | "IDF_TARGET": "${idf_target}", 6 | "IDF_PATH": "${idf_path}" 7 | } 8 | -------------------------------------------------------------------------------- /tools/kconfig_new/test/sdkconfig: -------------------------------------------------------------------------------- 1 | CONFIG_SOME_UNRELATED_THING=y 2 | -------------------------------------------------------------------------------- /tools/ldgen/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/ESP8266_RTOS_SDK/d412ac601befc4dd024d2d2adcfaa319c7463e36/tools/ldgen/__init__.py -------------------------------------------------------------------------------- /tools/ldgen/test/data/sdkconfig: -------------------------------------------------------------------------------- 1 | CONFIG_TEST_STRING="This Is~AString#$^#$&^(*&^#(*&^)(*@_)(#*_)(*_(*}Value" 2 | CONFIG_TEST_NON_STRING=y 3 | CONFIG_TEST_WHITESPACE= y 4 | CONFIG_TEST_EMPTY= 5 | CONFIG_TEST_POSITIVE_INT=110 6 | CONFIG_TEST_HEX_INT=0x8000 7 | CONFIG_TEST_NEGATIVE_INT=-9 8 | CONFIG_PERFORMANCE_LEVEL=0 -------------------------------------------------------------------------------- /tools/toolchain_versions.mk: -------------------------------------------------------------------------------- 1 | SUPPORTED_TOOLCHAIN_COMMIT_DESC = esp-2020r3-49-gd5524c1 2 | SUPPORTED_TOOLCHAIN_GCC_VERSIONS = 8.4.0 3 | 4 | CURRENT_TOOLCHAIN_COMMIT_DESC = esp-2020r3-49-gd5524c1 5 | CURRENT_TOOLCHAIN_COMMIT_DESC_SHORT = esp-2020r3-49-gd5524c1 6 | CURRENT_TOOLCHAIN_GCC_VERSION = 8.4.0 7 | -------------------------------------------------------------------------------- /tools/unit-test-app/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # The following lines of boilerplate have to be in your project's 2 | # CMakeLists in this exact order for cmake to work correctly 3 | cmake_minimum_required(VERSION 3.5) 4 | 5 | include($ENV{IDF_PATH}/tools/cmake/project.cmake) 6 | project(unit-test-app) -------------------------------------------------------------------------------- /tools/unit-test-app/components/unity/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | set(COMPONENT_SRCDIRS .) 2 | set(COMPONENT_ADD_INCLUDEDIRS include) 3 | 4 | set(COMPONENT_REQUIRES spi_flash idf_test) 5 | 6 | register_component() 7 | 8 | if(GCC_NOT_5_2_0) 9 | component_compile_options(-Wno-unused-const-variable) 10 | endif() -------------------------------------------------------------------------------- /tools/unit-test-app/components/unity/component.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Component Makefile 3 | # 4 | 5 | ifeq ($(GCC_NOT_5_2_0), 1) 6 | unity.o: CFLAGS += -Wno-unused-const-variable 7 | endif -------------------------------------------------------------------------------- /tools/unit-test-app/main/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | set(COMPONENT_SRCS "app_main.c") 2 | set(COMPONENT_ADD_INCLUDEDIRS "") 3 | 4 | register_component() 5 | -------------------------------------------------------------------------------- /tools/unit-test-app/main/component.mk: -------------------------------------------------------------------------------- 1 | # 2 | # "main" pseudo-component makefile. 3 | # 4 | # (Uses default behaviour of compiling all source files in directory, adding 'include' to include path.) 5 | -------------------------------------------------------------------------------- /tools/unit-test-app/sdkconfig.defaults: -------------------------------------------------------------------------------- 1 | CONFIG_PARTITION_TABLE_CUSTOM=y 2 | CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="partition_table_unit_test_app.csv" 3 | CONFIG_PARTITION_TABLE_FILENAME="partition_table_unit_test_app.csv" 4 | CONFIG_PARTITION_TABLE_OFFSET=0x8000 5 | CONFIG_TASK_WDT= 6 | -------------------------------------------------------------------------------- /tools/windows/eclipse_make.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | echo "eclipse_make.sh has been replaced with eclipse_make.py. Check the Windows Eclipse docs for the new command." 3 | echo "This shell script will continue to work until the next major release." 4 | python ${IDF_PATH}/tools/windows/eclipse_make.py $@ 5 | -------------------------------------------------------------------------------- /tools/windows/idf_exe/toolchain-i686-w64-mingw32.cmake: -------------------------------------------------------------------------------- 1 | set(CMAKE_SYSTEM_NAME Windows) 2 | set(CMAKE_SYSTEM_PROCESSOR x86) 3 | set(CMAKE_C_COMPILER i686-w64-mingw32-gcc) 4 | set(CMAKE_CXX_COMPILER i686-w64-mingw32-g++) 5 | set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER) 6 | set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY) 7 | set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY) 8 | -------------------------------------------------------------------------------- /tools/windows/tool_setup/.gitignore: -------------------------------------------------------------------------------- 1 | Output 2 | cmdlinerunner/build 3 | dist 4 | unzip 5 | keys 6 | idf_versions.txt 7 | -------------------------------------------------------------------------------- /tools/windows/tool_setup/cmdlinerunner/toolchain-i686-w64-mingw32.cmake: -------------------------------------------------------------------------------- 1 | set(CMAKE_SYSTEM_NAME Windows) 2 | set(CMAKE_SYSTEM_PROCESSOR x86) 3 | set(CMAKE_C_COMPILER i686-w64-mingw32-gcc) 4 | set(CMAKE_CXX_COMPILER i686-w64-mingw32-g++) 5 | set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER) 6 | set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY) 7 | set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY) 8 | --------------------------------------------------------------------------------