├── README.md ├── basic_source_code ├── README.md ├── hx-key │ ├── Makefile │ ├── README.md │ ├── main │ │ ├── component.mk │ │ └── hx_key.c │ ├── sdkconfig │ └── sdkconfig.old ├── hx-lcd1602-lcd2004 │ ├── .gitignore │ ├── .gitmodules │ ├── .travis.yml │ ├── LICENSE │ ├── Makefile │ ├── README.md │ ├── bsp │ │ ├── esp32-i2c-lcd1602 │ │ │ ├── .travis.yml │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── component.mk │ │ │ ├── doc │ │ │ │ ├── .gitignore │ │ │ │ └── Doxyfile │ │ │ ├── i2c-lcd1602.c │ │ │ └── include │ │ │ │ └── i2c-lcd1602.h │ │ └── esp32-smbus │ │ │ ├── .travis.yml │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── component.mk │ │ │ ├── doc │ │ │ ├── .gitignore │ │ │ └── Doxyfile │ │ │ ├── include │ │ │ └── smbus.h │ │ │ └── smbus.c │ ├── components │ │ ├── esp32-i2c-lcd1602 │ │ │ ├── .travis.yml │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── component.mk │ │ │ ├── doc │ │ │ │ ├── .gitignore │ │ │ │ └── Doxyfile │ │ │ ├── i2c-lcd1602.c │ │ │ └── include │ │ │ │ └── i2c-lcd1602.h │ │ ├── esp32-i2c-lcd2004 │ │ │ ├── .travis.yml │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── component.mk │ │ │ ├── doc │ │ │ │ ├── .gitignore │ │ │ │ └── Doxyfile │ │ │ ├── i2c-lcd2004.c │ │ │ └── include │ │ │ │ └── i2c-lcd2004.h │ │ └── esp32-smbus │ │ │ ├── .travis.yml │ │ │ ├── Kconfig.projbuild │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── component.mk │ │ │ ├── doc │ │ │ ├── .gitignore │ │ │ └── Doxyfile │ │ │ ├── include │ │ │ └── smbus.h │ │ │ └── smbus.c │ └── main │ │ ├── app_main.c │ │ └── component.mk ├── hx-led │ ├── Makefile │ ├── README.md │ ├── main │ │ ├── component.mk │ │ └── hx_led.c │ ├── sdkconfig │ └── sdkconfig.old ├── hx-nvs │ ├── CMakeLists.txt │ ├── Makefile │ ├── README.md │ ├── build │ │ ├── main │ │ │ ├── nvs_value_example_main.d │ │ │ └── nvs_value_example_main.o │ │ ├── nvs-rw-value.bin │ │ ├── nvs-rw-value.elf │ │ └── nvs-rw-value.map │ ├── main │ │ ├── CMakeLists.txt │ │ ├── component.mk │ │ └── hx-nvs.c │ └── sdkconfig ├── hx-oled │ ├── Makefile │ ├── README.md │ ├── build │ │ ├── SHT30.map │ │ ├── main │ │ │ ├── sht30.d │ │ │ ├── sht30.o │ │ │ ├── user_main.d │ │ │ └── user_main.o │ │ ├── user-app.bin │ │ ├── user-app.elf │ │ ├── user-app.map │ │ └── user_driver │ │ │ ├── component_project_vars.mk │ │ │ ├── fonts.d │ │ │ ├── fonts.o │ │ │ ├── libuser_driver.a │ │ │ ├── oled.d │ │ │ ├── oled.o │ │ │ ├── user_app.d │ │ │ └── user_app.o │ ├── components │ │ └── bsp │ │ │ ├── component.mk │ │ │ ├── fonts.c │ │ │ ├── include │ │ │ ├── fonts.h │ │ │ └── oled.h │ │ │ └── oled.c │ ├── main │ │ ├── component.mk │ │ └── hx_oled.c │ ├── sdkconfig │ └── sdkconfig.old ├── hx-pwm │ ├── Makefile │ ├── README.md │ ├── main │ │ ├── component.mk │ │ └── hx_pwm.c │ ├── sdkconfig │ └── sdkconfig.old ├── hx-sht30 │ ├── Makefile │ ├── README.md │ ├── build │ │ ├── SHT30.map │ │ ├── main │ │ │ ├── sht30.d │ │ │ └── sht30.o │ │ ├── user-app.bin │ │ ├── user-app.elf │ │ └── user-app.map │ ├── main │ │ ├── component.mk │ │ └── hx_sht30.c │ ├── sdkconfig │ └── sdkconfig.old ├── hx-tim │ ├── .cproject │ ├── .project │ ├── Makefile │ ├── README.md │ ├── build │ │ ├── 2_blink_led.bin │ │ ├── 2_blink_led.elf │ │ ├── 2_blink_led.map │ │ ├── esp-tls │ │ │ └── component_project_vars.mk │ │ └── smartconfig │ │ │ └── component_project_vars.mk │ ├── main │ │ ├── Kconfig.projbuild │ │ ├── app_main.c │ │ └── component.mk │ ├── sdkconfig │ └── sdkconfig.old ├── hx-tm1638 │ ├── Makefile │ ├── main │ │ ├── component.mk │ │ └── hx_tm1638.c │ ├── sdkconfig │ └── sdkconfig.old └── hx-uart │ ├── Makefile │ ├── build │ ├── demo-app.elf │ ├── demo-app.map │ └── main │ │ ├── demo_app.d │ │ ├── demo_app.o │ │ ├── hx_pwm.d │ │ └── hx_pwm.o │ ├── main │ ├── component.mk │ └── hx_uart.c │ ├── sdkconfig │ └── sdkconfig.old ├── bluetooth_source_code └── README.md ├── idf4.4 demo ├── wifi_source_code ├── README.md ├── hx-https-mbedtls │ ├── Makefile │ ├── README.md │ ├── build │ │ ├── hello-world.bin │ │ ├── hello-world.map │ │ ├── main │ │ │ ├── hello_world_main.d │ │ │ ├── user_app.d │ │ │ ├── user_driver │ │ │ │ └── user_key.d │ │ │ └── user_key.d │ │ ├── user_app.bin │ │ ├── user_app.elf │ │ └── user_app.map │ ├── components │ │ └── user_driver │ │ │ ├── component.mk │ │ │ ├── include │ │ │ ├── user_app.h │ │ │ ├── user_http_s.h │ │ │ ├── user_key.h │ │ │ └── user_led.h │ │ │ ├── user_app.c │ │ │ ├── user_http_s.c │ │ │ ├── user_key.c │ │ │ └── user_led.c │ ├── main │ │ ├── component.mk │ │ └── user_main.c │ ├── sdkconfig │ └── sdkconfig.old ├── hx-mqtt-domain-name │ ├── CMakeLists.txt │ ├── Makefile │ ├── README.md │ ├── main │ │ ├── CMakeLists.txt │ │ ├── Kconfig.projbuild │ │ ├── app_main.c │ │ └── component.mk │ ├── mqtt_tcp_example_test.py │ ├── sdkconfig │ ├── sdkconfig.ci │ └── sdkconfig.old ├── hx-mqtt-tcp │ ├── CMakeLists.txt │ ├── Makefile │ ├── README.md │ ├── main │ │ ├── CMakeLists.txt │ │ ├── Kconfig.projbuild │ │ ├── app_main.c │ │ └── component.mk │ ├── mqtt_tcp_example_test.py │ ├── sdkconfig │ ├── sdkconfig.ci │ └── sdkconfig.old ├── hx-mqtt-wan │ ├── CMakeLists.txt │ ├── Makefile │ ├── README.md │ ├── main │ │ ├── CMakeLists.txt │ │ ├── Kconfig.projbuild │ │ ├── app_main.c │ │ └── component.mk │ ├── mqtt_tcp_example_test.py │ ├── sdkconfig │ ├── sdkconfig.ci │ └── sdkconfig.old ├── hx-ota │ ├── Makefile │ ├── README.md │ ├── main │ │ ├── Kconfig.projbuild │ │ ├── component.mk │ │ └── ota_example_main.c │ ├── sdkconfig │ ├── sdkconfig.defaults │ └── sdkconfig.old ├── hx-sc-http │ ├── Makefile │ ├── README.md │ ├── build │ │ ├── main │ │ │ ├── sc_tcp.d │ │ │ └── sc_tcp.o │ │ ├── sc_tcp.bin │ │ ├── sc_tcp.elf │ │ └── sc_tcp.map │ ├── main │ │ ├── component.mk │ │ └── hx_sc_http.c │ ├── sdkconfig │ └── sdkconfig.old ├── hx-sc │ ├── Makefile │ ├── README.md │ ├── build │ │ ├── main │ │ │ ├── sc_tcp.d │ │ │ └── sc_tcp.o │ │ ├── sc_tcp.bin │ │ ├── sc_tcp.elf │ │ └── sc_tcp.map │ ├── main │ │ ├── component.mk │ │ └── hx_sc.c │ ├── sdkconfig │ └── sdkconfig.old ├── hx-tcp │ ├── Makefile │ ├── README.md │ ├── build │ │ ├── bsp │ │ │ ├── tcp.d │ │ │ └── tcp.o │ │ └── main │ │ │ ├── tcp_main.d │ │ │ ├── tcp_main.o │ │ │ ├── xuhong_Tcp.d │ │ │ └── xuhong_Tcp.o │ ├── components │ │ └── bsp │ │ │ ├── component.mk │ │ │ ├── include │ │ │ └── tcp_bsp.h │ │ │ └── tcp_bsp.c │ ├── main │ │ ├── Kconfig.projbuild │ │ ├── component.mk │ │ └── hx_tcp.c │ ├── sdkconfig │ └── sdkconfig.old ├── hx-tmall │ ├── .vscode │ │ ├── c_cpp_properties.json │ │ ├── settings.json │ │ └── tasks.json │ ├── CMakeLists.txt │ ├── Makefile │ ├── README.md │ ├── build │ │ ├── .ninja_deps │ │ ├── .ninja_log │ │ ├── CMakeCache.txt │ │ ├── CMakeFiles │ │ │ ├── 3.11.1 │ │ │ │ ├── CMakeASMCompiler.cmake │ │ │ │ ├── CMakeCCompiler.cmake │ │ │ │ ├── CMakeCXXCompiler.cmake │ │ │ │ ├── CMakeDetermineCompilerABI_C.bin │ │ │ │ ├── CMakeDetermineCompilerABI_CXX.bin │ │ │ │ ├── CMakeSystem.cmake │ │ │ │ ├── CompilerIdC │ │ │ │ │ └── CMakeCCompilerId.c │ │ │ │ └── CompilerIdCXX │ │ │ │ │ └── CMakeCXXCompilerId.cpp │ │ │ ├── CMakeError.log │ │ │ ├── CMakeOutput.log │ │ │ ├── TargetDirectories.txt │ │ │ ├── bootloader-complete │ │ │ ├── bootloader.dir │ │ │ │ ├── Labels.json │ │ │ │ └── Labels.txt │ │ │ ├── cmake.check_cache │ │ │ ├── feature_tests.bin │ │ │ ├── feature_tests.c │ │ │ ├── feature_tests.cxx │ │ │ └── git-data │ │ │ │ ├── HEAD │ │ │ │ ├── grabRef.cmake │ │ │ │ └── head-ref │ │ ├── app_trace │ │ │ └── cmake_install.cmake │ │ ├── app_update │ │ │ └── cmake_install.cmake │ │ ├── aws_iot │ │ │ └── cmake_install.cmake │ │ ├── bootloader-prefix │ │ │ ├── src │ │ │ │ └── bootloader-stamp │ │ │ │ │ ├── bootloader-configure │ │ │ │ │ ├── bootloader-done │ │ │ │ │ ├── bootloader-download │ │ │ │ │ ├── bootloader-install │ │ │ │ │ ├── bootloader-mkdir │ │ │ │ │ ├── bootloader-patch │ │ │ │ │ └── bootloader-update │ │ │ └── tmp │ │ │ │ ├── bootloader-cfgcmd.txt │ │ │ │ └── bootloader-cfgcmd.txt.in │ │ ├── bootloader │ │ │ ├── .ninja_deps │ │ │ ├── .ninja_log │ │ │ ├── CMakeCache.txt │ │ │ ├── CMakeFiles │ │ │ │ ├── 3.11.1 │ │ │ │ │ ├── CMakeASMCompiler.cmake │ │ │ │ │ ├── CMakeCCompiler.cmake │ │ │ │ │ ├── CMakeCXXCompiler.cmake │ │ │ │ │ ├── CMakeDetermineCompilerABI_C.bin │ │ │ │ │ ├── CMakeDetermineCompilerABI_CXX.bin │ │ │ │ │ ├── CMakeSystem.cmake │ │ │ │ │ ├── CompilerIdC │ │ │ │ │ │ └── CMakeCCompilerId.c │ │ │ │ │ └── CompilerIdCXX │ │ │ │ │ │ └── CMakeCXXCompilerId.cpp │ │ │ │ ├── CMakeError.log │ │ │ │ ├── CMakeOutput.log │ │ │ │ ├── TargetDirectories.txt │ │ │ │ ├── cmake.check_cache │ │ │ │ ├── feature_tests.bin │ │ │ │ ├── feature_tests.c │ │ │ │ ├── feature_tests.cxx │ │ │ │ └── git-data │ │ │ │ │ ├── HEAD │ │ │ │ │ ├── grabRef.cmake │ │ │ │ │ └── head-ref │ │ │ ├── bootloader.bin │ │ │ ├── bootloader.map │ │ │ ├── bootloader │ │ │ │ └── cmake_install.cmake │ │ │ ├── bootloader_support │ │ │ │ └── cmake_install.cmake │ │ │ ├── build.ninja │ │ │ ├── cmake_install.cmake │ │ │ ├── compile_commands.json │ │ │ ├── component_depends.cmake │ │ │ ├── config │ │ │ │ ├── kconfig_menus.json │ │ │ │ ├── sdkconfig.cmake │ │ │ │ ├── sdkconfig.h │ │ │ │ └── sdkconfig.json │ │ │ ├── esp32 │ │ │ │ └── cmake_install.cmake │ │ │ ├── esptool_py │ │ │ │ └── cmake_install.cmake │ │ │ ├── flash_app_args │ │ │ ├── flash_bootloader_args │ │ │ ├── flash_partition_table_args │ │ │ ├── flash_project_args │ │ │ ├── flasher_args.json │ │ │ ├── log │ │ │ │ └── cmake_install.cmake │ │ │ ├── micro-ecc │ │ │ │ └── cmake_install.cmake │ │ │ ├── project_description.json │ │ │ ├── rules.ninja │ │ │ ├── soc │ │ │ │ └── cmake_install.cmake │ │ │ └── spi_flash │ │ │ │ └── cmake_install.cmake │ │ ├── bootloader_support │ │ │ └── cmake_install.cmake │ │ ├── bt │ │ │ └── cmake_install.cmake │ │ ├── build.ninja │ │ ├── cmake_install.cmake │ │ ├── coap │ │ │ └── cmake_install.cmake │ │ ├── compile_commands.json │ │ ├── component_depends.cmake │ │ ├── config │ │ │ ├── kconfig_menus.json │ │ │ ├── sdkconfig.cmake │ │ │ ├── sdkconfig.h │ │ │ └── sdkconfig.json │ │ ├── console │ │ │ └── cmake_install.cmake │ │ ├── cxx │ │ │ └── cmake_install.cmake │ │ ├── driver │ │ │ └── cmake_install.cmake │ │ ├── esp-tls │ │ │ └── cmake_install.cmake │ │ ├── esp32 │ │ │ ├── cmake_install.cmake │ │ │ └── esp32_out.ld │ │ ├── esp_adc_cal │ │ │ └── cmake_install.cmake │ │ ├── esp_http_client │ │ │ └── cmake_install.cmake │ │ ├── esptool_py │ │ │ └── cmake_install.cmake │ │ ├── ethernet │ │ │ └── cmake_install.cmake │ │ ├── expat │ │ │ └── cmake_install.cmake │ │ ├── fatfs │ │ │ └── cmake_install.cmake │ │ ├── flash_app_args │ │ ├── flash_bootloader_args │ │ ├── flash_partition_table_args │ │ ├── flash_project_args │ │ ├── flasher_args.json │ │ ├── freertos │ │ │ └── cmake_install.cmake │ │ ├── heap │ │ │ └── cmake_install.cmake │ │ ├── idf_test │ │ │ └── cmake_install.cmake │ │ ├── jsmn │ │ │ └── cmake_install.cmake │ │ ├── json │ │ │ └── cmake_install.cmake │ │ ├── libsodium │ │ │ └── cmake_install.cmake │ │ ├── log │ │ │ └── cmake_install.cmake │ │ ├── lwip │ │ │ └── cmake_install.cmake │ │ ├── mbedtls │ │ │ └── cmake_install.cmake │ │ ├── mdns │ │ │ └── cmake_install.cmake │ │ ├── micro-ecc │ │ │ └── cmake_install.cmake │ │ ├── newlib │ │ │ └── cmake_install.cmake │ │ ├── nghttp │ │ │ └── cmake_install.cmake │ │ ├── nvs_flash │ │ │ └── cmake_install.cmake │ │ ├── openssl │ │ │ └── cmake_install.cmake │ │ ├── partition_table │ │ │ ├── cmake_install.cmake │ │ │ └── partition-table.bin │ │ ├── project_description.json │ │ ├── pthread │ │ │ └── cmake_install.cmake │ │ ├── rules.ninja │ │ ├── sdmmc │ │ │ └── cmake_install.cmake │ │ ├── smartconfig_ack │ │ │ └── cmake_install.cmake │ │ ├── soc │ │ │ └── cmake_install.cmake │ │ ├── spi_flash │ │ │ └── cmake_install.cmake │ │ ├── spiffs │ │ │ └── cmake_install.cmake │ │ ├── tcpip_adapter │ │ │ └── cmake_install.cmake │ │ ├── ulp │ │ │ └── cmake_install.cmake │ │ ├── user_app.bin │ │ ├── user_app.map │ │ ├── user_driver │ │ │ └── cmake_install.cmake │ │ ├── vfs │ │ │ └── cmake_install.cmake │ │ ├── wear_levelling │ │ │ └── cmake_install.cmake │ │ ├── wpa_supplicant │ │ │ └── cmake_install.cmake │ │ └── xtensa-debug-module │ │ │ └── cmake_install.cmake │ ├── components │ │ └── user_driver │ │ │ ├── CMakeLists.txt │ │ │ ├── include │ │ │ ├── user_app.h │ │ │ ├── user_led.h │ │ │ └── user_tmall_genie.h │ │ │ ├── user_app.c │ │ │ ├── user_led.c │ │ │ └── user_tmall_genie.c │ ├── main │ │ └── user_main.c │ ├── sdkconfig │ └── sdkconfig.old ├── hx-udp │ ├── Makefile │ ├── README.md │ ├── build │ │ ├── bsp │ │ │ ├── tcp.d │ │ │ └── tcp.o │ │ └── main │ │ │ ├── tcp_main.d │ │ │ ├── tcp_main.o │ │ │ ├── xuhong_Tcp.d │ │ │ └── xuhong_Tcp.o │ ├── components │ │ └── bsp │ │ │ ├── component.mk │ │ │ ├── include │ │ │ └── udp_bsp.h │ │ │ └── udp_bsp.c │ ├── main │ │ ├── Kconfig.projbuild │ │ ├── component.mk │ │ └── hx_udp.c │ ├── sdkconfig │ └── sdkconfig.old ├── hx-wifi │ ├── Makefile │ ├── README.md │ ├── build │ │ ├── hello-world.bin │ │ ├── hello-world.map │ │ └── main │ │ │ └── hello_world_main.d │ ├── main │ │ ├── component.mk │ │ └── user_app.c │ ├── sdkconfig │ └── sdkconfig.old └── hx-ws │ ├── Makefile │ ├── README.md │ ├── main │ ├── WebSocket_Task.c │ ├── WebSocket_Task.h │ ├── component.mk │ └── main.c │ ├── sdkconfig │ └── sdkconfig.old └── 教程:ESP32开发指南(开源一小步) ├── 02、开发准备.pdf ├── 03、Windows搭建ESP32开发环境(vscode).pdf ├── 04、Ubuntu搭建ESP32开发环境(vscode).pdf ├── 05、新建工程.pdf ├── 06、编译红旭等ESP32源码.pdf ├── 07、ESP32程序下载多种方式.pdf ├── 08、 驱动LED灯.pdf ├── 08、ESP32启动过程.pdf ├── 09、 按键操作.pdf ├── 09、ESP32的NVS测试.pdf ├── 09、ESP32的定时器.pdf ├── 10、PWM彩灯.pdf ├── 11、IIC-读取温湿度.pdf ├── 12、IIC-OLED显示.pdf ├── 13、FreeRTOS简介.pdf ├── 13、UART操作.pdf ├── 14、新建一个WIFI热点.pdf ├── 15、SmartConfig快配.pdf ├── 16、ESP32的TCP连接.pdf ├── 17、ESP32的UDP广播.pdf ├── 18、ESP32的WebSocket.pdf ├── 19、HTTP获取城市的温度.pdf ├── 20、ESP32的空中升级(OTA).pdf ├── 21、ESP32的MQTT自点灯.pdf ├── 21、物联网最常用的MQTT.pdf ├── 22、获取天气预报(wifi+https+json+mbedtls).pdf └── 23、天猫精灵控制ESP32(wifi+tcp+json).pdf /README.md: -------------------------------------------------------------------------------- 1 | # ESP32-Developer-Guide 2 | 3 | ### 基础部分(完成) 4 | 5 | - #### [教程](https://github.com/HX-IoT/ESP32-Developer-Guide/tree/master/%E6%95%99%E7%A8%8B%EF%BC%9AESP32%E5%BC%80%E5%8F%91%E6%8C%87%E5%8D%97%EF%BC%88%E5%BC%80%E6%BA%90%E4%B8%80%E5%B0%8F%E6%AD%A5%EF%BC%89) 6 | 7 | - #### [源码](https://github.com/HX-IoT/ESP32-Developer-Guide/tree/master/basic_source_code) 8 | 9 | ### WiFi部分(完成) 10 | 11 | - #### [教程](https://github.com/HX-IoT/ESP32-Developer-Guide/tree/master/%E6%95%99%E7%A8%8B%EF%BC%9AESP32%E5%BC%80%E5%8F%91%E6%8C%87%E5%8D%97%EF%BC%88%E5%BC%80%E6%BA%90%E4%B8%80%E5%B0%8F%E6%AD%A5%EF%BC%89) 12 | 13 | - #### [源码](https://github.com/HX-IoT/ESP32-Developer-Guide/tree/master/wifi_source_code) 14 | 15 | ### 蓝牙部分 16 | 17 | 暂无计划。 18 | 19 | ### 总结 20 | 21 | - 公众号:更新了idf4.4和idf5.0,关注公众号,回复esp32,自动下载。 22 | - ![373ce767ab18107c1b5ffeba538d83c](https://github.com/HX-IoT/ESP32-Developer-Guide/assets/46419681/5d0a70e0-aa8b-4c4b-9516-a00d1e03aef6) 23 | 24 | - 作者:开源一小步 25 | 26 | - CSDN:https://blog.csdn.net/qq_24550925/ 27 | -------------------------------------------------------------------------------- /basic_source_code/README.md: -------------------------------------------------------------------------------- 1 | ## 源码备注 2 | 3 | - hx-key:按键识别 4 | - hx-lcd1602-lcd2004:I2C-液晶显示器1602和2004 5 | - hx-led:驱动LED灯 6 | - hx-nvs:NVS数据保存 7 | - hx-oled:I2C-OLED显示 8 | - hx-pwm:PWM全彩LED灯显示 9 | - hx-sht30:I2C-读取温湿度 10 | - hx-tim:定时器实验 11 | - hx-tm1638:tm1638芯片IO扩展(数码管,LED灯、按键识别) 12 | - hx-uart:两个UART实验 13 | 14 | ### 总结 15 | 16 | - ESP32技术交流QQ群:824870185 17 | 18 | - 作者:开源一小步 19 | 20 | - CSDN:https://blog.csdn.net/qq_24550925/ -------------------------------------------------------------------------------- /basic_source_code/hx-key/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 := hx-key 7 | 8 | include $(IDF_PATH)/make/project.mk 9 | 10 | -------------------------------------------------------------------------------- /basic_source_code/hx-key/README.md: -------------------------------------------------------------------------------- 1 | ESP32的GPIO按键识别 2 | 3 | ### 总结 4 | 5 | ESP32技术交流QQ群:824870185 6 | 7 | 作者:红旭无线团队 8 | CSDN:https://blog.csdn.net/qq_24550925/ -------------------------------------------------------------------------------- /basic_source_code/hx-key/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 | -------------------------------------------------------------------------------- /basic_source_code/hx-key/main/hx_key.c: -------------------------------------------------------------------------------- 1 | /* 2 | * @file hx_key.c 3 | * @brief 用户应用程序入口 4 | * @details 用户应用程序的入口文件,用户所有要实现的功能逻辑均是从该文件开始或者处理 5 | * @author hx-zsj 6 | * @par Copyright (c): 7 | * 红旭无线开发团队,QQ群:671139854 8 | * @par History: 9 | * Ver0.0.1: 10 | hx-zsj, 2018/08/06, 初始化版本\n 11 | */ 12 | #include 13 | #include "freertos/FreeRTOS.h" 14 | #include "freertos/task.h" 15 | #include "driver/gpio.h" 16 | #include "sdkconfig.h" 17 | 18 | #define LED_R_IO 2 19 | #define LED_G_IO 18 20 | #define KEY_IO 34 21 | unsigned char led_r_status = 0; 22 | unsigned char led_g_status = 0; 23 | unsigned char key_status[2]; 24 | void key_read(void) 25 | { 26 | if(gpio_get_level(KEY_IO)==0)//按键按下 27 | { 28 | //等待松手,最傻的办法 29 | while(gpio_get_level(KEY_IO)==0); 30 | if (led_r_status==1) 31 | { 32 | led_r_status = 0; 33 | gpio_set_level(LED_R_IO, 1);//不亮 34 | } 35 | else 36 | { 37 | led_r_status = 1; 38 | gpio_set_level(LED_R_IO, 0);//亮 39 | } 40 | 41 | } 42 | } 43 | void key_read1(void) 44 | { 45 | //按键识别 46 | if(gpio_get_level(KEY_IO)==0){ 47 | key_status[0] = 0; 48 | } 49 | else{ 50 | key_status[0] = 1; 51 | } 52 | if(key_status[0]!=key_status[1]) { 53 | key_status[1] = key_status[0]; 54 | if(key_status[1]==0){//按键按下 55 | if (led_r_status==1){ 56 | led_r_status = 0; 57 | gpio_set_level(LED_R_IO, 1);//不亮 58 | }else{ 59 | led_r_status = 1; 60 | gpio_set_level(LED_R_IO, 0);//亮 61 | } 62 | }else{//按键松手 63 | if (led_g_status==1){ 64 | led_g_status = 0; 65 | gpio_set_level(LED_G_IO, 1);//不亮 66 | }else{ 67 | led_g_status = 1; 68 | gpio_set_level(LED_G_IO, 0);//亮 69 | } 70 | } 71 | } 72 | } 73 | void app_main() 74 | { 75 | //选择IO 76 | gpio_pad_select_gpio(LED_R_IO); 77 | gpio_pad_select_gpio(LED_G_IO); 78 | gpio_pad_select_gpio(KEY_IO); 79 | //设置灯IO为输出 80 | gpio_set_direction(LED_R_IO, GPIO_MODE_OUTPUT); 81 | gpio_set_level(LED_R_IO, 1);//不亮 82 | gpio_set_direction(LED_G_IO, GPIO_MODE_OUTPUT); 83 | gpio_set_level(LED_G_IO, 1);//不亮 84 | //设置按键IO输入 85 | gpio_set_direction(KEY_IO, GPIO_MODE_INPUT); 86 | 87 | while(1) { 88 | //key_read(); 89 | key_read1(); 90 | } 91 | } 92 | -------------------------------------------------------------------------------- /basic_source_code/hx-lcd1602-lcd2004/.gitignore: -------------------------------------------------------------------------------- 1 | build/ 2 | sdkconfig 3 | sdkconfig.old 4 | 5 | -------------------------------------------------------------------------------- /basic_source_code/hx-lcd1602-lcd2004/.gitmodules: -------------------------------------------------------------------------------- 1 | [submodule "components/esp32-smbus"] 2 | path = components/esp32-smbus 3 | url = https://github.com/DavidAntliff/esp32-smbus.git 4 | [submodule "components/esp32-i2c-lcd1602"] 5 | path = components/esp32-i2c-lcd1602 6 | url = https://github.com/DavidAntliff/esp32-i2c-lcd1602.git 7 | -------------------------------------------------------------------------------- /basic_source_code/hx-lcd1602-lcd2004/.travis.yml: -------------------------------------------------------------------------------- 1 | sudo: false 2 | language: bash 3 | os: 4 | - linux 5 | 6 | addons: 7 | apt: 8 | packages: 9 | - gperf 10 | - python 11 | - python-serial 12 | 13 | before_install: 14 | # Save path to the git respository 15 | - PROJECT_PATH=$(pwd) 16 | 17 | install: 18 | # Install ESP32 toochain following steps as desribed 19 | # in http://esp-idf.readthedocs.io/en/latest/linux-setup.html 20 | # 21 | # Get required packages - already done above, see addons: apt: packages: 22 | # - sudo apt-get install git wget make libncurses-dev flex bison gperf python python-serial 23 | # Prepare directory for the toolchain 24 | - mkdir -p ~/esp 25 | - cd ~/esp 26 | # Download binary toolchain for the ESP32 27 | - wget https://dl.espressif.com/dl/xtensa-esp32-elf-linux64-1.22.0-80-g6c4433a-5.2.0.tar.gz 28 | - tar -xzf xtensa-esp32-elf-linux64-1.22.0-80-g6c4433a-5.2.0.tar.gz 29 | # Make xtensa-esp32-elf available for all terminal sessions 30 | - export PATH=$PATH:$HOME/esp/xtensa-esp32-elf/bin 31 | # Get ESP-IDF from github 32 | - git clone --recursive --branch release/v3.0 https://github.com/espressif/esp-idf.git 33 | # Set the path to ESP-IDF directory 34 | - export IDF_PATH=~/esp/esp-idf 35 | 36 | script: 37 | # Go back to the git repository 38 | - cd $PROJECT_PATH 39 | # Update configuration so that kconfig doesn't start interactive mode 40 | - make defconfig 41 | # Build project from the git repository 42 | - make 43 | 44 | -------------------------------------------------------------------------------- /basic_source_code/hx-lcd1602-lcd2004/LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2018 David Antliff 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /basic_source_code/hx-lcd1602-lcd2004/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 := hx-lcd1602 7 | 8 | include $(IDF_PATH)/make/project.mk 9 | 10 | -------------------------------------------------------------------------------- /basic_source_code/hx-lcd1602-lcd2004/README.md: -------------------------------------------------------------------------------- 1 | ESP32 驱动lcd1602,IIC接口 2 | ## 感谢开源提供者:伽岚 3 | 4 | ### 使用步骤 5 | - 下载源码,将componets文件夹中的库全部复制到SDK的componets文件夹中 6 | - make clean -> make menuconfig -> make all ->make flash 7 | ### 总结 8 | 9 | ESP32技术交流QQ群:824870185 10 | 11 | 作者:红旭无线团队 12 | CSDN:https://blog.csdn.net/qq_24550925/ -------------------------------------------------------------------------------- /basic_source_code/hx-lcd1602-lcd2004/bsp/esp32-i2c-lcd1602/.travis.yml: -------------------------------------------------------------------------------- 1 | # Build and deploy doxygen documention to GitHub Pages 2 | sudo: false 3 | dist: trusty 4 | 5 | # Blacklist 6 | branches: 7 | only: 8 | - master 9 | 10 | # Environment variables 11 | env: 12 | global: 13 | - GH_REPO_REF: github.com/DavidAntliff/esp32-i2c-lcd1602.git 14 | 15 | # Install dependencies 16 | addons: 17 | apt: 18 | packages: 19 | - doxygen 20 | - doxygen-doc 21 | - doxygen-latex 22 | - doxygen-gui 23 | - graphviz 24 | 25 | # Build the docs 26 | script: 27 | - cd doc 28 | - doxygen 29 | 30 | # Deploy using Travis-CI/GitHub Pages integration support 31 | deploy: 32 | provider: pages 33 | skip_cleanup: true 34 | local_dir: $TRAVIS_BUILD_DIR/doc/html 35 | github_token: $GITHUB_TOKEN 36 | on: 37 | branch: master 38 | target_branch: gh-pages 39 | 40 | -------------------------------------------------------------------------------- /basic_source_code/hx-lcd1602-lcd2004/bsp/esp32-i2c-lcd1602/LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2018 David Antliff 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /basic_source_code/hx-lcd1602-lcd2004/bsp/esp32-i2c-lcd1602/component.mk: -------------------------------------------------------------------------------- 1 | # Use defaults 2 | -------------------------------------------------------------------------------- /basic_source_code/hx-lcd1602-lcd2004/bsp/esp32-i2c-lcd1602/doc/.gitignore: -------------------------------------------------------------------------------- 1 | html/ 2 | latex/ 3 | 4 | -------------------------------------------------------------------------------- /basic_source_code/hx-lcd1602-lcd2004/bsp/esp32-smbus/.travis.yml: -------------------------------------------------------------------------------- 1 | # Build and deploy doxygen documention to GitHub Pages 2 | sudo: false 3 | dist: trusty 4 | 5 | # Blacklist 6 | branches: 7 | only: 8 | - master 9 | 10 | # Environment variables 11 | env: 12 | global: 13 | - GH_REPO_REF: github.com/DavidAntliff/esp32-smbus.git 14 | 15 | # Install dependencies 16 | addons: 17 | apt: 18 | packages: 19 | - doxygen 20 | - doxygen-doc 21 | - doxygen-latex 22 | - doxygen-gui 23 | - graphviz 24 | 25 | # Build the docs 26 | script: 27 | - cd doc 28 | - doxygen 29 | 30 | # Deploy using Travis-CI/GitHub Pages integration support 31 | deploy: 32 | provider: pages 33 | skip_cleanup: true 34 | local_dir: $TRAVIS_BUILD_DIR/doc/html 35 | github_token: $GITHUB_TOKEN 36 | on: 37 | branch: master 38 | target_branch: gh-pages 39 | 40 | -------------------------------------------------------------------------------- /basic_source_code/hx-lcd1602-lcd2004/bsp/esp32-smbus/LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2017 David Antliff 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /basic_source_code/hx-lcd1602-lcd2004/bsp/esp32-smbus/README.md: -------------------------------------------------------------------------------- 1 | # esp32-smbus 2 | 3 | ## Introduction 4 | 5 | This component provides a subset of the System Management Bus (SMBus) version 3.0 protocol, used to communicate with SMBus-compatible devices 6 | over a 2-wire I2C bus. Only 7-bit I2C addresses are currently supported. SMBus PEC is not supported. 7 | 8 | It is written and tested for the [ESP-IDF](https://github.com/espressif/esp-idf) environment, version 2.1, using the xtensa-esp32-elf toolchain (gcc version 5.2.0). 9 | 10 | ## Example 11 | 12 | An example of this component in use can be found at [DavidAntliff/esp32-tsl2561-example](https://github.com/DavidAntliff/esp32-tsl2561-example) 13 | 14 | ## Features 15 | 16 | Supports the following SMBus and I2C operations: 17 | 18 | * Quick Command - send the R/W bit to the slave. 19 | * Send Byte - send a single byte value to the slave. 20 | * Receive Byte - receive a single byte value from the slave. 21 | * Write Byte - send a command code and byte to the slave. 22 | * Read Byte - receive a byte from the slave in response to a command code. 23 | * Write Word - send a command code and word (two bytes) to the slave. 24 | * Read Word - receive a word (two bytes) from the slave in response to a command code. A byte count is transferred. 25 | * SMBus Write Block - send a command code followed by a block of bytes to the slave. A byte count is transferred 26 | * SMBus Read Block - receive a block of bytes from the slave in response to a command code. No byte count is used. 27 | * I2C Write Block - send a command code followed by a block of bytes to the slave. No byte count is used. 28 | 29 | In addition, the I2C timeout can be configured. 30 | 31 | ## Documentation 32 | 33 | Automatically generated API documentation (doxygen) is available [here](https://davidantliff.github.io/esp32-smbus/index.html). 34 | 35 | ## Source Code 36 | 37 | The source is available from [GitHub](https://www.github.com/DavidAntliff/esp32-smbus). 38 | 39 | ## License 40 | 41 | The code in this project is licensed under the MIT license - see LICENSE for details. 42 | 43 | ## Links 44 | 45 | * [System Management Bus (SMBus) Specification, version 3.0](http://www.smbus.org/specs/SMBus_3_0_20141220.pdf) 46 | * [I2C-bus Specification and User Manual](https://www.nxp.com/docs/en/user-guide/UM10204.pdf) 47 | 48 | ## Acknowledgements 49 | 50 | * "I2C" is a registered trademark of Phillips Corporation. 51 | * "SMBus" is a trademark of Intel Corporation. 52 | 53 | ## Roadmap 54 | 55 | The following features are anticipated but not yet implemented: 56 | 57 | * 10-bit I2C addresses. 58 | * SMBus Packet Error Checking (PEC). 59 | * Support for Process Calls. 60 | * Support for Block-Write-Read Process Calls. 61 | -------------------------------------------------------------------------------- /basic_source_code/hx-lcd1602-lcd2004/bsp/esp32-smbus/component.mk: -------------------------------------------------------------------------------- 1 | # Use defaults 2 | -------------------------------------------------------------------------------- /basic_source_code/hx-lcd1602-lcd2004/bsp/esp32-smbus/doc/.gitignore: -------------------------------------------------------------------------------- 1 | html/ 2 | latex/ 3 | 4 | -------------------------------------------------------------------------------- /basic_source_code/hx-lcd1602-lcd2004/components/esp32-i2c-lcd1602/.travis.yml: -------------------------------------------------------------------------------- 1 | # Build and deploy doxygen documention to GitHub Pages 2 | sudo: false 3 | dist: trusty 4 | 5 | # Blacklist 6 | branches: 7 | only: 8 | - master 9 | 10 | # Environment variables 11 | env: 12 | global: 13 | - GH_REPO_REF: github.com/DavidAntliff/esp32-i2c-lcd1602.git 14 | 15 | # Install dependencies 16 | addons: 17 | apt: 18 | packages: 19 | - doxygen 20 | - doxygen-doc 21 | - doxygen-latex 22 | - doxygen-gui 23 | - graphviz 24 | 25 | # Build the docs 26 | script: 27 | - cd doc 28 | - doxygen 29 | 30 | # Deploy using Travis-CI/GitHub Pages integration support 31 | deploy: 32 | provider: pages 33 | skip_cleanup: true 34 | local_dir: $TRAVIS_BUILD_DIR/doc/html 35 | github_token: $GITHUB_TOKEN 36 | on: 37 | branch: master 38 | target_branch: gh-pages 39 | 40 | -------------------------------------------------------------------------------- /basic_source_code/hx-lcd1602-lcd2004/components/esp32-i2c-lcd1602/LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2018 David Antliff 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /basic_source_code/hx-lcd1602-lcd2004/components/esp32-i2c-lcd1602/component.mk: -------------------------------------------------------------------------------- 1 | # Use defaults 2 | COMPONENT_ADD_INCLUDEDIRS := include -------------------------------------------------------------------------------- /basic_source_code/hx-lcd1602-lcd2004/components/esp32-i2c-lcd1602/doc/.gitignore: -------------------------------------------------------------------------------- 1 | html/ 2 | latex/ 3 | 4 | -------------------------------------------------------------------------------- /basic_source_code/hx-lcd1602-lcd2004/components/esp32-i2c-lcd2004/.travis.yml: -------------------------------------------------------------------------------- 1 | # Build and deploy doxygen documention to GitHub Pages 2 | sudo: false 3 | dist: trusty 4 | 5 | # Blacklist 6 | branches: 7 | only: 8 | - master 9 | 10 | # Environment variables 11 | env: 12 | global: 13 | - GH_REPO_REF: github.com/DavidAntliff/esp32-i2c-lcd1602.git 14 | 15 | # Install dependencies 16 | addons: 17 | apt: 18 | packages: 19 | - doxygen 20 | - doxygen-doc 21 | - doxygen-latex 22 | - doxygen-gui 23 | - graphviz 24 | 25 | # Build the docs 26 | script: 27 | - cd doc 28 | - doxygen 29 | 30 | # Deploy using Travis-CI/GitHub Pages integration support 31 | deploy: 32 | provider: pages 33 | skip_cleanup: true 34 | local_dir: $TRAVIS_BUILD_DIR/doc/html 35 | github_token: $GITHUB_TOKEN 36 | on: 37 | branch: master 38 | target_branch: gh-pages 39 | 40 | -------------------------------------------------------------------------------- /basic_source_code/hx-lcd1602-lcd2004/components/esp32-i2c-lcd2004/LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2018 David Antliff 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /basic_source_code/hx-lcd1602-lcd2004/components/esp32-i2c-lcd2004/component.mk: -------------------------------------------------------------------------------- 1 | # Use defaults 2 | COMPONENT_ADD_INCLUDEDIRS := include -------------------------------------------------------------------------------- /basic_source_code/hx-lcd1602-lcd2004/components/esp32-i2c-lcd2004/doc/.gitignore: -------------------------------------------------------------------------------- 1 | html/ 2 | latex/ 3 | 4 | -------------------------------------------------------------------------------- /basic_source_code/hx-lcd1602-lcd2004/components/esp32-smbus/.travis.yml: -------------------------------------------------------------------------------- 1 | # Build and deploy doxygen documention to GitHub Pages 2 | sudo: false 3 | dist: trusty 4 | 5 | # Blacklist 6 | branches: 7 | only: 8 | - master 9 | 10 | # Environment variables 11 | env: 12 | global: 13 | - GH_REPO_REF: github.com/DavidAntliff/esp32-smbus.git 14 | 15 | # Install dependencies 16 | addons: 17 | apt: 18 | packages: 19 | - doxygen 20 | - doxygen-doc 21 | - doxygen-latex 22 | - doxygen-gui 23 | - graphviz 24 | 25 | # Build the docs 26 | script: 27 | - cd doc 28 | - doxygen 29 | 30 | # Deploy using Travis-CI/GitHub Pages integration support 31 | deploy: 32 | provider: pages 33 | skip_cleanup: true 34 | local_dir: $TRAVIS_BUILD_DIR/doc/html 35 | github_token: $GITHUB_TOKEN 36 | on: 37 | branch: master 38 | target_branch: gh-pages 39 | 40 | -------------------------------------------------------------------------------- /basic_source_code/hx-lcd1602-lcd2004/components/esp32-smbus/Kconfig.projbuild: -------------------------------------------------------------------------------- 1 | menu "esp32-i2c-lcd1602-example Configuration" 2 | 3 | config I2C_MASTER_SCL 4 | int "I2C Master SCL GPIO number" 5 | range 0 34 6 | default 19 7 | help 8 | GPIO number (IOxx) for I2C SCL. 9 | 10 | Some GPIOs are used for other purposes (flash connections, etc.) and cannot be used. 11 | 12 | GPIOs 35-39 are input-only so cannot be used to drive the One Wire Bus. 13 | 14 | config I2C_MASTER_SDA 15 | int "I2C Master SDA GPIO number" 16 | range 0 34 17 | default 18 18 | help 19 | GPIO number (IOxx) for I2C SDA. 20 | 21 | Some GPIOs are used for other purposes (flash connections, etc.) and cannot be used. 22 | 23 | GPIOs 35-39 are input-only so cannot be used to drive the One Wire Bus. 24 | 25 | config LCD1602_I2C_ADDRESS 26 | hex "I2C Address for LCD1602 device" 27 | default 0x27 28 | help 29 | I2C address for HD44780-compatible LCD1602 device. 30 | 31 | endmenu 32 | -------------------------------------------------------------------------------- /basic_source_code/hx-lcd1602-lcd2004/components/esp32-smbus/LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2017 David Antliff 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /basic_source_code/hx-lcd1602-lcd2004/components/esp32-smbus/README.md: -------------------------------------------------------------------------------- 1 | # esp32-smbus 2 | 3 | ## Introduction 4 | 5 | This component provides a subset of the System Management Bus (SMBus) version 3.0 protocol, used to communicate with SMBus-compatible devices 6 | over a 2-wire I2C bus. Only 7-bit I2C addresses are currently supported. SMBus PEC is not supported. 7 | 8 | It is written and tested for the [ESP-IDF](https://github.com/espressif/esp-idf) environment, version 2.1, using the xtensa-esp32-elf toolchain (gcc version 5.2.0). 9 | 10 | ## Example 11 | 12 | An example of this component in use can be found at [DavidAntliff/esp32-tsl2561-example](https://github.com/DavidAntliff/esp32-tsl2561-example) 13 | 14 | ## Features 15 | 16 | Supports the following SMBus and I2C operations: 17 | 18 | * Quick Command - send the R/W bit to the slave. 19 | * Send Byte - send a single byte value to the slave. 20 | * Receive Byte - receive a single byte value from the slave. 21 | * Write Byte - send a command code and byte to the slave. 22 | * Read Byte - receive a byte from the slave in response to a command code. 23 | * Write Word - send a command code and word (two bytes) to the slave. 24 | * Read Word - receive a word (two bytes) from the slave in response to a command code. A byte count is transferred. 25 | * SMBus Write Block - send a command code followed by a block of bytes to the slave. A byte count is transferred 26 | * SMBus Read Block - receive a block of bytes from the slave in response to a command code. No byte count is used. 27 | * I2C Write Block - send a command code followed by a block of bytes to the slave. No byte count is used. 28 | 29 | In addition, the I2C timeout can be configured. 30 | 31 | ## Documentation 32 | 33 | Automatically generated API documentation (doxygen) is available [here](https://davidantliff.github.io/esp32-smbus/index.html). 34 | 35 | ## Source Code 36 | 37 | The source is available from [GitHub](https://www.github.com/DavidAntliff/esp32-smbus). 38 | 39 | ## License 40 | 41 | The code in this project is licensed under the MIT license - see LICENSE for details. 42 | 43 | ## Links 44 | 45 | * [System Management Bus (SMBus) Specification, version 3.0](http://www.smbus.org/specs/SMBus_3_0_20141220.pdf) 46 | * [I2C-bus Specification and User Manual](https://www.nxp.com/docs/en/user-guide/UM10204.pdf) 47 | 48 | ## Acknowledgements 49 | 50 | * "I2C" is a registered trademark of Phillips Corporation. 51 | * "SMBus" is a trademark of Intel Corporation. 52 | 53 | ## Roadmap 54 | 55 | The following features are anticipated but not yet implemented: 56 | 57 | * 10-bit I2C addresses. 58 | * SMBus Packet Error Checking (PEC). 59 | * Support for Process Calls. 60 | * Support for Block-Write-Read Process Calls. 61 | -------------------------------------------------------------------------------- /basic_source_code/hx-lcd1602-lcd2004/components/esp32-smbus/component.mk: -------------------------------------------------------------------------------- 1 | # Use defaults 2 | COMPONENT_ADD_INCLUDEDIRS := include -------------------------------------------------------------------------------- /basic_source_code/hx-lcd1602-lcd2004/components/esp32-smbus/doc/.gitignore: -------------------------------------------------------------------------------- 1 | html/ 2 | latex/ 3 | 4 | -------------------------------------------------------------------------------- /basic_source_code/hx-lcd1602-lcd2004/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 | -------------------------------------------------------------------------------- /basic_source_code/hx-led/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 := hx-led 7 | 8 | include $(IDF_PATH)/make/project.mk 9 | 10 | -------------------------------------------------------------------------------- /basic_source_code/hx-led/README.md: -------------------------------------------------------------------------------- 1 | ESP32的GPIO驱动LED灯 2 | 3 | ### 总结 4 | 5 | ESP32技术交流QQ群:824870185 6 | 7 | 作者:红旭无线团队 8 | CSDN:https://blog.csdn.net/qq_24550925/ -------------------------------------------------------------------------------- /basic_source_code/hx-led/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 | -------------------------------------------------------------------------------- /basic_source_code/hx-led/main/hx_led.c: -------------------------------------------------------------------------------- 1 | /* 2 | * @file hx_led.c 3 | * @brief 用户应用程序入口 4 | * @details 用户应用程序的入口文件,用户所有要实现的功能逻辑均是从该文件开始或者处理 5 | * @author hx-zsj 6 | * @par Copyright (c): 7 | * 红旭无线开发团队,QQ群:671139854 8 | * @par History: 9 | * Ver0.0.1: 10 | hx-zsj, 2018/08/06, 初始化版本\n 11 | */ 12 | 13 | #include 14 | #include "freertos/FreeRTOS.h" 15 | #include "freertos/task.h" 16 | #include "driver/gpio.h" 17 | #include "sdkconfig.h" 18 | 19 | #define LED_R_IO 2 20 | #define LED_G_IO 18 21 | #define LED_B_IO 19 22 | 23 | void app_main() 24 | { 25 | //选择IO 26 | gpio_pad_select_gpio(LED_R_IO); 27 | gpio_pad_select_gpio(LED_G_IO); 28 | gpio_pad_select_gpio(LED_B_IO); 29 | //设置IO为输出 30 | gpio_set_direction(LED_R_IO, GPIO_MODE_OUTPUT); 31 | gpio_set_direction(LED_G_IO, GPIO_MODE_OUTPUT); 32 | gpio_set_direction(LED_B_IO, GPIO_MODE_OUTPUT); 33 | while(1) { 34 | //只点亮红灯 35 | gpio_set_level(LED_R_IO, 0); 36 | gpio_set_level(LED_G_IO, 1); 37 | gpio_set_level(LED_B_IO, 1); 38 | vTaskDelay(100 / portTICK_PERIOD_MS); 39 | //只点亮绿灯 40 | gpio_set_level(LED_R_IO, 1); 41 | gpio_set_level(LED_G_IO, 0); 42 | gpio_set_level(LED_B_IO, 1); 43 | vTaskDelay(100 / portTICK_PERIOD_MS); 44 | //只点亮蓝灯 45 | gpio_set_level(LED_R_IO, 1); 46 | gpio_set_level(LED_G_IO, 1); 47 | gpio_set_level(LED_B_IO, 0); 48 | vTaskDelay(100 / portTICK_PERIOD_MS); 49 | } 50 | } 51 | -------------------------------------------------------------------------------- /basic_source_code/hx-nvs/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(nvs-rw-value) 7 | -------------------------------------------------------------------------------- /basic_source_code/hx-nvs/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 := hx-nvs 7 | 8 | include $(IDF_PATH)/make/project.mk 9 | 10 | -------------------------------------------------------------------------------- /basic_source_code/hx-nvs/build/main/nvs_value_example_main.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HX-IoT/ESP32-Developer-Guide/51a7a0728e169cc757115a9d78c9259a2f82aa2c/basic_source_code/hx-nvs/build/main/nvs_value_example_main.o -------------------------------------------------------------------------------- /basic_source_code/hx-nvs/build/nvs-rw-value.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HX-IoT/ESP32-Developer-Guide/51a7a0728e169cc757115a9d78c9259a2f82aa2c/basic_source_code/hx-nvs/build/nvs-rw-value.bin -------------------------------------------------------------------------------- /basic_source_code/hx-nvs/build/nvs-rw-value.elf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HX-IoT/ESP32-Developer-Guide/51a7a0728e169cc757115a9d78c9259a2f82aa2c/basic_source_code/hx-nvs/build/nvs-rw-value.elf -------------------------------------------------------------------------------- /basic_source_code/hx-nvs/main/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | set(COMPONENT_SRCS "nvs_value_example_main.c") 2 | set(COMPONENT_ADD_INCLUDEDIRS ".") 3 | 4 | register_component() 5 | -------------------------------------------------------------------------------- /basic_source_code/hx-nvs/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 | -------------------------------------------------------------------------------- /basic_source_code/hx-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 := hx-oled 7 | 8 | include $(IDF_PATH)/make/project.mk 9 | 10 | -------------------------------------------------------------------------------- /basic_source_code/hx-oled/README.md: -------------------------------------------------------------------------------- 1 | 2 | * ESP32硬件I2C驱动OLED 3 | * 作者:红旭无线开发团队 QQ群:824870185 4 | * 版本:Ver0.0.1 2018/08/08 5 | 6 | * 硬件连接 7 | * 1.OLED模块(I2C接口):https://item.taobao.com/item.htm?spm=a1z10.1-c-s.w4004-18402045841.5.378a2c2cVxUhHD&id=569864974646 8 | * 2.ESP32开发板 9 | * 3.ESP32的IO33 --> OLED的SCL 10 | * 4.ESP32的IO32 --> OLED的SDA 11 | * 5. 不接 --> OLED的RST 12 | * 6.电源接3.3V 13 | 14 | * 代码使用步骤 15 | * 1.make clean 清除掉之前编译的残留 16 | * 2.make menuconfig 修改下载程序的串口号 17 | * 3.make all 编译程序 18 | * 4.make flash 下载程序 19 | -------------------------------------------------------------------------------- /basic_source_code/hx-oled/build/main/sht30.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HX-IoT/ESP32-Developer-Guide/51a7a0728e169cc757115a9d78c9259a2f82aa2c/basic_source_code/hx-oled/build/main/sht30.o -------------------------------------------------------------------------------- /basic_source_code/hx-oled/build/main/user_main.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HX-IoT/ESP32-Developer-Guide/51a7a0728e169cc757115a9d78c9259a2f82aa2c/basic_source_code/hx-oled/build/main/user_main.o -------------------------------------------------------------------------------- /basic_source_code/hx-oled/build/user-app.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HX-IoT/ESP32-Developer-Guide/51a7a0728e169cc757115a9d78c9259a2f82aa2c/basic_source_code/hx-oled/build/user-app.bin -------------------------------------------------------------------------------- /basic_source_code/hx-oled/build/user-app.elf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HX-IoT/ESP32-Developer-Guide/51a7a0728e169cc757115a9d78c9259a2f82aa2c/basic_source_code/hx-oled/build/user-app.elf -------------------------------------------------------------------------------- /basic_source_code/hx-oled/build/user_driver/component_project_vars.mk: -------------------------------------------------------------------------------- 1 | # Automatically generated build file. Do not edit. 2 | COMPONENT_INCLUDES += $(PROJECT_PATH)/components/user_driver/include 3 | COMPONENT_LDFLAGS += -L$(BUILD_DIR_BASE)/user_driver -luser_driver 4 | COMPONENT_LINKER_DEPS += 5 | COMPONENT_SUBMODULES += 6 | COMPONENT_LIBRARIES += user_driver 7 | component-user_driver-build: 8 | -------------------------------------------------------------------------------- /basic_source_code/hx-oled/build/user_driver/fonts.d: -------------------------------------------------------------------------------- 1 | fonts.o: D:/ESP32/esp-idf-v3.0/hx-oled/components/user_driver/fonts.c \ 2 | D:/ESP32/esp-idf-v3.0/hx-oled/components/user_driver/include/fonts.h \ 3 | D:/ESP32/esp-idf-v3.0/components/newlib/include/string.h \ 4 | D:/ESP32/esp-idf-v3.0/components/newlib/include/_ansi.h \ 5 | D:/ESP32/esp-idf-v3.0/components/newlib/include/newlib.h \ 6 | D:/ESP32/esp-idf-v3.0/components/newlib/include/sys/config.h \ 7 | D:/ESP32/esp-idf-v3.0/components/newlib/include/machine/ieeefp.h \ 8 | D:/ESP32/esp-idf-v3.0/components/newlib/include/sys/features.h \ 9 | D:/ESP32/esp-idf-v3.0/components/esp32/include/xtensa/config/core-isa.h \ 10 | D:/ESP32/esp-idf-v3.0/components/newlib/include/sys/reent.h \ 11 | D:/ESP32/esp-idf-v3.0/components/newlib/include/_ansi.h \ 12 | D:/ESP32/esp-idf-v3.0/components/newlib/include/sys/_types.h \ 13 | D:/ESP32/esp-idf-v3.0/components/newlib/include/machine/_types.h \ 14 | D:/ESP32/esp-idf-v3.0/components/newlib/include/machine/_default_types.h \ 15 | D:/ESP32/esp-idf-v3.0/components/newlib/include/sys/lock.h \ 16 | D:/ESP32/esp-idf-v3.0/components/newlib/include/sys/cdefs.h \ 17 | D:/ESP32/esp-idf-v3.0/components/newlib/include/sys/string.h \ 18 | D:/ESP32/esp-idf-v3.0/components/newlib/include/stdint.h \ 19 | D:/ESP32/esp-idf-v3.0/components/newlib/include/sys/_intsup.h 20 | 21 | D:/ESP32/esp-idf-v3.0/hx-oled/components/user_driver/include/fonts.h: 22 | 23 | D:/ESP32/esp-idf-v3.0/components/newlib/include/string.h: 24 | 25 | D:/ESP32/esp-idf-v3.0/components/newlib/include/_ansi.h: 26 | 27 | D:/ESP32/esp-idf-v3.0/components/newlib/include/newlib.h: 28 | 29 | D:/ESP32/esp-idf-v3.0/components/newlib/include/sys/config.h: 30 | 31 | D:/ESP32/esp-idf-v3.0/components/newlib/include/machine/ieeefp.h: 32 | 33 | D:/ESP32/esp-idf-v3.0/components/newlib/include/sys/features.h: 34 | 35 | D:/ESP32/esp-idf-v3.0/components/esp32/include/xtensa/config/core-isa.h: 36 | 37 | D:/ESP32/esp-idf-v3.0/components/newlib/include/sys/reent.h: 38 | 39 | D:/ESP32/esp-idf-v3.0/components/newlib/include/_ansi.h: 40 | 41 | D:/ESP32/esp-idf-v3.0/components/newlib/include/sys/_types.h: 42 | 43 | D:/ESP32/esp-idf-v3.0/components/newlib/include/machine/_types.h: 44 | 45 | D:/ESP32/esp-idf-v3.0/components/newlib/include/machine/_default_types.h: 46 | 47 | D:/ESP32/esp-idf-v3.0/components/newlib/include/sys/lock.h: 48 | 49 | D:/ESP32/esp-idf-v3.0/components/newlib/include/sys/cdefs.h: 50 | 51 | D:/ESP32/esp-idf-v3.0/components/newlib/include/sys/string.h: 52 | 53 | D:/ESP32/esp-idf-v3.0/components/newlib/include/stdint.h: 54 | 55 | D:/ESP32/esp-idf-v3.0/components/newlib/include/sys/_intsup.h: 56 | /d/ESP32/esp-idf-v3.0/hx-oled/components/user_driver/./fonts.c: 57 | -------------------------------------------------------------------------------- /basic_source_code/hx-oled/build/user_driver/fonts.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HX-IoT/ESP32-Developer-Guide/51a7a0728e169cc757115a9d78c9259a2f82aa2c/basic_source_code/hx-oled/build/user_driver/fonts.o -------------------------------------------------------------------------------- /basic_source_code/hx-oled/build/user_driver/libuser_driver.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HX-IoT/ESP32-Developer-Guide/51a7a0728e169cc757115a9d78c9259a2f82aa2c/basic_source_code/hx-oled/build/user_driver/libuser_driver.a -------------------------------------------------------------------------------- /basic_source_code/hx-oled/build/user_driver/oled.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HX-IoT/ESP32-Developer-Guide/51a7a0728e169cc757115a9d78c9259a2f82aa2c/basic_source_code/hx-oled/build/user_driver/oled.o -------------------------------------------------------------------------------- /basic_source_code/hx-oled/build/user_driver/user_app.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HX-IoT/ESP32-Developer-Guide/51a7a0728e169cc757115a9d78c9259a2f82aa2c/basic_source_code/hx-oled/build/user_driver/user_app.o -------------------------------------------------------------------------------- /basic_source_code/hx-oled/components/bsp/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 | -------------------------------------------------------------------------------- /basic_source_code/hx-oled/components/bsp/include/fonts.h: -------------------------------------------------------------------------------- 1 | /* 2 | * @file fonts.h 3 | * @brief 字库 4 | * @details 用户应用程序的入口文件,用户所有要实现的功能逻辑均是从该文件开始或者处理 5 | * @author 红旭团队 6 | * @par Copyright (c): 7 | * 红旭无线开发团队,QQ群:671139854 8 | */ 9 | #ifndef FONTS_H 10 | #define FONTS_H 120 11 | 12 | /* C++ detection */ 13 | #ifdef __cplusplus 14 | extern C { 15 | #endif 16 | 17 | #include "string.h" 18 | #include "stdint.h" 19 | 20 | 21 | /** 22 | * @brief Font structure used on my LCD libraries 23 | */ 24 | typedef struct { 25 | uint8_t FontWidth; /*!< Font width in pixels */ 26 | uint8_t FontHeight; /*!< Font height in pixels */ 27 | const uint16_t *data; /*!< Pointer to data font data array */ 28 | } FontDef_t; 29 | 30 | /** 31 | * @brief String length and height 32 | */ 33 | typedef struct { 34 | uint16_t Length; /*!< String length in units of pixels */ 35 | uint16_t Height; /*!< String height in units of pixels */ 36 | } FONTS_SIZE_t; 37 | 38 | 39 | /** 40 | * @brief 7 x 10 pixels font size structure 41 | */ 42 | extern FontDef_t Font_7x10; 43 | 44 | /** 45 | * @brief 11 x 18 pixels font size structure 46 | */ 47 | extern FontDef_t Font_11x18; 48 | 49 | /** 50 | * @brief 16 x 26 pixels font size structure 51 | */ 52 | extern FontDef_t Font_16x26; 53 | 54 | 55 | /** 56 | * @brief Calculates string length and height in units of pixels depending on string and font used 57 | * @param *str: String to be checked for length and height 58 | * @param *SizeStruct: Pointer to empty @ref FONTS_SIZE_t structure where informations will be saved 59 | * @param *Font: Pointer to @ref FontDef_t font used for calculations 60 | * @retval Pointer to string used for length and height 61 | */ 62 | char* FONTS_GetStringSize(char* str, FONTS_SIZE_t* SizeStruct, FontDef_t* Font); 63 | 64 | /* C++ detection */ 65 | #ifdef __cplusplus 66 | } 67 | #endif 68 | 69 | 70 | #endif 71 | -------------------------------------------------------------------------------- /basic_source_code/hx-oled/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 | -------------------------------------------------------------------------------- /basic_source_code/hx-oled/main/hx_oled.c: -------------------------------------------------------------------------------- 1 | /* 2 | * @file hx_oled.c 3 | * @brief ESP32操作OLED-I2C 4 | * @details 用户应用程序的入口文件,用户所有要实现的功能逻辑均是从该文件开始或者处理 5 | * @author 红旭团队 6 | * @par Copyright (c): 7 | * 红旭无线开发团队,QQ群:671139854 8 | */ 9 | #include 10 | #include "esp_system.h" 11 | #include 12 | #include 13 | #include "freertos/task.h" 14 | #include "oled.h" 15 | #include "fonts.h" 16 | 17 | void app_main() 18 | { 19 | unsigned int cnt=0; 20 | oled_init(); 21 | oled_show_str(0,0, "HX ESP32 I2C", &Font_7x10, 1); 22 | oled_show_str(0,15, "oled example", &Font_7x10, 1); 23 | oled_show_str(0,30, "QQ:671139854", &Font_7x10, 1); 24 | oled_show_str(0,45, "All On And Clear",&Font_7x10,1); 25 | vTaskDelay(10000 / portTICK_PERIOD_MS); 26 | while(1) 27 | { 28 | cnt++; 29 | oled_claer(); 30 | vTaskDelay(10 / portTICK_PERIOD_MS); 31 | oled_all_on(); 32 | vTaskDelay(10 / portTICK_PERIOD_MS); 33 | ESP_LOGI("OLED", "cnt = %d \r\n", cnt); 34 | } 35 | } -------------------------------------------------------------------------------- /basic_source_code/hx-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 := hx-pwm 7 | 8 | include $(IDF_PATH)/make/project.mk 9 | 10 | -------------------------------------------------------------------------------- /basic_source_code/hx-pwm/README.md: -------------------------------------------------------------------------------- 1 | ESP32的PWM驱动RGB灯 2 | 3 | ### 总结 4 | 5 | ESP32技术交流QQ群:824870185 6 | 7 | 作者:红旭无线团队 8 | CSDN:https://blog.csdn.net/qq_24550925/ -------------------------------------------------------------------------------- /basic_source_code/hx-pwm/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 | -------------------------------------------------------------------------------- /basic_source_code/hx-sht30/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 := hx-sht30 7 | 8 | include $(IDF_PATH)/make/project.mk 9 | 10 | -------------------------------------------------------------------------------- /basic_source_code/hx-sht30/README.md: -------------------------------------------------------------------------------- 1 | ESP32的I2C获取SHT30温湿度 2 | 3 | ### 总结 4 | 5 | ESP32技术交流QQ群:824870185 6 | 7 | 作者:红旭无线团队 8 | CSDN:https://blog.csdn.net/qq_24550925/ -------------------------------------------------------------------------------- /basic_source_code/hx-sht30/build/main/sht30.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HX-IoT/ESP32-Developer-Guide/51a7a0728e169cc757115a9d78c9259a2f82aa2c/basic_source_code/hx-sht30/build/main/sht30.o -------------------------------------------------------------------------------- /basic_source_code/hx-sht30/build/user-app.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HX-IoT/ESP32-Developer-Guide/51a7a0728e169cc757115a9d78c9259a2f82aa2c/basic_source_code/hx-sht30/build/user-app.bin -------------------------------------------------------------------------------- /basic_source_code/hx-sht30/build/user-app.elf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HX-IoT/ESP32-Developer-Guide/51a7a0728e169cc757115a9d78c9259a2f82aa2c/basic_source_code/hx-sht30/build/user-app.elf -------------------------------------------------------------------------------- /basic_source_code/hx-sht30/main/component.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Main Makefile. This is basically the same as a component makefile. 3 | # 4 | -------------------------------------------------------------------------------- /basic_source_code/hx-tim/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | 3_gpio_interrupt 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.cdt.managedbuilder.core.genmakebuilder 10 | clean,full,incremental, 11 | 12 | 13 | 14 | 15 | org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder 16 | full,incremental, 17 | 18 | 19 | 20 | 21 | 22 | org.eclipse.cdt.core.cnature 23 | org.eclipse.cdt.managedbuilder.core.managedBuildNature 24 | org.eclipse.cdt.managedbuilder.core.ScannerConfigNature 25 | 26 | 27 | -------------------------------------------------------------------------------- /basic_source_code/hx-tim/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 := hx-tim 7 | 8 | include $(IDF_PATH)/make/project.mk 9 | 10 | -------------------------------------------------------------------------------- /basic_source_code/hx-tim/README.md: -------------------------------------------------------------------------------- 1 | ESP32的定时器使用 2 | 3 | ### 总结 4 | 5 | ESP32技术交流QQ群:824870185 6 | 7 | 作者:红旭无线团队 8 | CSDN:https://blog.csdn.net/qq_24550925/ -------------------------------------------------------------------------------- /basic_source_code/hx-tim/build/2_blink_led.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HX-IoT/ESP32-Developer-Guide/51a7a0728e169cc757115a9d78c9259a2f82aa2c/basic_source_code/hx-tim/build/2_blink_led.bin -------------------------------------------------------------------------------- /basic_source_code/hx-tim/build/2_blink_led.elf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HX-IoT/ESP32-Developer-Guide/51a7a0728e169cc757115a9d78c9259a2f82aa2c/basic_source_code/hx-tim/build/2_blink_led.elf -------------------------------------------------------------------------------- /basic_source_code/hx-tim/build/esp-tls/component_project_vars.mk: -------------------------------------------------------------------------------- 1 | # Automatically generated build file. Do not edit. 2 | COMPONENT_INCLUDES += $(IDF_PATH)/components/esp-tls 3 | COMPONENT_LDFLAGS += -L$(BUILD_DIR_BASE)/esp-tls -lesp-tls 4 | COMPONENT_LINKER_DEPS += 5 | COMPONENT_SUBMODULES += 6 | COMPONENT_LIBRARIES += esp-tls 7 | component-esp-tls-build: 8 | -------------------------------------------------------------------------------- /basic_source_code/hx-tim/build/smartconfig/component_project_vars.mk: -------------------------------------------------------------------------------- 1 | # Automatically generated build file. Do not edit. 2 | COMPONENT_INCLUDES += $(IDF_PATH)/components/smartconfig/include 3 | COMPONENT_LDFLAGS += -L$(BUILD_DIR_BASE)/smartconfig -lsmartconfig 4 | COMPONENT_LINKER_DEPS += 5 | COMPONENT_SUBMODULES += 6 | COMPONENT_LIBRARIES += smartconfig 7 | component-smartconfig-build: 8 | -------------------------------------------------------------------------------- /basic_source_code/hx-tim/main/Kconfig.projbuild: -------------------------------------------------------------------------------- 1 | menu "Example Configuration" 2 | 3 | config BLINK_GPIO 4 | int "Blink GPIO number" 5 | range 0 34 6 | default 5 7 | help 8 | GPIO number (IOxx) to blink on and off. 9 | 10 | Some GPIOs are used for other purposes (flash connections, etc.) and cannot be used to blink. 11 | 12 | GPIOs 35-39 are input-only so cannot be used as outputs. 13 | 14 | endmenu 15 | -------------------------------------------------------------------------------- /basic_source_code/hx-tim/main/app_main.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include "esp_types.h" 3 | #include "freertos/FreeRTOS.h" 4 | #include "freertos/task.h" 5 | #include "freertos/queue.h" 6 | #include "driver/gpio.h" 7 | #include "esp_log.h" 8 | #include "soc/timer_group_struct.h" 9 | #include "driver/periph_ctrl.h" 10 | #include "driver/timer.h" 11 | #include "esp_timer.h" 12 | 13 | #define LED_R_IO 2 14 | 15 | //定时器句柄 16 | esp_timer_handle_t fw_timer_handle = 0; 17 | 18 | void fw_timer_cb(void *arg) 19 | { 20 | //获取时间戳 21 | int64_t tick = esp_timer_get_time(); 22 | printf("timer cnt = %lld \r\n", tick); 23 | 24 | if (tick > 50000000) //50秒结束 25 | { 26 | //定时器暂停、删除 27 | esp_timer_stop(fw_timer_handle); 28 | esp_timer_delete(fw_timer_handle); 29 | printf("timer stop and delete!!! \r\n"); 30 | //重启 31 | esp_restart(); 32 | } 33 | 34 | gpio_set_level(LED_R_IO, 0); 35 | vTaskDelay(100 / portTICK_PERIOD_MS); 36 | gpio_set_level(LED_R_IO, 1); 37 | vTaskDelay(100 / portTICK_PERIOD_MS); 38 | 39 | } 40 | 41 | void app_main() { 42 | //选择IO 43 | gpio_pad_select_gpio(LED_R_IO); 44 | //设置IO为输出 45 | gpio_set_direction(LED_R_IO, GPIO_MODE_OUTPUT); 46 | 47 | //定时器结构体初始化 48 | esp_timer_create_args_t fw_timer = 49 | { 50 | .callback = &fw_timer_cb, //回调函数 51 | .arg = NULL, //参数 52 | .name = "fw_timer" //定时器名称 53 | }; 54 | 55 | //定时器创建、启动 56 | esp_err_t err = esp_timer_create(&fw_timer, &fw_timer_handle); 57 | err = esp_timer_start_periodic(fw_timer_handle, 1000 * 1000);//1秒回调 58 | if(err == ESP_OK) 59 | { 60 | printf("fw timer cteate and start ok!\r\n"); 61 | } 62 | 63 | 64 | } 65 | 66 | -------------------------------------------------------------------------------- /basic_source_code/hx-tim/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 | -------------------------------------------------------------------------------- /basic_source_code/hx-tm1638/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 := hx-tm1638 7 | 8 | include $(IDF_PATH)/make/project.mk 9 | 10 | -------------------------------------------------------------------------------- /basic_source_code/hx-tm1638/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 | -------------------------------------------------------------------------------- /basic_source_code/hx-uart/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 := hx-uart 7 | 8 | include $(IDF_PATH)/make/project.mk 9 | 10 | -------------------------------------------------------------------------------- /basic_source_code/hx-uart/build/demo-app.elf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HX-IoT/ESP32-Developer-Guide/51a7a0728e169cc757115a9d78c9259a2f82aa2c/basic_source_code/hx-uart/build/demo-app.elf -------------------------------------------------------------------------------- /basic_source_code/hx-uart/build/main/demo_app.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HX-IoT/ESP32-Developer-Guide/51a7a0728e169cc757115a9d78c9259a2f82aa2c/basic_source_code/hx-uart/build/main/demo_app.o -------------------------------------------------------------------------------- /basic_source_code/hx-uart/build/main/hx_pwm.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HX-IoT/ESP32-Developer-Guide/51a7a0728e169cc757115a9d78c9259a2f82aa2c/basic_source_code/hx-uart/build/main/hx_pwm.o -------------------------------------------------------------------------------- /basic_source_code/hx-uart/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 | -------------------------------------------------------------------------------- /bluetooth_source_code/README.md: -------------------------------------------------------------------------------- 1 | ## 源码备注 2 | 3 | 4 | 5 | ### 总结 6 | 7 | - ESP32技术交流QQ群:824870185 8 | 9 | - 作者:开源一小步 10 | 11 | - CSDN:https://blog.csdn.net/qq_24550925/ -------------------------------------------------------------------------------- /idf4.4 demo: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /wifi_source_code/README.md: -------------------------------------------------------------------------------- 1 | ## 源码备注 2 | 3 | - hx-https-mbedtls:HTTPS获取天气 4 | - hx-mqtt-domain-name:外网MQTT测试自点灯(域名) 5 | - hx-mqtt-tcp:本地MQTT交互 6 | - hx-mqtt-wan:外网MQTT测试自点灯(IP) 7 | - hx-ota:ESP32的空中升级(OTA) 8 | - hx-sc-http:HTTP获取城市温度 9 | - hx-sc:SmartConfig一键配置 10 | - hx-tcp: ESP32的TCP连接 11 | - hx-tmall:天猫精灵控制ESP32 12 | - hx-udp:ESP32的UDP广播 13 | - hx-wifi: 新建一个WIFI热点 14 | - hx-ws:ESP32的WebSocket服务器 15 | 16 | ### 总结 17 | 18 | - ESP32技术交流QQ群:824870185 19 | 20 | - 作者:开源一小步 21 | 22 | - CSDN:https://blog.csdn.net/qq_24550925/ -------------------------------------------------------------------------------- /wifi_source_code/hx-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 := hx-https-mbedtls 7 | 8 | include $(IDF_PATH)/make/project.mk 9 | 10 | -------------------------------------------------------------------------------- /wifi_source_code/hx-https-mbedtls/README.md: -------------------------------------------------------------------------------- 1 | # 前言 2 | > 这个是红旭无线开发板的第三课教程 **(ESP32的第三课:利用mbedtls获取天气预报)** 所对应的源码,主要是实现了通过按键切换不同城市然后再获取对应城市天气预报功能. 3 | 4 | # 如何使用 5 | 用户只需要将 **app**这个文件夹复制至esp32 sdk的根目录下即可,无须做任何更改.但是,有一点还是需要注意一下; 6 | - 如果在编译的过程中出现编译错误,只需要make app-clean即可.出现这种情况的可能是因为编译的时候遗留了一些文件,而这些文件由于不同人把sdk存放的目录不同而不同 7 | - 如果上面的动作编译没有问题,则再执行make app-flash即可烧录这一课的固件至你的开发板中去 8 | 9 | # 功能 10 | - 按键按照**北京**-->**上海**-->**广州**-->**深圳**这样的顺序获取对应城市当天以及未来两天的天气预报情况 11 | - 呼吸灯对应上面城市颜色变化分别为R-->G-->B-->R 12 | - 获取得到的天气预报信息均通过串口打印出来,串口的波特率为115200bps 13 | 14 | # 最后 15 | 如何在使用上有什么问题,欢迎提Issues或者到[红旭对应的无线技术论坛](http://bbs.wireless-tech.cn/forum.php)提问. 16 | -------------------------------------------------------------------------------- /wifi_source_code/hx-https-mbedtls/build/hello-world.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HX-IoT/ESP32-Developer-Guide/51a7a0728e169cc757115a9d78c9259a2f82aa2c/wifi_source_code/hx-https-mbedtls/build/hello-world.bin -------------------------------------------------------------------------------- /wifi_source_code/hx-https-mbedtls/build/main/user_app.d: -------------------------------------------------------------------------------- 1 | user_app.o: G:/Project/esp32/sdk/esp-idf-v3.0/app/main/user_app.c 2 | /g/Project/esp32/sdk/esp-idf-v3.0/app/main/./user_app.c: 3 | -------------------------------------------------------------------------------- /wifi_source_code/hx-https-mbedtls/build/main/user_driver/user_key.d: -------------------------------------------------------------------------------- 1 | user_driver/user_key.o: \ 2 | D:/Project/ESP32/sdk/esp-idf-v3.0/app/main/user_driver/user_key.c 3 | /d/Project/ESP32/sdk/esp-idf-v3.0/app/main/user_driver/user_key.c: 4 | -------------------------------------------------------------------------------- /wifi_source_code/hx-https-mbedtls/build/main/user_key.d: -------------------------------------------------------------------------------- 1 | user_key.o: D:/Project/ESP32/sdk/esp-idf-v3.0/app/main/user_key.c 2 | /d/Project/ESP32/sdk/esp-idf-v3.0/app/main/./user_key.c: 3 | -------------------------------------------------------------------------------- /wifi_source_code/hx-https-mbedtls/build/user_app.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HX-IoT/ESP32-Developer-Guide/51a7a0728e169cc757115a9d78c9259a2f82aa2c/wifi_source_code/hx-https-mbedtls/build/user_app.bin -------------------------------------------------------------------------------- /wifi_source_code/hx-https-mbedtls/build/user_app.elf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HX-IoT/ESP32-Developer-Guide/51a7a0728e169cc757115a9d78c9259a2f82aa2c/wifi_source_code/hx-https-mbedtls/build/user_app.elf -------------------------------------------------------------------------------- /wifi_source_code/hx-https-mbedtls/components/user_driver/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 | -------------------------------------------------------------------------------- /wifi_source_code/hx-https-mbedtls/components/user_driver/include/user_app.h: -------------------------------------------------------------------------------- 1 | /** 2 | * @file user_app.h 3 | * @brief 用户实现自己功能相关声明 4 | * @details 声明用户所需的结构体或者宏定义,以及函数声明 5 | * @author Helon_Chan 6 | * @par Copyright (c): 7 | * 红旭无线开发团队 8 | * @par History: 9 | * Ver0.0.1: 10 | Helon_Chan, 2018/06/19, 初始化版本\n 11 | */ 12 | #ifndef USER_APP_H_ 13 | #define USER_APP_H_ 14 | 15 | 16 | /* 17 | =========================== 18 | 宏定义 19 | =========================== 20 | */ 21 | #define R_CHANNEL LEDC_CHANNEL_0 22 | #define G_CHANNEL LEDC_CHANNEL_1 23 | #define B_CHANNEL LEDC_CHANNEL_2 24 | 25 | #define R_PIN_NUM (2) 26 | #define G_PIN_NUM (18) 27 | #define B_PIN_NUM (19) 28 | 29 | /** 30 | * 用户的按键初始化函数 31 | * @param[in] null 32 | * @retval null 33 | * @par 修改日志 34 | * Ver0.0.1: 35 | Helon_Chan, 2018/06/16, 初始化版本\n 36 | */ 37 | // void user_app_key_init(void); 38 | 39 | /** 40 | * 用户的rgb驱动初始化函数 41 | * @param[in] null 42 | * @retval null 43 | * @par 修改日志 44 | * Ver0.0.1: 45 | Helon_Chan, 2018/06/24, 初始化版本\n 46 | */ 47 | // void user_app_rgb_init(void); 48 | 49 | 50 | /** 51 | * 上电初始化任务,初始化按键,rgb等外设驱动 52 | * @param[in] null 53 | * @retval null 54 | * @par 修改日志 55 | * Ver0.0.1: 56 | Helon_Chan, 2018/06/26, 初始化版本\n 57 | */ 58 | void startup_initialization_task(void *pvParameters); 59 | #endif/* USER_APP_H_ */ -------------------------------------------------------------------------------- /wifi_source_code/hx-https-mbedtls/components/user_driver/include/user_http_s.h: -------------------------------------------------------------------------------- 1 | /** 2 | * @file user_http_s.h 3 | * @brief 获取天气预报的相关函数声明 4 | * @details 声明获取天气预报所需要的一些宏定义和函数 5 | * @author Helon_Chan 6 | * @par Copyright (c): 7 | * 红旭无线开发团队 8 | * @par History: 9 | * Ver0.0.1: 10 | Helon_Chan, 2018/06/27, 初始化版本\n 11 | */ 12 | #ifndef USER_HTTP_S_ 13 | #define USER_HTTP_S_ 14 | 15 | 16 | /* 17 | =========================== 18 | 宏定义 19 | =========================== 20 | */ 21 | 22 | /* 远程服务器的端口 */ 23 | #define REMOTE_PORT "443" 24 | /* 获取天气预报的地址 */ 25 | #define HTTPS_URL_BJ "https://api.seniverse.com/v3/weather/daily.json?key=4nik0ivxfmxfjzz1&location=beijing&language=zh-Hans&unit=c&start=0&days=5" 26 | #define HTTPS_URL_SH "https://api.seniverse.com/v3/weather/daily.json?key=4nik0ivxfmxfjzz1&location=shanghai&language=zh-Hans&unit=c&start=0&days=5" 27 | #define HTTPS_URL_GZ "https://api.seniverse.com/v3/weather/daily.json?key=4nik0ivxfmxfjzz1&location=guangzhou&language=zh-Hans&unit=c&start=0&days=5" 28 | #define HTTPS_URL_SZ "https://api.seniverse.com/v3/weather/daily.json?key=4nik0ivxfmxfjzz1&location=shenzhen&language=zh-Hans&unit=c&start=0&days=5" 29 | /* GET请求 */ 30 | #define GET "GET /%s HTTP/1.1\r\nAccept:*/*\r\nHost:%s\r\n\r\n" 31 | /* POST请求,此章节暂时不讲 */ 32 | #define POST "POST /%s HTTP/1.1\r\nAccept: */*\r\nContent-Length: %d\r\nContent-Type: application/x-www-form-urlencoded; charset=utf-8\r\nHost: %s\r\nConnection: Keep-Alive\r\n\r\n%s" 33 | /* 这里的内容由用户自己填充,具体内容用户自己填充 */ 34 | #define POST_CONTENT "example_content" 35 | 36 | 37 | #define TAG "tls_client_handle" 38 | 39 | /* 40 | =========================== 41 | 函数声明 42 | =========================== 43 | */ 44 | 45 | /** 46 | * 发起HTTPS的GET请求 47 | * @param[in] URL:HTTP的地址 48 | * @retval 0:成功 49 | * -1:失败 50 | * -2:URL解析失败 51 | * -其他的值表示获取URL的IP失败 52 | * @par 修改日志 53 | * Ver0.0.1: 54 | Helon_Chan, 2018/06/27, 初始化版本\n 55 | */ 56 | int https_request_by_GET(char *URL); 57 | #endif/* __USER_HTTPS_H__ */ 58 | -------------------------------------------------------------------------------- /wifi_source_code/hx-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 | -------------------------------------------------------------------------------- /wifi_source_code/hx-https-mbedtls/main/user_main.c: -------------------------------------------------------------------------------- 1 | /** 2 | * @file user_app_main.c 3 | * @brief 用户应用程序入口 4 | * @details 用户应用程序的入口文件,用户所有要实现的功能逻辑均是从该文件开始或者处理 5 | * @author Helon_Chan 6 | * @par Copyright (c): 7 | * 红旭无线开发团队 8 | * @par History: 9 | * Ver0.0.1: 10 | Helon_Chan, 2018/06/04, 初始化版本\n 11 | */ 12 | 13 | /* ============= 14 | 头文件包含 15 | =============*/ 16 | #include 17 | #include "esp_system.h" 18 | #include 19 | #include "user_app.h" 20 | #include 21 | #include "freertos/task.h" 22 | /** 23 | * 应用程序的函数入口 24 | * @param[in] NULL 25 | * @retval NULL 26 | * @par 修改日志 27 | * Ver0.0.1: 28 | Helon_Chan, 2018/06/04, 初始化版本\n 29 | */ 30 | void app_main() 31 | { 32 | BaseType_t task_err_code; 33 | /* 建议保留此输出打印SDK版本,用于以后出问题了可以有溯源 */ 34 | ESP_LOGI("app_main","the esp32 sdk version :%s\n", esp_get_idf_version()); 35 | task_err_code = xTaskCreate(startup_initialization_task,"startup_initialization_task",1024*4,NULL,3,NULL); 36 | if(task_err_code != pdPASS) 37 | { 38 | ESP_LOGI("app_main","startup_initialization_task create failure,reason is:%d\n", task_err_code); 39 | } 40 | } -------------------------------------------------------------------------------- /wifi_source_code/hx-mqtt-domain-name/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(mqtt_tcp) -------------------------------------------------------------------------------- /wifi_source_code/hx-mqtt-domain-name/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 | include $(IDF_PATH)/make/project.mk 8 | -------------------------------------------------------------------------------- /wifi_source_code/hx-mqtt-domain-name/README.md: -------------------------------------------------------------------------------- 1 | ESP32 MQTT交互 2 | 3 | ### 总结 4 | 5 | ESP32技术交流QQ群:824870185 6 | 7 | 作者:红旭无线团队 8 | CSDN:https://blog.csdn.net/qq_24550925/ -------------------------------------------------------------------------------- /wifi_source_code/hx-mqtt-domain-name/main/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | set(COMPONENT_SRCS "app_main.c") 2 | set(COMPONENT_ADD_INCLUDEDIRS ".") 3 | 4 | register_component() 5 | -------------------------------------------------------------------------------- /wifi_source_code/hx-mqtt-domain-name/main/Kconfig.projbuild: -------------------------------------------------------------------------------- 1 | menu "Example Configuration" 2 | 3 | config WIFI_SSID 4 | string "WiFi SSID" 5 | default "myssid" 6 | help 7 | SSID (network name) for the example to connect to. 8 | 9 | config WIFI_PASSWORD 10 | string "WiFi Password" 11 | default "mypassword" 12 | help 13 | WiFi password (WPA or WPA2) for the example to use. 14 | 15 | config BROKER_URL 16 | string "Broker URL" 17 | default "mqtt://iot.eclipse.org" 18 | help 19 | URL of the broker to connect to 20 | 21 | config BROKER_URL_FROM_STDIN 22 | bool 23 | default y if BROKER_URL = "FROM_STDIN" 24 | 25 | endmenu 26 | -------------------------------------------------------------------------------- /wifi_source_code/hx-mqtt-domain-name/main/component.mk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HX-IoT/ESP32-Developer-Guide/51a7a0728e169cc757115a9d78c9259a2f82aa2c/wifi_source_code/hx-mqtt-domain-name/main/component.mk -------------------------------------------------------------------------------- /wifi_source_code/hx-mqtt-domain-name/sdkconfig.ci: -------------------------------------------------------------------------------- 1 | CONFIG_LOG_DEFAULT_LEVEL_DEBUG=y 2 | CONFIG_BROKER_URL="FROM_STDIN" 3 | -------------------------------------------------------------------------------- /wifi_source_code/hx-mqtt-tcp/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(mqtt_tcp) -------------------------------------------------------------------------------- /wifi_source_code/hx-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 | include $(IDF_PATH)/make/project.mk 8 | -------------------------------------------------------------------------------- /wifi_source_code/hx-mqtt-tcp/README.md: -------------------------------------------------------------------------------- 1 | ESP32 MQTT交互 2 | 3 | ### 总结 4 | 5 | ESP32技术交流QQ群:824870185 6 | 7 | 作者:红旭无线团队 8 | CSDN:https://blog.csdn.net/qq_24550925/ -------------------------------------------------------------------------------- /wifi_source_code/hx-mqtt-tcp/main/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | set(COMPONENT_SRCS "app_main.c") 2 | set(COMPONENT_ADD_INCLUDEDIRS ".") 3 | 4 | register_component() 5 | -------------------------------------------------------------------------------- /wifi_source_code/hx-mqtt-tcp/main/Kconfig.projbuild: -------------------------------------------------------------------------------- 1 | menu "Example Configuration" 2 | 3 | config WIFI_SSID 4 | string "WiFi SSID" 5 | default "myssid" 6 | help 7 | SSID (network name) for the example to connect to. 8 | 9 | config WIFI_PASSWORD 10 | string "WiFi Password" 11 | default "mypassword" 12 | help 13 | WiFi password (WPA or WPA2) for the example to use. 14 | 15 | config BROKER_URL 16 | string "Broker URL" 17 | default "mqtt://iot.eclipse.org" 18 | help 19 | URL of the broker to connect to 20 | 21 | config BROKER_URL_FROM_STDIN 22 | bool 23 | default y if BROKER_URL = "FROM_STDIN" 24 | 25 | endmenu 26 | -------------------------------------------------------------------------------- /wifi_source_code/hx-mqtt-tcp/main/component.mk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HX-IoT/ESP32-Developer-Guide/51a7a0728e169cc757115a9d78c9259a2f82aa2c/wifi_source_code/hx-mqtt-tcp/main/component.mk -------------------------------------------------------------------------------- /wifi_source_code/hx-mqtt-tcp/sdkconfig.ci: -------------------------------------------------------------------------------- 1 | CONFIG_LOG_DEFAULT_LEVEL_DEBUG=y 2 | CONFIG_BROKER_URL="FROM_STDIN" 3 | -------------------------------------------------------------------------------- /wifi_source_code/hx-mqtt-wan/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(mqtt_tcp) -------------------------------------------------------------------------------- /wifi_source_code/hx-mqtt-wan/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 | include $(IDF_PATH)/make/project.mk 8 | -------------------------------------------------------------------------------- /wifi_source_code/hx-mqtt-wan/README.md: -------------------------------------------------------------------------------- 1 | ESP32 MQTT交互 2 | 3 | ### 总结 4 | 5 | ESP32技术交流QQ群:824870185 6 | 7 | 作者:红旭无线团队 8 | CSDN:https://blog.csdn.net/qq_24550925/ -------------------------------------------------------------------------------- /wifi_source_code/hx-mqtt-wan/main/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | set(COMPONENT_SRCS "app_main.c") 2 | set(COMPONENT_ADD_INCLUDEDIRS ".") 3 | 4 | register_component() 5 | -------------------------------------------------------------------------------- /wifi_source_code/hx-mqtt-wan/main/Kconfig.projbuild: -------------------------------------------------------------------------------- 1 | menu "Example Configuration" 2 | 3 | config WIFI_SSID 4 | string "WiFi SSID" 5 | default "myssid" 6 | help 7 | SSID (network name) for the example to connect to. 8 | 9 | config WIFI_PASSWORD 10 | string "WiFi Password" 11 | default "mypassword" 12 | help 13 | WiFi password (WPA or WPA2) for the example to use. 14 | 15 | config BROKER_URL 16 | string "Broker URL" 17 | default "mqtt://iot.eclipse.org" 18 | help 19 | URL of the broker to connect to 20 | 21 | config BROKER_URL_FROM_STDIN 22 | bool 23 | default y if BROKER_URL = "FROM_STDIN" 24 | 25 | endmenu 26 | -------------------------------------------------------------------------------- /wifi_source_code/hx-mqtt-wan/main/component.mk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HX-IoT/ESP32-Developer-Guide/51a7a0728e169cc757115a9d78c9259a2f82aa2c/wifi_source_code/hx-mqtt-wan/main/component.mk -------------------------------------------------------------------------------- /wifi_source_code/hx-mqtt-wan/sdkconfig.ci: -------------------------------------------------------------------------------- 1 | CONFIG_LOG_DEFAULT_LEVEL_DEBUG=y 2 | CONFIG_BROKER_URL="FROM_STDIN" 3 | -------------------------------------------------------------------------------- /wifi_source_code/hx-ota/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 := ota 7 | 8 | include $(IDF_PATH)/make/project.mk 9 | 10 | -------------------------------------------------------------------------------- /wifi_source_code/hx-ota/README.md: -------------------------------------------------------------------------------- 1 | ESP32 OTA配置 2 | 3 | ### 总结 4 | 5 | ESP32技术交流QQ群:824870185 6 | 7 | 作者:红旭无线团队 8 | CSDN:https://blog.csdn.net/qq_24550925/ -------------------------------------------------------------------------------- /wifi_source_code/hx-ota/main/Kconfig.projbuild: -------------------------------------------------------------------------------- 1 | menu "Example Configuration" 2 | 3 | config WIFI_SSID 4 | string "WiFi SSID" 5 | default "myssid" 6 | help 7 | SSID (network name) for the example to connect to. 8 | 9 | config WIFI_PASSWORD 10 | string "WiFi Password" 11 | default "myssid" 12 | help 13 | WiFi password (WPA or WPA2) for the example to use. 14 | 15 | Can be left blank if the network has no security set. 16 | 17 | config SERVER_IP 18 | string "HTTP Server IP" 19 | default "192.168.0.3" 20 | help 21 | HTTP Server IP to download the image file from. 22 | 23 | See example README.md for details. 24 | 25 | config SERVER_PORT 26 | string "HTTP Server Port" 27 | default "8070" 28 | help 29 | HTTP Server port to connect to. 30 | Should be chosen not to conflict with any other port used 31 | on the system. 32 | 33 | config EXAMPLE_FILENAME 34 | string "HTTP GET Filename" 35 | default "/hello-world.bin" 36 | help 37 | Filename of the app image file to download for 38 | the OTA update. 39 | 40 | endmenu 41 | -------------------------------------------------------------------------------- /wifi_source_code/hx-ota/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 | -------------------------------------------------------------------------------- /wifi_source_code/hx-ota/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 | -------------------------------------------------------------------------------- /wifi_source_code/hx-sc-http/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 := hx-sc 7 | 8 | include $(IDF_PATH)/make/project.mk 9 | 10 | -------------------------------------------------------------------------------- /wifi_source_code/hx-sc-http/README.md: -------------------------------------------------------------------------------- 1 | ESP32 SmartConfig一键配置后HTTP获取城市天气 2 | 3 | ### 总结 4 | 5 | ESP32技术交流QQ群:824870185 6 | 7 | 作者:红旭无线团队 8 | CSDN:https://blog.csdn.net/qq_24550925/ -------------------------------------------------------------------------------- /wifi_source_code/hx-sc-http/build/main/sc_tcp.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HX-IoT/ESP32-Developer-Guide/51a7a0728e169cc757115a9d78c9259a2f82aa2c/wifi_source_code/hx-sc-http/build/main/sc_tcp.o -------------------------------------------------------------------------------- /wifi_source_code/hx-sc-http/build/sc_tcp.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HX-IoT/ESP32-Developer-Guide/51a7a0728e169cc757115a9d78c9259a2f82aa2c/wifi_source_code/hx-sc-http/build/sc_tcp.bin -------------------------------------------------------------------------------- /wifi_source_code/hx-sc-http/build/sc_tcp.elf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HX-IoT/ESP32-Developer-Guide/51a7a0728e169cc757115a9d78c9259a2f82aa2c/wifi_source_code/hx-sc-http/build/sc_tcp.elf -------------------------------------------------------------------------------- /wifi_source_code/hx-sc-http/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 | -------------------------------------------------------------------------------- /wifi_source_code/hx-sc/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 := hx-sc 7 | 8 | include $(IDF_PATH)/make/project.mk 9 | 10 | -------------------------------------------------------------------------------- /wifi_source_code/hx-sc/README.md: -------------------------------------------------------------------------------- 1 | ESP32 SmartConfig一键配置 2 | 3 | ### 总结 4 | 5 | ESP32技术交流QQ群:824870185 6 | 7 | 作者:红旭无线团队 8 | CSDN:https://blog.csdn.net/qq_24550925/ -------------------------------------------------------------------------------- /wifi_source_code/hx-sc/build/main/sc_tcp.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HX-IoT/ESP32-Developer-Guide/51a7a0728e169cc757115a9d78c9259a2f82aa2c/wifi_source_code/hx-sc/build/main/sc_tcp.o -------------------------------------------------------------------------------- /wifi_source_code/hx-sc/build/sc_tcp.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HX-IoT/ESP32-Developer-Guide/51a7a0728e169cc757115a9d78c9259a2f82aa2c/wifi_source_code/hx-sc/build/sc_tcp.bin -------------------------------------------------------------------------------- /wifi_source_code/hx-sc/build/sc_tcp.elf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HX-IoT/ESP32-Developer-Guide/51a7a0728e169cc757115a9d78c9259a2f82aa2c/wifi_source_code/hx-sc/build/sc_tcp.elf -------------------------------------------------------------------------------- /wifi_source_code/hx-sc/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 | -------------------------------------------------------------------------------- /wifi_source_code/hx-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 | 6 | PROJECT_NAME := hx-tcp 7 | 8 | include $(IDF_PATH)/make/project.mk 9 | 10 | -------------------------------------------------------------------------------- /wifi_source_code/hx-tcp/README.md: -------------------------------------------------------------------------------- 1 | ESP32 TCP服务器和客户端测试 2 | 3 | ### 总结 4 | 5 | ESP32技术交流QQ群:824870185 6 | 7 | 作者:红旭无线团队 8 | CSDN:https://blog.csdn.net/qq_24550925/ -------------------------------------------------------------------------------- /wifi_source_code/hx-tcp/build/bsp/tcp.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HX-IoT/ESP32-Developer-Guide/51a7a0728e169cc757115a9d78c9259a2f82aa2c/wifi_source_code/hx-tcp/build/bsp/tcp.o -------------------------------------------------------------------------------- /wifi_source_code/hx-tcp/build/main/tcp_main.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HX-IoT/ESP32-Developer-Guide/51a7a0728e169cc757115a9d78c9259a2f82aa2c/wifi_source_code/hx-tcp/build/main/tcp_main.o -------------------------------------------------------------------------------- /wifi_source_code/hx-tcp/build/main/xuhong_Tcp.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HX-IoT/ESP32-Developer-Guide/51a7a0728e169cc757115a9d78c9259a2f82aa2c/wifi_source_code/hx-tcp/build/main/xuhong_Tcp.o -------------------------------------------------------------------------------- /wifi_source_code/hx-tcp/components/bsp/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 | -------------------------------------------------------------------------------- /wifi_source_code/hx-tcp/components/bsp/include/tcp_bsp.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef __TCP_BSP_H__ 3 | #define __TCP_BSP_H__ 4 | 5 | 6 | 7 | #ifdef __cplusplus 8 | extern "C" { 9 | #endif 10 | 11 | 12 | #ifndef FALSE 13 | #define FALSE 0 14 | #endif 15 | 16 | #ifndef TRUE 17 | #define TRUE (!FALSE) 18 | #endif 19 | 20 | #define TCP_SERVER_CLIENT_OPTION FALSE //esp32作为client 21 | //#define TCP_SERVER_CLIENT_OPTION TRUE //esp32作为server 22 | 23 | #define TAG "HX-TCP" //打印的tag 24 | 25 | //server 26 | //AP热点模式的配置信息 27 | #define SOFT_AP_SSID "HX-TCP-SERVER" //账号 28 | #define SOFT_AP_PAS "" //密码,可以为空 29 | #define SOFT_AP_MAX_CONNECT 1 //最多的连接点 30 | 31 | //client 32 | //STA模式配置信息,即要连上的路由器的账号密码 33 | #define GATEWAY_SSID "Massky_AP" //账号 34 | #define GATEWAY_PAS "ztl62066206" //密码 35 | #define TCP_SERVER_ADRESS "192.168.169.212" //作为client,要连接TCP服务器地址 36 | #define TCP_PORT 12345 //统一的端口号,包括TCP客户端或者服务端 37 | 38 | // FreeRTOS event group to signal when we are connected to wifi 39 | #define WIFI_CONNECTED_BIT BIT0 40 | extern EventGroupHandle_t tcp_event_group; 41 | 42 | extern int g_total_data; 43 | extern bool g_rxtx_need_restart; 44 | 45 | 46 | //using esp as station 47 | void wifi_init_sta(); 48 | //using esp as softap 49 | void wifi_init_softap(); 50 | 51 | //create a tcp server socket. return ESP_OK:success ESP_FAIL:error 52 | esp_err_t create_tcp_server(bool isCreatServer); 53 | //create a tcp client socket. return ESP_OK:success ESP_FAIL:error 54 | esp_err_t create_tcp_client(); 55 | 56 | // //send data task 57 | // void send_data(void *pvParameters); 58 | //receive data task 59 | void recv_data(void *pvParameters); 60 | 61 | //close all socket 62 | void close_socket(); 63 | 64 | //get socket error code. return: error code 65 | int get_socket_error_code(int socket); 66 | 67 | //show socket error code. return: error code 68 | int show_socket_error_reason(const char* str, int socket); 69 | 70 | //check working socket 71 | int check_working_socket(); 72 | 73 | 74 | #ifdef __cplusplus 75 | } 76 | #endif 77 | 78 | 79 | #endif /*#ifndef __TCP_BSP_H__*/ 80 | 81 | -------------------------------------------------------------------------------- /wifi_source_code/hx-tcp/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 | -------------------------------------------------------------------------------- /wifi_source_code/hx-tmall/.vscode/c_cpp_properties.json: -------------------------------------------------------------------------------- 1 | { 2 | "configurations": [ 3 | { 4 | "name": "Win32", 5 | "includePath": [ 6 | "${workspaceRoot}", 7 | "D:\\Project\\ESP32\\esp\\esp-idf\\components", 8 | "D:/Project/ESP32/esp/esp-idf/components/newlib/include", 9 | "D:/Project/ESP32/esp/esp-idf/components/esp32/include", 10 | "${workspaceFolder}/components/user_driver/include", 11 | "D:/Project/Espressif/ESP-IDF Tools/toolchain/lib/gcc/xtensa-esp32-elf/5.2.0/include", 12 | "D:/Project/ESP32/esp/esp-idf/components/driver/include", 13 | "D:/Project/ESP32/esp/esp-idf/components/soc/esp32/include", 14 | "D:/Project/ESP32/esp/esp-idf/components/freertos/include", 15 | "${workspaceFolder}/build/config", 16 | "D:/Project/ESP32/esp/esp-idf/components/log/include", 17 | "D:/Project/ESP32/esp/esp-idf/components/heap/include", 18 | "D:/Project/ESP32/esp/esp-idf/components/soc/include", 19 | "D:/Project/ESP32/esp/esp-idf/components/spi_flash/include", 20 | "D:/Project/ESP32/esp/esp-idf/components/tcpip_adapter/include", 21 | "D:/Project/ESP32/esp/esp-idf/components/lwip/include/lwip", 22 | "D:/Project/ESP32/esp/esp-idf/components/lwip/include/lwip/port", 23 | "D:/Project/ESP32/esp/esp-idf/components/vfs/include", 24 | "D:/Project/ESP32/esp/esp-idf/components/nvs_flash/include", 25 | "D:/Project/ESP32/esp/esp-idf/components/newlib/platform_include", 26 | "D:/Project/ESP32/esp/esp-idf/components/mbedtls/mbedtls/include", 27 | "D:/Project/ESP32/esp/esp-idf/components/json/cJSON", 28 | "D:/Project/ESP32/esp/esp-idf/components/wpa_supplicant/port/include" 29 | ], 30 | "browse": { 31 | "limitSymbolsToIncludedHeaders": true, 32 | "databaseFilename": "", 33 | "path": [ 34 | "${workspaceRoot}", 35 | "D:\\Project\\ESP32\\esp\\esp-idf\\components", 36 | "D:\\Project\\Espressif\\ESP-IDF Tools\\toolchain" 37 | ] 38 | }, 39 | "intelliSenseMode": "clang-x64" 40 | } 41 | ], 42 | "version": 4 43 | } -------------------------------------------------------------------------------- /wifi_source_code/hx-tmall/.vscode/settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "files.associations": { 3 | "platform.h": "c", 4 | "os.h": "c", 5 | "esp_spi_flash.h": "c", 6 | "nvs_flash.h": "c", 7 | "stdio.h": "c", 8 | "user_tmall_genie.h": "c", 9 | "cjson.h": "c", 10 | "ssl.h": "c", 11 | "ctr_drbg.h": "c", 12 | "md5.h": "c" 13 | } 14 | } -------------------------------------------------------------------------------- /wifi_source_code/hx-tmall/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 | set(MAIN_SRCS main/user_main.c) 6 | 7 | include($ENV{IDF_PATH}/tools/cmake/project.cmake) 8 | project(user_app) -------------------------------------------------------------------------------- /wifi_source_code/hx-tmall/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 := user_app 7 | 8 | include $(IDF_PATH)/make/project.mk 9 | 10 | -------------------------------------------------------------------------------- /wifi_source_code/hx-tmall/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 | -------------------------------------------------------------------------------- /wifi_source_code/hx-tmall/build/.ninja_deps: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HX-IoT/ESP32-Developer-Guide/51a7a0728e169cc757115a9d78c9259a2f82aa2c/wifi_source_code/hx-tmall/build/.ninja_deps -------------------------------------------------------------------------------- /wifi_source_code/hx-tmall/build/CMakeFiles/3.11.1/CMakeASMCompiler.cmake: -------------------------------------------------------------------------------- 1 | set(CMAKE_ASM_COMPILER "D:/Project/Espressif/ESP-IDF Tools/toolchain/bin/xtensa-esp32-elf-gcc.exe") 2 | set(CMAKE_ASM_COMPILER_ARG1 "") 3 | set(CMAKE_AR "D:/Project/Espressif/ESP-IDF Tools/toolchain/bin/xtensa-esp32-elf-ar.exe") 4 | set(CMAKE_ASM_COMPILER_AR "D:/Project/Espressif/ESP-IDF Tools/toolchain/bin/xtensa-esp32-elf-gcc-ar.exe") 5 | set(CMAKE_RANLIB "D:/Project/Espressif/ESP-IDF Tools/toolchain/bin/xtensa-esp32-elf-ranlib.exe") 6 | set(CMAKE_ASM_COMPILER_RANLIB "D:/Project/Espressif/ESP-IDF Tools/toolchain/bin/xtensa-esp32-elf-gcc-ranlib.exe") 7 | set(CMAKE_LINKER "D:/Project/Espressif/ESP-IDF Tools/toolchain/bin/xtensa-esp32-elf-ld.exe") 8 | set(CMAKE_ASM_COMPILER_LOADED 1) 9 | set(CMAKE_ASM_COMPILER_ID "GNU") 10 | set(CMAKE_ASM_COMPILER_VERSION "") 11 | set(CMAKE_ASM_COMPILER_ENV_VAR "ASM") 12 | 13 | 14 | set(CMAKE_ASM_IGNORE_EXTENSIONS h;H;o;O;obj;OBJ;def;DEF;rc;RC) 15 | set(CMAKE_ASM_LINKER_PREFERENCE 0) 16 | 17 | 18 | -------------------------------------------------------------------------------- /wifi_source_code/hx-tmall/build/CMakeFiles/3.11.1/CMakeDetermineCompilerABI_C.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HX-IoT/ESP32-Developer-Guide/51a7a0728e169cc757115a9d78c9259a2f82aa2c/wifi_source_code/hx-tmall/build/CMakeFiles/3.11.1/CMakeDetermineCompilerABI_C.bin -------------------------------------------------------------------------------- /wifi_source_code/hx-tmall/build/CMakeFiles/3.11.1/CMakeDetermineCompilerABI_CXX.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HX-IoT/ESP32-Developer-Guide/51a7a0728e169cc757115a9d78c9259a2f82aa2c/wifi_source_code/hx-tmall/build/CMakeFiles/3.11.1/CMakeDetermineCompilerABI_CXX.bin -------------------------------------------------------------------------------- /wifi_source_code/hx-tmall/build/CMakeFiles/3.11.1/CMakeSystem.cmake: -------------------------------------------------------------------------------- 1 | set(CMAKE_HOST_SYSTEM "Windows-10.0.17134") 2 | set(CMAKE_HOST_SYSTEM_NAME "Windows") 3 | set(CMAKE_HOST_SYSTEM_VERSION "10.0.17134") 4 | set(CMAKE_HOST_SYSTEM_PROCESSOR "AMD64") 5 | 6 | include("D:/Project/ESP32/esp/esp-idf/tools/cmake/toolchain-esp32.cmake") 7 | 8 | set(CMAKE_SYSTEM "Generic") 9 | set(CMAKE_SYSTEM_NAME "Generic") 10 | set(CMAKE_SYSTEM_VERSION "") 11 | set(CMAKE_SYSTEM_PROCESSOR "") 12 | 13 | set(CMAKE_CROSSCOMPILING "TRUE") 14 | 15 | set(CMAKE_SYSTEM_LOADED 1) 16 | -------------------------------------------------------------------------------- /wifi_source_code/hx-tmall/build/CMakeFiles/CMakeError.log: -------------------------------------------------------------------------------- 1 | Compiling the C compiler identification source file "CMakeCCompilerId.c" failed. 2 | Compiler: D:/Project/Espressif/ESP-IDF Tools/toolchain/bin/xtensa-esp32-elf-gcc.exe 3 | Build flags: 4 | Id flags: 5 | 6 | The output was: 7 | 1 8 | d:/project/espressif/esp-idf tools/toolchain/bin/../lib/gcc/xtensa-esp32-elf/5.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: cannot find crt1-sim.o: No such file or directory 9 | d:/project/espressif/esp-idf tools/toolchain/bin/../lib/gcc/xtensa-esp32-elf/5.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: cannot find _vectors.o: No such file or directory 10 | d:/project/espressif/esp-idf tools/toolchain/bin/../lib/gcc/xtensa-esp32-elf/5.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: cannot find -lsim 11 | d:/project/espressif/esp-idf tools/toolchain/bin/../lib/gcc/xtensa-esp32-elf/5.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: cannot find -lhandlers-sim 12 | d:/project/espressif/esp-idf tools/toolchain/bin/../lib/gcc/xtensa-esp32-elf/5.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: cannot find -lhal 13 | collect2.exe: error: ld returned 1 exit status 14 | 15 | 16 | Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed. 17 | Compiler: D:/Project/Espressif/ESP-IDF Tools/toolchain/bin/xtensa-esp32-elf-g++.exe 18 | Build flags: 19 | Id flags: 20 | 21 | The output was: 22 | 1 23 | d:/project/espressif/esp-idf tools/toolchain/bin/../lib/gcc/xtensa-esp32-elf/5.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: cannot find crt1-sim.o: No such file or directory 24 | d:/project/espressif/esp-idf tools/toolchain/bin/../lib/gcc/xtensa-esp32-elf/5.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: cannot find _vectors.o: No such file or directory 25 | d:/project/espressif/esp-idf tools/toolchain/bin/../lib/gcc/xtensa-esp32-elf/5.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: cannot find -lsim 26 | d:/project/espressif/esp-idf tools/toolchain/bin/../lib/gcc/xtensa-esp32-elf/5.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: cannot find -lhandlers-sim 27 | d:/project/espressif/esp-idf tools/toolchain/bin/../lib/gcc/xtensa-esp32-elf/5.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: cannot find -lhal 28 | collect2.exe: error: ld returned 1 exit status 29 | 30 | 31 | -------------------------------------------------------------------------------- /wifi_source_code/hx-tmall/build/CMakeFiles/bootloader-complete: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HX-IoT/ESP32-Developer-Guide/51a7a0728e169cc757115a9d78c9259a2f82aa2c/wifi_source_code/hx-tmall/build/CMakeFiles/bootloader-complete -------------------------------------------------------------------------------- /wifi_source_code/hx-tmall/build/CMakeFiles/bootloader.dir/Labels.json: -------------------------------------------------------------------------------- 1 | { 2 | "sources" : 3 | [ 4 | { 5 | "file" : "C:/Users/Administrator/Desktop/app/build/CMakeFiles/bootloader" 6 | }, 7 | { 8 | "file" : "C:/Users/Administrator/Desktop/app/build/CMakeFiles/bootloader.rule" 9 | }, 10 | { 11 | "file" : "C:/Users/Administrator/Desktop/app/build/CMakeFiles/bootloader-complete.rule" 12 | }, 13 | { 14 | "file" : "C:/Users/Administrator/Desktop/app/build/bootloader-prefix/src/bootloader-stamp/bootloader-install.rule" 15 | }, 16 | { 17 | "file" : "C:/Users/Administrator/Desktop/app/build/bootloader-prefix/src/bootloader-stamp/bootloader-mkdir.rule" 18 | }, 19 | { 20 | "file" : "C:/Users/Administrator/Desktop/app/build/bootloader-prefix/src/bootloader-stamp/bootloader-download.rule" 21 | }, 22 | { 23 | "file" : "C:/Users/Administrator/Desktop/app/build/bootloader-prefix/src/bootloader-stamp/bootloader-update.rule" 24 | }, 25 | { 26 | "file" : "C:/Users/Administrator/Desktop/app/build/bootloader-prefix/src/bootloader-stamp/bootloader-patch.rule" 27 | }, 28 | { 29 | "file" : "C:/Users/Administrator/Desktop/app/build/bootloader-prefix/src/bootloader-stamp/bootloader-configure.rule" 30 | }, 31 | { 32 | "file" : "C:/Users/Administrator/Desktop/app/build/bootloader-prefix/src/bootloader-stamp/bootloader-build.rule" 33 | } 34 | ], 35 | "target" : 36 | { 37 | "labels" : 38 | [ 39 | "bootloader" 40 | ], 41 | "name" : "bootloader" 42 | } 43 | } -------------------------------------------------------------------------------- /wifi_source_code/hx-tmall/build/CMakeFiles/bootloader.dir/Labels.txt: -------------------------------------------------------------------------------- 1 | # Target labels 2 | bootloader 3 | # Source files and their labels 4 | C:/Users/Administrator/Desktop/app/build/CMakeFiles/bootloader 5 | C:/Users/Administrator/Desktop/app/build/CMakeFiles/bootloader.rule 6 | C:/Users/Administrator/Desktop/app/build/CMakeFiles/bootloader-complete.rule 7 | C:/Users/Administrator/Desktop/app/build/bootloader-prefix/src/bootloader-stamp/bootloader-install.rule 8 | C:/Users/Administrator/Desktop/app/build/bootloader-prefix/src/bootloader-stamp/bootloader-mkdir.rule 9 | C:/Users/Administrator/Desktop/app/build/bootloader-prefix/src/bootloader-stamp/bootloader-download.rule 10 | C:/Users/Administrator/Desktop/app/build/bootloader-prefix/src/bootloader-stamp/bootloader-update.rule 11 | C:/Users/Administrator/Desktop/app/build/bootloader-prefix/src/bootloader-stamp/bootloader-patch.rule 12 | C:/Users/Administrator/Desktop/app/build/bootloader-prefix/src/bootloader-stamp/bootloader-configure.rule 13 | C:/Users/Administrator/Desktop/app/build/bootloader-prefix/src/bootloader-stamp/bootloader-build.rule 14 | -------------------------------------------------------------------------------- /wifi_source_code/hx-tmall/build/CMakeFiles/cmake.check_cache: -------------------------------------------------------------------------------- 1 | # This file is generated by cmake for dependency checking of the CMakeCache.txt file 2 | -------------------------------------------------------------------------------- /wifi_source_code/hx-tmall/build/CMakeFiles/feature_tests.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HX-IoT/ESP32-Developer-Guide/51a7a0728e169cc757115a9d78c9259a2f82aa2c/wifi_source_code/hx-tmall/build/CMakeFiles/feature_tests.bin -------------------------------------------------------------------------------- /wifi_source_code/hx-tmall/build/CMakeFiles/feature_tests.c: -------------------------------------------------------------------------------- 1 | 2 | const char features[] = {"\n" 3 | "C_FEATURE:" 4 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 304 5 | "1" 6 | #else 7 | "0" 8 | #endif 9 | "c_function_prototypes\n" 10 | "C_FEATURE:" 11 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 304 && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L 12 | "1" 13 | #else 14 | "0" 15 | #endif 16 | "c_restrict\n" 17 | "C_FEATURE:" 18 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 406 && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 201000L 19 | "1" 20 | #else 21 | "0" 22 | #endif 23 | "c_static_assert\n" 24 | "C_FEATURE:" 25 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 304 && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L 26 | "1" 27 | #else 28 | "0" 29 | #endif 30 | "c_variadic_macros\n" 31 | 32 | }; 33 | 34 | int main(int argc, char** argv) { (void)argv; return features[argc]; } 35 | -------------------------------------------------------------------------------- /wifi_source_code/hx-tmall/build/CMakeFiles/git-data/HEAD: -------------------------------------------------------------------------------- 1 | ref: refs/heads/feature/cmake 2 | -------------------------------------------------------------------------------- /wifi_source_code/hx-tmall/build/CMakeFiles/git-data/grabRef.cmake: -------------------------------------------------------------------------------- 1 | # 2 | # Internal file for GetGitRevisionDescription.cmake 3 | # 4 | # Requires CMake 2.6 or newer (uses the 'function' command) 5 | # 6 | # Original Author: 7 | # 2009-2010 Ryan Pavlik 8 | # http://academic.cleardefinition.com 9 | # Iowa State University HCI Graduate Program/VRAC 10 | # 11 | # Copyright Iowa State University 2009-2010. 12 | # Distributed under the Boost Software License, Version 1.0. 13 | # (See accompanying file LICENSE_1_0.txt or copy at 14 | # http://www.boost.org/LICENSE_1_0.txt) 15 | 16 | set(HEAD_HASH) 17 | 18 | file(READ "C:/Users/Administrator/Desktop/app/build/CMakeFiles/git-data/HEAD" HEAD_CONTENTS LIMIT 1024) 19 | 20 | string(STRIP "${HEAD_CONTENTS}" HEAD_CONTENTS) 21 | if(HEAD_CONTENTS MATCHES "ref") 22 | # named branch 23 | string(REPLACE "ref: " "" HEAD_REF "${HEAD_CONTENTS}") 24 | if(EXISTS "D:/Project/ESP32/esp/esp-idf/.git/${HEAD_REF}") 25 | configure_file("D:/Project/ESP32/esp/esp-idf/.git/${HEAD_REF}" "C:/Users/Administrator/Desktop/app/build/CMakeFiles/git-data/head-ref" COPYONLY) 26 | else() 27 | configure_file("D:/Project/ESP32/esp/esp-idf/.git/packed-refs" "C:/Users/Administrator/Desktop/app/build/CMakeFiles/git-data/packed-refs" COPYONLY) 28 | file(READ "C:/Users/Administrator/Desktop/app/build/CMakeFiles/git-data/packed-refs" PACKED_REFS) 29 | if(${PACKED_REFS} MATCHES "([0-9a-z]*) ${HEAD_REF}") 30 | set(HEAD_HASH "${CMAKE_MATCH_1}") 31 | endif() 32 | endif() 33 | else() 34 | # detached HEAD 35 | configure_file("D:/Project/ESP32/esp/esp-idf/.git/HEAD" "C:/Users/Administrator/Desktop/app/build/CMakeFiles/git-data/head-ref" COPYONLY) 36 | endif() 37 | 38 | if(NOT HEAD_HASH) 39 | file(READ "C:/Users/Administrator/Desktop/app/build/CMakeFiles/git-data/head-ref" HEAD_HASH LIMIT 1024) 40 | string(STRIP "${HEAD_HASH}" HEAD_HASH) 41 | endif() 42 | -------------------------------------------------------------------------------- /wifi_source_code/hx-tmall/build/CMakeFiles/git-data/head-ref: -------------------------------------------------------------------------------- 1 | e7faa1d851556bcfa05cf512175fe3e10463484b 2 | -------------------------------------------------------------------------------- /wifi_source_code/hx-tmall/build/app_trace/cmake_install.cmake: -------------------------------------------------------------------------------- 1 | # Install script for directory: D:/Project/ESP32/esp/esp-idf/components/app_trace 2 | 3 | # Set the install prefix 4 | if(NOT DEFINED CMAKE_INSTALL_PREFIX) 5 | set(CMAKE_INSTALL_PREFIX "C:/Program Files (x86)/user_app") 6 | endif() 7 | string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") 8 | 9 | # Set the install configuration name. 10 | if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) 11 | if(BUILD_TYPE) 12 | string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" 13 | CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") 14 | else() 15 | set(CMAKE_INSTALL_CONFIG_NAME "") 16 | endif() 17 | message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") 18 | endif() 19 | 20 | # Set the component getting installed. 21 | if(NOT CMAKE_INSTALL_COMPONENT) 22 | if(COMPONENT) 23 | message(STATUS "Install component: \"${COMPONENT}\"") 24 | set(CMAKE_INSTALL_COMPONENT "${COMPONENT}") 25 | else() 26 | set(CMAKE_INSTALL_COMPONENT) 27 | endif() 28 | endif() 29 | 30 | # Is this installation the result of a crosscompile? 31 | if(NOT DEFINED CMAKE_CROSSCOMPILING) 32 | set(CMAKE_CROSSCOMPILING "TRUE") 33 | endif() 34 | 35 | -------------------------------------------------------------------------------- /wifi_source_code/hx-tmall/build/app_update/cmake_install.cmake: -------------------------------------------------------------------------------- 1 | # Install script for directory: D:/Project/ESP32/esp/esp-idf/components/app_update 2 | 3 | # Set the install prefix 4 | if(NOT DEFINED CMAKE_INSTALL_PREFIX) 5 | set(CMAKE_INSTALL_PREFIX "C:/Program Files (x86)/user_app") 6 | endif() 7 | string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") 8 | 9 | # Set the install configuration name. 10 | if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) 11 | if(BUILD_TYPE) 12 | string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" 13 | CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") 14 | else() 15 | set(CMAKE_INSTALL_CONFIG_NAME "") 16 | endif() 17 | message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") 18 | endif() 19 | 20 | # Set the component getting installed. 21 | if(NOT CMAKE_INSTALL_COMPONENT) 22 | if(COMPONENT) 23 | message(STATUS "Install component: \"${COMPONENT}\"") 24 | set(CMAKE_INSTALL_COMPONENT "${COMPONENT}") 25 | else() 26 | set(CMAKE_INSTALL_COMPONENT) 27 | endif() 28 | endif() 29 | 30 | # Is this installation the result of a crosscompile? 31 | if(NOT DEFINED CMAKE_CROSSCOMPILING) 32 | set(CMAKE_CROSSCOMPILING "TRUE") 33 | endif() 34 | 35 | -------------------------------------------------------------------------------- /wifi_source_code/hx-tmall/build/aws_iot/cmake_install.cmake: -------------------------------------------------------------------------------- 1 | # Install script for directory: D:/Project/ESP32/esp/esp-idf/components/aws_iot 2 | 3 | # Set the install prefix 4 | if(NOT DEFINED CMAKE_INSTALL_PREFIX) 5 | set(CMAKE_INSTALL_PREFIX "C:/Program Files (x86)/user_app") 6 | endif() 7 | string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") 8 | 9 | # Set the install configuration name. 10 | if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) 11 | if(BUILD_TYPE) 12 | string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" 13 | CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") 14 | else() 15 | set(CMAKE_INSTALL_CONFIG_NAME "") 16 | endif() 17 | message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") 18 | endif() 19 | 20 | # Set the component getting installed. 21 | if(NOT CMAKE_INSTALL_COMPONENT) 22 | if(COMPONENT) 23 | message(STATUS "Install component: \"${COMPONENT}\"") 24 | set(CMAKE_INSTALL_COMPONENT "${COMPONENT}") 25 | else() 26 | set(CMAKE_INSTALL_COMPONENT) 27 | endif() 28 | endif() 29 | 30 | # Is this installation the result of a crosscompile? 31 | if(NOT DEFINED CMAKE_CROSSCOMPILING) 32 | set(CMAKE_CROSSCOMPILING "TRUE") 33 | endif() 34 | 35 | -------------------------------------------------------------------------------- /wifi_source_code/hx-tmall/build/bootloader-prefix/src/bootloader-stamp/bootloader-configure: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HX-IoT/ESP32-Developer-Guide/51a7a0728e169cc757115a9d78c9259a2f82aa2c/wifi_source_code/hx-tmall/build/bootloader-prefix/src/bootloader-stamp/bootloader-configure -------------------------------------------------------------------------------- /wifi_source_code/hx-tmall/build/bootloader-prefix/src/bootloader-stamp/bootloader-done: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HX-IoT/ESP32-Developer-Guide/51a7a0728e169cc757115a9d78c9259a2f82aa2c/wifi_source_code/hx-tmall/build/bootloader-prefix/src/bootloader-stamp/bootloader-done -------------------------------------------------------------------------------- /wifi_source_code/hx-tmall/build/bootloader-prefix/src/bootloader-stamp/bootloader-download: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HX-IoT/ESP32-Developer-Guide/51a7a0728e169cc757115a9d78c9259a2f82aa2c/wifi_source_code/hx-tmall/build/bootloader-prefix/src/bootloader-stamp/bootloader-download -------------------------------------------------------------------------------- /wifi_source_code/hx-tmall/build/bootloader-prefix/src/bootloader-stamp/bootloader-install: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HX-IoT/ESP32-Developer-Guide/51a7a0728e169cc757115a9d78c9259a2f82aa2c/wifi_source_code/hx-tmall/build/bootloader-prefix/src/bootloader-stamp/bootloader-install -------------------------------------------------------------------------------- /wifi_source_code/hx-tmall/build/bootloader-prefix/src/bootloader-stamp/bootloader-mkdir: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HX-IoT/ESP32-Developer-Guide/51a7a0728e169cc757115a9d78c9259a2f82aa2c/wifi_source_code/hx-tmall/build/bootloader-prefix/src/bootloader-stamp/bootloader-mkdir -------------------------------------------------------------------------------- /wifi_source_code/hx-tmall/build/bootloader-prefix/src/bootloader-stamp/bootloader-patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HX-IoT/ESP32-Developer-Guide/51a7a0728e169cc757115a9d78c9259a2f82aa2c/wifi_source_code/hx-tmall/build/bootloader-prefix/src/bootloader-stamp/bootloader-patch -------------------------------------------------------------------------------- /wifi_source_code/hx-tmall/build/bootloader-prefix/src/bootloader-stamp/bootloader-update: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HX-IoT/ESP32-Developer-Guide/51a7a0728e169cc757115a9d78c9259a2f82aa2c/wifi_source_code/hx-tmall/build/bootloader-prefix/src/bootloader-stamp/bootloader-update -------------------------------------------------------------------------------- /wifi_source_code/hx-tmall/build/bootloader-prefix/tmp/bootloader-cfgcmd.txt: -------------------------------------------------------------------------------- 1 | cmd='C:/Program Files/CMake/bin/cmake.exe;-DSDKCONFIG=C:/Users/Administrator/Desktop/app/sdkconfig;-DIDF_PATH=D:/Project/ESP32/esp/esp-idf;-GNinja;' 2 | -------------------------------------------------------------------------------- /wifi_source_code/hx-tmall/build/bootloader-prefix/tmp/bootloader-cfgcmd.txt.in: -------------------------------------------------------------------------------- 1 | cmd='@cmd@' 2 | -------------------------------------------------------------------------------- /wifi_source_code/hx-tmall/build/bootloader/.ninja_deps: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HX-IoT/ESP32-Developer-Guide/51a7a0728e169cc757115a9d78c9259a2f82aa2c/wifi_source_code/hx-tmall/build/bootloader/.ninja_deps -------------------------------------------------------------------------------- /wifi_source_code/hx-tmall/build/bootloader/CMakeFiles/3.11.1/CMakeASMCompiler.cmake: -------------------------------------------------------------------------------- 1 | set(CMAKE_ASM_COMPILER "D:/Project/Espressif/ESP-IDF Tools/toolchain/bin/xtensa-esp32-elf-gcc.exe") 2 | set(CMAKE_ASM_COMPILER_ARG1 "") 3 | set(CMAKE_AR "D:/Project/Espressif/ESP-IDF Tools/toolchain/bin/xtensa-esp32-elf-ar.exe") 4 | set(CMAKE_ASM_COMPILER_AR "D:/Project/Espressif/ESP-IDF Tools/toolchain/bin/xtensa-esp32-elf-gcc-ar.exe") 5 | set(CMAKE_RANLIB "D:/Project/Espressif/ESP-IDF Tools/toolchain/bin/xtensa-esp32-elf-ranlib.exe") 6 | set(CMAKE_ASM_COMPILER_RANLIB "D:/Project/Espressif/ESP-IDF Tools/toolchain/bin/xtensa-esp32-elf-gcc-ranlib.exe") 7 | set(CMAKE_LINKER "D:/Project/Espressif/ESP-IDF Tools/toolchain/bin/xtensa-esp32-elf-ld.exe") 8 | set(CMAKE_ASM_COMPILER_LOADED 1) 9 | set(CMAKE_ASM_COMPILER_ID "GNU") 10 | set(CMAKE_ASM_COMPILER_VERSION "") 11 | set(CMAKE_ASM_COMPILER_ENV_VAR "ASM") 12 | 13 | 14 | set(CMAKE_ASM_IGNORE_EXTENSIONS h;H;o;O;obj;OBJ;def;DEF;rc;RC) 15 | set(CMAKE_ASM_LINKER_PREFERENCE 0) 16 | 17 | 18 | -------------------------------------------------------------------------------- /wifi_source_code/hx-tmall/build/bootloader/CMakeFiles/3.11.1/CMakeDetermineCompilerABI_C.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HX-IoT/ESP32-Developer-Guide/51a7a0728e169cc757115a9d78c9259a2f82aa2c/wifi_source_code/hx-tmall/build/bootloader/CMakeFiles/3.11.1/CMakeDetermineCompilerABI_C.bin -------------------------------------------------------------------------------- /wifi_source_code/hx-tmall/build/bootloader/CMakeFiles/3.11.1/CMakeDetermineCompilerABI_CXX.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HX-IoT/ESP32-Developer-Guide/51a7a0728e169cc757115a9d78c9259a2f82aa2c/wifi_source_code/hx-tmall/build/bootloader/CMakeFiles/3.11.1/CMakeDetermineCompilerABI_CXX.bin -------------------------------------------------------------------------------- /wifi_source_code/hx-tmall/build/bootloader/CMakeFiles/3.11.1/CMakeSystem.cmake: -------------------------------------------------------------------------------- 1 | set(CMAKE_HOST_SYSTEM "Windows-10.0.17134") 2 | set(CMAKE_HOST_SYSTEM_NAME "Windows") 3 | set(CMAKE_HOST_SYSTEM_VERSION "10.0.17134") 4 | set(CMAKE_HOST_SYSTEM_PROCESSOR "AMD64") 5 | 6 | include("D:/Project/ESP32/esp/esp-idf/tools/cmake/toolchain-esp32.cmake") 7 | 8 | set(CMAKE_SYSTEM "Generic") 9 | set(CMAKE_SYSTEM_NAME "Generic") 10 | set(CMAKE_SYSTEM_VERSION "") 11 | set(CMAKE_SYSTEM_PROCESSOR "") 12 | 13 | set(CMAKE_CROSSCOMPILING "TRUE") 14 | 15 | set(CMAKE_SYSTEM_LOADED 1) 16 | -------------------------------------------------------------------------------- /wifi_source_code/hx-tmall/build/bootloader/CMakeFiles/CMakeError.log: -------------------------------------------------------------------------------- 1 | Compiling the C compiler identification source file "CMakeCCompilerId.c" failed. 2 | Compiler: D:/Project/Espressif/ESP-IDF Tools/toolchain/bin/xtensa-esp32-elf-gcc.exe 3 | Build flags: 4 | Id flags: 5 | 6 | The output was: 7 | 1 8 | d:/project/espressif/esp-idf tools/toolchain/bin/../lib/gcc/xtensa-esp32-elf/5.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: cannot find crt1-sim.o: No such file or directory 9 | d:/project/espressif/esp-idf tools/toolchain/bin/../lib/gcc/xtensa-esp32-elf/5.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: cannot find _vectors.o: No such file or directory 10 | d:/project/espressif/esp-idf tools/toolchain/bin/../lib/gcc/xtensa-esp32-elf/5.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: cannot find -lsim 11 | d:/project/espressif/esp-idf tools/toolchain/bin/../lib/gcc/xtensa-esp32-elf/5.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: cannot find -lhandlers-sim 12 | d:/project/espressif/esp-idf tools/toolchain/bin/../lib/gcc/xtensa-esp32-elf/5.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: cannot find -lhal 13 | collect2.exe: error: ld returned 1 exit status 14 | 15 | 16 | Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed. 17 | Compiler: D:/Project/Espressif/ESP-IDF Tools/toolchain/bin/xtensa-esp32-elf-g++.exe 18 | Build flags: 19 | Id flags: 20 | 21 | The output was: 22 | 1 23 | d:/project/espressif/esp-idf tools/toolchain/bin/../lib/gcc/xtensa-esp32-elf/5.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: cannot find crt1-sim.o: No such file or directory 24 | d:/project/espressif/esp-idf tools/toolchain/bin/../lib/gcc/xtensa-esp32-elf/5.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: cannot find _vectors.o: No such file or directory 25 | d:/project/espressif/esp-idf tools/toolchain/bin/../lib/gcc/xtensa-esp32-elf/5.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: cannot find -lsim 26 | d:/project/espressif/esp-idf tools/toolchain/bin/../lib/gcc/xtensa-esp32-elf/5.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: cannot find -lhandlers-sim 27 | d:/project/espressif/esp-idf tools/toolchain/bin/../lib/gcc/xtensa-esp32-elf/5.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: cannot find -lhal 28 | collect2.exe: error: ld returned 1 exit status 29 | 30 | 31 | -------------------------------------------------------------------------------- /wifi_source_code/hx-tmall/build/bootloader/CMakeFiles/cmake.check_cache: -------------------------------------------------------------------------------- 1 | # This file is generated by cmake for dependency checking of the CMakeCache.txt file 2 | -------------------------------------------------------------------------------- /wifi_source_code/hx-tmall/build/bootloader/CMakeFiles/feature_tests.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HX-IoT/ESP32-Developer-Guide/51a7a0728e169cc757115a9d78c9259a2f82aa2c/wifi_source_code/hx-tmall/build/bootloader/CMakeFiles/feature_tests.bin -------------------------------------------------------------------------------- /wifi_source_code/hx-tmall/build/bootloader/CMakeFiles/feature_tests.c: -------------------------------------------------------------------------------- 1 | 2 | const char features[] = {"\n" 3 | "C_FEATURE:" 4 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 304 5 | "1" 6 | #else 7 | "0" 8 | #endif 9 | "c_function_prototypes\n" 10 | "C_FEATURE:" 11 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 304 && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L 12 | "1" 13 | #else 14 | "0" 15 | #endif 16 | "c_restrict\n" 17 | "C_FEATURE:" 18 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 406 && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 201000L 19 | "1" 20 | #else 21 | "0" 22 | #endif 23 | "c_static_assert\n" 24 | "C_FEATURE:" 25 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 304 && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L 26 | "1" 27 | #else 28 | "0" 29 | #endif 30 | "c_variadic_macros\n" 31 | 32 | }; 33 | 34 | int main(int argc, char** argv) { (void)argv; return features[argc]; } 35 | -------------------------------------------------------------------------------- /wifi_source_code/hx-tmall/build/bootloader/CMakeFiles/git-data/HEAD: -------------------------------------------------------------------------------- 1 | ref: refs/heads/feature/cmake 2 | -------------------------------------------------------------------------------- /wifi_source_code/hx-tmall/build/bootloader/CMakeFiles/git-data/grabRef.cmake: -------------------------------------------------------------------------------- 1 | # 2 | # Internal file for GetGitRevisionDescription.cmake 3 | # 4 | # Requires CMake 2.6 or newer (uses the 'function' command) 5 | # 6 | # Original Author: 7 | # 2009-2010 Ryan Pavlik 8 | # http://academic.cleardefinition.com 9 | # Iowa State University HCI Graduate Program/VRAC 10 | # 11 | # Copyright Iowa State University 2009-2010. 12 | # Distributed under the Boost Software License, Version 1.0. 13 | # (See accompanying file LICENSE_1_0.txt or copy at 14 | # http://www.boost.org/LICENSE_1_0.txt) 15 | 16 | set(HEAD_HASH) 17 | 18 | file(READ "C:/Users/Administrator/Desktop/app/build/bootloader/CMakeFiles/git-data/HEAD" HEAD_CONTENTS LIMIT 1024) 19 | 20 | string(STRIP "${HEAD_CONTENTS}" HEAD_CONTENTS) 21 | if(HEAD_CONTENTS MATCHES "ref") 22 | # named branch 23 | string(REPLACE "ref: " "" HEAD_REF "${HEAD_CONTENTS}") 24 | if(EXISTS "D:/Project/ESP32/esp/esp-idf/.git/${HEAD_REF}") 25 | configure_file("D:/Project/ESP32/esp/esp-idf/.git/${HEAD_REF}" "C:/Users/Administrator/Desktop/app/build/bootloader/CMakeFiles/git-data/head-ref" COPYONLY) 26 | else() 27 | configure_file("D:/Project/ESP32/esp/esp-idf/.git/packed-refs" "C:/Users/Administrator/Desktop/app/build/bootloader/CMakeFiles/git-data/packed-refs" COPYONLY) 28 | file(READ "C:/Users/Administrator/Desktop/app/build/bootloader/CMakeFiles/git-data/packed-refs" PACKED_REFS) 29 | if(${PACKED_REFS} MATCHES "([0-9a-z]*) ${HEAD_REF}") 30 | set(HEAD_HASH "${CMAKE_MATCH_1}") 31 | endif() 32 | endif() 33 | else() 34 | # detached HEAD 35 | configure_file("D:/Project/ESP32/esp/esp-idf/.git/HEAD" "C:/Users/Administrator/Desktop/app/build/bootloader/CMakeFiles/git-data/head-ref" COPYONLY) 36 | endif() 37 | 38 | if(NOT HEAD_HASH) 39 | file(READ "C:/Users/Administrator/Desktop/app/build/bootloader/CMakeFiles/git-data/head-ref" HEAD_HASH LIMIT 1024) 40 | string(STRIP "${HEAD_HASH}" HEAD_HASH) 41 | endif() 42 | -------------------------------------------------------------------------------- /wifi_source_code/hx-tmall/build/bootloader/CMakeFiles/git-data/head-ref: -------------------------------------------------------------------------------- 1 | e7faa1d851556bcfa05cf512175fe3e10463484b 2 | -------------------------------------------------------------------------------- /wifi_source_code/hx-tmall/build/bootloader/bootloader.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HX-IoT/ESP32-Developer-Guide/51a7a0728e169cc757115a9d78c9259a2f82aa2c/wifi_source_code/hx-tmall/build/bootloader/bootloader.bin -------------------------------------------------------------------------------- /wifi_source_code/hx-tmall/build/bootloader/bootloader/cmake_install.cmake: -------------------------------------------------------------------------------- 1 | # Install script for directory: D:/Project/ESP32/esp/esp-idf/components/bootloader 2 | 3 | # Set the install prefix 4 | if(NOT DEFINED CMAKE_INSTALL_PREFIX) 5 | set(CMAKE_INSTALL_PREFIX "C:/Program Files (x86)/bootloader") 6 | endif() 7 | string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") 8 | 9 | # Set the install configuration name. 10 | if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) 11 | if(BUILD_TYPE) 12 | string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" 13 | CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") 14 | else() 15 | set(CMAKE_INSTALL_CONFIG_NAME "") 16 | endif() 17 | message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") 18 | endif() 19 | 20 | # Set the component getting installed. 21 | if(NOT CMAKE_INSTALL_COMPONENT) 22 | if(COMPONENT) 23 | message(STATUS "Install component: \"${COMPONENT}\"") 24 | set(CMAKE_INSTALL_COMPONENT "${COMPONENT}") 25 | else() 26 | set(CMAKE_INSTALL_COMPONENT) 27 | endif() 28 | endif() 29 | 30 | # Is this installation the result of a crosscompile? 31 | if(NOT DEFINED CMAKE_CROSSCOMPILING) 32 | set(CMAKE_CROSSCOMPILING "TRUE") 33 | endif() 34 | 35 | -------------------------------------------------------------------------------- /wifi_source_code/hx-tmall/build/bootloader/bootloader_support/cmake_install.cmake: -------------------------------------------------------------------------------- 1 | # Install script for directory: D:/Project/ESP32/esp/esp-idf/components/bootloader_support 2 | 3 | # Set the install prefix 4 | if(NOT DEFINED CMAKE_INSTALL_PREFIX) 5 | set(CMAKE_INSTALL_PREFIX "C:/Program Files (x86)/bootloader") 6 | endif() 7 | string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") 8 | 9 | # Set the install configuration name. 10 | if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) 11 | if(BUILD_TYPE) 12 | string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" 13 | CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") 14 | else() 15 | set(CMAKE_INSTALL_CONFIG_NAME "") 16 | endif() 17 | message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") 18 | endif() 19 | 20 | # Set the component getting installed. 21 | if(NOT CMAKE_INSTALL_COMPONENT) 22 | if(COMPONENT) 23 | message(STATUS "Install component: \"${COMPONENT}\"") 24 | set(CMAKE_INSTALL_COMPONENT "${COMPONENT}") 25 | else() 26 | set(CMAKE_INSTALL_COMPONENT) 27 | endif() 28 | endif() 29 | 30 | # Is this installation the result of a crosscompile? 31 | if(NOT DEFINED CMAKE_CROSSCOMPILING) 32 | set(CMAKE_CROSSCOMPILING "TRUE") 33 | endif() 34 | 35 | -------------------------------------------------------------------------------- /wifi_source_code/hx-tmall/build/bootloader/cmake_install.cmake: -------------------------------------------------------------------------------- 1 | # Install script for directory: D:/Project/ESP32/esp/esp-idf/components/bootloader/subproject 2 | 3 | # Set the install prefix 4 | if(NOT DEFINED CMAKE_INSTALL_PREFIX) 5 | set(CMAKE_INSTALL_PREFIX "C:/Program Files (x86)/bootloader") 6 | endif() 7 | string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") 8 | 9 | # Set the install configuration name. 10 | if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) 11 | if(BUILD_TYPE) 12 | string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" 13 | CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") 14 | else() 15 | set(CMAKE_INSTALL_CONFIG_NAME "") 16 | endif() 17 | message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") 18 | endif() 19 | 20 | # Set the component getting installed. 21 | if(NOT CMAKE_INSTALL_COMPONENT) 22 | if(COMPONENT) 23 | message(STATUS "Install component: \"${COMPONENT}\"") 24 | set(CMAKE_INSTALL_COMPONENT "${COMPONENT}") 25 | else() 26 | set(CMAKE_INSTALL_COMPONENT) 27 | endif() 28 | endif() 29 | 30 | # Is this installation the result of a crosscompile? 31 | if(NOT DEFINED CMAKE_CROSSCOMPILING) 32 | set(CMAKE_CROSSCOMPILING "TRUE") 33 | endif() 34 | 35 | if(NOT CMAKE_INSTALL_LOCAL_ONLY) 36 | # Include the install script for each subdirectory. 37 | include("C:/Users/Administrator/Desktop/app/build/bootloader/bootloader/cmake_install.cmake") 38 | include("C:/Users/Administrator/Desktop/app/build/bootloader/esptool_py/cmake_install.cmake") 39 | include("C:/Users/Administrator/Desktop/app/build/bootloader/esp32/cmake_install.cmake") 40 | include("C:/Users/Administrator/Desktop/app/build/bootloader/soc/cmake_install.cmake") 41 | include("C:/Users/Administrator/Desktop/app/build/bootloader/bootloader_support/cmake_install.cmake") 42 | include("C:/Users/Administrator/Desktop/app/build/bootloader/spi_flash/cmake_install.cmake") 43 | include("C:/Users/Administrator/Desktop/app/build/bootloader/micro-ecc/cmake_install.cmake") 44 | include("C:/Users/Administrator/Desktop/app/build/bootloader/log/cmake_install.cmake") 45 | 46 | endif() 47 | 48 | if(CMAKE_INSTALL_COMPONENT) 49 | set(CMAKE_INSTALL_MANIFEST "install_manifest_${CMAKE_INSTALL_COMPONENT}.txt") 50 | else() 51 | set(CMAKE_INSTALL_MANIFEST "install_manifest.txt") 52 | endif() 53 | 54 | string(REPLACE ";" "\n" CMAKE_INSTALL_MANIFEST_CONTENT 55 | "${CMAKE_INSTALL_MANIFEST_FILES}") 56 | file(WRITE "C:/Users/Administrator/Desktop/app/build/bootloader/${CMAKE_INSTALL_MANIFEST}" 57 | "${CMAKE_INSTALL_MANIFEST_CONTENT}") 58 | -------------------------------------------------------------------------------- /wifi_source_code/hx-tmall/build/bootloader/component_depends.cmake: -------------------------------------------------------------------------------- 1 | # Component requirements generated by expand_requirements.cmake 2 | 3 | set(BUILD_COMPONENTS bootloader;esptool_py;esp32;soc;bootloader_support;spi_flash;micro-ecc;log) 4 | set(BUILD_COMPONENT_PATHS D:/Project/ESP32/esp/esp-idf/components/bootloader;D:/Project/ESP32/esp/esp-idf/components/esptool_py;D:/Project/ESP32/esp/esp-idf/components/esp32;D:/Project/ESP32/esp/esp-idf/components/soc;D:/Project/ESP32/esp/esp-idf/components/bootloader_support;D:/Project/ESP32/esp/esp-idf/components/spi_flash;D:/Project/ESP32/esp/esp-idf/components/micro-ecc;D:/Project/ESP32/esp/esp-idf/components/log) 5 | 6 | # get_component_requirements: Generated function to read the dependencies of a given component. 7 | # 8 | # Parameters: 9 | # - component: Name of component 10 | # - var_requires: output variable name. Set to recursively expanded COMPONENT_REQUIRES 11 | # for this component. 12 | # - var_private_requires: output variable name. Set to recursively expanded COMPONENT_PRIV_REQUIRES 13 | # for this component. 14 | # 15 | # Throws a fatal error if 'componeont' is not found (indicates a build system problem). 16 | # 17 | function(get_component_requirements component var_requires var_private_requires) 18 | if("${component}" STREQUAL "bootloader") 19 | set(${var_requires} "" PARENT_SCOPE) 20 | set(${var_private_requires} "" PARENT_SCOPE) 21 | return() 22 | endif() 23 | if("${component}" STREQUAL "esptool_py") 24 | set(${var_requires} "" PARENT_SCOPE) 25 | set(${var_private_requires} "" PARENT_SCOPE) 26 | return() 27 | endif() 28 | if("${component}" STREQUAL "esp32") 29 | set(${var_requires} "bootloader;esptool_py;esp32;soc;bootloader_support;log;spi_flash;micro-ecc;soc;log;esp32;soc" PARENT_SCOPE) 30 | set(${var_private_requires} "" PARENT_SCOPE) 31 | return() 32 | endif() 33 | if("${component}" STREQUAL "soc") 34 | set(${var_requires} "" PARENT_SCOPE) 35 | set(${var_private_requires} "" PARENT_SCOPE) 36 | return() 37 | endif() 38 | if("${component}" STREQUAL "bootloader_support") 39 | set(${var_requires} "" PARENT_SCOPE) 40 | set(${var_private_requires} "spi_flash;micro-ecc" PARENT_SCOPE) 41 | return() 42 | endif() 43 | if("${component}" STREQUAL "spi_flash") 44 | set(${var_requires} "" PARENT_SCOPE) 45 | set(${var_private_requires} "bootloader_support" PARENT_SCOPE) 46 | return() 47 | endif() 48 | if("${component}" STREQUAL "micro-ecc") 49 | set(${var_requires} "" PARENT_SCOPE) 50 | set(${var_private_requires} "" PARENT_SCOPE) 51 | return() 52 | endif() 53 | if("${component}" STREQUAL "log") 54 | set(${var_requires} "" PARENT_SCOPE) 55 | set(${var_private_requires} "" PARENT_SCOPE) 56 | return() 57 | endif() 58 | message(FATAL_ERROR "Component not found: ${component}") 59 | endfunction() 60 | -------------------------------------------------------------------------------- /wifi_source_code/hx-tmall/build/bootloader/esp32/cmake_install.cmake: -------------------------------------------------------------------------------- 1 | # Install script for directory: D:/Project/ESP32/esp/esp-idf/components/esp32 2 | 3 | # Set the install prefix 4 | if(NOT DEFINED CMAKE_INSTALL_PREFIX) 5 | set(CMAKE_INSTALL_PREFIX "C:/Program Files (x86)/bootloader") 6 | endif() 7 | string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") 8 | 9 | # Set the install configuration name. 10 | if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) 11 | if(BUILD_TYPE) 12 | string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" 13 | CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") 14 | else() 15 | set(CMAKE_INSTALL_CONFIG_NAME "") 16 | endif() 17 | message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") 18 | endif() 19 | 20 | # Set the component getting installed. 21 | if(NOT CMAKE_INSTALL_COMPONENT) 22 | if(COMPONENT) 23 | message(STATUS "Install component: \"${COMPONENT}\"") 24 | set(CMAKE_INSTALL_COMPONENT "${COMPONENT}") 25 | else() 26 | set(CMAKE_INSTALL_COMPONENT) 27 | endif() 28 | endif() 29 | 30 | # Is this installation the result of a crosscompile? 31 | if(NOT DEFINED CMAKE_CROSSCOMPILING) 32 | set(CMAKE_CROSSCOMPILING "TRUE") 33 | endif() 34 | 35 | -------------------------------------------------------------------------------- /wifi_source_code/hx-tmall/build/bootloader/esptool_py/cmake_install.cmake: -------------------------------------------------------------------------------- 1 | # Install script for directory: D:/Project/ESP32/esp/esp-idf/components/esptool_py 2 | 3 | # Set the install prefix 4 | if(NOT DEFINED CMAKE_INSTALL_PREFIX) 5 | set(CMAKE_INSTALL_PREFIX "C:/Program Files (x86)/bootloader") 6 | endif() 7 | string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") 8 | 9 | # Set the install configuration name. 10 | if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) 11 | if(BUILD_TYPE) 12 | string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" 13 | CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") 14 | else() 15 | set(CMAKE_INSTALL_CONFIG_NAME "") 16 | endif() 17 | message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") 18 | endif() 19 | 20 | # Set the component getting installed. 21 | if(NOT CMAKE_INSTALL_COMPONENT) 22 | if(COMPONENT) 23 | message(STATUS "Install component: \"${COMPONENT}\"") 24 | set(CMAKE_INSTALL_COMPONENT "${COMPONENT}") 25 | else() 26 | set(CMAKE_INSTALL_COMPONENT) 27 | endif() 28 | endif() 29 | 30 | # Is this installation the result of a crosscompile? 31 | if(NOT DEFINED CMAKE_CROSSCOMPILING) 32 | set(CMAKE_CROSSCOMPILING "TRUE") 33 | endif() 34 | 35 | -------------------------------------------------------------------------------- /wifi_source_code/hx-tmall/build/bootloader/flash_app_args: -------------------------------------------------------------------------------- 1 | bootloader.bin 2 | -------------------------------------------------------------------------------- /wifi_source_code/hx-tmall/build/bootloader/flash_bootloader_args: -------------------------------------------------------------------------------- 1 | --flash_mode dio 2 | --flash_size detect 3 | --flash_freq 40m 4 | 0x1000 bootloader/bootloader.bin 5 | -------------------------------------------------------------------------------- /wifi_source_code/hx-tmall/build/bootloader/flash_partition_table_args: -------------------------------------------------------------------------------- 1 | 0x8000 partition_table/partition-table.bin 2 | -------------------------------------------------------------------------------- /wifi_source_code/hx-tmall/build/bootloader/flash_project_args: -------------------------------------------------------------------------------- 1 | --flash_mode dio 2 | --flash_size detect 3 | --flash_freq 40m 4 | 0x1000 bootloader/bootloader.bin 5 | 0x8000 partition_table/partition-table.bin 6 | bootloader.bin 7 | 8 | -------------------------------------------------------------------------------- /wifi_source_code/hx-tmall/build/bootloader/flasher_args.json: -------------------------------------------------------------------------------- 1 | { 2 | "write_flash_args" : [ "--flash_mode", "dio", 3 | "--flash_size", "detect", 4 | "--flash_freq", "40m" ], 5 | "flash_files" : { 6 | "0x1000" : "bootloader/bootloader.bin", 7 | "" : "partition_table/partition-table.bin", 8 | "" : "bootloader.bin", 9 | "" : "" 10 | }, 11 | "bootloader" : { "offset" : "0x1000", 12 | "file" : "bootloader/bootloader.bin" }, 13 | "app" : { "offset" : "", 14 | "file" : "bootloader.bin" }, 15 | "partition_table" : { "offset" : "", 16 | "file" : "partition_table/partition-table.bin" } 17 | } 18 | -------------------------------------------------------------------------------- /wifi_source_code/hx-tmall/build/bootloader/log/cmake_install.cmake: -------------------------------------------------------------------------------- 1 | # Install script for directory: D:/Project/ESP32/esp/esp-idf/components/log 2 | 3 | # Set the install prefix 4 | if(NOT DEFINED CMAKE_INSTALL_PREFIX) 5 | set(CMAKE_INSTALL_PREFIX "C:/Program Files (x86)/bootloader") 6 | endif() 7 | string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") 8 | 9 | # Set the install configuration name. 10 | if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) 11 | if(BUILD_TYPE) 12 | string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" 13 | CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") 14 | else() 15 | set(CMAKE_INSTALL_CONFIG_NAME "") 16 | endif() 17 | message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") 18 | endif() 19 | 20 | # Set the component getting installed. 21 | if(NOT CMAKE_INSTALL_COMPONENT) 22 | if(COMPONENT) 23 | message(STATUS "Install component: \"${COMPONENT}\"") 24 | set(CMAKE_INSTALL_COMPONENT "${COMPONENT}") 25 | else() 26 | set(CMAKE_INSTALL_COMPONENT) 27 | endif() 28 | endif() 29 | 30 | # Is this installation the result of a crosscompile? 31 | if(NOT DEFINED CMAKE_CROSSCOMPILING) 32 | set(CMAKE_CROSSCOMPILING "TRUE") 33 | endif() 34 | 35 | -------------------------------------------------------------------------------- /wifi_source_code/hx-tmall/build/bootloader/micro-ecc/cmake_install.cmake: -------------------------------------------------------------------------------- 1 | # Install script for directory: D:/Project/ESP32/esp/esp-idf/components/micro-ecc 2 | 3 | # Set the install prefix 4 | if(NOT DEFINED CMAKE_INSTALL_PREFIX) 5 | set(CMAKE_INSTALL_PREFIX "C:/Program Files (x86)/bootloader") 6 | endif() 7 | string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") 8 | 9 | # Set the install configuration name. 10 | if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) 11 | if(BUILD_TYPE) 12 | string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" 13 | CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") 14 | else() 15 | set(CMAKE_INSTALL_CONFIG_NAME "") 16 | endif() 17 | message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") 18 | endif() 19 | 20 | # Set the component getting installed. 21 | if(NOT CMAKE_INSTALL_COMPONENT) 22 | if(COMPONENT) 23 | message(STATUS "Install component: \"${COMPONENT}\"") 24 | set(CMAKE_INSTALL_COMPONENT "${COMPONENT}") 25 | else() 26 | set(CMAKE_INSTALL_COMPONENT) 27 | endif() 28 | endif() 29 | 30 | # Is this installation the result of a crosscompile? 31 | if(NOT DEFINED CMAKE_CROSSCOMPILING) 32 | set(CMAKE_CROSSCOMPILING "TRUE") 33 | endif() 34 | 35 | -------------------------------------------------------------------------------- /wifi_source_code/hx-tmall/build/bootloader/project_description.json: -------------------------------------------------------------------------------- 1 | { 2 | "project_name": "bootloader", 3 | "project_path": "D:/Project/ESP32/esp/esp-idf/components/bootloader/subproject", 4 | "build_dir": "C:/Users/Administrator/Desktop/app/build/bootloader", 5 | "config_file": "C:/Users/Administrator/Desktop/app/sdkconfig", 6 | "config_defaults": "C:/Users/Administrator/Desktop/app/sdkconfig.defaults", 7 | "app_elf": "bootloader.elf", 8 | "app_bin": "bootloader.bin", 9 | "git_revision": "v3.0-dev-2702-ge7faa1d8", 10 | "phy_data_partition": "", 11 | "monitor_baud" : "115200", 12 | "config_environment" : { 13 | "COMPONENT_KCONFIGS" : " D:/Project/ESP32/esp/esp-idf/components/esp32/Kconfig D:/Project/ESP32/esp/esp-idf/components/spi_flash/Kconfig D:/Project/ESP32/esp/esp-idf/components/log/Kconfig", 14 | "COMPONENT_KCONFIGS_PROJBUILD" : " D:/Project/ESP32/esp/esp-idf/components/bootloader/Kconfig.projbuild D:/Project/ESP32/esp/esp-idf/components/esptool_py/Kconfig.projbuild" 15 | }, 16 | "build_components" : [ "bootloader", "esptool_py", "esp32", "soc", "bootloader_support", "spi_flash", "micro-ecc", "log" ], 17 | "build_component_paths" : [ "D:/Project/ESP32/esp/esp-idf/components/bootloader", "D:/Project/ESP32/esp/esp-idf/components/esptool_py", "D:/Project/ESP32/esp/esp-idf/components/esp32", "D:/Project/ESP32/esp/esp-idf/components/soc", "D:/Project/ESP32/esp/esp-idf/components/bootloader_support", "D:/Project/ESP32/esp/esp-idf/components/spi_flash", "D:/Project/ESP32/esp/esp-idf/components/micro-ecc", "D:/Project/ESP32/esp/esp-idf/components/log" ] 18 | } 19 | -------------------------------------------------------------------------------- /wifi_source_code/hx-tmall/build/bootloader/soc/cmake_install.cmake: -------------------------------------------------------------------------------- 1 | # Install script for directory: D:/Project/ESP32/esp/esp-idf/components/soc 2 | 3 | # Set the install prefix 4 | if(NOT DEFINED CMAKE_INSTALL_PREFIX) 5 | set(CMAKE_INSTALL_PREFIX "C:/Program Files (x86)/bootloader") 6 | endif() 7 | string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") 8 | 9 | # Set the install configuration name. 10 | if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) 11 | if(BUILD_TYPE) 12 | string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" 13 | CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") 14 | else() 15 | set(CMAKE_INSTALL_CONFIG_NAME "") 16 | endif() 17 | message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") 18 | endif() 19 | 20 | # Set the component getting installed. 21 | if(NOT CMAKE_INSTALL_COMPONENT) 22 | if(COMPONENT) 23 | message(STATUS "Install component: \"${COMPONENT}\"") 24 | set(CMAKE_INSTALL_COMPONENT "${COMPONENT}") 25 | else() 26 | set(CMAKE_INSTALL_COMPONENT) 27 | endif() 28 | endif() 29 | 30 | # Is this installation the result of a crosscompile? 31 | if(NOT DEFINED CMAKE_CROSSCOMPILING) 32 | set(CMAKE_CROSSCOMPILING "TRUE") 33 | endif() 34 | 35 | -------------------------------------------------------------------------------- /wifi_source_code/hx-tmall/build/bootloader/spi_flash/cmake_install.cmake: -------------------------------------------------------------------------------- 1 | # Install script for directory: D:/Project/ESP32/esp/esp-idf/components/spi_flash 2 | 3 | # Set the install prefix 4 | if(NOT DEFINED CMAKE_INSTALL_PREFIX) 5 | set(CMAKE_INSTALL_PREFIX "C:/Program Files (x86)/bootloader") 6 | endif() 7 | string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") 8 | 9 | # Set the install configuration name. 10 | if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) 11 | if(BUILD_TYPE) 12 | string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" 13 | CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") 14 | else() 15 | set(CMAKE_INSTALL_CONFIG_NAME "") 16 | endif() 17 | message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") 18 | endif() 19 | 20 | # Set the component getting installed. 21 | if(NOT CMAKE_INSTALL_COMPONENT) 22 | if(COMPONENT) 23 | message(STATUS "Install component: \"${COMPONENT}\"") 24 | set(CMAKE_INSTALL_COMPONENT "${COMPONENT}") 25 | else() 26 | set(CMAKE_INSTALL_COMPONENT) 27 | endif() 28 | endif() 29 | 30 | # Is this installation the result of a crosscompile? 31 | if(NOT DEFINED CMAKE_CROSSCOMPILING) 32 | set(CMAKE_CROSSCOMPILING "TRUE") 33 | endif() 34 | 35 | -------------------------------------------------------------------------------- /wifi_source_code/hx-tmall/build/bootloader_support/cmake_install.cmake: -------------------------------------------------------------------------------- 1 | # Install script for directory: D:/Project/ESP32/esp/esp-idf/components/bootloader_support 2 | 3 | # Set the install prefix 4 | if(NOT DEFINED CMAKE_INSTALL_PREFIX) 5 | set(CMAKE_INSTALL_PREFIX "C:/Program Files (x86)/user_app") 6 | endif() 7 | string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") 8 | 9 | # Set the install configuration name. 10 | if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) 11 | if(BUILD_TYPE) 12 | string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" 13 | CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") 14 | else() 15 | set(CMAKE_INSTALL_CONFIG_NAME "") 16 | endif() 17 | message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") 18 | endif() 19 | 20 | # Set the component getting installed. 21 | if(NOT CMAKE_INSTALL_COMPONENT) 22 | if(COMPONENT) 23 | message(STATUS "Install component: \"${COMPONENT}\"") 24 | set(CMAKE_INSTALL_COMPONENT "${COMPONENT}") 25 | else() 26 | set(CMAKE_INSTALL_COMPONENT) 27 | endif() 28 | endif() 29 | 30 | # Is this installation the result of a crosscompile? 31 | if(NOT DEFINED CMAKE_CROSSCOMPILING) 32 | set(CMAKE_CROSSCOMPILING "TRUE") 33 | endif() 34 | 35 | -------------------------------------------------------------------------------- /wifi_source_code/hx-tmall/build/bt/cmake_install.cmake: -------------------------------------------------------------------------------- 1 | # Install script for directory: D:/Project/ESP32/esp/esp-idf/components/bt 2 | 3 | # Set the install prefix 4 | if(NOT DEFINED CMAKE_INSTALL_PREFIX) 5 | set(CMAKE_INSTALL_PREFIX "C:/Program Files (x86)/user_app") 6 | endif() 7 | string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") 8 | 9 | # Set the install configuration name. 10 | if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) 11 | if(BUILD_TYPE) 12 | string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" 13 | CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") 14 | else() 15 | set(CMAKE_INSTALL_CONFIG_NAME "") 16 | endif() 17 | message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") 18 | endif() 19 | 20 | # Set the component getting installed. 21 | if(NOT CMAKE_INSTALL_COMPONENT) 22 | if(COMPONENT) 23 | message(STATUS "Install component: \"${COMPONENT}\"") 24 | set(CMAKE_INSTALL_COMPONENT "${COMPONENT}") 25 | else() 26 | set(CMAKE_INSTALL_COMPONENT) 27 | endif() 28 | endif() 29 | 30 | # Is this installation the result of a crosscompile? 31 | if(NOT DEFINED CMAKE_CROSSCOMPILING) 32 | set(CMAKE_CROSSCOMPILING "TRUE") 33 | endif() 34 | 35 | -------------------------------------------------------------------------------- /wifi_source_code/hx-tmall/build/coap/cmake_install.cmake: -------------------------------------------------------------------------------- 1 | # Install script for directory: D:/Project/ESP32/esp/esp-idf/components/coap 2 | 3 | # Set the install prefix 4 | if(NOT DEFINED CMAKE_INSTALL_PREFIX) 5 | set(CMAKE_INSTALL_PREFIX "C:/Program Files (x86)/user_app") 6 | endif() 7 | string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") 8 | 9 | # Set the install configuration name. 10 | if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) 11 | if(BUILD_TYPE) 12 | string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" 13 | CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") 14 | else() 15 | set(CMAKE_INSTALL_CONFIG_NAME "") 16 | endif() 17 | message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") 18 | endif() 19 | 20 | # Set the component getting installed. 21 | if(NOT CMAKE_INSTALL_COMPONENT) 22 | if(COMPONENT) 23 | message(STATUS "Install component: \"${COMPONENT}\"") 24 | set(CMAKE_INSTALL_COMPONENT "${COMPONENT}") 25 | else() 26 | set(CMAKE_INSTALL_COMPONENT) 27 | endif() 28 | endif() 29 | 30 | # Is this installation the result of a crosscompile? 31 | if(NOT DEFINED CMAKE_CROSSCOMPILING) 32 | set(CMAKE_CROSSCOMPILING "TRUE") 33 | endif() 34 | 35 | -------------------------------------------------------------------------------- /wifi_source_code/hx-tmall/build/console/cmake_install.cmake: -------------------------------------------------------------------------------- 1 | # Install script for directory: D:/Project/ESP32/esp/esp-idf/components/console 2 | 3 | # Set the install prefix 4 | if(NOT DEFINED CMAKE_INSTALL_PREFIX) 5 | set(CMAKE_INSTALL_PREFIX "C:/Program Files (x86)/user_app") 6 | endif() 7 | string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") 8 | 9 | # Set the install configuration name. 10 | if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) 11 | if(BUILD_TYPE) 12 | string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" 13 | CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") 14 | else() 15 | set(CMAKE_INSTALL_CONFIG_NAME "") 16 | endif() 17 | message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") 18 | endif() 19 | 20 | # Set the component getting installed. 21 | if(NOT CMAKE_INSTALL_COMPONENT) 22 | if(COMPONENT) 23 | message(STATUS "Install component: \"${COMPONENT}\"") 24 | set(CMAKE_INSTALL_COMPONENT "${COMPONENT}") 25 | else() 26 | set(CMAKE_INSTALL_COMPONENT) 27 | endif() 28 | endif() 29 | 30 | # Is this installation the result of a crosscompile? 31 | if(NOT DEFINED CMAKE_CROSSCOMPILING) 32 | set(CMAKE_CROSSCOMPILING "TRUE") 33 | endif() 34 | 35 | -------------------------------------------------------------------------------- /wifi_source_code/hx-tmall/build/cxx/cmake_install.cmake: -------------------------------------------------------------------------------- 1 | # Install script for directory: D:/Project/ESP32/esp/esp-idf/components/cxx 2 | 3 | # Set the install prefix 4 | if(NOT DEFINED CMAKE_INSTALL_PREFIX) 5 | set(CMAKE_INSTALL_PREFIX "C:/Program Files (x86)/user_app") 6 | endif() 7 | string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") 8 | 9 | # Set the install configuration name. 10 | if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) 11 | if(BUILD_TYPE) 12 | string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" 13 | CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") 14 | else() 15 | set(CMAKE_INSTALL_CONFIG_NAME "") 16 | endif() 17 | message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") 18 | endif() 19 | 20 | # Set the component getting installed. 21 | if(NOT CMAKE_INSTALL_COMPONENT) 22 | if(COMPONENT) 23 | message(STATUS "Install component: \"${COMPONENT}\"") 24 | set(CMAKE_INSTALL_COMPONENT "${COMPONENT}") 25 | else() 26 | set(CMAKE_INSTALL_COMPONENT) 27 | endif() 28 | endif() 29 | 30 | # Is this installation the result of a crosscompile? 31 | if(NOT DEFINED CMAKE_CROSSCOMPILING) 32 | set(CMAKE_CROSSCOMPILING "TRUE") 33 | endif() 34 | 35 | -------------------------------------------------------------------------------- /wifi_source_code/hx-tmall/build/driver/cmake_install.cmake: -------------------------------------------------------------------------------- 1 | # Install script for directory: D:/Project/ESP32/esp/esp-idf/components/driver 2 | 3 | # Set the install prefix 4 | if(NOT DEFINED CMAKE_INSTALL_PREFIX) 5 | set(CMAKE_INSTALL_PREFIX "C:/Program Files (x86)/user_app") 6 | endif() 7 | string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") 8 | 9 | # Set the install configuration name. 10 | if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) 11 | if(BUILD_TYPE) 12 | string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" 13 | CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") 14 | else() 15 | set(CMAKE_INSTALL_CONFIG_NAME "") 16 | endif() 17 | message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") 18 | endif() 19 | 20 | # Set the component getting installed. 21 | if(NOT CMAKE_INSTALL_COMPONENT) 22 | if(COMPONENT) 23 | message(STATUS "Install component: \"${COMPONENT}\"") 24 | set(CMAKE_INSTALL_COMPONENT "${COMPONENT}") 25 | else() 26 | set(CMAKE_INSTALL_COMPONENT) 27 | endif() 28 | endif() 29 | 30 | # Is this installation the result of a crosscompile? 31 | if(NOT DEFINED CMAKE_CROSSCOMPILING) 32 | set(CMAKE_CROSSCOMPILING "TRUE") 33 | endif() 34 | 35 | -------------------------------------------------------------------------------- /wifi_source_code/hx-tmall/build/esp-tls/cmake_install.cmake: -------------------------------------------------------------------------------- 1 | # Install script for directory: D:/Project/ESP32/esp/esp-idf/components/esp-tls 2 | 3 | # Set the install prefix 4 | if(NOT DEFINED CMAKE_INSTALL_PREFIX) 5 | set(CMAKE_INSTALL_PREFIX "C:/Program Files (x86)/user_app") 6 | endif() 7 | string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") 8 | 9 | # Set the install configuration name. 10 | if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) 11 | if(BUILD_TYPE) 12 | string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" 13 | CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") 14 | else() 15 | set(CMAKE_INSTALL_CONFIG_NAME "") 16 | endif() 17 | message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") 18 | endif() 19 | 20 | # Set the component getting installed. 21 | if(NOT CMAKE_INSTALL_COMPONENT) 22 | if(COMPONENT) 23 | message(STATUS "Install component: \"${COMPONENT}\"") 24 | set(CMAKE_INSTALL_COMPONENT "${COMPONENT}") 25 | else() 26 | set(CMAKE_INSTALL_COMPONENT) 27 | endif() 28 | endif() 29 | 30 | # Is this installation the result of a crosscompile? 31 | if(NOT DEFINED CMAKE_CROSSCOMPILING) 32 | set(CMAKE_CROSSCOMPILING "TRUE") 33 | endif() 34 | 35 | -------------------------------------------------------------------------------- /wifi_source_code/hx-tmall/build/esp32/cmake_install.cmake: -------------------------------------------------------------------------------- 1 | # Install script for directory: D:/Project/ESP32/esp/esp-idf/components/esp32 2 | 3 | # Set the install prefix 4 | if(NOT DEFINED CMAKE_INSTALL_PREFIX) 5 | set(CMAKE_INSTALL_PREFIX "C:/Program Files (x86)/user_app") 6 | endif() 7 | string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") 8 | 9 | # Set the install configuration name. 10 | if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) 11 | if(BUILD_TYPE) 12 | string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" 13 | CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") 14 | else() 15 | set(CMAKE_INSTALL_CONFIG_NAME "") 16 | endif() 17 | message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") 18 | endif() 19 | 20 | # Set the component getting installed. 21 | if(NOT CMAKE_INSTALL_COMPONENT) 22 | if(COMPONENT) 23 | message(STATUS "Install component: \"${COMPONENT}\"") 24 | set(CMAKE_INSTALL_COMPONENT "${COMPONENT}") 25 | else() 26 | set(CMAKE_INSTALL_COMPONENT) 27 | endif() 28 | endif() 29 | 30 | # Is this installation the result of a crosscompile? 31 | if(NOT DEFINED CMAKE_CROSSCOMPILING) 32 | set(CMAKE_CROSSCOMPILING "TRUE") 33 | endif() 34 | 35 | -------------------------------------------------------------------------------- /wifi_source_code/hx-tmall/build/esp_adc_cal/cmake_install.cmake: -------------------------------------------------------------------------------- 1 | # Install script for directory: D:/Project/ESP32/esp/esp-idf/components/esp_adc_cal 2 | 3 | # Set the install prefix 4 | if(NOT DEFINED CMAKE_INSTALL_PREFIX) 5 | set(CMAKE_INSTALL_PREFIX "C:/Program Files (x86)/user_app") 6 | endif() 7 | string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") 8 | 9 | # Set the install configuration name. 10 | if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) 11 | if(BUILD_TYPE) 12 | string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" 13 | CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") 14 | else() 15 | set(CMAKE_INSTALL_CONFIG_NAME "") 16 | endif() 17 | message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") 18 | endif() 19 | 20 | # Set the component getting installed. 21 | if(NOT CMAKE_INSTALL_COMPONENT) 22 | if(COMPONENT) 23 | message(STATUS "Install component: \"${COMPONENT}\"") 24 | set(CMAKE_INSTALL_COMPONENT "${COMPONENT}") 25 | else() 26 | set(CMAKE_INSTALL_COMPONENT) 27 | endif() 28 | endif() 29 | 30 | # Is this installation the result of a crosscompile? 31 | if(NOT DEFINED CMAKE_CROSSCOMPILING) 32 | set(CMAKE_CROSSCOMPILING "TRUE") 33 | endif() 34 | 35 | -------------------------------------------------------------------------------- /wifi_source_code/hx-tmall/build/esp_http_client/cmake_install.cmake: -------------------------------------------------------------------------------- 1 | # Install script for directory: D:/Project/ESP32/esp/esp-idf/components/esp_http_client 2 | 3 | # Set the install prefix 4 | if(NOT DEFINED CMAKE_INSTALL_PREFIX) 5 | set(CMAKE_INSTALL_PREFIX "C:/Program Files (x86)/user_app") 6 | endif() 7 | string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") 8 | 9 | # Set the install configuration name. 10 | if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) 11 | if(BUILD_TYPE) 12 | string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" 13 | CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") 14 | else() 15 | set(CMAKE_INSTALL_CONFIG_NAME "") 16 | endif() 17 | message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") 18 | endif() 19 | 20 | # Set the component getting installed. 21 | if(NOT CMAKE_INSTALL_COMPONENT) 22 | if(COMPONENT) 23 | message(STATUS "Install component: \"${COMPONENT}\"") 24 | set(CMAKE_INSTALL_COMPONENT "${COMPONENT}") 25 | else() 26 | set(CMAKE_INSTALL_COMPONENT) 27 | endif() 28 | endif() 29 | 30 | # Is this installation the result of a crosscompile? 31 | if(NOT DEFINED CMAKE_CROSSCOMPILING) 32 | set(CMAKE_CROSSCOMPILING "TRUE") 33 | endif() 34 | 35 | -------------------------------------------------------------------------------- /wifi_source_code/hx-tmall/build/esptool_py/cmake_install.cmake: -------------------------------------------------------------------------------- 1 | # Install script for directory: D:/Project/ESP32/esp/esp-idf/components/esptool_py 2 | 3 | # Set the install prefix 4 | if(NOT DEFINED CMAKE_INSTALL_PREFIX) 5 | set(CMAKE_INSTALL_PREFIX "C:/Program Files (x86)/user_app") 6 | endif() 7 | string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") 8 | 9 | # Set the install configuration name. 10 | if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) 11 | if(BUILD_TYPE) 12 | string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" 13 | CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") 14 | else() 15 | set(CMAKE_INSTALL_CONFIG_NAME "") 16 | endif() 17 | message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") 18 | endif() 19 | 20 | # Set the component getting installed. 21 | if(NOT CMAKE_INSTALL_COMPONENT) 22 | if(COMPONENT) 23 | message(STATUS "Install component: \"${COMPONENT}\"") 24 | set(CMAKE_INSTALL_COMPONENT "${COMPONENT}") 25 | else() 26 | set(CMAKE_INSTALL_COMPONENT) 27 | endif() 28 | endif() 29 | 30 | # Is this installation the result of a crosscompile? 31 | if(NOT DEFINED CMAKE_CROSSCOMPILING) 32 | set(CMAKE_CROSSCOMPILING "TRUE") 33 | endif() 34 | 35 | -------------------------------------------------------------------------------- /wifi_source_code/hx-tmall/build/ethernet/cmake_install.cmake: -------------------------------------------------------------------------------- 1 | # Install script for directory: D:/Project/ESP32/esp/esp-idf/components/ethernet 2 | 3 | # Set the install prefix 4 | if(NOT DEFINED CMAKE_INSTALL_PREFIX) 5 | set(CMAKE_INSTALL_PREFIX "C:/Program Files (x86)/user_app") 6 | endif() 7 | string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") 8 | 9 | # Set the install configuration name. 10 | if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) 11 | if(BUILD_TYPE) 12 | string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" 13 | CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") 14 | else() 15 | set(CMAKE_INSTALL_CONFIG_NAME "") 16 | endif() 17 | message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") 18 | endif() 19 | 20 | # Set the component getting installed. 21 | if(NOT CMAKE_INSTALL_COMPONENT) 22 | if(COMPONENT) 23 | message(STATUS "Install component: \"${COMPONENT}\"") 24 | set(CMAKE_INSTALL_COMPONENT "${COMPONENT}") 25 | else() 26 | set(CMAKE_INSTALL_COMPONENT) 27 | endif() 28 | endif() 29 | 30 | # Is this installation the result of a crosscompile? 31 | if(NOT DEFINED CMAKE_CROSSCOMPILING) 32 | set(CMAKE_CROSSCOMPILING "TRUE") 33 | endif() 34 | 35 | -------------------------------------------------------------------------------- /wifi_source_code/hx-tmall/build/expat/cmake_install.cmake: -------------------------------------------------------------------------------- 1 | # Install script for directory: D:/Project/ESP32/esp/esp-idf/components/expat 2 | 3 | # Set the install prefix 4 | if(NOT DEFINED CMAKE_INSTALL_PREFIX) 5 | set(CMAKE_INSTALL_PREFIX "C:/Program Files (x86)/user_app") 6 | endif() 7 | string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") 8 | 9 | # Set the install configuration name. 10 | if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) 11 | if(BUILD_TYPE) 12 | string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" 13 | CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") 14 | else() 15 | set(CMAKE_INSTALL_CONFIG_NAME "") 16 | endif() 17 | message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") 18 | endif() 19 | 20 | # Set the component getting installed. 21 | if(NOT CMAKE_INSTALL_COMPONENT) 22 | if(COMPONENT) 23 | message(STATUS "Install component: \"${COMPONENT}\"") 24 | set(CMAKE_INSTALL_COMPONENT "${COMPONENT}") 25 | else() 26 | set(CMAKE_INSTALL_COMPONENT) 27 | endif() 28 | endif() 29 | 30 | # Is this installation the result of a crosscompile? 31 | if(NOT DEFINED CMAKE_CROSSCOMPILING) 32 | set(CMAKE_CROSSCOMPILING "TRUE") 33 | endif() 34 | 35 | -------------------------------------------------------------------------------- /wifi_source_code/hx-tmall/build/fatfs/cmake_install.cmake: -------------------------------------------------------------------------------- 1 | # Install script for directory: D:/Project/ESP32/esp/esp-idf/components/fatfs 2 | 3 | # Set the install prefix 4 | if(NOT DEFINED CMAKE_INSTALL_PREFIX) 5 | set(CMAKE_INSTALL_PREFIX "C:/Program Files (x86)/user_app") 6 | endif() 7 | string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") 8 | 9 | # Set the install configuration name. 10 | if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) 11 | if(BUILD_TYPE) 12 | string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" 13 | CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") 14 | else() 15 | set(CMAKE_INSTALL_CONFIG_NAME "") 16 | endif() 17 | message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") 18 | endif() 19 | 20 | # Set the component getting installed. 21 | if(NOT CMAKE_INSTALL_COMPONENT) 22 | if(COMPONENT) 23 | message(STATUS "Install component: \"${COMPONENT}\"") 24 | set(CMAKE_INSTALL_COMPONENT "${COMPONENT}") 25 | else() 26 | set(CMAKE_INSTALL_COMPONENT) 27 | endif() 28 | endif() 29 | 30 | # Is this installation the result of a crosscompile? 31 | if(NOT DEFINED CMAKE_CROSSCOMPILING) 32 | set(CMAKE_CROSSCOMPILING "TRUE") 33 | endif() 34 | 35 | -------------------------------------------------------------------------------- /wifi_source_code/hx-tmall/build/flash_app_args: -------------------------------------------------------------------------------- 1 | 0x10000 user_app.bin 2 | -------------------------------------------------------------------------------- /wifi_source_code/hx-tmall/build/flash_bootloader_args: -------------------------------------------------------------------------------- 1 | --flash_mode dio 2 | --flash_size detect 3 | --flash_freq 40m 4 | 0x1000 bootloader/bootloader.bin 5 | -------------------------------------------------------------------------------- /wifi_source_code/hx-tmall/build/flash_partition_table_args: -------------------------------------------------------------------------------- 1 | 0x8000 partition_table/partition-table.bin 2 | -------------------------------------------------------------------------------- /wifi_source_code/hx-tmall/build/flash_project_args: -------------------------------------------------------------------------------- 1 | --flash_mode dio 2 | --flash_size detect 3 | --flash_freq 40m 4 | 0x1000 bootloader/bootloader.bin 5 | 0x8000 partition_table/partition-table.bin 6 | 0x10000 user_app.bin 7 | 8 | -------------------------------------------------------------------------------- /wifi_source_code/hx-tmall/build/flasher_args.json: -------------------------------------------------------------------------------- 1 | { 2 | "write_flash_args" : [ "--flash_mode", "dio", 3 | "--flash_size", "detect", 4 | "--flash_freq", "40m" ], 5 | "flash_files" : { 6 | "0x1000" : "bootloader/bootloader.bin", 7 | "0x8000" : "partition_table/partition-table.bin", 8 | "0x10000" : "user_app.bin", 9 | "" : "" 10 | }, 11 | "bootloader" : { "offset" : "0x1000", 12 | "file" : "bootloader/bootloader.bin" }, 13 | "app" : { "offset" : "0x10000", 14 | "file" : "user_app.bin" }, 15 | "partition_table" : { "offset" : "0x8000", 16 | "file" : "partition_table/partition-table.bin" } 17 | } 18 | -------------------------------------------------------------------------------- /wifi_source_code/hx-tmall/build/freertos/cmake_install.cmake: -------------------------------------------------------------------------------- 1 | # Install script for directory: D:/Project/ESP32/esp/esp-idf/components/freertos 2 | 3 | # Set the install prefix 4 | if(NOT DEFINED CMAKE_INSTALL_PREFIX) 5 | set(CMAKE_INSTALL_PREFIX "C:/Program Files (x86)/user_app") 6 | endif() 7 | string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") 8 | 9 | # Set the install configuration name. 10 | if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) 11 | if(BUILD_TYPE) 12 | string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" 13 | CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") 14 | else() 15 | set(CMAKE_INSTALL_CONFIG_NAME "") 16 | endif() 17 | message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") 18 | endif() 19 | 20 | # Set the component getting installed. 21 | if(NOT CMAKE_INSTALL_COMPONENT) 22 | if(COMPONENT) 23 | message(STATUS "Install component: \"${COMPONENT}\"") 24 | set(CMAKE_INSTALL_COMPONENT "${COMPONENT}") 25 | else() 26 | set(CMAKE_INSTALL_COMPONENT) 27 | endif() 28 | endif() 29 | 30 | # Is this installation the result of a crosscompile? 31 | if(NOT DEFINED CMAKE_CROSSCOMPILING) 32 | set(CMAKE_CROSSCOMPILING "TRUE") 33 | endif() 34 | 35 | -------------------------------------------------------------------------------- /wifi_source_code/hx-tmall/build/heap/cmake_install.cmake: -------------------------------------------------------------------------------- 1 | # Install script for directory: D:/Project/ESP32/esp/esp-idf/components/heap 2 | 3 | # Set the install prefix 4 | if(NOT DEFINED CMAKE_INSTALL_PREFIX) 5 | set(CMAKE_INSTALL_PREFIX "C:/Program Files (x86)/user_app") 6 | endif() 7 | string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") 8 | 9 | # Set the install configuration name. 10 | if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) 11 | if(BUILD_TYPE) 12 | string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" 13 | CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") 14 | else() 15 | set(CMAKE_INSTALL_CONFIG_NAME "") 16 | endif() 17 | message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") 18 | endif() 19 | 20 | # Set the component getting installed. 21 | if(NOT CMAKE_INSTALL_COMPONENT) 22 | if(COMPONENT) 23 | message(STATUS "Install component: \"${COMPONENT}\"") 24 | set(CMAKE_INSTALL_COMPONENT "${COMPONENT}") 25 | else() 26 | set(CMAKE_INSTALL_COMPONENT) 27 | endif() 28 | endif() 29 | 30 | # Is this installation the result of a crosscompile? 31 | if(NOT DEFINED CMAKE_CROSSCOMPILING) 32 | set(CMAKE_CROSSCOMPILING "TRUE") 33 | endif() 34 | 35 | -------------------------------------------------------------------------------- /wifi_source_code/hx-tmall/build/idf_test/cmake_install.cmake: -------------------------------------------------------------------------------- 1 | # Install script for directory: D:/Project/ESP32/esp/esp-idf/components/idf_test 2 | 3 | # Set the install prefix 4 | if(NOT DEFINED CMAKE_INSTALL_PREFIX) 5 | set(CMAKE_INSTALL_PREFIX "C:/Program Files (x86)/user_app") 6 | endif() 7 | string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") 8 | 9 | # Set the install configuration name. 10 | if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) 11 | if(BUILD_TYPE) 12 | string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" 13 | CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") 14 | else() 15 | set(CMAKE_INSTALL_CONFIG_NAME "") 16 | endif() 17 | message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") 18 | endif() 19 | 20 | # Set the component getting installed. 21 | if(NOT CMAKE_INSTALL_COMPONENT) 22 | if(COMPONENT) 23 | message(STATUS "Install component: \"${COMPONENT}\"") 24 | set(CMAKE_INSTALL_COMPONENT "${COMPONENT}") 25 | else() 26 | set(CMAKE_INSTALL_COMPONENT) 27 | endif() 28 | endif() 29 | 30 | # Is this installation the result of a crosscompile? 31 | if(NOT DEFINED CMAKE_CROSSCOMPILING) 32 | set(CMAKE_CROSSCOMPILING "TRUE") 33 | endif() 34 | 35 | -------------------------------------------------------------------------------- /wifi_source_code/hx-tmall/build/jsmn/cmake_install.cmake: -------------------------------------------------------------------------------- 1 | # Install script for directory: D:/Project/ESP32/esp/esp-idf/components/jsmn 2 | 3 | # Set the install prefix 4 | if(NOT DEFINED CMAKE_INSTALL_PREFIX) 5 | set(CMAKE_INSTALL_PREFIX "C:/Program Files (x86)/user_app") 6 | endif() 7 | string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") 8 | 9 | # Set the install configuration name. 10 | if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) 11 | if(BUILD_TYPE) 12 | string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" 13 | CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") 14 | else() 15 | set(CMAKE_INSTALL_CONFIG_NAME "") 16 | endif() 17 | message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") 18 | endif() 19 | 20 | # Set the component getting installed. 21 | if(NOT CMAKE_INSTALL_COMPONENT) 22 | if(COMPONENT) 23 | message(STATUS "Install component: \"${COMPONENT}\"") 24 | set(CMAKE_INSTALL_COMPONENT "${COMPONENT}") 25 | else() 26 | set(CMAKE_INSTALL_COMPONENT) 27 | endif() 28 | endif() 29 | 30 | # Is this installation the result of a crosscompile? 31 | if(NOT DEFINED CMAKE_CROSSCOMPILING) 32 | set(CMAKE_CROSSCOMPILING "TRUE") 33 | endif() 34 | 35 | -------------------------------------------------------------------------------- /wifi_source_code/hx-tmall/build/json/cmake_install.cmake: -------------------------------------------------------------------------------- 1 | # Install script for directory: D:/Project/ESP32/esp/esp-idf/components/json 2 | 3 | # Set the install prefix 4 | if(NOT DEFINED CMAKE_INSTALL_PREFIX) 5 | set(CMAKE_INSTALL_PREFIX "C:/Program Files (x86)/user_app") 6 | endif() 7 | string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") 8 | 9 | # Set the install configuration name. 10 | if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) 11 | if(BUILD_TYPE) 12 | string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" 13 | CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") 14 | else() 15 | set(CMAKE_INSTALL_CONFIG_NAME "") 16 | endif() 17 | message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") 18 | endif() 19 | 20 | # Set the component getting installed. 21 | if(NOT CMAKE_INSTALL_COMPONENT) 22 | if(COMPONENT) 23 | message(STATUS "Install component: \"${COMPONENT}\"") 24 | set(CMAKE_INSTALL_COMPONENT "${COMPONENT}") 25 | else() 26 | set(CMAKE_INSTALL_COMPONENT) 27 | endif() 28 | endif() 29 | 30 | # Is this installation the result of a crosscompile? 31 | if(NOT DEFINED CMAKE_CROSSCOMPILING) 32 | set(CMAKE_CROSSCOMPILING "TRUE") 33 | endif() 34 | 35 | -------------------------------------------------------------------------------- /wifi_source_code/hx-tmall/build/libsodium/cmake_install.cmake: -------------------------------------------------------------------------------- 1 | # Install script for directory: D:/Project/ESP32/esp/esp-idf/components/libsodium 2 | 3 | # Set the install prefix 4 | if(NOT DEFINED CMAKE_INSTALL_PREFIX) 5 | set(CMAKE_INSTALL_PREFIX "C:/Program Files (x86)/user_app") 6 | endif() 7 | string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") 8 | 9 | # Set the install configuration name. 10 | if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) 11 | if(BUILD_TYPE) 12 | string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" 13 | CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") 14 | else() 15 | set(CMAKE_INSTALL_CONFIG_NAME "") 16 | endif() 17 | message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") 18 | endif() 19 | 20 | # Set the component getting installed. 21 | if(NOT CMAKE_INSTALL_COMPONENT) 22 | if(COMPONENT) 23 | message(STATUS "Install component: \"${COMPONENT}\"") 24 | set(CMAKE_INSTALL_COMPONENT "${COMPONENT}") 25 | else() 26 | set(CMAKE_INSTALL_COMPONENT) 27 | endif() 28 | endif() 29 | 30 | # Is this installation the result of a crosscompile? 31 | if(NOT DEFINED CMAKE_CROSSCOMPILING) 32 | set(CMAKE_CROSSCOMPILING "TRUE") 33 | endif() 34 | 35 | -------------------------------------------------------------------------------- /wifi_source_code/hx-tmall/build/log/cmake_install.cmake: -------------------------------------------------------------------------------- 1 | # Install script for directory: D:/Project/ESP32/esp/esp-idf/components/log 2 | 3 | # Set the install prefix 4 | if(NOT DEFINED CMAKE_INSTALL_PREFIX) 5 | set(CMAKE_INSTALL_PREFIX "C:/Program Files (x86)/user_app") 6 | endif() 7 | string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") 8 | 9 | # Set the install configuration name. 10 | if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) 11 | if(BUILD_TYPE) 12 | string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" 13 | CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") 14 | else() 15 | set(CMAKE_INSTALL_CONFIG_NAME "") 16 | endif() 17 | message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") 18 | endif() 19 | 20 | # Set the component getting installed. 21 | if(NOT CMAKE_INSTALL_COMPONENT) 22 | if(COMPONENT) 23 | message(STATUS "Install component: \"${COMPONENT}\"") 24 | set(CMAKE_INSTALL_COMPONENT "${COMPONENT}") 25 | else() 26 | set(CMAKE_INSTALL_COMPONENT) 27 | endif() 28 | endif() 29 | 30 | # Is this installation the result of a crosscompile? 31 | if(NOT DEFINED CMAKE_CROSSCOMPILING) 32 | set(CMAKE_CROSSCOMPILING "TRUE") 33 | endif() 34 | 35 | -------------------------------------------------------------------------------- /wifi_source_code/hx-tmall/build/lwip/cmake_install.cmake: -------------------------------------------------------------------------------- 1 | # Install script for directory: D:/Project/ESP32/esp/esp-idf/components/lwip 2 | 3 | # Set the install prefix 4 | if(NOT DEFINED CMAKE_INSTALL_PREFIX) 5 | set(CMAKE_INSTALL_PREFIX "C:/Program Files (x86)/user_app") 6 | endif() 7 | string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") 8 | 9 | # Set the install configuration name. 10 | if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) 11 | if(BUILD_TYPE) 12 | string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" 13 | CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") 14 | else() 15 | set(CMAKE_INSTALL_CONFIG_NAME "") 16 | endif() 17 | message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") 18 | endif() 19 | 20 | # Set the component getting installed. 21 | if(NOT CMAKE_INSTALL_COMPONENT) 22 | if(COMPONENT) 23 | message(STATUS "Install component: \"${COMPONENT}\"") 24 | set(CMAKE_INSTALL_COMPONENT "${COMPONENT}") 25 | else() 26 | set(CMAKE_INSTALL_COMPONENT) 27 | endif() 28 | endif() 29 | 30 | # Is this installation the result of a crosscompile? 31 | if(NOT DEFINED CMAKE_CROSSCOMPILING) 32 | set(CMAKE_CROSSCOMPILING "TRUE") 33 | endif() 34 | 35 | -------------------------------------------------------------------------------- /wifi_source_code/hx-tmall/build/mbedtls/cmake_install.cmake: -------------------------------------------------------------------------------- 1 | # Install script for directory: D:/Project/ESP32/esp/esp-idf/components/mbedtls 2 | 3 | # Set the install prefix 4 | if(NOT DEFINED CMAKE_INSTALL_PREFIX) 5 | set(CMAKE_INSTALL_PREFIX "C:/Program Files (x86)/user_app") 6 | endif() 7 | string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") 8 | 9 | # Set the install configuration name. 10 | if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) 11 | if(BUILD_TYPE) 12 | string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" 13 | CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") 14 | else() 15 | set(CMAKE_INSTALL_CONFIG_NAME "") 16 | endif() 17 | message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") 18 | endif() 19 | 20 | # Set the component getting installed. 21 | if(NOT CMAKE_INSTALL_COMPONENT) 22 | if(COMPONENT) 23 | message(STATUS "Install component: \"${COMPONENT}\"") 24 | set(CMAKE_INSTALL_COMPONENT "${COMPONENT}") 25 | else() 26 | set(CMAKE_INSTALL_COMPONENT) 27 | endif() 28 | endif() 29 | 30 | # Is this installation the result of a crosscompile? 31 | if(NOT DEFINED CMAKE_CROSSCOMPILING) 32 | set(CMAKE_CROSSCOMPILING "TRUE") 33 | endif() 34 | 35 | -------------------------------------------------------------------------------- /wifi_source_code/hx-tmall/build/mdns/cmake_install.cmake: -------------------------------------------------------------------------------- 1 | # Install script for directory: D:/Project/ESP32/esp/esp-idf/components/mdns 2 | 3 | # Set the install prefix 4 | if(NOT DEFINED CMAKE_INSTALL_PREFIX) 5 | set(CMAKE_INSTALL_PREFIX "C:/Program Files (x86)/user_app") 6 | endif() 7 | string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") 8 | 9 | # Set the install configuration name. 10 | if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) 11 | if(BUILD_TYPE) 12 | string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" 13 | CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") 14 | else() 15 | set(CMAKE_INSTALL_CONFIG_NAME "") 16 | endif() 17 | message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") 18 | endif() 19 | 20 | # Set the component getting installed. 21 | if(NOT CMAKE_INSTALL_COMPONENT) 22 | if(COMPONENT) 23 | message(STATUS "Install component: \"${COMPONENT}\"") 24 | set(CMAKE_INSTALL_COMPONENT "${COMPONENT}") 25 | else() 26 | set(CMAKE_INSTALL_COMPONENT) 27 | endif() 28 | endif() 29 | 30 | # Is this installation the result of a crosscompile? 31 | if(NOT DEFINED CMAKE_CROSSCOMPILING) 32 | set(CMAKE_CROSSCOMPILING "TRUE") 33 | endif() 34 | 35 | -------------------------------------------------------------------------------- /wifi_source_code/hx-tmall/build/micro-ecc/cmake_install.cmake: -------------------------------------------------------------------------------- 1 | # Install script for directory: D:/Project/ESP32/esp/esp-idf/components/micro-ecc 2 | 3 | # Set the install prefix 4 | if(NOT DEFINED CMAKE_INSTALL_PREFIX) 5 | set(CMAKE_INSTALL_PREFIX "C:/Program Files (x86)/user_app") 6 | endif() 7 | string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") 8 | 9 | # Set the install configuration name. 10 | if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) 11 | if(BUILD_TYPE) 12 | string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" 13 | CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") 14 | else() 15 | set(CMAKE_INSTALL_CONFIG_NAME "") 16 | endif() 17 | message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") 18 | endif() 19 | 20 | # Set the component getting installed. 21 | if(NOT CMAKE_INSTALL_COMPONENT) 22 | if(COMPONENT) 23 | message(STATUS "Install component: \"${COMPONENT}\"") 24 | set(CMAKE_INSTALL_COMPONENT "${COMPONENT}") 25 | else() 26 | set(CMAKE_INSTALL_COMPONENT) 27 | endif() 28 | endif() 29 | 30 | # Is this installation the result of a crosscompile? 31 | if(NOT DEFINED CMAKE_CROSSCOMPILING) 32 | set(CMAKE_CROSSCOMPILING "TRUE") 33 | endif() 34 | 35 | -------------------------------------------------------------------------------- /wifi_source_code/hx-tmall/build/newlib/cmake_install.cmake: -------------------------------------------------------------------------------- 1 | # Install script for directory: D:/Project/ESP32/esp/esp-idf/components/newlib 2 | 3 | # Set the install prefix 4 | if(NOT DEFINED CMAKE_INSTALL_PREFIX) 5 | set(CMAKE_INSTALL_PREFIX "C:/Program Files (x86)/user_app") 6 | endif() 7 | string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") 8 | 9 | # Set the install configuration name. 10 | if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) 11 | if(BUILD_TYPE) 12 | string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" 13 | CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") 14 | else() 15 | set(CMAKE_INSTALL_CONFIG_NAME "") 16 | endif() 17 | message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") 18 | endif() 19 | 20 | # Set the component getting installed. 21 | if(NOT CMAKE_INSTALL_COMPONENT) 22 | if(COMPONENT) 23 | message(STATUS "Install component: \"${COMPONENT}\"") 24 | set(CMAKE_INSTALL_COMPONENT "${COMPONENT}") 25 | else() 26 | set(CMAKE_INSTALL_COMPONENT) 27 | endif() 28 | endif() 29 | 30 | # Is this installation the result of a crosscompile? 31 | if(NOT DEFINED CMAKE_CROSSCOMPILING) 32 | set(CMAKE_CROSSCOMPILING "TRUE") 33 | endif() 34 | 35 | -------------------------------------------------------------------------------- /wifi_source_code/hx-tmall/build/nghttp/cmake_install.cmake: -------------------------------------------------------------------------------- 1 | # Install script for directory: D:/Project/ESP32/esp/esp-idf/components/nghttp 2 | 3 | # Set the install prefix 4 | if(NOT DEFINED CMAKE_INSTALL_PREFIX) 5 | set(CMAKE_INSTALL_PREFIX "C:/Program Files (x86)/user_app") 6 | endif() 7 | string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") 8 | 9 | # Set the install configuration name. 10 | if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) 11 | if(BUILD_TYPE) 12 | string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" 13 | CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") 14 | else() 15 | set(CMAKE_INSTALL_CONFIG_NAME "") 16 | endif() 17 | message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") 18 | endif() 19 | 20 | # Set the component getting installed. 21 | if(NOT CMAKE_INSTALL_COMPONENT) 22 | if(COMPONENT) 23 | message(STATUS "Install component: \"${COMPONENT}\"") 24 | set(CMAKE_INSTALL_COMPONENT "${COMPONENT}") 25 | else() 26 | set(CMAKE_INSTALL_COMPONENT) 27 | endif() 28 | endif() 29 | 30 | # Is this installation the result of a crosscompile? 31 | if(NOT DEFINED CMAKE_CROSSCOMPILING) 32 | set(CMAKE_CROSSCOMPILING "TRUE") 33 | endif() 34 | 35 | -------------------------------------------------------------------------------- /wifi_source_code/hx-tmall/build/nvs_flash/cmake_install.cmake: -------------------------------------------------------------------------------- 1 | # Install script for directory: D:/Project/ESP32/esp/esp-idf/components/nvs_flash 2 | 3 | # Set the install prefix 4 | if(NOT DEFINED CMAKE_INSTALL_PREFIX) 5 | set(CMAKE_INSTALL_PREFIX "C:/Program Files (x86)/user_app") 6 | endif() 7 | string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") 8 | 9 | # Set the install configuration name. 10 | if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) 11 | if(BUILD_TYPE) 12 | string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" 13 | CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") 14 | else() 15 | set(CMAKE_INSTALL_CONFIG_NAME "") 16 | endif() 17 | message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") 18 | endif() 19 | 20 | # Set the component getting installed. 21 | if(NOT CMAKE_INSTALL_COMPONENT) 22 | if(COMPONENT) 23 | message(STATUS "Install component: \"${COMPONENT}\"") 24 | set(CMAKE_INSTALL_COMPONENT "${COMPONENT}") 25 | else() 26 | set(CMAKE_INSTALL_COMPONENT) 27 | endif() 28 | endif() 29 | 30 | # Is this installation the result of a crosscompile? 31 | if(NOT DEFINED CMAKE_CROSSCOMPILING) 32 | set(CMAKE_CROSSCOMPILING "TRUE") 33 | endif() 34 | 35 | -------------------------------------------------------------------------------- /wifi_source_code/hx-tmall/build/openssl/cmake_install.cmake: -------------------------------------------------------------------------------- 1 | # Install script for directory: D:/Project/ESP32/esp/esp-idf/components/openssl 2 | 3 | # Set the install prefix 4 | if(NOT DEFINED CMAKE_INSTALL_PREFIX) 5 | set(CMAKE_INSTALL_PREFIX "C:/Program Files (x86)/user_app") 6 | endif() 7 | string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") 8 | 9 | # Set the install configuration name. 10 | if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) 11 | if(BUILD_TYPE) 12 | string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" 13 | CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") 14 | else() 15 | set(CMAKE_INSTALL_CONFIG_NAME "") 16 | endif() 17 | message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") 18 | endif() 19 | 20 | # Set the component getting installed. 21 | if(NOT CMAKE_INSTALL_COMPONENT) 22 | if(COMPONENT) 23 | message(STATUS "Install component: \"${COMPONENT}\"") 24 | set(CMAKE_INSTALL_COMPONENT "${COMPONENT}") 25 | else() 26 | set(CMAKE_INSTALL_COMPONENT) 27 | endif() 28 | endif() 29 | 30 | # Is this installation the result of a crosscompile? 31 | if(NOT DEFINED CMAKE_CROSSCOMPILING) 32 | set(CMAKE_CROSSCOMPILING "TRUE") 33 | endif() 34 | 35 | -------------------------------------------------------------------------------- /wifi_source_code/hx-tmall/build/partition_table/cmake_install.cmake: -------------------------------------------------------------------------------- 1 | # Install script for directory: D:/Project/ESP32/esp/esp-idf/components/partition_table 2 | 3 | # Set the install prefix 4 | if(NOT DEFINED CMAKE_INSTALL_PREFIX) 5 | set(CMAKE_INSTALL_PREFIX "C:/Program Files (x86)/user_app") 6 | endif() 7 | string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") 8 | 9 | # Set the install configuration name. 10 | if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) 11 | if(BUILD_TYPE) 12 | string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" 13 | CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") 14 | else() 15 | set(CMAKE_INSTALL_CONFIG_NAME "") 16 | endif() 17 | message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") 18 | endif() 19 | 20 | # Set the component getting installed. 21 | if(NOT CMAKE_INSTALL_COMPONENT) 22 | if(COMPONENT) 23 | message(STATUS "Install component: \"${COMPONENT}\"") 24 | set(CMAKE_INSTALL_COMPONENT "${COMPONENT}") 25 | else() 26 | set(CMAKE_INSTALL_COMPONENT) 27 | endif() 28 | endif() 29 | 30 | # Is this installation the result of a crosscompile? 31 | if(NOT DEFINED CMAKE_CROSSCOMPILING) 32 | set(CMAKE_CROSSCOMPILING "TRUE") 33 | endif() 34 | 35 | -------------------------------------------------------------------------------- /wifi_source_code/hx-tmall/build/partition_table/partition-table.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HX-IoT/ESP32-Developer-Guide/51a7a0728e169cc757115a9d78c9259a2f82aa2c/wifi_source_code/hx-tmall/build/partition_table/partition-table.bin -------------------------------------------------------------------------------- /wifi_source_code/hx-tmall/build/pthread/cmake_install.cmake: -------------------------------------------------------------------------------- 1 | # Install script for directory: D:/Project/ESP32/esp/esp-idf/components/pthread 2 | 3 | # Set the install prefix 4 | if(NOT DEFINED CMAKE_INSTALL_PREFIX) 5 | set(CMAKE_INSTALL_PREFIX "C:/Program Files (x86)/user_app") 6 | endif() 7 | string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") 8 | 9 | # Set the install configuration name. 10 | if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) 11 | if(BUILD_TYPE) 12 | string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" 13 | CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") 14 | else() 15 | set(CMAKE_INSTALL_CONFIG_NAME "") 16 | endif() 17 | message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") 18 | endif() 19 | 20 | # Set the component getting installed. 21 | if(NOT CMAKE_INSTALL_COMPONENT) 22 | if(COMPONENT) 23 | message(STATUS "Install component: \"${COMPONENT}\"") 24 | set(CMAKE_INSTALL_COMPONENT "${COMPONENT}") 25 | else() 26 | set(CMAKE_INSTALL_COMPONENT) 27 | endif() 28 | endif() 29 | 30 | # Is this installation the result of a crosscompile? 31 | if(NOT DEFINED CMAKE_CROSSCOMPILING) 32 | set(CMAKE_CROSSCOMPILING "TRUE") 33 | endif() 34 | 35 | -------------------------------------------------------------------------------- /wifi_source_code/hx-tmall/build/sdmmc/cmake_install.cmake: -------------------------------------------------------------------------------- 1 | # Install script for directory: D:/Project/ESP32/esp/esp-idf/components/sdmmc 2 | 3 | # Set the install prefix 4 | if(NOT DEFINED CMAKE_INSTALL_PREFIX) 5 | set(CMAKE_INSTALL_PREFIX "C:/Program Files (x86)/user_app") 6 | endif() 7 | string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") 8 | 9 | # Set the install configuration name. 10 | if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) 11 | if(BUILD_TYPE) 12 | string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" 13 | CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") 14 | else() 15 | set(CMAKE_INSTALL_CONFIG_NAME "") 16 | endif() 17 | message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") 18 | endif() 19 | 20 | # Set the component getting installed. 21 | if(NOT CMAKE_INSTALL_COMPONENT) 22 | if(COMPONENT) 23 | message(STATUS "Install component: \"${COMPONENT}\"") 24 | set(CMAKE_INSTALL_COMPONENT "${COMPONENT}") 25 | else() 26 | set(CMAKE_INSTALL_COMPONENT) 27 | endif() 28 | endif() 29 | 30 | # Is this installation the result of a crosscompile? 31 | if(NOT DEFINED CMAKE_CROSSCOMPILING) 32 | set(CMAKE_CROSSCOMPILING "TRUE") 33 | endif() 34 | 35 | -------------------------------------------------------------------------------- /wifi_source_code/hx-tmall/build/smartconfig_ack/cmake_install.cmake: -------------------------------------------------------------------------------- 1 | # Install script for directory: D:/Project/ESP32/esp/esp-idf/components/smartconfig_ack 2 | 3 | # Set the install prefix 4 | if(NOT DEFINED CMAKE_INSTALL_PREFIX) 5 | set(CMAKE_INSTALL_PREFIX "C:/Program Files (x86)/user_app") 6 | endif() 7 | string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") 8 | 9 | # Set the install configuration name. 10 | if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) 11 | if(BUILD_TYPE) 12 | string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" 13 | CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") 14 | else() 15 | set(CMAKE_INSTALL_CONFIG_NAME "") 16 | endif() 17 | message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") 18 | endif() 19 | 20 | # Set the component getting installed. 21 | if(NOT CMAKE_INSTALL_COMPONENT) 22 | if(COMPONENT) 23 | message(STATUS "Install component: \"${COMPONENT}\"") 24 | set(CMAKE_INSTALL_COMPONENT "${COMPONENT}") 25 | else() 26 | set(CMAKE_INSTALL_COMPONENT) 27 | endif() 28 | endif() 29 | 30 | # Is this installation the result of a crosscompile? 31 | if(NOT DEFINED CMAKE_CROSSCOMPILING) 32 | set(CMAKE_CROSSCOMPILING "TRUE") 33 | endif() 34 | 35 | -------------------------------------------------------------------------------- /wifi_source_code/hx-tmall/build/soc/cmake_install.cmake: -------------------------------------------------------------------------------- 1 | # Install script for directory: D:/Project/ESP32/esp/esp-idf/components/soc 2 | 3 | # Set the install prefix 4 | if(NOT DEFINED CMAKE_INSTALL_PREFIX) 5 | set(CMAKE_INSTALL_PREFIX "C:/Program Files (x86)/user_app") 6 | endif() 7 | string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") 8 | 9 | # Set the install configuration name. 10 | if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) 11 | if(BUILD_TYPE) 12 | string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" 13 | CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") 14 | else() 15 | set(CMAKE_INSTALL_CONFIG_NAME "") 16 | endif() 17 | message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") 18 | endif() 19 | 20 | # Set the component getting installed. 21 | if(NOT CMAKE_INSTALL_COMPONENT) 22 | if(COMPONENT) 23 | message(STATUS "Install component: \"${COMPONENT}\"") 24 | set(CMAKE_INSTALL_COMPONENT "${COMPONENT}") 25 | else() 26 | set(CMAKE_INSTALL_COMPONENT) 27 | endif() 28 | endif() 29 | 30 | # Is this installation the result of a crosscompile? 31 | if(NOT DEFINED CMAKE_CROSSCOMPILING) 32 | set(CMAKE_CROSSCOMPILING "TRUE") 33 | endif() 34 | 35 | -------------------------------------------------------------------------------- /wifi_source_code/hx-tmall/build/spi_flash/cmake_install.cmake: -------------------------------------------------------------------------------- 1 | # Install script for directory: D:/Project/ESP32/esp/esp-idf/components/spi_flash 2 | 3 | # Set the install prefix 4 | if(NOT DEFINED CMAKE_INSTALL_PREFIX) 5 | set(CMAKE_INSTALL_PREFIX "C:/Program Files (x86)/user_app") 6 | endif() 7 | string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") 8 | 9 | # Set the install configuration name. 10 | if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) 11 | if(BUILD_TYPE) 12 | string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" 13 | CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") 14 | else() 15 | set(CMAKE_INSTALL_CONFIG_NAME "") 16 | endif() 17 | message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") 18 | endif() 19 | 20 | # Set the component getting installed. 21 | if(NOT CMAKE_INSTALL_COMPONENT) 22 | if(COMPONENT) 23 | message(STATUS "Install component: \"${COMPONENT}\"") 24 | set(CMAKE_INSTALL_COMPONENT "${COMPONENT}") 25 | else() 26 | set(CMAKE_INSTALL_COMPONENT) 27 | endif() 28 | endif() 29 | 30 | # Is this installation the result of a crosscompile? 31 | if(NOT DEFINED CMAKE_CROSSCOMPILING) 32 | set(CMAKE_CROSSCOMPILING "TRUE") 33 | endif() 34 | 35 | -------------------------------------------------------------------------------- /wifi_source_code/hx-tmall/build/spiffs/cmake_install.cmake: -------------------------------------------------------------------------------- 1 | # Install script for directory: D:/Project/ESP32/esp/esp-idf/components/spiffs 2 | 3 | # Set the install prefix 4 | if(NOT DEFINED CMAKE_INSTALL_PREFIX) 5 | set(CMAKE_INSTALL_PREFIX "C:/Program Files (x86)/user_app") 6 | endif() 7 | string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") 8 | 9 | # Set the install configuration name. 10 | if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) 11 | if(BUILD_TYPE) 12 | string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" 13 | CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") 14 | else() 15 | set(CMAKE_INSTALL_CONFIG_NAME "") 16 | endif() 17 | message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") 18 | endif() 19 | 20 | # Set the component getting installed. 21 | if(NOT CMAKE_INSTALL_COMPONENT) 22 | if(COMPONENT) 23 | message(STATUS "Install component: \"${COMPONENT}\"") 24 | set(CMAKE_INSTALL_COMPONENT "${COMPONENT}") 25 | else() 26 | set(CMAKE_INSTALL_COMPONENT) 27 | endif() 28 | endif() 29 | 30 | # Is this installation the result of a crosscompile? 31 | if(NOT DEFINED CMAKE_CROSSCOMPILING) 32 | set(CMAKE_CROSSCOMPILING "TRUE") 33 | endif() 34 | 35 | -------------------------------------------------------------------------------- /wifi_source_code/hx-tmall/build/tcpip_adapter/cmake_install.cmake: -------------------------------------------------------------------------------- 1 | # Install script for directory: D:/Project/ESP32/esp/esp-idf/components/tcpip_adapter 2 | 3 | # Set the install prefix 4 | if(NOT DEFINED CMAKE_INSTALL_PREFIX) 5 | set(CMAKE_INSTALL_PREFIX "C:/Program Files (x86)/user_app") 6 | endif() 7 | string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") 8 | 9 | # Set the install configuration name. 10 | if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) 11 | if(BUILD_TYPE) 12 | string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" 13 | CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") 14 | else() 15 | set(CMAKE_INSTALL_CONFIG_NAME "") 16 | endif() 17 | message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") 18 | endif() 19 | 20 | # Set the component getting installed. 21 | if(NOT CMAKE_INSTALL_COMPONENT) 22 | if(COMPONENT) 23 | message(STATUS "Install component: \"${COMPONENT}\"") 24 | set(CMAKE_INSTALL_COMPONENT "${COMPONENT}") 25 | else() 26 | set(CMAKE_INSTALL_COMPONENT) 27 | endif() 28 | endif() 29 | 30 | # Is this installation the result of a crosscompile? 31 | if(NOT DEFINED CMAKE_CROSSCOMPILING) 32 | set(CMAKE_CROSSCOMPILING "TRUE") 33 | endif() 34 | 35 | -------------------------------------------------------------------------------- /wifi_source_code/hx-tmall/build/ulp/cmake_install.cmake: -------------------------------------------------------------------------------- 1 | # Install script for directory: D:/Project/ESP32/esp/esp-idf/components/ulp 2 | 3 | # Set the install prefix 4 | if(NOT DEFINED CMAKE_INSTALL_PREFIX) 5 | set(CMAKE_INSTALL_PREFIX "C:/Program Files (x86)/user_app") 6 | endif() 7 | string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") 8 | 9 | # Set the install configuration name. 10 | if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) 11 | if(BUILD_TYPE) 12 | string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" 13 | CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") 14 | else() 15 | set(CMAKE_INSTALL_CONFIG_NAME "") 16 | endif() 17 | message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") 18 | endif() 19 | 20 | # Set the component getting installed. 21 | if(NOT CMAKE_INSTALL_COMPONENT) 22 | if(COMPONENT) 23 | message(STATUS "Install component: \"${COMPONENT}\"") 24 | set(CMAKE_INSTALL_COMPONENT "${COMPONENT}") 25 | else() 26 | set(CMAKE_INSTALL_COMPONENT) 27 | endif() 28 | endif() 29 | 30 | # Is this installation the result of a crosscompile? 31 | if(NOT DEFINED CMAKE_CROSSCOMPILING) 32 | set(CMAKE_CROSSCOMPILING "TRUE") 33 | endif() 34 | 35 | -------------------------------------------------------------------------------- /wifi_source_code/hx-tmall/build/user_app.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HX-IoT/ESP32-Developer-Guide/51a7a0728e169cc757115a9d78c9259a2f82aa2c/wifi_source_code/hx-tmall/build/user_app.bin -------------------------------------------------------------------------------- /wifi_source_code/hx-tmall/build/user_driver/cmake_install.cmake: -------------------------------------------------------------------------------- 1 | # Install script for directory: C:/Users/Administrator/Desktop/app/components/user_driver 2 | 3 | # Set the install prefix 4 | if(NOT DEFINED CMAKE_INSTALL_PREFIX) 5 | set(CMAKE_INSTALL_PREFIX "C:/Program Files (x86)/user_app") 6 | endif() 7 | string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") 8 | 9 | # Set the install configuration name. 10 | if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) 11 | if(BUILD_TYPE) 12 | string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" 13 | CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") 14 | else() 15 | set(CMAKE_INSTALL_CONFIG_NAME "") 16 | endif() 17 | message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") 18 | endif() 19 | 20 | # Set the component getting installed. 21 | if(NOT CMAKE_INSTALL_COMPONENT) 22 | if(COMPONENT) 23 | message(STATUS "Install component: \"${COMPONENT}\"") 24 | set(CMAKE_INSTALL_COMPONENT "${COMPONENT}") 25 | else() 26 | set(CMAKE_INSTALL_COMPONENT) 27 | endif() 28 | endif() 29 | 30 | # Is this installation the result of a crosscompile? 31 | if(NOT DEFINED CMAKE_CROSSCOMPILING) 32 | set(CMAKE_CROSSCOMPILING "TRUE") 33 | endif() 34 | 35 | -------------------------------------------------------------------------------- /wifi_source_code/hx-tmall/build/vfs/cmake_install.cmake: -------------------------------------------------------------------------------- 1 | # Install script for directory: D:/Project/ESP32/esp/esp-idf/components/vfs 2 | 3 | # Set the install prefix 4 | if(NOT DEFINED CMAKE_INSTALL_PREFIX) 5 | set(CMAKE_INSTALL_PREFIX "C:/Program Files (x86)/user_app") 6 | endif() 7 | string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") 8 | 9 | # Set the install configuration name. 10 | if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) 11 | if(BUILD_TYPE) 12 | string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" 13 | CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") 14 | else() 15 | set(CMAKE_INSTALL_CONFIG_NAME "") 16 | endif() 17 | message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") 18 | endif() 19 | 20 | # Set the component getting installed. 21 | if(NOT CMAKE_INSTALL_COMPONENT) 22 | if(COMPONENT) 23 | message(STATUS "Install component: \"${COMPONENT}\"") 24 | set(CMAKE_INSTALL_COMPONENT "${COMPONENT}") 25 | else() 26 | set(CMAKE_INSTALL_COMPONENT) 27 | endif() 28 | endif() 29 | 30 | # Is this installation the result of a crosscompile? 31 | if(NOT DEFINED CMAKE_CROSSCOMPILING) 32 | set(CMAKE_CROSSCOMPILING "TRUE") 33 | endif() 34 | 35 | -------------------------------------------------------------------------------- /wifi_source_code/hx-tmall/build/wear_levelling/cmake_install.cmake: -------------------------------------------------------------------------------- 1 | # Install script for directory: D:/Project/ESP32/esp/esp-idf/components/wear_levelling 2 | 3 | # Set the install prefix 4 | if(NOT DEFINED CMAKE_INSTALL_PREFIX) 5 | set(CMAKE_INSTALL_PREFIX "C:/Program Files (x86)/user_app") 6 | endif() 7 | string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") 8 | 9 | # Set the install configuration name. 10 | if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) 11 | if(BUILD_TYPE) 12 | string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" 13 | CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") 14 | else() 15 | set(CMAKE_INSTALL_CONFIG_NAME "") 16 | endif() 17 | message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") 18 | endif() 19 | 20 | # Set the component getting installed. 21 | if(NOT CMAKE_INSTALL_COMPONENT) 22 | if(COMPONENT) 23 | message(STATUS "Install component: \"${COMPONENT}\"") 24 | set(CMAKE_INSTALL_COMPONENT "${COMPONENT}") 25 | else() 26 | set(CMAKE_INSTALL_COMPONENT) 27 | endif() 28 | endif() 29 | 30 | # Is this installation the result of a crosscompile? 31 | if(NOT DEFINED CMAKE_CROSSCOMPILING) 32 | set(CMAKE_CROSSCOMPILING "TRUE") 33 | endif() 34 | 35 | -------------------------------------------------------------------------------- /wifi_source_code/hx-tmall/build/wpa_supplicant/cmake_install.cmake: -------------------------------------------------------------------------------- 1 | # Install script for directory: D:/Project/ESP32/esp/esp-idf/components/wpa_supplicant 2 | 3 | # Set the install prefix 4 | if(NOT DEFINED CMAKE_INSTALL_PREFIX) 5 | set(CMAKE_INSTALL_PREFIX "C:/Program Files (x86)/user_app") 6 | endif() 7 | string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") 8 | 9 | # Set the install configuration name. 10 | if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) 11 | if(BUILD_TYPE) 12 | string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" 13 | CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") 14 | else() 15 | set(CMAKE_INSTALL_CONFIG_NAME "") 16 | endif() 17 | message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") 18 | endif() 19 | 20 | # Set the component getting installed. 21 | if(NOT CMAKE_INSTALL_COMPONENT) 22 | if(COMPONENT) 23 | message(STATUS "Install component: \"${COMPONENT}\"") 24 | set(CMAKE_INSTALL_COMPONENT "${COMPONENT}") 25 | else() 26 | set(CMAKE_INSTALL_COMPONENT) 27 | endif() 28 | endif() 29 | 30 | # Is this installation the result of a crosscompile? 31 | if(NOT DEFINED CMAKE_CROSSCOMPILING) 32 | set(CMAKE_CROSSCOMPILING "TRUE") 33 | endif() 34 | 35 | -------------------------------------------------------------------------------- /wifi_source_code/hx-tmall/build/xtensa-debug-module/cmake_install.cmake: -------------------------------------------------------------------------------- 1 | # Install script for directory: D:/Project/ESP32/esp/esp-idf/components/xtensa-debug-module 2 | 3 | # Set the install prefix 4 | if(NOT DEFINED CMAKE_INSTALL_PREFIX) 5 | set(CMAKE_INSTALL_PREFIX "C:/Program Files (x86)/user_app") 6 | endif() 7 | string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") 8 | 9 | # Set the install configuration name. 10 | if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) 11 | if(BUILD_TYPE) 12 | string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" 13 | CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") 14 | else() 15 | set(CMAKE_INSTALL_CONFIG_NAME "") 16 | endif() 17 | message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") 18 | endif() 19 | 20 | # Set the component getting installed. 21 | if(NOT CMAKE_INSTALL_COMPONENT) 22 | if(COMPONENT) 23 | message(STATUS "Install component: \"${COMPONENT}\"") 24 | set(CMAKE_INSTALL_COMPONENT "${COMPONENT}") 25 | else() 26 | set(CMAKE_INSTALL_COMPONENT) 27 | endif() 28 | endif() 29 | 30 | # Is this installation the result of a crosscompile? 31 | if(NOT DEFINED CMAKE_CROSSCOMPILING) 32 | set(CMAKE_CROSSCOMPILING "TRUE") 33 | endif() 34 | 35 | -------------------------------------------------------------------------------- /wifi_source_code/hx-tmall/components/user_driver/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 | 4 | set(COMPONENT_SRCDIRS ".") 5 | set(COMPONENT_ADD_INCLUDEDIRS "include") 6 | set(COMPONENT_REQUIRES "spi_flash" "nvs_flash" "mbedtls" "wpa_supplicant" "json") 7 | register_component() 8 | -------------------------------------------------------------------------------- /wifi_source_code/hx-tmall/components/user_driver/include/user_app.h: -------------------------------------------------------------------------------- 1 | /** 2 | * @file user_app.h 3 | * @brief 用户实现自己功能相关声明 4 | * @details 声明用户所需的结构体或者宏定义,以及函数声明 5 | * @author Helon_Chan 6 | * @par Copyright (c): 7 | * 红旭无线开发团队 8 | * @par History: 9 | * Ver0.0.1: 10 | Helon_Chan, 2018/06/19, 初始化版本\n 11 | */ 12 | #ifndef USER_APP_H_ 13 | #define USER_APP_H_ 14 | 15 | 16 | /* 17 | =========================== 18 | 宏定义 19 | =========================== 20 | */ 21 | #define R_CHANNEL LEDC_CHANNEL_0 22 | #define G_CHANNEL LEDC_CHANNEL_1 23 | #define B_CHANNEL LEDC_CHANNEL_2 24 | 25 | #define R_PIN_NUM (2) 26 | #define G_PIN_NUM (18) 27 | #define B_PIN_NUM (19) 28 | 29 | /** 30 | * 用户的按键初始化函数 31 | * @param[in] null 32 | * @retval null 33 | * @par 修改日志 34 | * Ver0.0.1: 35 | Helon_Chan, 2018/06/16, 初始化版本\n 36 | */ 37 | // void user_app_key_init(void); 38 | 39 | /** 40 | * 用户的rgb驱动初始化函数 41 | * @param[in] null 42 | * @retval null 43 | * @par 修改日志 44 | * Ver0.0.1: 45 | Helon_Chan, 2018/06/24, 初始化版本\n 46 | */ 47 | // void user_app_rgb_init(void); 48 | 49 | 50 | /** 51 | * 上电初始化任务,初始化按键,rgb等外设驱动 52 | * @param[in] null 53 | * @retval null 54 | * @par 修改日志 55 | * Ver0.0.1: 56 | Helon_Chan, 2018/06/26, 初始化版本\n 57 | */ 58 | void startup_initialization_task(void *pvParameters); 59 | #endif/* USER_APP_H_ */ -------------------------------------------------------------------------------- /wifi_source_code/hx-tmall/components/user_driver/include/user_tmall_genie.h: -------------------------------------------------------------------------------- 1 | /** 2 | * @file user_tmall_genie.h 3 | * @brief 声明接收天猫精灵控制命令以及其他相关的宏定义 4 | * @details 实质上esp32模块最终的命令均来自于贝壳物联的云平台,因为贝壳物联已经跟天猫精灵已经对接好了 5 | * @author Helon_Chan 6 | * @par Copyright (c): 7 | * 红旭无线开发团队 8 | * @par History: 9 | * Ver0.0.1: 10 | Helon_Chan, 2018/08/12, 初始化版本\n 11 | */ 12 | #ifndef USER_TMALL_GENIE_H_ 13 | #define USER_TMALL_GENIE_H_ 14 | 15 | 16 | /* 17 | =========================== 18 | 宏定义 19 | =========================== 20 | */ 21 | #define BIG_IOT_URL "www.bigiot.net" 22 | #define BIG_IOT_PORT "8585" 23 | #define TAG "big_iot_cloud_connect" 24 | 25 | /* 设备ID,当使用时请更改为您自己的设备ID */ 26 | #define DEVICE_ID "7130" 27 | /* 设备API KEY,当使用时请更改为您自己的设备API KEY */ 28 | #define DEVICE_API_KEY "eb195935a" 29 | /* 用户API KEY,当使用时请更改为您自己的用户API KEY*/ 30 | #define USER_API_KEY "6dc19ba6a5" 31 | /* 心跳包 */ 32 | #define HEART_BEAT "{\"M\":\"heart beat\"}\n" 33 | 34 | /* 35 | =========================== 36 | 枚举变量定义 37 | =========================== 38 | */ 39 | enum 40 | { 41 | INVALID_METHOD, ///< 无效的方法 42 | TCP_CONNECT_SUCCESS, ///< tcp连接成功 43 | GET_TOKEN, ///< 获取token成功 44 | SIGN_IN_OK, ///< 设备登陆成功 45 | RECEVICE, ///< 接收云平台的命令 46 | ON, ///< 打开 47 | OFF, ///< 关闭 48 | }; 49 | 50 | /* 51 | =========================== 52 | 函数声明 53 | =========================== 54 | */ 55 | /** 56 | * 通过TCP的方式连接贝壳物联的云平台接口 57 | * @param[in] url:表示贝壳物联的云平台接口地址 58 | * @param[in] port:表示贝壳物联云平台接口地址的端口 59 | * @retval null 60 | * @note 修改日志 61 | * Ver0.0.1: 62 | Helon_Chan, 2018/08/12, 初始化版本\n 63 | */ 64 | void big_iot_cloud_connect(const char *url, const char *port); 65 | 66 | 67 | 68 | #endif /* USER_TMALL_GENIE_H_ */ -------------------------------------------------------------------------------- /wifi_source_code/hx-tmall/main/user_main.c: -------------------------------------------------------------------------------- 1 | /** 2 | * @file user_app_main.c 3 | * @brief 用户应用程序入口 4 | * @details 用户应用程序的入口文件,用户所有要实现的功能逻辑均是从该文件开始或者处理 5 | * @author Helon_Chan 6 | * @par Copyright (c): 7 | * 红旭无线开发团队 8 | * @par History: 9 | * Ver0.0.1: 10 | Helon_Chan, 2018/06/04, 初始化版本\n 11 | */ 12 | 13 | /* ============= 14 | 头文件包含 15 | =============*/ 16 | #include 17 | #include "esp_system.h" 18 | #include 19 | #include "user_app.h" 20 | #include 21 | #include "freertos/task.h" 22 | /** 23 | * 应用程序的函数入口 24 | * @param[in] NULL 25 | * @retval NULL 26 | * @par 修改日志 27 | * Ver0.0.1: 28 | Helon_Chan, 2018/06/04, 初始化版本\n 29 | */ 30 | void app_main() 31 | { 32 | BaseType_t task_err_code; 33 | /* 建议保留此输出打印SDK版本,用于以后出问题了可以有溯源 */ 34 | ESP_LOGI("app_main","the esp32 sdk version :%s\n", esp_get_idf_version()); 35 | task_err_code = xTaskCreate(startup_initialization_task,"startup_initialization_task",1024*4,NULL,3,NULL); 36 | if(task_err_code != pdPASS) 37 | { 38 | ESP_LOGI("app_main","startup_initialization_task create failure,reason is:%d\n", task_err_code); 39 | } 40 | } -------------------------------------------------------------------------------- /wifi_source_code/hx-udp/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 := hx-udp 7 | 8 | include $(IDF_PATH)/make/project.mk 9 | 10 | -------------------------------------------------------------------------------- /wifi_source_code/hx-udp/README.md: -------------------------------------------------------------------------------- 1 | ESP32 UDP广播测试 2 | 3 | ### 总结 4 | 5 | ESP32技术交流QQ群:824870185 6 | 7 | 作者:红旭无线团队 8 | CSDN:https://blog.csdn.net/qq_24550925/ -------------------------------------------------------------------------------- /wifi_source_code/hx-udp/build/bsp/tcp.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HX-IoT/ESP32-Developer-Guide/51a7a0728e169cc757115a9d78c9259a2f82aa2c/wifi_source_code/hx-udp/build/bsp/tcp.o -------------------------------------------------------------------------------- /wifi_source_code/hx-udp/build/main/tcp_main.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HX-IoT/ESP32-Developer-Guide/51a7a0728e169cc757115a9d78c9259a2f82aa2c/wifi_source_code/hx-udp/build/main/tcp_main.o -------------------------------------------------------------------------------- /wifi_source_code/hx-udp/build/main/xuhong_Tcp.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HX-IoT/ESP32-Developer-Guide/51a7a0728e169cc757115a9d78c9259a2f82aa2c/wifi_source_code/hx-udp/build/main/xuhong_Tcp.o -------------------------------------------------------------------------------- /wifi_source_code/hx-udp/components/bsp/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 | -------------------------------------------------------------------------------- /wifi_source_code/hx-udp/components/bsp/include/udp_bsp.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef __UDP_BSP_H__ 3 | #define __UDP_BSP_H__ 4 | 5 | 6 | 7 | #ifdef __cplusplus 8 | extern "C" { 9 | #endif 10 | 11 | 12 | #ifndef FALSE 13 | #define FALSE 0 14 | #endif 15 | 16 | #ifndef TRUE 17 | #define TRUE (!FALSE) 18 | #endif 19 | 20 | #define UDP_SERVER_CLIENT_OPTION FALSE //esp32作为client 21 | #define TAG "HX-UDP" //打印的tag 22 | 23 | //client 24 | //STA模式配置信息,即要连上的路由器的账号密码 25 | #define GATEWAY_SSID "Massky_AP" //账号 26 | #define GATEWAY_PAS "ztl62066206" //密码 27 | // #define GATEWAY_SSID "stop" //账号 28 | // #define GATEWAY_PAS "11111111111" //密码 29 | #define UDP_ADRESS "255.255.255.255" //作为client,要连接UDP服务器的地址 30 | //如果为255.255.255.255:UDP广播 31 | //如果为192.168.169.205:UDP单播:根据自己的server写 32 | 33 | #define UDP_PORT 12345 //统一的端口号,包括UDP客户端或者服务端 34 | 35 | 36 | // FreeRTOS event group to signal when we are connected to wifi 37 | #define WIFI_CONNECTED_BIT BIT0 38 | extern EventGroupHandle_t udp_event_group; 39 | 40 | //wifi作为sta 41 | void wifi_init_sta(); 42 | 43 | //创建USP client 44 | esp_err_t create_udp_client(); 45 | 46 | //收发数据 47 | void recv_data(void *pvParameters); 48 | 49 | //close all socket 50 | void close_socket(); 51 | 52 | //get socket error code. return: error code 53 | int get_socket_error_code(int socket); 54 | 55 | //show socket error code. return: error code 56 | int show_socket_error_reason(const char* str, int socket); 57 | 58 | //check working socket 59 | int check_working_socket(); 60 | 61 | 62 | #ifdef __cplusplus 63 | } 64 | #endif 65 | 66 | 67 | #endif /*#ifndef __UDP_BSP_H__*/ 68 | 69 | -------------------------------------------------------------------------------- /wifi_source_code/hx-udp/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 | -------------------------------------------------------------------------------- /wifi_source_code/hx-wifi/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 := user_app 7 | 8 | include $(IDF_PATH)/make/project.mk 9 | 10 | -------------------------------------------------------------------------------- /wifi_source_code/hx-wifi/README.md: -------------------------------------------------------------------------------- 1 | ESP32 WIFI小测 2 | 3 | ### 总结 4 | 5 | ESP32技术交流QQ群:824870185 6 | 7 | 作者:红旭无线团队 8 | CSDN:https://blog.csdn.net/qq_24550925/ -------------------------------------------------------------------------------- /wifi_source_code/hx-wifi/build/hello-world.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HX-IoT/ESP32-Developer-Guide/51a7a0728e169cc757115a9d78c9259a2f82aa2c/wifi_source_code/hx-wifi/build/hello-world.bin -------------------------------------------------------------------------------- /wifi_source_code/hx-wifi/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 | -------------------------------------------------------------------------------- /wifi_source_code/hx-wifi/main/user_app.c: -------------------------------------------------------------------------------- 1 | /** 2 | * @file user_app_main.c 3 | * @brief 用户应用程序入口 4 | * @details 用户应用程序的入口文件,用户所有要实现的功能逻辑均是从该文件开始或者处理 5 | * @author Helon_Chan 6 | * @par Copyright (c): 7 | * 红旭无线开发团队 8 | * @par History: 9 | * Ver0.0.1: 10 | Helon_Chan, 2018/06/04, 初始化版本\n 11 | */ 12 | 13 | /* ============= 14 | 头文件包含 15 | =============*/ 16 | #include 17 | #include "esp_system.h" 18 | #include "esp_spi_flash.h" 19 | #include "esp_wifi.h" 20 | #include "esp_event_loop.h" 21 | #include "esp_log.h" 22 | #include "esp_err.h" 23 | #include "nvs_flash.h" 24 | #include "esp_event.h" 25 | 26 | /** 27 | * wifi事件处理函数 28 | * @param[in] ctx :表示传入的事件类型对应所携带的参数 29 | * @param[in] event :表示传入的事件类型 30 | * @retval ESP_OK : succeed 31 | * 其他 :失败 32 | * @par 修改日志 33 | * Ver0.0.1: 34 | Helon_Chan, 2018/06/04, 初始化版本\n 35 | */ 36 | static esp_err_t event_handler(void *ctx, system_event_t *event) 37 | { 38 | switch (event->event_id) 39 | { 40 | case SYSTEM_EVENT_AP_START: 41 | printf("\nwifi_softap_start\n"); 42 | break; 43 | case SYSTEM_EVENT_AP_STACONNECTED: 44 | printf("\nwifi_softap_connectted\n"); 45 | break; 46 | case SYSTEM_EVENT_AP_STADISCONNECTED: 47 | printf("\nwifi_softap_disconnectted\n"); 48 | break; 49 | default: 50 | break; 51 | } 52 | return ESP_OK; 53 | } 54 | 55 | /** 56 | * 应用程序的函数入口 57 | * @param[in] NULL 58 | * @retval NULL 59 | * @par 修改日志 60 | * Ver0.0.1: 61 | Helon_Chan, 2018/06/04, 初始化版本\n 62 | */ 63 | void app_main() 64 | { 65 | ESP_ERROR_CHECK( nvs_flash_init() ); 66 | tcpip_adapter_init(); 67 | ESP_ERROR_CHECK(esp_event_loop_init(event_handler, NULL)); 68 | 69 | wifi_init_config_t cfg = WIFI_INIT_CONFIG_DEFAULT(); 70 | ESP_ERROR_CHECK(esp_wifi_init(&cfg)); 71 | wifi_config_t wifi_config = { 72 | .ap = { 73 | .ssid = "Helon_test", 74 | .ssid_len = 0, 75 | /* 最多只能被4个station同时连接,这里设置为只能被一个station连接 */ 76 | .max_connection = 1, 77 | .password = "20180604", 78 | .authmode = WIFI_AUTH_WPA_WPA2_PSK, 79 | }, 80 | }; 81 | ESP_ERROR_CHECK(esp_wifi_set_mode(WIFI_MODE_AP)); 82 | ESP_ERROR_CHECK(esp_wifi_set_config(ESP_IF_WIFI_AP, &wifi_config)); 83 | ESP_ERROR_CHECK(esp_wifi_start()); 84 | } 85 | -------------------------------------------------------------------------------- /wifi_source_code/hx-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 | 6 | PROJECT_NAME := WebSocket_demo 7 | 8 | 9 | include $(IDF_PATH)/make/project.mk 10 | 11 | -------------------------------------------------------------------------------- /wifi_source_code/hx-ws/README.md: -------------------------------------------------------------------------------- 1 | ESP32 WebSocket服务器搭建 2 | 3 | ### 总结 4 | 5 | ESP32技术交流QQ群:824870185 6 | 7 | 作者:红旭无线团队 8 | CSDN:https://blog.csdn.net/qq_24550925/ -------------------------------------------------------------------------------- /wifi_source_code/hx-ws/main/WebSocket_Task.h: -------------------------------------------------------------------------------- 1 | /** 2 | * @section License 3 | * 4 | * The MIT License (MIT) 5 | * 6 | * Copyright (c) 2017, Thomas Barth, barth-dev.de 7 | * 8 | * Permission is hereby granted, free of charge, to any person 9 | * obtaining a copy of this software and associated documentation 10 | * files (the "Software"), to deal in the Software without 11 | * restriction, including without limitation the rights to use, copy, 12 | * modify, merge, publish, distribute, sublicense, and/or sell copies 13 | * of the Software, and to permit persons to whom the Software is 14 | * furnished to do so, subject to the following conditions: 15 | * 16 | * The above copyright notice and this permission notice shall be 17 | * included in all copies or substantial portions of the Software. 18 | * 19 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 20 | * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 21 | * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 22 | * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS 23 | * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN 24 | * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 25 | * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 26 | * SOFTWARE. 27 | */ 28 | 29 | 30 | #ifndef _WEBSOCKET_TASK_H_ 31 | #define _WEBSOCKET_TASK_H_ 32 | 33 | #include "lwip/api.h" 34 | 35 | #define WS_MASK_L 0x4 /**< \brief Length of MASK field in WebSocket Header*/ 36 | 37 | 38 | /** \brief Websocket frame header type*/ 39 | typedef struct { 40 | uint8_t opcode :WS_MASK_L; 41 | uint8_t reserved :3; 42 | uint8_t FIN :1; 43 | uint8_t payload_length :7; 44 | uint8_t mask :1; 45 | } WS_frame_header_t; 46 | 47 | /** \brief Websocket frame type*/ 48 | typedef struct{ 49 | struct netconn* conenction; 50 | WS_frame_header_t frame_header; 51 | size_t payload_length; 52 | char* payload; 53 | }WebSocket_frame_t; 54 | 55 | 56 | /** 57 | * \brief Send data to the websocket client 58 | * 59 | * \return #ERR_VAL: Payload length exceeded 2^7 bytes. 60 | * #ERR_CONN: There is no open connection 61 | * #ERR_OK: Header and payload send 62 | * all other values: derived from #netconn_write (sending frame header or payload) 63 | */ 64 | err_t WS_write_data(char* p_data, size_t length); 65 | 66 | /** 67 | * \brief WebSocket Server task 68 | */ 69 | void ws_server(void *pvParameters); 70 | 71 | 72 | #endif /* _WEBSOCKET_TASK_H_ */ 73 | -------------------------------------------------------------------------------- /wifi_source_code/hx-ws/main/component.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Main component makefile. 3 | # 4 | # This Makefile can be left empty. By default, it will take the sources in the 5 | # src/ directory, compile them and link them into lib(subdirectory_name).a 6 | # in the build directory. This behaviour is entirely configurable, 7 | # please read the ESP-IDF documents if you need to do this. 8 | # 9 | -------------------------------------------------------------------------------- /教程:ESP32开发指南(开源一小步)/02、开发准备.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HX-IoT/ESP32-Developer-Guide/51a7a0728e169cc757115a9d78c9259a2f82aa2c/教程:ESP32开发指南(开源一小步)/02、开发准备.pdf -------------------------------------------------------------------------------- /教程:ESP32开发指南(开源一小步)/03、Windows搭建ESP32开发环境(vscode).pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HX-IoT/ESP32-Developer-Guide/51a7a0728e169cc757115a9d78c9259a2f82aa2c/教程:ESP32开发指南(开源一小步)/03、Windows搭建ESP32开发环境(vscode).pdf -------------------------------------------------------------------------------- /教程:ESP32开发指南(开源一小步)/04、Ubuntu搭建ESP32开发环境(vscode).pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HX-IoT/ESP32-Developer-Guide/51a7a0728e169cc757115a9d78c9259a2f82aa2c/教程:ESP32开发指南(开源一小步)/04、Ubuntu搭建ESP32开发环境(vscode).pdf -------------------------------------------------------------------------------- /教程:ESP32开发指南(开源一小步)/05、新建工程.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HX-IoT/ESP32-Developer-Guide/51a7a0728e169cc757115a9d78c9259a2f82aa2c/教程:ESP32开发指南(开源一小步)/05、新建工程.pdf -------------------------------------------------------------------------------- /教程:ESP32开发指南(开源一小步)/06、编译红旭等ESP32源码.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HX-IoT/ESP32-Developer-Guide/51a7a0728e169cc757115a9d78c9259a2f82aa2c/教程:ESP32开发指南(开源一小步)/06、编译红旭等ESP32源码.pdf -------------------------------------------------------------------------------- /教程:ESP32开发指南(开源一小步)/07、ESP32程序下载多种方式.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HX-IoT/ESP32-Developer-Guide/51a7a0728e169cc757115a9d78c9259a2f82aa2c/教程:ESP32开发指南(开源一小步)/07、ESP32程序下载多种方式.pdf -------------------------------------------------------------------------------- /教程:ESP32开发指南(开源一小步)/08、 驱动LED灯.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HX-IoT/ESP32-Developer-Guide/51a7a0728e169cc757115a9d78c9259a2f82aa2c/教程:ESP32开发指南(开源一小步)/08、 驱动LED灯.pdf -------------------------------------------------------------------------------- /教程:ESP32开发指南(开源一小步)/08、ESP32启动过程.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HX-IoT/ESP32-Developer-Guide/51a7a0728e169cc757115a9d78c9259a2f82aa2c/教程:ESP32开发指南(开源一小步)/08、ESP32启动过程.pdf -------------------------------------------------------------------------------- /教程:ESP32开发指南(开源一小步)/09、 按键操作.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HX-IoT/ESP32-Developer-Guide/51a7a0728e169cc757115a9d78c9259a2f82aa2c/教程:ESP32开发指南(开源一小步)/09、 按键操作.pdf -------------------------------------------------------------------------------- /教程:ESP32开发指南(开源一小步)/09、ESP32的NVS测试.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HX-IoT/ESP32-Developer-Guide/51a7a0728e169cc757115a9d78c9259a2f82aa2c/教程:ESP32开发指南(开源一小步)/09、ESP32的NVS测试.pdf -------------------------------------------------------------------------------- /教程:ESP32开发指南(开源一小步)/09、ESP32的定时器.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HX-IoT/ESP32-Developer-Guide/51a7a0728e169cc757115a9d78c9259a2f82aa2c/教程:ESP32开发指南(开源一小步)/09、ESP32的定时器.pdf -------------------------------------------------------------------------------- /教程:ESP32开发指南(开源一小步)/10、PWM彩灯.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HX-IoT/ESP32-Developer-Guide/51a7a0728e169cc757115a9d78c9259a2f82aa2c/教程:ESP32开发指南(开源一小步)/10、PWM彩灯.pdf -------------------------------------------------------------------------------- /教程:ESP32开发指南(开源一小步)/11、IIC-读取温湿度.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HX-IoT/ESP32-Developer-Guide/51a7a0728e169cc757115a9d78c9259a2f82aa2c/教程:ESP32开发指南(开源一小步)/11、IIC-读取温湿度.pdf -------------------------------------------------------------------------------- /教程:ESP32开发指南(开源一小步)/12、IIC-OLED显示.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HX-IoT/ESP32-Developer-Guide/51a7a0728e169cc757115a9d78c9259a2f82aa2c/教程:ESP32开发指南(开源一小步)/12、IIC-OLED显示.pdf -------------------------------------------------------------------------------- /教程:ESP32开发指南(开源一小步)/13、FreeRTOS简介.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HX-IoT/ESP32-Developer-Guide/51a7a0728e169cc757115a9d78c9259a2f82aa2c/教程:ESP32开发指南(开源一小步)/13、FreeRTOS简介.pdf -------------------------------------------------------------------------------- /教程:ESP32开发指南(开源一小步)/13、UART操作.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HX-IoT/ESP32-Developer-Guide/51a7a0728e169cc757115a9d78c9259a2f82aa2c/教程:ESP32开发指南(开源一小步)/13、UART操作.pdf -------------------------------------------------------------------------------- /教程:ESP32开发指南(开源一小步)/14、新建一个WIFI热点.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HX-IoT/ESP32-Developer-Guide/51a7a0728e169cc757115a9d78c9259a2f82aa2c/教程:ESP32开发指南(开源一小步)/14、新建一个WIFI热点.pdf -------------------------------------------------------------------------------- /教程:ESP32开发指南(开源一小步)/15、SmartConfig快配.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HX-IoT/ESP32-Developer-Guide/51a7a0728e169cc757115a9d78c9259a2f82aa2c/教程:ESP32开发指南(开源一小步)/15、SmartConfig快配.pdf -------------------------------------------------------------------------------- /教程:ESP32开发指南(开源一小步)/16、ESP32的TCP连接.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HX-IoT/ESP32-Developer-Guide/51a7a0728e169cc757115a9d78c9259a2f82aa2c/教程:ESP32开发指南(开源一小步)/16、ESP32的TCP连接.pdf -------------------------------------------------------------------------------- /教程:ESP32开发指南(开源一小步)/17、ESP32的UDP广播.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HX-IoT/ESP32-Developer-Guide/51a7a0728e169cc757115a9d78c9259a2f82aa2c/教程:ESP32开发指南(开源一小步)/17、ESP32的UDP广播.pdf -------------------------------------------------------------------------------- /教程:ESP32开发指南(开源一小步)/18、ESP32的WebSocket.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HX-IoT/ESP32-Developer-Guide/51a7a0728e169cc757115a9d78c9259a2f82aa2c/教程:ESP32开发指南(开源一小步)/18、ESP32的WebSocket.pdf -------------------------------------------------------------------------------- /教程:ESP32开发指南(开源一小步)/19、HTTP获取城市的温度.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HX-IoT/ESP32-Developer-Guide/51a7a0728e169cc757115a9d78c9259a2f82aa2c/教程:ESP32开发指南(开源一小步)/19、HTTP获取城市的温度.pdf -------------------------------------------------------------------------------- /教程:ESP32开发指南(开源一小步)/20、ESP32的空中升级(OTA).pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HX-IoT/ESP32-Developer-Guide/51a7a0728e169cc757115a9d78c9259a2f82aa2c/教程:ESP32开发指南(开源一小步)/20、ESP32的空中升级(OTA).pdf -------------------------------------------------------------------------------- /教程:ESP32开发指南(开源一小步)/21、ESP32的MQTT自点灯.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HX-IoT/ESP32-Developer-Guide/51a7a0728e169cc757115a9d78c9259a2f82aa2c/教程:ESP32开发指南(开源一小步)/21、ESP32的MQTT自点灯.pdf -------------------------------------------------------------------------------- /教程:ESP32开发指南(开源一小步)/21、物联网最常用的MQTT.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HX-IoT/ESP32-Developer-Guide/51a7a0728e169cc757115a9d78c9259a2f82aa2c/教程:ESP32开发指南(开源一小步)/21、物联网最常用的MQTT.pdf -------------------------------------------------------------------------------- /教程:ESP32开发指南(开源一小步)/22、获取天气预报(wifi+https+json+mbedtls).pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HX-IoT/ESP32-Developer-Guide/51a7a0728e169cc757115a9d78c9259a2f82aa2c/教程:ESP32开发指南(开源一小步)/22、获取天气预报(wifi+https+json+mbedtls).pdf -------------------------------------------------------------------------------- /教程:ESP32开发指南(开源一小步)/23、天猫精灵控制ESP32(wifi+tcp+json).pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HX-IoT/ESP32-Developer-Guide/51a7a0728e169cc757115a9d78c9259a2f82aa2c/教程:ESP32开发指南(开源一小步)/23、天猫精灵控制ESP32(wifi+tcp+json).pdf --------------------------------------------------------------------------------