├── .github ├── ISSUE_TEMPLATE │ └── bug_report.md ├── scripts │ ├── check-cmakelists.sh │ ├── install-arduino-core-esp32.sh │ ├── install-arduino-ide.sh │ ├── install-platformio-esp32.sh │ ├── merge_packages.py │ ├── on-pages.sh │ ├── on-push.sh │ └── on-release.sh ├── stale.yml └── workflows │ ├── gh-pages.yml │ ├── push.yml │ └── release.yml ├── .gitignore ├── .gitmodules ├── .travis.yml ├── CMakeLists.txt ├── Kconfig.projbuild ├── LICENSE.md ├── Makefile.projbuild ├── README.md ├── boards.txt ├── component.mk ├── cores └── esp32 │ ├── Arduino.h │ ├── Client.h │ ├── Esp.cpp │ ├── Esp.h │ ├── FunctionalInterrupt.cpp │ ├── FunctionalInterrupt.h │ ├── HardwareSerial.cpp │ ├── HardwareSerial.h │ ├── IPAddress.cpp │ ├── IPAddress.h │ ├── IPv6Address.cpp │ ├── IPv6Address.h │ ├── MD5Builder.cpp │ ├── MD5Builder.h │ ├── Print.cpp │ ├── Print.h │ ├── Printable.h │ ├── Server.h │ ├── Stream.cpp │ ├── Stream.h │ ├── StreamString.cpp │ ├── StreamString.h │ ├── Udp.h │ ├── WCharacter.h │ ├── WMath.cpp │ ├── WString.cpp │ ├── WString.h │ ├── apps │ └── sntp │ │ └── sntp.h │ ├── base64.cpp │ ├── base64.h │ ├── binary.h │ ├── cbuf.cpp │ ├── cbuf.h │ ├── esp32-hal-adc.c │ ├── esp32-hal-adc.h │ ├── esp32-hal-bt.c │ ├── esp32-hal-bt.h │ ├── esp32-hal-cpu.c │ ├── esp32-hal-cpu.h │ ├── esp32-hal-dac.c │ ├── esp32-hal-dac.h │ ├── esp32-hal-gpio.c │ ├── esp32-hal-gpio.h │ ├── esp32-hal-i2c.c │ ├── esp32-hal-i2c.h │ ├── esp32-hal-ledc.c │ ├── esp32-hal-ledc.h │ ├── esp32-hal-log.h │ ├── esp32-hal-matrix.c │ ├── esp32-hal-matrix.h │ ├── esp32-hal-misc.c │ ├── esp32-hal-psram.c │ ├── esp32-hal-psram.h │ ├── esp32-hal-rmt.c │ ├── esp32-hal-rmt.h │ ├── esp32-hal-sigmadelta.c │ ├── esp32-hal-sigmadelta.h │ ├── esp32-hal-spi.c │ ├── esp32-hal-spi.h │ ├── esp32-hal-time.c │ ├── esp32-hal-timer.c │ ├── esp32-hal-timer.h │ ├── esp32-hal-touch.c │ ├── esp32-hal-touch.h │ ├── esp32-hal-uart.c │ ├── esp32-hal-uart.h │ ├── esp32-hal.h │ ├── esp8266-compat.h │ ├── libb64 │ ├── AUTHORS │ ├── LICENSE │ ├── cdecode.c │ ├── cdecode.h │ ├── cencode.c │ └── cencode.h │ ├── main.cpp │ ├── pgmspace.h │ ├── stdlib_noniso.c │ ├── stdlib_noniso.h │ ├── wiring_private.h │ ├── wiring_pulse.c │ └── wiring_shift.c ├── docs ├── ISSUE_TEMPLATE.md ├── OTAWebUpdate │ ├── OTAWebUpdate.md │ ├── esp32login.PNG │ ├── esp32upload.PNG │ ├── esp32verbose.PNG │ └── exportTobinary.PNG ├── arduino-ide │ ├── boards_manager.md │ ├── debian_ubuntu.md │ ├── fedora.md │ ├── mac.md │ ├── opensuse.md │ ├── win-screenshots │ │ ├── arduino-ide.png │ │ ├── win-gui-1.png │ │ ├── win-gui-2.png │ │ ├── win-gui-3.png │ │ ├── win-gui-4.png │ │ ├── win-gui-5.png │ │ ├── win-gui-update-1.png │ │ └── win-gui-update-2.png │ └── windows.md ├── esp-idf_component.md ├── esp32_pinmap.png ├── lib_builder.md ├── make.md └── platformio.md ├── libraries ├── ArduinoOTA │ ├── examples │ │ ├── BasicOTA │ │ │ └── BasicOTA.ino │ │ └── OTAWebUpdater │ │ │ └── OTAWebUpdater.ino │ ├── keywords.txt │ ├── library.properties │ └── src │ │ ├── ArduinoOTA.cpp │ │ └── ArduinoOTA.h ├── AsyncUDP │ ├── examples │ │ ├── AsyncUDPClient │ │ │ └── AsyncUDPClient.ino │ │ ├── AsyncUDPMulticastServer │ │ │ └── AsyncUDPMulticastServer.ino │ │ └── AsyncUDPServer │ │ │ └── AsyncUDPServer.ino │ ├── keywords.txt │ ├── library.properties │ └── src │ │ ├── AsyncUDP.cpp │ │ └── AsyncUDP.h ├── BLE │ ├── README.md │ ├── examples │ │ ├── BLE_client │ │ │ └── BLE_client.ino │ │ ├── BLE_iBeacon │ │ │ └── BLE_iBeacon.ino │ │ ├── BLE_notify │ │ │ └── BLE_notify.ino │ │ ├── BLE_scan │ │ │ └── BLE_scan.ino │ │ ├── BLE_server │ │ │ └── BLE_server.ino │ │ ├── BLE_server_multiconnect │ │ │ └── BLE_server_multiconnect.ino │ │ ├── BLE_uart │ │ │ └── BLE_uart.ino │ │ └── BLE_write │ │ │ └── BLE_write.ino │ ├── library.properties │ └── src │ │ ├── BLE2902.cpp │ │ ├── BLE2902.h │ │ ├── BLE2904.cpp │ │ ├── BLE2904.h │ │ ├── BLEAddress.cpp │ │ ├── BLEAddress.h │ │ ├── BLEAdvertisedDevice.cpp │ │ ├── BLEAdvertisedDevice.h │ │ ├── BLEAdvertising.cpp │ │ ├── BLEAdvertising.h │ │ ├── BLEBeacon.cpp │ │ ├── BLEBeacon.h │ │ ├── BLECharacteristic.cpp │ │ ├── BLECharacteristic.h │ │ ├── BLECharacteristicMap.cpp │ │ ├── BLEClient.cpp │ │ ├── BLEClient.h │ │ ├── BLEDescriptor.cpp │ │ ├── BLEDescriptor.h │ │ ├── BLEDescriptorMap.cpp │ │ ├── BLEDevice.cpp │ │ ├── BLEDevice.h │ │ ├── BLEEddystoneTLM.cpp │ │ ├── BLEEddystoneTLM.h │ │ ├── BLEEddystoneURL.cpp │ │ ├── BLEEddystoneURL.h │ │ ├── BLEExceptions.cpp │ │ ├── BLEExceptions.h │ │ ├── BLEHIDDevice.cpp │ │ ├── BLEHIDDevice.h │ │ ├── BLERemoteCharacteristic.cpp │ │ ├── BLERemoteCharacteristic.h │ │ ├── BLERemoteDescriptor.cpp │ │ ├── BLERemoteDescriptor.h │ │ ├── BLERemoteService.cpp │ │ ├── BLERemoteService.h │ │ ├── BLEScan.cpp │ │ ├── BLEScan.h │ │ ├── BLESecurity.cpp │ │ ├── BLESecurity.h │ │ ├── BLEServer.cpp │ │ ├── BLEServer.h │ │ ├── BLEService.cpp │ │ ├── BLEService.h │ │ ├── BLEServiceMap.cpp │ │ ├── BLEUUID.cpp │ │ ├── BLEUUID.h │ │ ├── BLEUtils.cpp │ │ ├── BLEUtils.h │ │ ├── BLEValue.cpp │ │ ├── BLEValue.h │ │ ├── FreeRTOS.cpp │ │ ├── FreeRTOS.h │ │ ├── GeneralUtils.cpp │ │ ├── GeneralUtils.h │ │ ├── HIDKeyboardTypes.h │ │ └── HIDTypes.h ├── BluetoothSerial │ ├── README.md │ ├── examples │ │ ├── SerialToSerialBT │ │ │ └── SerialToSerialBT.ino │ │ ├── SerialToSerialBTM │ │ │ └── SerialToSerialBTM.ino │ │ └── bt_remove_paired_devices │ │ │ └── bt_remove_paired_devices.ino │ ├── keywords.txt │ ├── library.properties │ └── src │ │ ├── BluetoothSerial.cpp │ │ └── BluetoothSerial.h ├── DNSServer │ ├── examples │ │ └── CaptivePortal │ │ │ └── CaptivePortal.ino │ ├── library.properties │ └── src │ │ ├── DNSServer.cpp │ │ └── DNSServer.h ├── EEPROM │ ├── README.md │ ├── examples │ │ ├── eeprom_class │ │ │ └── eeprom_class.ino │ │ ├── eeprom_extra │ │ │ └── eeprom_extra.ino │ │ └── eeprom_write │ │ │ └── eeprom_write.ino │ ├── keywords.txt │ ├── library.properties │ └── src │ │ ├── EEPROM.cpp │ │ └── EEPROM.h ├── ESP32 │ ├── examples │ │ ├── AnalogOut │ │ │ ├── LEDCSoftwareFade │ │ │ │ └── LEDCSoftwareFade.ino │ │ │ ├── SigmaDelta │ │ │ │ └── SigmaDelta.ino │ │ │ └── ledcWrite_RGB │ │ │ │ └── ledcWrite_RGB.ino │ │ ├── Camera │ │ │ └── CameraWebServer │ │ │ │ ├── CameraWebServer.ino │ │ │ │ ├── app_httpd.cpp │ │ │ │ ├── camera_index.h │ │ │ │ └── camera_pins.h │ │ ├── ChipID │ │ │ └── GetChipID │ │ │ │ └── GetChipID.ino │ │ ├── DeepSleep │ │ │ ├── ExternalWakeUp │ │ │ │ └── ExternalWakeUp.ino │ │ │ ├── TimerWakeUp │ │ │ │ └── TimerWakeUp.ino │ │ │ └── TouchWakeUp │ │ │ │ └── TouchWakeUp.ino │ │ ├── ESPNow │ │ │ ├── Basic │ │ │ │ ├── Master │ │ │ │ │ └── Master.ino │ │ │ │ └── Slave │ │ │ │ │ └── Slave.ino │ │ │ └── Multi-Slave │ │ │ │ ├── Master │ │ │ │ └── Master.ino │ │ │ │ └── Slave │ │ │ │ └── Slave.ino │ │ ├── FreeRTOS │ │ │ └── FreeRTOS.ino │ │ ├── GPIO │ │ │ ├── FunctionalInterrupt │ │ │ │ └── FunctionalInterrupt.ino │ │ │ └── GPIOInterrupt │ │ │ │ └── GPIOInterrupt.ino │ │ ├── HallSensor │ │ │ └── HallSensor.ino │ │ ├── I2S │ │ │ └── HiFreq_ADC │ │ │ │ └── HiFreq_ADC.ino │ │ ├── RMT │ │ │ ├── RMTLoopback │ │ │ │ └── RMTLoopback.ino │ │ │ ├── RMTReadXJT │ │ │ │ └── RMTReadXJT.ino │ │ │ └── RMTWriteNeoPixel │ │ │ │ └── RMTWriteNeoPixel.ino │ │ ├── ResetReason │ │ │ └── ResetReason.ino │ │ ├── Time │ │ │ └── SimpleTime │ │ │ │ └── SimpleTime.ino │ │ ├── Timer │ │ │ ├── RepeatTimer │ │ │ │ └── RepeatTimer.ino │ │ │ └── WatchdogTimer │ │ │ │ └── WatchdogTimer.ino │ │ └── Touch │ │ │ ├── TouchInterrupt │ │ │ └── TouchInterrupt.ino │ │ │ └── TouchRead │ │ │ └── TouchRead.ino │ ├── library.properties │ └── src │ │ └── dummy.h ├── ESPmDNS │ ├── examples │ │ ├── mDNS-SD_Extended │ │ │ └── mDNS-SD_Extended.ino │ │ └── mDNS_Web_Server │ │ │ └── mDNS_Web_Server.ino │ ├── keywords.txt │ ├── library.properties │ └── src │ │ ├── ESPmDNS.cpp │ │ └── ESPmDNS.h ├── FFat │ ├── examples │ │ ├── FFat_Test │ │ │ └── FFat_Test.ino │ │ └── FFat_time │ │ │ └── FFat_time.ino │ ├── library.properties │ └── src │ │ ├── FFat.cpp │ │ └── FFat.h ├── FS │ ├── library.properties │ └── src │ │ ├── FS.cpp │ │ ├── FS.h │ │ ├── FSImpl.h │ │ ├── vfs_api.cpp │ │ └── vfs_api.h ├── HTTPClient │ ├── examples │ │ ├── Authorization │ │ │ └── Authorization.ino │ │ ├── BasicHttpClient │ │ │ └── BasicHttpClient.ino │ │ ├── BasicHttpsClient │ │ │ └── BasicHttpsClient.ino │ │ ├── HTTPClientEnterprise │ │ │ └── HTTPClientEnterprise.ino │ │ ├── ReuseConnection │ │ │ └── ReuseConnection.ino │ │ └── StreamHttpClient │ │ │ └── StreamHttpClient.ino │ ├── library.properties │ └── src │ │ ├── HTTPClient.cpp │ │ └── HTTPClient.h ├── HTTPUpdate │ ├── examples │ │ ├── httpUpdate │ │ │ └── httpUpdate.ino │ │ ├── httpUpdateSPIFFS │ │ │ └── httpUpdateSPIFFS.ino │ │ └── httpUpdateSecure │ │ │ └── httpUpdateSecure.ino │ ├── keywords.txt │ ├── library.properties │ └── src │ │ ├── HTTPUpdate.cpp │ │ └── HTTPUpdate.h ├── Husarnet │ ├── library.properties │ └── src │ │ ├── Husarnet.cpp │ │ ├── Husarnet.h │ │ ├── HusarnetClient.cpp │ │ ├── HusarnetClient.h │ │ ├── HusarnetServer.cpp │ │ └── HusarnetServer.h ├── NetBIOS │ ├── examples │ │ └── ESP_NBNST │ │ │ └── ESP_NBNST.ino │ ├── keywords.txt │ ├── library.properties │ └── src │ │ ├── NetBIOS.cpp │ │ └── NetBIOS.h ├── Preferences │ ├── examples │ │ ├── Prefs2Struct │ │ │ └── Prefs2Struct.ino │ │ └── StartCounter │ │ │ └── StartCounter.ino │ ├── keywords.txt │ ├── library.properties │ └── src │ │ ├── Preferences.cpp │ │ └── Preferences.h ├── README.md ├── SD │ ├── README.md │ ├── examples │ │ ├── SD_Test │ │ │ └── SD_Test.ino │ │ └── SD_time │ │ │ └── SD_time.ino │ ├── library.properties │ └── src │ │ ├── SD.cpp │ │ ├── SD.h │ │ ├── sd_defines.h │ │ ├── sd_diskio.cpp │ │ ├── sd_diskio.h │ │ └── sd_diskio_crc.c ├── SD_MMC │ ├── examples │ │ ├── SDMMC_Test │ │ │ └── SDMMC_Test.ino │ │ └── SDMMC_time │ │ │ └── SDMMC_time.ino │ ├── library.properties │ └── src │ │ ├── SD_MMC.cpp │ │ ├── SD_MMC.h │ │ └── sd_defines.h ├── SPI │ ├── examples │ │ └── SPI_Multiple_Buses │ │ │ ├── SPI_Multiple_Buses.ino │ │ │ └── multiple_bus_output.PNG │ ├── keywords.txt │ ├── library.properties │ └── src │ │ ├── SPI.cpp │ │ └── SPI.h ├── SPIFFS │ ├── examples │ │ ├── SPIFFS_Test │ │ │ └── SPIFFS_Test.ino │ │ └── SPIFFS_time │ │ │ └── SPIFFS_time.ino │ ├── library.properties │ └── src │ │ ├── SPIFFS.cpp │ │ └── SPIFFS.h ├── SimpleBLE │ ├── examples │ │ └── SimpleBleDevice │ │ │ └── SimpleBleDevice.ino │ ├── library.properties │ └── src │ │ ├── SimpleBLE.cpp │ │ └── SimpleBLE.h ├── Ticker │ ├── examples │ │ ├── Arguments │ │ │ └── Arguments.ino │ │ └── Blinker │ │ │ └── Blinker.ino │ ├── keywords.txt │ ├── library.properties │ └── src │ │ ├── Ticker.cpp │ │ └── Ticker.h ├── Update │ ├── examples │ │ ├── AWS_S3_OTA_Update │ │ │ ├── AWS_S3_OTA_Update.ino │ │ │ └── StartCounter.ino.bin │ │ └── SD_Update │ │ │ └── SD_Update.ino │ ├── keywords.txt │ ├── library.properties │ └── src │ │ ├── Update.h │ │ └── Updater.cpp ├── WebServer │ ├── examples │ │ ├── AdvancedWebServer │ │ │ └── AdvancedWebServer.ino │ │ ├── FSBrowser │ │ │ ├── FSBrowser.ino │ │ │ └── data │ │ │ │ ├── edit.htm.gz │ │ │ │ ├── favicon.ico │ │ │ │ ├── graphs.js.gz │ │ │ │ └── index.htm │ │ ├── HelloServer │ │ │ └── HelloServer.ino │ │ ├── HttpAdvancedAuth │ │ │ └── HttpAdvancedAuth.ino │ │ ├── HttpBasicAuth │ │ │ └── HttpBasicAuth.ino │ │ ├── PathArgServer │ │ │ └── PathArgServer.ino │ │ ├── SDWebServer │ │ │ ├── SDWebServer.ino │ │ │ └── SdRoot │ │ │ │ ├── edit │ │ │ │ └── index.htm │ │ │ │ ├── index.htm │ │ │ │ └── pins.png │ │ ├── SimpleAuthentification │ │ │ └── SimpleAuthentification.ino │ │ └── WebUpdate │ │ │ └── WebUpdate.ino │ ├── keywords.txt │ ├── library.properties │ └── src │ │ ├── HTTP_Method.h │ │ ├── Parsing.cpp │ │ ├── Uri.h │ │ ├── WebServer.cpp │ │ ├── WebServer.h │ │ ├── detail │ │ ├── RequestHandler.h │ │ ├── RequestHandlersImpl.h │ │ ├── mimetable.cpp │ │ └── mimetable.h │ │ └── uri │ │ ├── UriBraces.h │ │ ├── UriGlob.h │ │ └── UriRegex.h ├── WiFi │ ├── examples │ │ ├── ETH_LAN8720 │ │ │ └── ETH_LAN8720.ino │ │ ├── ETH_LAN8720_internal_clock │ │ │ └── ETH_LAN8720_internal_clock.ino │ │ ├── ETH_TLK110 │ │ │ └── ETH_TLK110.ino │ │ ├── SimpleWiFiServer │ │ │ └── SimpleWiFiServer.ino │ │ ├── WPS │ │ │ ├── README.md │ │ │ └── WPS.ino │ │ ├── WiFiAccessPoint │ │ │ └── WiFiAccessPoint.ino │ │ ├── WiFiBlueToothSwitch │ │ │ └── WiFiBlueToothSwitch.ino │ │ ├── WiFiClient │ │ │ └── WiFiClient.ino │ │ ├── WiFiClientBasic │ │ │ └── WiFiClientBasic.ino │ │ ├── WiFiClientEnterprise │ │ │ ├── README.md │ │ │ └── WiFiClientEnterprise.ino │ │ ├── WiFiClientEvents │ │ │ └── WiFiClientEvents.ino │ │ ├── WiFiClientStaticIP │ │ │ └── WiFiClientStaticIP.ino │ │ ├── WiFiIPv6 │ │ │ └── WiFiIPv6.ino │ │ ├── WiFiMulti │ │ │ └── WiFiMulti.ino │ │ ├── WiFiScan │ │ │ └── WiFiScan.ino │ │ ├── WiFiSmartConfig │ │ │ └── WiFiSmartConfig.ino │ │ ├── WiFiTelnetToSerial │ │ │ └── WiFiTelnetToSerial.ino │ │ └── WiFiUDPClient │ │ │ ├── WiFiUDPClient.ino │ │ │ ├── udp_server.py │ │ │ └── udp_server.rb │ ├── keywords.txt │ ├── library.properties │ └── src │ │ ├── ETH.cpp │ │ ├── ETH.h │ │ ├── WiFi.cpp │ │ ├── WiFi.h │ │ ├── WiFiAP.cpp │ │ ├── WiFiAP.h │ │ ├── WiFiClient.cpp │ │ ├── WiFiClient.h │ │ ├── WiFiGeneric.cpp │ │ ├── WiFiGeneric.h │ │ ├── WiFiMulti.cpp │ │ ├── WiFiMulti.h │ │ ├── WiFiSTA.cpp │ │ ├── WiFiSTA.h │ │ ├── WiFiScan.cpp │ │ ├── WiFiScan.h │ │ ├── WiFiServer.cpp │ │ ├── WiFiServer.h │ │ ├── WiFiType.h │ │ ├── WiFiUdp.cpp │ │ └── WiFiUdp.h ├── WiFiClientSecure │ ├── README.md │ ├── examples │ │ ├── WiFiClientPSK │ │ │ └── WiFiClientPSK.ino │ │ ├── WiFiClientSecure │ │ │ └── WiFiClientSecure.ino │ │ └── WiFiClientSecureEnterprise │ │ │ └── WiFiClientSecureEnterprise.ino │ ├── keywords.txt │ ├── library.properties │ └── src │ │ ├── WiFiClientSecure.cpp │ │ ├── WiFiClientSecure.h │ │ ├── ssl_client.cpp │ │ └── ssl_client.h └── Wire │ ├── doc │ └── i2c_debugging.md │ ├── keywords.txt │ ├── library.properties │ └── src │ ├── Wire.cpp │ └── Wire.h ├── package.json ├── package └── package_esp32_index.template.json ├── platform.txt ├── platform.txt.orig ├── programmers.txt ├── release.sh ├── tools ├── bin │ ├── bootloader_dio_40m.bin │ ├── bootloader_dio_80m.bin │ ├── bootloader_dout_40m.bin │ ├── bootloader_dout_80m.bin │ ├── bootloader_qio_40m.bin │ ├── bootloader_qio_80m.bin │ ├── bootloader_qout_40m.bin │ └── bootloader_qout_80m.bin ├── espota.exe ├── espota.py ├── esptool.py ├── gen_esp32part.exe ├── gen_esp32part.py ├── get.exe ├── get.py ├── partitions │ ├── app3M_fat9M_16MB.csv │ ├── boot_app0.bin │ ├── default.bin │ ├── default.csv │ ├── default_16MB.csv │ ├── default_8MB.csv │ ├── default_ffat.csv │ ├── ffat.csv │ ├── huge_app.csv │ ├── large_spiffs_16MB.csv │ ├── min_spiffs.csv │ ├── minimal.csv │ ├── no_ota.csv │ ├── noota_3g.csv │ ├── noota_3gffat.csv │ └── noota_ffat.csv ├── platformio-build.py ├── platformio-build.py.orig └── sdk │ ├── bin │ ├── bootloader_dio_40m.bin │ ├── bootloader_dio_80m.bin │ ├── bootloader_dout_40m.bin │ ├── bootloader_dout_80m.bin │ ├── bootloader_qio_40m.bin │ ├── bootloader_qio_80m.bin │ ├── bootloader_qout_40m.bin │ └── bootloader_qout_80m.bin │ ├── include │ ├── app_trace │ │ ├── esp_app_trace.h │ │ └── esp_app_trace_util.h │ ├── app_update │ │ └── esp_ota_ops.h │ ├── asio │ │ ├── asio.hpp │ │ ├── asio │ │ │ ├── associated_allocator.hpp │ │ │ ├── associated_executor.hpp │ │ │ ├── async_result.hpp │ │ │ ├── basic_datagram_socket.hpp │ │ │ ├── basic_deadline_timer.hpp │ │ │ ├── basic_io_object.hpp │ │ │ ├── basic_raw_socket.hpp │ │ │ ├── basic_seq_packet_socket.hpp │ │ │ ├── basic_serial_port.hpp │ │ │ ├── basic_signal_set.hpp │ │ │ ├── basic_socket.hpp │ │ │ ├── basic_socket_acceptor.hpp │ │ │ ├── basic_socket_iostream.hpp │ │ │ ├── basic_socket_streambuf.hpp │ │ │ ├── basic_stream_socket.hpp │ │ │ ├── basic_streambuf.hpp │ │ │ ├── basic_streambuf_fwd.hpp │ │ │ ├── basic_waitable_timer.hpp │ │ │ ├── bind_executor.hpp │ │ │ ├── buffer.hpp │ │ │ ├── buffered_read_stream.hpp │ │ │ ├── buffered_read_stream_fwd.hpp │ │ │ ├── buffered_stream.hpp │ │ │ ├── buffered_stream_fwd.hpp │ │ │ ├── buffered_write_stream.hpp │ │ │ ├── buffered_write_stream_fwd.hpp │ │ │ ├── buffers_iterator.hpp │ │ │ ├── completion_condition.hpp │ │ │ ├── connect.hpp │ │ │ ├── coroutine.hpp │ │ │ ├── datagram_socket_service.hpp │ │ │ ├── deadline_timer.hpp │ │ │ ├── deadline_timer_service.hpp │ │ │ ├── defer.hpp │ │ │ ├── detail │ │ │ │ ├── array.hpp │ │ │ │ ├── array_fwd.hpp │ │ │ │ ├── assert.hpp │ │ │ │ ├── atomic_count.hpp │ │ │ │ ├── base_from_completion_cond.hpp │ │ │ │ ├── bind_handler.hpp │ │ │ │ ├── buffer_resize_guard.hpp │ │ │ │ ├── buffer_sequence_adapter.hpp │ │ │ │ ├── buffered_stream_storage.hpp │ │ │ │ ├── call_stack.hpp │ │ │ │ ├── chrono.hpp │ │ │ │ ├── chrono_time_traits.hpp │ │ │ │ ├── completion_handler.hpp │ │ │ │ ├── concurrency_hint.hpp │ │ │ │ ├── conditionally_enabled_event.hpp │ │ │ │ ├── conditionally_enabled_mutex.hpp │ │ │ │ ├── config.hpp │ │ │ │ ├── consuming_buffers.hpp │ │ │ │ ├── cstddef.hpp │ │ │ │ ├── cstdint.hpp │ │ │ │ ├── date_time_fwd.hpp │ │ │ │ ├── deadline_timer_service.hpp │ │ │ │ ├── dependent_type.hpp │ │ │ │ ├── descriptor_ops.hpp │ │ │ │ ├── descriptor_read_op.hpp │ │ │ │ ├── descriptor_write_op.hpp │ │ │ │ ├── dev_poll_reactor.hpp │ │ │ │ ├── epoll_reactor.hpp │ │ │ │ ├── event.hpp │ │ │ │ ├── eventfd_select_interrupter.hpp │ │ │ │ ├── executor_op.hpp │ │ │ │ ├── fd_set_adapter.hpp │ │ │ │ ├── fenced_block.hpp │ │ │ │ ├── functional.hpp │ │ │ │ ├── gcc_arm_fenced_block.hpp │ │ │ │ ├── gcc_hppa_fenced_block.hpp │ │ │ │ ├── gcc_sync_fenced_block.hpp │ │ │ │ ├── gcc_x86_fenced_block.hpp │ │ │ │ ├── global.hpp │ │ │ │ ├── handler_alloc_helpers.hpp │ │ │ │ ├── handler_cont_helpers.hpp │ │ │ │ ├── handler_invoke_helpers.hpp │ │ │ │ ├── handler_tracking.hpp │ │ │ │ ├── handler_type_requirements.hpp │ │ │ │ ├── handler_work.hpp │ │ │ │ ├── hash_map.hpp │ │ │ │ ├── impl │ │ │ │ │ ├── dev_poll_reactor.hpp │ │ │ │ │ ├── epoll_reactor.hpp │ │ │ │ │ ├── kqueue_reactor.hpp │ │ │ │ │ ├── select_reactor.hpp │ │ │ │ │ ├── service_registry.hpp │ │ │ │ │ ├── strand_executor_service.hpp │ │ │ │ │ ├── strand_service.hpp │ │ │ │ │ ├── win_iocp_io_context.hpp │ │ │ │ │ └── winrt_timer_scheduler.hpp │ │ │ │ ├── io_control.hpp │ │ │ │ ├── is_buffer_sequence.hpp │ │ │ │ ├── is_executor.hpp │ │ │ │ ├── keyword_tss_ptr.hpp │ │ │ │ ├── kqueue_reactor.hpp │ │ │ │ ├── limits.hpp │ │ │ │ ├── local_free_on_block_exit.hpp │ │ │ │ ├── macos_fenced_block.hpp │ │ │ │ ├── memory.hpp │ │ │ │ ├── mutex.hpp │ │ │ │ ├── noncopyable.hpp │ │ │ │ ├── null_event.hpp │ │ │ │ ├── null_fenced_block.hpp │ │ │ │ ├── null_global.hpp │ │ │ │ ├── null_mutex.hpp │ │ │ │ ├── null_reactor.hpp │ │ │ │ ├── null_signal_blocker.hpp │ │ │ │ ├── null_socket_service.hpp │ │ │ │ ├── null_static_mutex.hpp │ │ │ │ ├── null_thread.hpp │ │ │ │ ├── null_tss_ptr.hpp │ │ │ │ ├── object_pool.hpp │ │ │ │ ├── old_win_sdk_compat.hpp │ │ │ │ ├── op_queue.hpp │ │ │ │ ├── operation.hpp │ │ │ │ ├── pipe_select_interrupter.hpp │ │ │ │ ├── pop_options.hpp │ │ │ │ ├── posix_event.hpp │ │ │ │ ├── posix_fd_set_adapter.hpp │ │ │ │ ├── posix_global.hpp │ │ │ │ ├── posix_mutex.hpp │ │ │ │ ├── posix_signal_blocker.hpp │ │ │ │ ├── posix_static_mutex.hpp │ │ │ │ ├── posix_thread.hpp │ │ │ │ ├── posix_tss_ptr.hpp │ │ │ │ ├── push_options.hpp │ │ │ │ ├── reactive_descriptor_service.hpp │ │ │ │ ├── reactive_null_buffers_op.hpp │ │ │ │ ├── reactive_serial_port_service.hpp │ │ │ │ ├── reactive_socket_accept_op.hpp │ │ │ │ ├── reactive_socket_connect_op.hpp │ │ │ │ ├── reactive_socket_recv_op.hpp │ │ │ │ ├── reactive_socket_recvfrom_op.hpp │ │ │ │ ├── reactive_socket_recvmsg_op.hpp │ │ │ │ ├── reactive_socket_send_op.hpp │ │ │ │ ├── reactive_socket_sendto_op.hpp │ │ │ │ ├── reactive_socket_service.hpp │ │ │ │ ├── reactive_socket_service_base.hpp │ │ │ │ ├── reactive_wait_op.hpp │ │ │ │ ├── reactor.hpp │ │ │ │ ├── reactor_fwd.hpp │ │ │ │ ├── reactor_op.hpp │ │ │ │ ├── reactor_op_queue.hpp │ │ │ │ ├── recycling_allocator.hpp │ │ │ │ ├── regex_fwd.hpp │ │ │ │ ├── resolve_endpoint_op.hpp │ │ │ │ ├── resolve_op.hpp │ │ │ │ ├── resolve_query_op.hpp │ │ │ │ ├── resolver_service.hpp │ │ │ │ ├── resolver_service_base.hpp │ │ │ │ ├── scheduler.hpp │ │ │ │ ├── scheduler_operation.hpp │ │ │ │ ├── scheduler_thread_info.hpp │ │ │ │ ├── scoped_lock.hpp │ │ │ │ ├── scoped_ptr.hpp │ │ │ │ ├── select_interrupter.hpp │ │ │ │ ├── select_reactor.hpp │ │ │ │ ├── service_registry.hpp │ │ │ │ ├── signal_blocker.hpp │ │ │ │ ├── signal_handler.hpp │ │ │ │ ├── signal_init.hpp │ │ │ │ ├── signal_op.hpp │ │ │ │ ├── signal_set_service.hpp │ │ │ │ ├── socket_holder.hpp │ │ │ │ ├── socket_ops.hpp │ │ │ │ ├── socket_option.hpp │ │ │ │ ├── socket_select_interrupter.hpp │ │ │ │ ├── socket_types.hpp │ │ │ │ ├── solaris_fenced_block.hpp │ │ │ │ ├── static_mutex.hpp │ │ │ │ ├── std_event.hpp │ │ │ │ ├── std_fenced_block.hpp │ │ │ │ ├── std_global.hpp │ │ │ │ ├── std_mutex.hpp │ │ │ │ ├── std_static_mutex.hpp │ │ │ │ ├── std_thread.hpp │ │ │ │ ├── strand_executor_service.hpp │ │ │ │ ├── strand_service.hpp │ │ │ │ ├── string_view.hpp │ │ │ │ ├── thread.hpp │ │ │ │ ├── thread_context.hpp │ │ │ │ ├── thread_group.hpp │ │ │ │ ├── thread_info_base.hpp │ │ │ │ ├── throw_error.hpp │ │ │ │ ├── throw_exception.hpp │ │ │ │ ├── timer_queue.hpp │ │ │ │ ├── timer_queue_base.hpp │ │ │ │ ├── timer_queue_ptime.hpp │ │ │ │ ├── timer_queue_set.hpp │ │ │ │ ├── timer_scheduler.hpp │ │ │ │ ├── timer_scheduler_fwd.hpp │ │ │ │ ├── tss_ptr.hpp │ │ │ │ ├── type_traits.hpp │ │ │ │ ├── variadic_templates.hpp │ │ │ │ ├── wait_handler.hpp │ │ │ │ ├── wait_op.hpp │ │ │ │ ├── win_event.hpp │ │ │ │ ├── win_fd_set_adapter.hpp │ │ │ │ ├── win_fenced_block.hpp │ │ │ │ ├── win_global.hpp │ │ │ │ ├── win_iocp_handle_read_op.hpp │ │ │ │ ├── win_iocp_handle_service.hpp │ │ │ │ ├── win_iocp_handle_write_op.hpp │ │ │ │ ├── win_iocp_io_context.hpp │ │ │ │ ├── win_iocp_null_buffers_op.hpp │ │ │ │ ├── win_iocp_operation.hpp │ │ │ │ ├── win_iocp_overlapped_op.hpp │ │ │ │ ├── win_iocp_overlapped_ptr.hpp │ │ │ │ ├── win_iocp_serial_port_service.hpp │ │ │ │ ├── win_iocp_socket_accept_op.hpp │ │ │ │ ├── win_iocp_socket_connect_op.hpp │ │ │ │ ├── win_iocp_socket_recv_op.hpp │ │ │ │ ├── win_iocp_socket_recvfrom_op.hpp │ │ │ │ ├── win_iocp_socket_recvmsg_op.hpp │ │ │ │ ├── win_iocp_socket_send_op.hpp │ │ │ │ ├── win_iocp_socket_service.hpp │ │ │ │ ├── win_iocp_socket_service_base.hpp │ │ │ │ ├── win_iocp_thread_info.hpp │ │ │ │ ├── win_iocp_wait_op.hpp │ │ │ │ ├── win_mutex.hpp │ │ │ │ ├── win_object_handle_service.hpp │ │ │ │ ├── win_static_mutex.hpp │ │ │ │ ├── win_thread.hpp │ │ │ │ ├── win_tss_ptr.hpp │ │ │ │ ├── winapp_thread.hpp │ │ │ │ ├── wince_thread.hpp │ │ │ │ ├── winrt_async_manager.hpp │ │ │ │ ├── winrt_async_op.hpp │ │ │ │ ├── winrt_resolve_op.hpp │ │ │ │ ├── winrt_resolver_service.hpp │ │ │ │ ├── winrt_socket_connect_op.hpp │ │ │ │ ├── winrt_socket_recv_op.hpp │ │ │ │ ├── winrt_socket_send_op.hpp │ │ │ │ ├── winrt_ssocket_service.hpp │ │ │ │ ├── winrt_ssocket_service_base.hpp │ │ │ │ ├── winrt_timer_scheduler.hpp │ │ │ │ ├── winrt_utils.hpp │ │ │ │ ├── winsock_init.hpp │ │ │ │ ├── work_dispatcher.hpp │ │ │ │ └── wrapped_handler.hpp │ │ │ ├── dispatch.hpp │ │ │ ├── error.hpp │ │ │ ├── error_code.hpp │ │ │ ├── execution_context.hpp │ │ │ ├── executor.hpp │ │ │ ├── executor_work_guard.hpp │ │ │ ├── experimental.hpp │ │ │ ├── experimental │ │ │ │ ├── co_spawn.hpp │ │ │ │ ├── detached.hpp │ │ │ │ ├── impl │ │ │ │ │ ├── co_spawn.hpp │ │ │ │ │ ├── detached.hpp │ │ │ │ │ └── redirect_error.hpp │ │ │ │ └── redirect_error.hpp │ │ │ ├── generic │ │ │ │ ├── basic_endpoint.hpp │ │ │ │ ├── datagram_protocol.hpp │ │ │ │ ├── detail │ │ │ │ │ └── endpoint.hpp │ │ │ │ ├── raw_protocol.hpp │ │ │ │ ├── seq_packet_protocol.hpp │ │ │ │ └── stream_protocol.hpp │ │ │ ├── handler_alloc_hook.hpp │ │ │ ├── handler_continuation_hook.hpp │ │ │ ├── handler_invoke_hook.hpp │ │ │ ├── handler_type.hpp │ │ │ ├── high_resolution_timer.hpp │ │ │ ├── impl │ │ │ │ ├── buffered_read_stream.hpp │ │ │ │ ├── buffered_write_stream.hpp │ │ │ │ ├── connect.hpp │ │ │ │ ├── defer.hpp │ │ │ │ ├── dispatch.hpp │ │ │ │ ├── execution_context.hpp │ │ │ │ ├── executor.hpp │ │ │ │ ├── io_context.hpp │ │ │ │ ├── post.hpp │ │ │ │ ├── read.hpp │ │ │ │ ├── read_at.hpp │ │ │ │ ├── read_until.hpp │ │ │ │ ├── serial_port_base.hpp │ │ │ │ ├── spawn.hpp │ │ │ │ ├── src.hpp │ │ │ │ ├── system_context.hpp │ │ │ │ ├── system_executor.hpp │ │ │ │ ├── thread_pool.hpp │ │ │ │ ├── use_future.hpp │ │ │ │ ├── write.hpp │ │ │ │ └── write_at.hpp │ │ │ ├── io_context.hpp │ │ │ ├── io_context_strand.hpp │ │ │ ├── io_service.hpp │ │ │ ├── io_service_strand.hpp │ │ │ ├── ip │ │ │ │ ├── address.hpp │ │ │ │ ├── address_v4.hpp │ │ │ │ ├── address_v4_iterator.hpp │ │ │ │ ├── address_v4_range.hpp │ │ │ │ ├── address_v6.hpp │ │ │ │ ├── address_v6_iterator.hpp │ │ │ │ ├── address_v6_range.hpp │ │ │ │ ├── bad_address_cast.hpp │ │ │ │ ├── basic_endpoint.hpp │ │ │ │ ├── basic_resolver.hpp │ │ │ │ ├── basic_resolver_entry.hpp │ │ │ │ ├── basic_resolver_iterator.hpp │ │ │ │ ├── basic_resolver_query.hpp │ │ │ │ ├── basic_resolver_results.hpp │ │ │ │ ├── detail │ │ │ │ │ ├── endpoint.hpp │ │ │ │ │ └── socket_option.hpp │ │ │ │ ├── host_name.hpp │ │ │ │ ├── icmp.hpp │ │ │ │ ├── impl │ │ │ │ │ ├── address.hpp │ │ │ │ │ ├── address_v4.hpp │ │ │ │ │ ├── address_v6.hpp │ │ │ │ │ ├── basic_endpoint.hpp │ │ │ │ │ ├── network_v4.hpp │ │ │ │ │ └── network_v6.hpp │ │ │ │ ├── multicast.hpp │ │ │ │ ├── network_v4.hpp │ │ │ │ ├── network_v6.hpp │ │ │ │ ├── resolver_base.hpp │ │ │ │ ├── resolver_query_base.hpp │ │ │ │ ├── resolver_service.hpp │ │ │ │ ├── tcp.hpp │ │ │ │ ├── udp.hpp │ │ │ │ ├── unicast.hpp │ │ │ │ └── v6_only.hpp │ │ │ ├── is_executor.hpp │ │ │ ├── is_read_buffered.hpp │ │ │ ├── is_write_buffered.hpp │ │ │ ├── local │ │ │ │ ├── basic_endpoint.hpp │ │ │ │ ├── connect_pair.hpp │ │ │ │ ├── datagram_protocol.hpp │ │ │ │ ├── detail │ │ │ │ │ └── endpoint.hpp │ │ │ │ └── stream_protocol.hpp │ │ │ ├── packaged_task.hpp │ │ │ ├── placeholders.hpp │ │ │ ├── posix │ │ │ │ ├── basic_descriptor.hpp │ │ │ │ ├── basic_stream_descriptor.hpp │ │ │ │ ├── descriptor.hpp │ │ │ │ ├── descriptor_base.hpp │ │ │ │ ├── stream_descriptor.hpp │ │ │ │ └── stream_descriptor_service.hpp │ │ │ ├── post.hpp │ │ │ ├── raw_socket_service.hpp │ │ │ ├── read.hpp │ │ │ ├── read_at.hpp │ │ │ ├── read_until.hpp │ │ │ ├── seq_packet_socket_service.hpp │ │ │ ├── serial_port.hpp │ │ │ ├── serial_port_base.hpp │ │ │ ├── serial_port_service.hpp │ │ │ ├── signal_set.hpp │ │ │ ├── signal_set_service.hpp │ │ │ ├── socket_acceptor_service.hpp │ │ │ ├── socket_base.hpp │ │ │ ├── spawn.hpp │ │ │ ├── ssl.hpp │ │ │ ├── ssl │ │ │ │ ├── context.hpp │ │ │ │ ├── context_base.hpp │ │ │ │ ├── detail │ │ │ │ │ ├── buffered_handshake_op.hpp │ │ │ │ │ ├── engine.hpp │ │ │ │ │ ├── handshake_op.hpp │ │ │ │ │ ├── io.hpp │ │ │ │ │ ├── openssl_init.hpp │ │ │ │ │ ├── openssl_types.hpp │ │ │ │ │ ├── password_callback.hpp │ │ │ │ │ ├── read_op.hpp │ │ │ │ │ ├── shutdown_op.hpp │ │ │ │ │ ├── stream_core.hpp │ │ │ │ │ ├── verify_callback.hpp │ │ │ │ │ └── write_op.hpp │ │ │ │ ├── error.hpp │ │ │ │ ├── impl │ │ │ │ │ ├── context.hpp │ │ │ │ │ └── src.hpp │ │ │ │ ├── rfc2818_verification.hpp │ │ │ │ ├── stream.hpp │ │ │ │ ├── stream_base.hpp │ │ │ │ ├── verify_context.hpp │ │ │ │ └── verify_mode.hpp │ │ │ ├── steady_timer.hpp │ │ │ ├── strand.hpp │ │ │ ├── stream_socket_service.hpp │ │ │ ├── streambuf.hpp │ │ │ ├── system_context.hpp │ │ │ ├── system_error.hpp │ │ │ ├── system_executor.hpp │ │ │ ├── system_timer.hpp │ │ │ ├── thread.hpp │ │ │ ├── thread_pool.hpp │ │ │ ├── time_traits.hpp │ │ │ ├── ts │ │ │ │ ├── buffer.hpp │ │ │ │ ├── executor.hpp │ │ │ │ ├── internet.hpp │ │ │ │ ├── io_context.hpp │ │ │ │ ├── net.hpp │ │ │ │ ├── netfwd.hpp │ │ │ │ ├── socket.hpp │ │ │ │ └── timer.hpp │ │ │ ├── unyield.hpp │ │ │ ├── use_future.hpp │ │ │ ├── uses_executor.hpp │ │ │ ├── version.hpp │ │ │ ├── wait_traits.hpp │ │ │ ├── waitable_timer_service.hpp │ │ │ ├── windows │ │ │ │ ├── basic_handle.hpp │ │ │ │ ├── basic_object_handle.hpp │ │ │ │ ├── basic_random_access_handle.hpp │ │ │ │ ├── basic_stream_handle.hpp │ │ │ │ ├── object_handle.hpp │ │ │ │ ├── object_handle_service.hpp │ │ │ │ ├── overlapped_handle.hpp │ │ │ │ ├── overlapped_ptr.hpp │ │ │ │ ├── random_access_handle.hpp │ │ │ │ ├── random_access_handle_service.hpp │ │ │ │ ├── stream_handle.hpp │ │ │ │ └── stream_handle_service.hpp │ │ │ ├── write.hpp │ │ │ ├── write_at.hpp │ │ │ └── yield.hpp │ │ ├── esp_asio_config.h │ │ └── esp_exception.h │ ├── bootloader_support │ │ ├── bootloader_clock.h │ │ ├── bootloader_common.h │ │ ├── bootloader_common.h.orig │ │ ├── bootloader_flash_config.h │ │ ├── bootloader_random.h │ │ ├── bootloader_util.h │ │ ├── esp_flash_encrypt.h │ │ ├── esp_flash_partitions.h │ │ ├── esp_image_format.h │ │ └── esp_secure_boot.h │ ├── bt │ │ ├── bt.h │ │ ├── esp_a2dp_api.h │ │ ├── esp_avrc_api.h │ │ ├── esp_blufi_api.h │ │ ├── esp_bt.h │ │ ├── esp_bt_defs.h │ │ ├── esp_bt_device.h │ │ ├── esp_bt_main.h │ │ ├── esp_gap_ble_api.h │ │ ├── esp_gap_bt_api.h │ │ ├── esp_gatt_common_api.h │ │ ├── esp_gatt_defs.h │ │ ├── esp_gattc_api.h │ │ ├── esp_gatts_api.h │ │ ├── esp_hf_client_api.h │ │ ├── esp_hf_defs.h │ │ └── esp_spp_api.h │ ├── coap │ │ ├── address.h │ │ ├── async.h │ │ ├── bits.h │ │ ├── block.h │ │ ├── coap.h │ │ ├── coap │ │ │ ├── address.h │ │ │ ├── async.h │ │ │ ├── bits.h │ │ │ ├── block.h │ │ │ ├── coap.h │ │ │ ├── coap_io.h │ │ │ ├── coap_time.h │ │ │ ├── debug.h │ │ │ ├── encode.h │ │ │ ├── hashkey.h │ │ │ ├── libcoap.h │ │ │ ├── lwippools.h │ │ │ ├── mem.h │ │ │ ├── net.h │ │ │ ├── option.h │ │ │ ├── pdu.h │ │ │ ├── prng.h │ │ │ ├── resource.h │ │ │ ├── str.h │ │ │ ├── subscribe.h │ │ │ ├── uri.h │ │ │ ├── uthash.h │ │ │ └── utlist.h │ │ ├── coap_config.h │ │ ├── coap_config_posix.h │ │ ├── coap_io.h │ │ ├── coap_time.h │ │ ├── debug.h │ │ ├── encode.h │ │ ├── hashkey.h │ │ ├── libcoap.h │ │ ├── lwippools.h │ │ ├── mem.h │ │ ├── net.h │ │ ├── option.h │ │ ├── pdu.h │ │ ├── prng.h │ │ ├── resource.h │ │ ├── str.h │ │ ├── subscribe.h │ │ ├── uri.h │ │ ├── uthash.h │ │ └── utlist.h │ ├── config │ │ ├── sdkconfig.h │ │ └── sdkconfig.h.orig │ ├── console │ │ ├── argtable3 │ │ │ └── argtable3.h │ │ ├── esp_console.h │ │ └── linenoise │ │ │ └── linenoise.h │ ├── driver │ │ └── driver │ │ │ ├── adc.h │ │ │ ├── adc2_wifi_internal.h │ │ │ ├── can.h │ │ │ ├── dac.h │ │ │ ├── gpio.h │ │ │ ├── i2c.h │ │ │ ├── i2s.h │ │ │ ├── ledc.h │ │ │ ├── mcpwm.h │ │ │ ├── pcnt.h │ │ │ ├── periph_ctrl.h │ │ │ ├── rmt.h │ │ │ ├── rtc_cntl.h │ │ │ ├── rtc_io.h │ │ │ ├── sdio_slave.h │ │ │ ├── sdmmc_defs.h │ │ │ ├── sdmmc_host.h │ │ │ ├── sdmmc_types.h │ │ │ ├── sdspi_host.h │ │ │ ├── sigmadelta.h │ │ │ ├── spi_common.h │ │ │ ├── spi_master.h │ │ │ ├── spi_slave.h │ │ │ ├── timer.h │ │ │ ├── touch_pad.h │ │ │ ├── uart.h │ │ │ └── uart_select.h │ ├── efuse │ │ ├── esp_efuse.h │ │ └── esp_efuse_table.h │ ├── esp-face │ │ ├── dl_lib_matrix3d.h │ │ ├── dl_lib_matrix3d.h.orig │ │ ├── dl_lib_matrix3dq.h │ │ ├── dl_lib_matrix3dq.h.orig │ │ ├── fd_forward.h │ │ ├── fr_flash.h │ │ ├── fr_forward.h │ │ ├── frmn.h │ │ ├── image_util.h │ │ ├── lssh.h │ │ └── mtmn.h │ ├── esp-tls │ │ └── esp_tls.h │ ├── esp32-camera │ │ ├── esp_camera.h │ │ ├── esp_jpg_decode.h │ │ ├── img_converters.h │ │ └── sensor.h │ ├── esp32 │ │ ├── esp32 │ │ │ └── pm.h │ │ ├── esp_assert.h │ │ ├── esp_attr.h │ │ ├── esp_brownout.h │ │ ├── esp_cache_err_int.h │ │ ├── esp_clk.h │ │ ├── esp_coexist.h │ │ ├── esp_coexist_adapter.h │ │ ├── esp_coexist_internal.h │ │ ├── esp_crosscore_int.h │ │ ├── esp_dbg_stubs.h │ │ ├── esp_deep_sleep.h │ │ ├── esp_deepsleep.h │ │ ├── esp_dport_access.h │ │ ├── esp_err.h │ │ ├── esp_event_legacy.h │ │ ├── esp_event_loop.h │ │ ├── esp_flash_data_types.h │ │ ├── esp_freertos_hooks.h │ │ ├── esp_gdbstub.h │ │ ├── esp_himem.h │ │ ├── esp_int_wdt.h │ │ ├── esp_interface.h │ │ ├── esp_intr.h │ │ ├── esp_intr_alloc.h │ │ ├── esp_ipc.h │ │ ├── esp_mesh.h │ │ ├── esp_mesh_internal.h │ │ ├── esp_now.h │ │ ├── esp_panic.h │ │ ├── esp_phy_init.h │ │ ├── esp_pm.h │ │ ├── esp_private │ │ │ ├── esp_wifi_private.h │ │ │ └── esp_wifi_types_private.h │ │ ├── esp_sleep.h │ │ ├── esp_smartconfig.h │ │ ├── esp_spiram.h │ │ ├── esp_ssc.h │ │ ├── esp_system.h │ │ ├── esp_task.h │ │ ├── esp_task_wdt.h │ │ ├── esp_timer.h │ │ ├── esp_types.h │ │ ├── esp_wifi.h │ │ ├── esp_wifi_crypto_types.h │ │ ├── esp_wifi_internal.h │ │ ├── esp_wifi_os_adapter.h │ │ ├── esp_wifi_types.h │ │ ├── esp_wpa2.h │ │ ├── esp_wps.h │ │ ├── hwcrypto │ │ │ ├── aes.h │ │ │ └── sha.h │ │ ├── rom │ │ │ ├── aes.h │ │ │ ├── bigint.h │ │ │ ├── cache.h │ │ │ ├── crc.h │ │ │ ├── efuse.h │ │ │ ├── ets_sys.h │ │ │ ├── gpio.h │ │ │ ├── libc_stubs.h │ │ │ ├── lldesc.h │ │ │ ├── md5_hash.h │ │ │ ├── miniz.h │ │ │ ├── queue.h │ │ │ ├── rtc.h │ │ │ ├── secure_boot.h │ │ │ ├── sha.h │ │ │ ├── spi_flash.h │ │ │ ├── tbconsole.h │ │ │ ├── tjpgd.h │ │ │ └── uart.h │ │ └── xtensa │ │ │ ├── cacheasm.h │ │ │ ├── cacheattrasm.h │ │ │ ├── config │ │ │ ├── core-isa.h │ │ │ ├── core-matmap.h │ │ │ ├── core.h │ │ │ ├── defs.h │ │ │ ├── specreg.h │ │ │ ├── system.h │ │ │ ├── tie-asm.h │ │ │ └── tie.h │ │ │ ├── core-macros.h │ │ │ ├── coreasm.h │ │ │ ├── corebits.h │ │ │ ├── hal.h │ │ │ ├── specreg.h │ │ │ ├── traxreg.h │ │ │ ├── xdm-regs.h │ │ │ ├── xt_perf_consts.h │ │ │ ├── xtensa-libdb-macros.h │ │ │ ├── xtensa-versions.h │ │ │ ├── xtensa-xer.h │ │ │ ├── xtruntime-core-state.h │ │ │ ├── xtruntime-frames.h │ │ │ └── xtruntime.h │ ├── esp_adc_cal │ │ └── esp_adc_cal.h │ ├── esp_event │ │ ├── esp_event.h │ │ └── esp_event_base.h │ ├── esp_http_client │ │ └── esp_http_client.h │ ├── esp_http_server │ │ ├── esp_http_server.h │ │ └── http_server.h │ ├── esp_https_ota │ │ └── esp_https_ota.h │ ├── esp_https_server │ │ └── esp_https_server.h │ ├── esp_ringbuf │ │ └── freertos │ │ │ └── ringbuf.h │ ├── espcoredump │ │ └── esp_core_dump.h │ ├── ethernet │ │ ├── esp_eth.h │ │ └── eth_phy │ │ │ ├── phy.h │ │ │ ├── phy_ip101.h │ │ │ ├── phy_lan8720.h │ │ │ ├── phy_reg.h │ │ │ └── phy_tlk110.h │ ├── expat │ │ ├── ascii.h │ │ ├── asciitab.h │ │ ├── expat.h │ │ ├── expat_config.h │ │ ├── expat_external.h │ │ ├── iasciitab.h │ │ ├── internal.h │ │ ├── latin1tab.h │ │ ├── nametab.h │ │ ├── siphash.h │ │ ├── utf8tab.h │ │ ├── winconfig.h │ │ ├── xmlrole.h │ │ ├── xmltok.h │ │ └── xmltok_impl.h │ ├── fatfs │ │ ├── diskio.h │ │ ├── diskio_rawflash.h │ │ ├── diskio_wl.h │ │ ├── esp_vfs_fat.h │ │ ├── ff.h │ │ ├── ffconf.h │ │ ├── integer.h │ │ └── vfs_fat_internal.h │ ├── fb_gfx │ │ └── fb_gfx.h │ ├── freemodbus │ │ ├── mb.h │ │ ├── mbconfig.h │ │ ├── mbcontroller.h │ │ ├── mbframe.h │ │ ├── mbfunc.h │ │ ├── mbport.h │ │ ├── mbproto.h │ │ └── mbutils.h │ ├── freertos │ │ └── freertos │ │ │ ├── FreeRTOS.h │ │ │ ├── FreeRTOSConfig.h │ │ │ ├── StackMacros.h │ │ │ ├── croutine.h │ │ │ ├── deprecated_definitions.h │ │ │ ├── event_groups.h │ │ │ ├── list.h │ │ │ ├── mpu_wrappers.h │ │ │ ├── portable.h │ │ │ ├── portbenchmark.h │ │ │ ├── portmacro.h │ │ │ ├── porttrace.h │ │ │ ├── projdefs.h │ │ │ ├── queue.h │ │ │ ├── semphr.h │ │ │ ├── task.h │ │ │ ├── timers.h │ │ │ ├── xtensa_api.h │ │ │ ├── xtensa_config.h │ │ │ ├── xtensa_context.h │ │ │ ├── xtensa_rtos.h │ │ │ └── xtensa_timer.h │ ├── heap │ │ ├── esp_heap_alloc_caps.h │ │ ├── esp_heap_caps.h │ │ ├── esp_heap_caps_init.h │ │ ├── esp_heap_task_info.h │ │ ├── esp_heap_trace.h │ │ └── multi_heap.h │ ├── idf_test │ │ └── idf_performance.h │ ├── jsmn │ │ └── jsmn.h │ ├── json │ │ ├── cJSON.h │ │ ├── cJSON_Utils.h │ │ └── tests │ │ │ ├── common.h │ │ │ └── unity │ │ │ ├── examples │ │ │ ├── example_1 │ │ │ │ └── src │ │ │ │ │ ├── ProductionCode.h │ │ │ │ │ └── ProductionCode2.h │ │ │ ├── example_2 │ │ │ │ └── src │ │ │ │ │ ├── ProductionCode.h │ │ │ │ │ └── ProductionCode2.h │ │ │ ├── example_3 │ │ │ │ ├── helper │ │ │ │ │ └── UnityHelper.h │ │ │ │ └── src │ │ │ │ │ ├── ProductionCode.h │ │ │ │ │ └── ProductionCode2.h │ │ │ └── unity_config.h │ │ │ ├── extras │ │ │ └── fixture │ │ │ │ ├── src │ │ │ │ ├── unity_fixture.h │ │ │ │ ├── unity_fixture_internals.h │ │ │ │ └── unity_fixture_malloc_overrides.h │ │ │ │ └── test │ │ │ │ └── unity_output_Spy.h │ │ │ ├── src │ │ │ ├── unity.h │ │ │ └── unity_internals.h │ │ │ └── test │ │ │ ├── expectdata │ │ │ ├── testsample_head1.h │ │ │ └── testsample_mock_head1.h │ │ │ └── testdata │ │ │ ├── CException.h │ │ │ ├── Defs.h │ │ │ ├── cmock.h │ │ │ └── mockMock.h │ ├── libsodium │ │ ├── sodium.h │ │ └── sodium │ │ │ ├── core.h │ │ │ ├── crypto_aead_aes256gcm.h │ │ │ ├── crypto_aead_chacha20poly1305.h │ │ │ ├── crypto_aead_xchacha20poly1305.h │ │ │ ├── crypto_auth.h │ │ │ ├── crypto_auth_hmacsha256.h │ │ │ ├── crypto_auth_hmacsha512.h │ │ │ ├── crypto_auth_hmacsha512256.h │ │ │ ├── crypto_box.h │ │ │ ├── crypto_box_curve25519xchacha20poly1305.h │ │ │ ├── crypto_box_curve25519xsalsa20poly1305.h │ │ │ ├── crypto_core_hchacha20.h │ │ │ ├── crypto_core_hsalsa20.h │ │ │ ├── crypto_core_salsa20.h │ │ │ ├── crypto_core_salsa2012.h │ │ │ ├── crypto_core_salsa208.h │ │ │ ├── crypto_generichash.h │ │ │ ├── crypto_generichash_blake2b.h │ │ │ ├── crypto_hash.h │ │ │ ├── crypto_hash_sha256.h │ │ │ ├── crypto_hash_sha512.h │ │ │ ├── crypto_kdf.h │ │ │ ├── crypto_kdf_blake2b.h │ │ │ ├── crypto_kx.h │ │ │ ├── crypto_onetimeauth.h │ │ │ ├── crypto_onetimeauth_poly1305.h │ │ │ ├── crypto_pwhash.h │ │ │ ├── crypto_pwhash_argon2i.h │ │ │ ├── crypto_pwhash_scryptsalsa208sha256.h │ │ │ ├── crypto_scalarmult.h │ │ │ ├── crypto_scalarmult_curve25519.h │ │ │ ├── crypto_secretbox.h │ │ │ ├── crypto_secretbox_xchacha20poly1305.h │ │ │ ├── crypto_secretbox_xsalsa20poly1305.h │ │ │ ├── crypto_shorthash.h │ │ │ ├── crypto_shorthash_siphash24.h │ │ │ ├── crypto_sign.h │ │ │ ├── crypto_sign_ed25519.h │ │ │ ├── crypto_sign_edwards25519sha512batch.h │ │ │ ├── crypto_stream.h │ │ │ ├── crypto_stream_aes128ctr.h │ │ │ ├── crypto_stream_chacha20.h │ │ │ ├── crypto_stream_salsa20.h │ │ │ ├── crypto_stream_salsa2012.h │ │ │ ├── crypto_stream_salsa208.h │ │ │ ├── crypto_stream_xchacha20.h │ │ │ ├── crypto_stream_xsalsa20.h │ │ │ ├── crypto_verify_16.h │ │ │ ├── crypto_verify_32.h │ │ │ ├── crypto_verify_64.h │ │ │ ├── export.h │ │ │ ├── private │ │ │ ├── common.h │ │ │ ├── curve25519_ref10.h │ │ │ ├── mutex.h │ │ │ └── sse2_64_32.h │ │ │ ├── randombytes.h │ │ │ ├── randombytes_nativeclient.h │ │ │ ├── randombytes_salsa20_random.h │ │ │ ├── randombytes_sysrandom.h │ │ │ ├── runtime.h │ │ │ ├── utils.h │ │ │ └── version.h │ ├── log │ │ ├── esp_log.h │ │ └── esp_log_internal.h │ ├── lwip │ │ ├── apps │ │ │ └── sntp │ │ │ │ └── sntp.h │ │ ├── arch │ │ │ ├── cc.h │ │ │ ├── perf.h │ │ │ ├── sys_arch.h │ │ │ └── vfs_lwip.h │ │ ├── arpa │ │ │ └── inet.h │ │ ├── cc.h │ │ ├── debug │ │ │ └── lwip_debug.h │ │ ├── dhcpserver │ │ │ ├── dhcpserver.h │ │ │ └── dhcpserver_options.h │ │ ├── esp_ping.h │ │ ├── esp_sntp.h │ │ ├── lwip │ │ │ ├── api.h │ │ │ ├── apps │ │ │ │ ├── fs.h │ │ │ │ ├── httpd.h │ │ │ │ ├── httpd_opts.h │ │ │ │ ├── lwiperf.h │ │ │ │ ├── mdns.h │ │ │ │ ├── mdns_opts.h │ │ │ │ ├── mdns_priv.h │ │ │ │ ├── mqtt.h │ │ │ │ ├── mqtt_opts.h │ │ │ │ ├── netbiosns.h │ │ │ │ ├── netbiosns_opts.h │ │ │ │ ├── snmp.h │ │ │ │ ├── snmp_core.h │ │ │ │ ├── snmp_mib2.h │ │ │ │ ├── snmp_opts.h │ │ │ │ ├── snmp_scalar.h │ │ │ │ ├── snmp_table.h │ │ │ │ ├── snmp_threadsync.h │ │ │ │ ├── snmpv3.h │ │ │ │ ├── sntp.h │ │ │ │ ├── sntp_opts.h │ │ │ │ ├── tftp_opts.h │ │ │ │ └── tftp_server.h │ │ │ ├── arch.h │ │ │ ├── autoip.h │ │ │ ├── debug.h │ │ │ ├── def.h │ │ │ ├── dhcp.h │ │ │ ├── dhcp6.h │ │ │ ├── dns.h │ │ │ ├── err.h │ │ │ ├── errno.h │ │ │ ├── etharp.h │ │ │ ├── ethip6.h │ │ │ ├── icmp.h │ │ │ ├── icmp6.h │ │ │ ├── igmp.h │ │ │ ├── inet.h │ │ │ ├── inet_chksum.h │ │ │ ├── init.h │ │ │ ├── ip.h │ │ │ ├── ip4.h │ │ │ ├── ip4_addr.h │ │ │ ├── ip4_frag.h │ │ │ ├── ip6.h │ │ │ ├── ip6_addr.h │ │ │ ├── ip6_frag.h │ │ │ ├── ip_addr.h │ │ │ ├── mem.h │ │ │ ├── memp.h │ │ │ ├── mld6.h │ │ │ ├── nd6.h │ │ │ ├── netbuf.h │ │ │ ├── netdb.h │ │ │ ├── netif.h │ │ │ ├── netifapi.h │ │ │ ├── opt.h │ │ │ ├── pbuf.h │ │ │ ├── priv │ │ │ │ ├── api_msg.h │ │ │ │ ├── memp_priv.h │ │ │ │ ├── memp_std.h │ │ │ │ ├── nd6_priv.h │ │ │ │ ├── tcp_priv.h │ │ │ │ └── tcpip_priv.h │ │ │ ├── prot │ │ │ │ ├── autoip.h │ │ │ │ ├── dhcp.h │ │ │ │ ├── dns.h │ │ │ │ ├── etharp.h │ │ │ │ ├── ethernet.h │ │ │ │ ├── icmp.h │ │ │ │ ├── icmp6.h │ │ │ │ ├── igmp.h │ │ │ │ ├── ip.h │ │ │ │ ├── ip4.h │ │ │ │ ├── ip6.h │ │ │ │ ├── mld6.h │ │ │ │ ├── nd6.h │ │ │ │ ├── tcp.h │ │ │ │ └── udp.h │ │ │ ├── raw.h │ │ │ ├── sio.h │ │ │ ├── snmp.h │ │ │ ├── sockets.h │ │ │ ├── stats.h │ │ │ ├── sys.h │ │ │ ├── tcp.h │ │ │ ├── tcpip.h │ │ │ ├── timeouts.h │ │ │ └── udp.h │ │ ├── lwipopts.h │ │ ├── netdb.h │ │ ├── netif │ │ │ ├── dhcp_state.h │ │ │ ├── etharp.h │ │ │ ├── ethernet.h │ │ │ ├── ethernetif.h │ │ │ ├── lowpan6.h │ │ │ ├── lowpan6_opts.h │ │ │ ├── ppp │ │ │ │ ├── ccp.h │ │ │ │ ├── chap-md5.h │ │ │ │ ├── chap-new.h │ │ │ │ ├── chap_ms.h │ │ │ │ ├── eap.h │ │ │ │ ├── ecp.h │ │ │ │ ├── eui64.h │ │ │ │ ├── fsm.h │ │ │ │ ├── ipcp.h │ │ │ │ ├── ipv6cp.h │ │ │ │ ├── lcp.h │ │ │ │ ├── magic.h │ │ │ │ ├── mppe.h │ │ │ │ ├── polarssl │ │ │ │ │ ├── arc4.h │ │ │ │ │ ├── des.h │ │ │ │ │ ├── md4.h │ │ │ │ │ ├── md5.h │ │ │ │ │ └── sha1.h │ │ │ │ ├── ppp.h │ │ │ │ ├── ppp_impl.h │ │ │ │ ├── ppp_opts.h │ │ │ │ ├── pppapi.h │ │ │ │ ├── pppcrypt.h │ │ │ │ ├── pppdebug.h │ │ │ │ ├── pppoe.h │ │ │ │ ├── pppol2tp.h │ │ │ │ ├── pppos.h │ │ │ │ ├── upap.h │ │ │ │ └── vj.h │ │ │ ├── slipif.h │ │ │ └── wlanif.h │ │ ├── netinet │ │ │ └── in.h │ │ ├── perf.h │ │ ├── ping │ │ │ └── ping.h │ │ ├── posix │ │ │ ├── errno.h │ │ │ ├── netdb.h │ │ │ └── sys │ │ │ │ └── socket.h │ │ ├── sntp.h │ │ ├── sntp │ │ │ └── sntp.h │ │ ├── sys │ │ │ └── socket.h │ │ ├── sys_arch.h │ │ └── vfs_lwip.h │ ├── mbedtls │ │ ├── aes_alt.h │ │ ├── esp_mem.h │ │ ├── mbedtls │ │ │ ├── aes.h │ │ │ ├── aesni.h │ │ │ ├── arc4.h │ │ │ ├── aria.h │ │ │ ├── asn1.h │ │ │ ├── asn1write.h │ │ │ ├── base64.h │ │ │ ├── bignum.h │ │ │ ├── blowfish.h │ │ │ ├── bn_mul.h │ │ │ ├── camellia.h │ │ │ ├── ccm.h │ │ │ ├── certs.h │ │ │ ├── chacha20.h │ │ │ ├── chachapoly.h │ │ │ ├── check_config.h │ │ │ ├── cipher.h │ │ │ ├── cipher_internal.h │ │ │ ├── cmac.h │ │ │ ├── compat-1.3.h │ │ │ ├── config.h │ │ │ ├── ctr_drbg.h │ │ │ ├── debug.h │ │ │ ├── des.h │ │ │ ├── dhm.h │ │ │ ├── ecdh.h │ │ │ ├── ecdsa.h │ │ │ ├── ecjpake.h │ │ │ ├── ecp.h │ │ │ ├── ecp_internal.h │ │ │ ├── entropy.h │ │ │ ├── entropy_poll.h │ │ │ ├── error.h │ │ │ ├── esp_config.h │ │ │ ├── esp_debug.h │ │ │ ├── gcm.h │ │ │ ├── havege.h │ │ │ ├── hkdf.h │ │ │ ├── hmac_drbg.h │ │ │ ├── md.h │ │ │ ├── md2.h │ │ │ ├── md4.h │ │ │ ├── md5.h │ │ │ ├── md_internal.h │ │ │ ├── memory_buffer_alloc.h │ │ │ ├── net.h │ │ │ ├── net_sockets.h │ │ │ ├── nist_kw.h │ │ │ ├── oid.h │ │ │ ├── padlock.h │ │ │ ├── pem.h │ │ │ ├── pk.h │ │ │ ├── pk_internal.h │ │ │ ├── pkcs11.h │ │ │ ├── pkcs12.h │ │ │ ├── pkcs5.h │ │ │ ├── platform.h │ │ │ ├── platform_time.h │ │ │ ├── platform_util.h │ │ │ ├── poly1305.h │ │ │ ├── ripemd160.h │ │ │ ├── rsa.h │ │ │ ├── rsa_internal.h │ │ │ ├── sha1.h │ │ │ ├── sha256.h │ │ │ ├── sha512.h │ │ │ ├── ssl.h │ │ │ ├── ssl_cache.h │ │ │ ├── ssl_ciphersuites.h │ │ │ ├── ssl_cookie.h │ │ │ ├── ssl_internal.h │ │ │ ├── ssl_ticket.h │ │ │ ├── threading.h │ │ │ ├── timing.h │ │ │ ├── version.h │ │ │ ├── x509.h │ │ │ ├── x509_crl.h │ │ │ ├── x509_crt.h │ │ │ ├── x509_csr.h │ │ │ └── xtea.h │ │ ├── sha1_alt.h │ │ ├── sha256_alt.h │ │ └── sha512_alt.h │ ├── mdns │ │ ├── mdns.h │ │ └── mdns_console.h │ ├── micro-ecc │ │ ├── types.h │ │ ├── uECC.h │ │ └── uECC_vli.h │ ├── mqtt │ │ ├── mqtt_client.h │ │ ├── mqtt_config.h │ │ └── mqtt_supported_features.h │ ├── newlib │ │ ├── _ansi.h │ │ ├── _syslist.h │ │ ├── alloca.h │ │ ├── ar.h │ │ ├── argz.h │ │ ├── assert.h │ │ ├── complex.h │ │ ├── config.h │ │ ├── ctype.h │ │ ├── dirent.h │ │ ├── envlock.h │ │ ├── envz.h │ │ ├── errno.h │ │ ├── esp_newlib.h │ │ ├── fastmath.h │ │ ├── fcntl.h │ │ ├── fenv.h │ │ ├── fnmatch.h │ │ ├── getopt.h │ │ ├── glob.h │ │ ├── grp.h │ │ ├── iconv.h │ │ ├── ieeefp.h │ │ ├── inttypes.h │ │ ├── langinfo.h │ │ ├── libgen.h │ │ ├── limits.h │ │ ├── locale.h │ │ ├── machine │ │ │ ├── _default_types.h │ │ │ ├── _types.h │ │ │ ├── ansi.h │ │ │ ├── endian.h │ │ │ ├── fastmath.h │ │ │ ├── ieeefp.h │ │ │ ├── malloc.h │ │ │ ├── param.h │ │ │ ├── setjmp-dj.h │ │ │ ├── setjmp.h │ │ │ ├── stdlib.h │ │ │ ├── termios.h │ │ │ ├── time.h │ │ │ └── types.h │ │ ├── malloc.h │ │ ├── math.h │ │ ├── net │ │ │ └── if.h │ │ ├── newlib.h │ │ ├── paths.h │ │ ├── pthread.h │ │ ├── pwd.h │ │ ├── reent.h │ │ ├── regdef.h │ │ ├── regex.h │ │ ├── sched.h │ │ ├── search.h │ │ ├── setjmp.h │ │ ├── signal.h │ │ ├── spawn.h │ │ ├── stdatomic.h │ │ ├── stdint.h │ │ ├── stdio.h │ │ ├── stdio_ext.h │ │ ├── stdlib.h │ │ ├── string.h │ │ ├── strings.h │ │ ├── sys │ │ │ ├── _default_fcntl.h │ │ │ ├── _intsup.h │ │ │ ├── _types.h │ │ │ ├── cdefs.h │ │ │ ├── config.h │ │ │ ├── custom_file.h │ │ │ ├── dir.h │ │ │ ├── errno.h │ │ │ ├── fcntl.h │ │ │ ├── features.h │ │ │ ├── file.h │ │ │ ├── iconvnls.h │ │ │ ├── lock.h │ │ │ ├── param.h │ │ │ ├── poll.h │ │ │ ├── queue.h │ │ │ ├── random.h │ │ │ ├── reent.h │ │ │ ├── resource.h │ │ │ ├── sched.h │ │ │ ├── select.h │ │ │ ├── signal.h │ │ │ ├── stat.h │ │ │ ├── stdio.h │ │ │ ├── string.h │ │ │ ├── syslimits.h │ │ │ ├── termios.h │ │ │ ├── time.h │ │ │ ├── timeb.h │ │ │ ├── times.h │ │ │ ├── types.h │ │ │ ├── uio.h │ │ │ ├── un.h │ │ │ ├── unistd.h │ │ │ ├── utime.h │ │ │ └── wait.h │ │ ├── tar.h │ │ ├── termios.h │ │ ├── tgmath.h │ │ ├── time.h │ │ ├── unctrl.h │ │ ├── unistd.h │ │ ├── utime.h │ │ ├── utmp.h │ │ ├── wchar.h │ │ ├── wctype.h │ │ ├── wordexp.h │ │ └── xtensa │ │ │ └── config │ │ │ └── core-isa.h │ ├── nghttp │ │ ├── config.h │ │ ├── http_parser.h │ │ └── nghttp2 │ │ │ ├── nghttp2.h │ │ │ └── nghttp2ver.h │ ├── nvs_flash │ │ ├── nvs.h │ │ └── nvs_flash.h │ ├── openssl │ │ ├── internal │ │ │ ├── ssl3.h │ │ │ ├── ssl_cert.h │ │ │ ├── ssl_code.h │ │ │ ├── ssl_dbg.h │ │ │ ├── ssl_lib.h │ │ │ ├── ssl_methods.h │ │ │ ├── ssl_pkey.h │ │ │ ├── ssl_stack.h │ │ │ ├── ssl_types.h │ │ │ ├── ssl_x509.h │ │ │ ├── tls1.h │ │ │ └── x509_vfy.h │ │ ├── openssl │ │ │ └── ssl.h │ │ └── platform │ │ │ ├── ssl_opt.h │ │ │ ├── ssl_pm.h │ │ │ └── ssl_port.h │ ├── protobuf-c │ │ ├── protobuf-c │ │ │ └── protobuf-c.h │ │ ├── protoc-c │ │ │ ├── c_bytes_field.h │ │ │ ├── c_enum.h │ │ │ ├── c_enum_field.h │ │ │ ├── c_extension.h │ │ │ ├── c_field.h │ │ │ ├── c_file.h │ │ │ ├── c_generator.h │ │ │ ├── c_helpers.h │ │ │ ├── c_message.h │ │ │ ├── c_message_field.h │ │ │ ├── c_primitive_field.h │ │ │ ├── c_service.h │ │ │ └── c_string_field.h │ │ └── t │ │ │ └── generated-code2 │ │ │ └── common-test-arrays.h │ ├── protocomm │ │ ├── protocomm.h │ │ ├── protocomm_ble.h │ │ ├── protocomm_console.h │ │ ├── protocomm_httpd.h │ │ ├── protocomm_security.h │ │ ├── protocomm_security0.h │ │ └── protocomm_security1.h │ ├── pthread │ │ └── esp_pthread.h │ ├── sdmmc │ │ └── sdmmc_cmd.h │ ├── smartconfig_ack │ │ └── smartconfig_ack.h │ ├── soc │ │ └── soc │ │ │ ├── adc_channel.h │ │ │ ├── apb_ctrl_reg.h │ │ │ ├── apb_ctrl_struct.h │ │ │ ├── bb_reg.h │ │ │ ├── boot_mode.h │ │ │ ├── can_struct.h │ │ │ ├── clkout_channel.h │ │ │ ├── cpu.h │ │ │ ├── dac_channel.h │ │ │ ├── dport_access.h │ │ │ ├── dport_reg.h │ │ │ ├── efuse_reg.h │ │ │ ├── emac_ex_reg.h │ │ │ ├── emac_reg_v2.h │ │ │ ├── fe_reg.h │ │ │ ├── frc_timer_reg.h │ │ │ ├── gpio_periph.h │ │ │ ├── gpio_pins.h │ │ │ ├── gpio_reg.h │ │ │ ├── gpio_sd_reg.h │ │ │ ├── gpio_sd_struct.h │ │ │ ├── gpio_sig_map.h │ │ │ ├── gpio_struct.h │ │ │ ├── hinf_reg.h │ │ │ ├── hinf_struct.h │ │ │ ├── host_reg.h │ │ │ ├── host_struct.h │ │ │ ├── hwcrypto_reg.h │ │ │ ├── i2c_reg.h │ │ │ ├── i2c_struct.h │ │ │ ├── i2s_reg.h │ │ │ ├── i2s_struct.h │ │ │ ├── io_mux_reg.h │ │ │ ├── ledc_reg.h │ │ │ ├── ledc_struct.h │ │ │ ├── mcpwm_reg.h │ │ │ ├── mcpwm_struct.h │ │ │ ├── nrx_reg.h │ │ │ ├── pcnt_reg.h │ │ │ ├── pcnt_struct.h │ │ │ ├── periph_defs.h │ │ │ ├── pid.h │ │ │ ├── rmt_reg.h │ │ │ ├── rmt_struct.h │ │ │ ├── rtc.h │ │ │ ├── rtc_cntl_reg.h │ │ │ ├── rtc_cntl_struct.h │ │ │ ├── rtc_gpio_channel.h │ │ │ ├── rtc_i2c_reg.h │ │ │ ├── rtc_io_reg.h │ │ │ ├── rtc_io_struct.h │ │ │ ├── rtc_periph.h │ │ │ ├── rtc_wdt.h │ │ │ ├── sdio_slave_periph.h │ │ │ ├── sdio_slave_pins.h │ │ │ ├── sdmmc_periph.h │ │ │ ├── sdmmc_pins.h │ │ │ ├── sdmmc_reg.h │ │ │ ├── sdmmc_struct.h │ │ │ ├── sens_reg.h │ │ │ ├── sens_struct.h │ │ │ ├── slc_reg.h │ │ │ ├── slc_struct.h │ │ │ ├── soc.h │ │ │ ├── soc_memory_layout.h │ │ │ ├── soc_ulp.h │ │ │ ├── spi_periph.h │ │ │ ├── spi_pins.h │ │ │ ├── spi_reg.h │ │ │ ├── spi_struct.h │ │ │ ├── syscon_reg.h │ │ │ ├── syscon_struct.h │ │ │ ├── timer_group_reg.h │ │ │ ├── timer_group_struct.h │ │ │ ├── touch_channel.h │ │ │ ├── uart_channel.h │ │ │ ├── uart_reg.h │ │ │ ├── uart_struct.h │ │ │ ├── uhci_reg.h │ │ │ ├── uhci_struct.h │ │ │ └── wdev_reg.h │ ├── spi_flash │ │ ├── esp_partition.h │ │ └── esp_spi_flash.h │ ├── spiffs │ │ ├── esp_spiffs.h │ │ └── spiffs_config.h │ ├── tcp_transport │ │ ├── esp_transport.h │ │ ├── esp_transport_ssl.h │ │ ├── esp_transport_tcp.h │ │ ├── esp_transport_utils.h │ │ └── esp_transport_ws.h │ ├── tcpip_adapter │ │ ├── tcpip_adapter.h │ │ └── tcpip_adapter_internal.h │ ├── ulp │ │ └── esp32 │ │ │ └── ulp.h │ ├── unity │ │ ├── unity.h │ │ ├── unity_config.h │ │ ├── unity_internals.h │ │ └── unity_test_runner.h │ ├── vfs │ │ ├── esp_vfs.h │ │ ├── esp_vfs_dev.h │ │ └── sys │ │ │ ├── dirent.h │ │ │ └── ioctl.h │ ├── wear_levelling │ │ └── wear_levelling.h │ ├── wifi_provisioning │ │ └── wifi_provisioning │ │ │ ├── manager.h │ │ │ ├── scheme_ble.h │ │ │ ├── scheme_console.h │ │ │ ├── scheme_softap.h │ │ │ ├── wifi_config.h │ │ │ └── wifi_scan.h │ ├── wpa_supplicant │ │ ├── byteswap.h │ │ ├── crypto │ │ │ ├── aes.h │ │ │ ├── aes_i.h │ │ │ ├── aes_wrap.h │ │ │ ├── base64.h │ │ │ ├── common.h │ │ │ ├── crypto.h │ │ │ ├── dh_group5.h │ │ │ ├── dh_groups.h │ │ │ ├── includes.h │ │ │ ├── md5.h │ │ │ ├── md5_i.h │ │ │ ├── ms_funcs.h │ │ │ ├── random.h │ │ │ ├── sha1.h │ │ │ ├── sha1_i.h │ │ │ └── sha256.h │ │ ├── endian.h │ │ ├── os.h │ │ ├── wpa │ │ │ ├── ap_config.h │ │ │ ├── common.h │ │ │ ├── defs.h │ │ │ ├── eapol_common.h │ │ │ ├── hostapd.h │ │ │ ├── ieee80211_crypto.h │ │ │ ├── ieee802_11_defs.h │ │ │ ├── ieee802_1x.h │ │ │ ├── includes.h │ │ │ ├── list.h │ │ │ ├── sta_info.h │ │ │ ├── state_machine.h │ │ │ ├── wpa.h │ │ │ ├── wpa_auth.h │ │ │ ├── wpa_auth_i.h │ │ │ ├── wpa_auth_ie.h │ │ │ ├── wpa_common.h │ │ │ ├── wpa_debug.h │ │ │ ├── wpa_i.h │ │ │ ├── wpa_ie.h │ │ │ ├── wpabuf.h │ │ │ └── wpas_glue.h │ │ ├── wpa2 │ │ │ ├── eap_peer │ │ │ │ ├── eap.h │ │ │ │ ├── eap_common.h │ │ │ │ ├── eap_config.h │ │ │ │ ├── eap_defs.h │ │ │ │ ├── eap_i.h │ │ │ │ ├── eap_methods.h │ │ │ │ ├── eap_peap_common.h │ │ │ │ ├── eap_tls.h │ │ │ │ ├── eap_tls_common.h │ │ │ │ ├── eap_tlv_common.h │ │ │ │ ├── eap_ttls.h │ │ │ │ └── mschapv2.h │ │ │ ├── tls │ │ │ │ ├── asn1.h │ │ │ │ ├── bignum.h │ │ │ │ ├── libtommath.h │ │ │ │ ├── pkcs1.h │ │ │ │ ├── pkcs5.h │ │ │ │ ├── pkcs8.h │ │ │ │ ├── rsa.h │ │ │ │ ├── tls.h │ │ │ │ ├── tlsv1_client.h │ │ │ │ ├── tlsv1_client_i.h │ │ │ │ ├── tlsv1_common.h │ │ │ │ ├── tlsv1_cred.h │ │ │ │ ├── tlsv1_record.h │ │ │ │ ├── tlsv1_server.h │ │ │ │ ├── tlsv1_server_i.h │ │ │ │ └── x509v3.h │ │ │ └── utils │ │ │ │ ├── base64.h │ │ │ │ ├── ext_password.h │ │ │ │ └── ext_password_i.h │ │ └── wps │ │ │ ├── utils │ │ │ └── uuid.h │ │ │ ├── wps.h │ │ │ ├── wps_attr_parse.h │ │ │ ├── wps_defs.h │ │ │ ├── wps_dev_attr.h │ │ │ └── wps_i.h │ └── xtensa-debug-module │ │ ├── eri.h │ │ ├── trax.h │ │ └── xtensa-debug-module.h │ ├── ld │ ├── esp32.extram.bss.ld │ ├── esp32.ld │ ├── esp32.peripherals.ld │ ├── esp32.project.ld │ ├── esp32.rom.ld │ ├── esp32.rom.libgcc.ld │ ├── esp32.rom.nanofmt.ld │ ├── esp32.rom.redefined.ld │ ├── esp32.rom.spiflash.ld │ ├── esp32.rom.spiram_incompatible_fns.ld │ └── esp32_out.ld │ ├── lib │ ├── libapp_trace.a │ ├── libapp_update.a │ ├── libasio.a │ ├── libbootloader_support.a │ ├── libbt.a │ ├── libbtdm_app.a │ ├── libc.a │ ├── libc_nano.a │ ├── libcoap.a │ ├── libcoexist.a │ ├── libconsole.a │ ├── libcore.a │ ├── libcxx.a │ ├── libdl_lib.a │ ├── libdriver.a │ ├── libefuse.a │ ├── libemhusarnet.a │ ├── libesp-tls.a │ ├── libesp32-camera.a │ ├── libesp32.a │ ├── libesp_adc_cal.a │ ├── libesp_event.a │ ├── libesp_http_client.a │ ├── libesp_http_server.a │ ├── libesp_https_ota.a │ ├── libesp_https_server.a │ ├── libesp_ringbuf.a │ ├── libespcoredump.a │ ├── libespnow.a │ ├── libethernet.a │ ├── libexpat.a │ ├── libface_detection.a │ ├── libface_recognition.a │ ├── libfatfs.a │ ├── libfb_gfx.a │ ├── libfd.a │ ├── libfr.a │ ├── libfreemodbus.a │ ├── libfreertos.a │ ├── libhal.a │ ├── libheap.a │ ├── libhusarnet.a │ ├── libimage_util.a │ ├── libjsmn.a │ ├── libjson.a │ ├── liblibsodium.a │ ├── liblog.a │ ├── liblwip.a │ ├── libm.a │ ├── libmbedtls.a │ ├── libmdns.a │ ├── libmesh.a │ ├── libmicro-ecc.a │ ├── libmqtt.a │ ├── libnet80211.a │ ├── libnewlib.a │ ├── libnghttp.a │ ├── libnvs_flash.a │ ├── libod.a │ ├── libopenssl.a │ ├── libphy.a │ ├── libpp.a │ ├── libprotobuf-c.a │ ├── libprotocomm.a │ ├── libpthread.a │ ├── librosem.a │ ├── librtc.a │ ├── libsdmmc.a │ ├── libsmartconfig.a │ ├── libsmartconfig_ack.a │ ├── libsoc.a │ ├── libspi_flash.a │ ├── libspiffs.a │ ├── libtcp_transport.a │ ├── libtcpip_adapter.a │ ├── libulp.a │ ├── libunity.a │ ├── libvfs.a │ ├── libwear_levelling.a │ ├── libwifi_provisioning.a │ ├── libwpa.a │ ├── libwpa2.a │ ├── libwpa_supplicant.a │ ├── libwps.a │ └── libxtensa-debug-module.a │ └── sdkconfig └── variants ├── Microduino-esp32 └── pins_arduino.h ├── alksesp32 └── pins_arduino.h ├── bpi-bit └── pins_arduino.h ├── d-duino-32 └── pins_arduino.h ├── d1_mini32 └── pins_arduino.h ├── d32 ├── d32_core.h └── pins_arduino.h ├── d32_pro └── pins_arduino.h ├── doitESP32devkitV1 └── pins_arduino.h ├── esp32-devkit-lipo └── pins_arduino.h ├── esp32-evb └── pins_arduino.h ├── esp32-gateway └── pins_arduino.h ├── esp32-poe-iso └── pins_arduino.h ├── esp32-poe └── pins_arduino.h ├── esp32 └── pins_arduino.h ├── esp320 └── pins_arduino.h ├── esp32thing └── pins_arduino.h ├── esp32vn-iot-uno └── pins_arduino.h ├── espea32 └── pins_arduino.h ├── espectro32 └── pins_arduino.h ├── espino32 └── pins_arduino.h ├── feather_esp32 └── pins_arduino.h ├── firebeetle32 └── pins_arduino.h ├── fm-devkit └── pins_arduino.h ├── frog32 └── pins_arduino.h ├── gpy └── pins_arduino.h ├── handbit └── pins_arduino.h ├── heltec_wifi_kit_32 └── pins_arduino.h ├── heltec_wifi_lora_32 └── pins_arduino.h ├── heltec_wifi_lora_32_V2 └── pins_arduino.h ├── heltec_wireless_stick └── pins_arduino.h ├── honeylemon └── pins_arduino.h ├── hornbill32dev └── pins_arduino.h ├── hornbill32minima └── pins_arduino.h ├── intorobot-fig └── pins_arduino.h ├── lolin32 └── pins_arduino.h ├── lopy └── pins_arduino.h ├── lopy4 └── pins_arduino.h ├── m5stack_atom └── pins_arduino.h ├── m5stack_core_esp32 └── pins_arduino.h ├── m5stack_fire └── pins_arduino.h ├── m5stick_c └── pins_arduino.h ├── magicbit └── pins_arduino.h ├── metro_esp-32 └── pins_arduino.h ├── mgbot-iotik32a └── pins_arduino.h ├── mgbot-iotik32b └── pins_arduino.h ├── mhetesp32devkit └── pins_arduino.h ├── mhetesp32minikit └── pins_arduino.h ├── nano32 └── pins_arduino.h ├── nina_w10 └── pins_arduino.h ├── node32s └── pins_arduino.h ├── nodemcu-32s └── pins_arduino.h ├── odroid_esp32 └── pins_arduino.h ├── onehorse32dev └── pins_arduino.h ├── oroca_edubot └── pins_arduino.h ├── pico32 └── pins_arduino.h ├── piranha_esp-32 └── pins_arduino.h ├── pocket_32 └── pins_arduino.h ├── quantum └── pins_arduino.h ├── sparkfun_lora_gateway_1-channel └── pins_arduino.h ├── t-beam └── pins_arduino.h ├── tinypico └── pins_arduino.h ├── ttgo-lora32-v1 └── pins_arduino.h ├── ttgo-lora32-v2 └── pins_arduino.h ├── ttgo-t1 └── pins_arduino.h ├── turta_iot_node └── pins_arduino.h ├── twatch └── pins_arduino.h ├── vintlabsdevkitv1 └── pins_arduino.h ├── wesp32 └── pins_arduino.h ├── widora-air └── pins_arduino.h ├── wipy3 └── pins_arduino.h └── xinabox └── pins_arduino.h /.github/workflows/gh-pages.yml: -------------------------------------------------------------------------------- 1 | name: GitHub Pages CI 2 | 3 | on: 4 | push: 5 | branches: 6 | - master 7 | paths: 8 | - 'README.md' 9 | - 'docs/**' 10 | 11 | jobs: 12 | 13 | build-pages: 14 | name: Build GitHub Pages 15 | runs-on: ubuntu-latest 16 | steps: 17 | - uses: actions/checkout@v1 18 | - name: Copy Files 19 | env: 20 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 21 | run: bash ./.github/scripts/on-pages.sh 22 | -------------------------------------------------------------------------------- /.github/workflows/release.yml: -------------------------------------------------------------------------------- 1 | name: ESP32 Arduino Release 2 | 3 | on: 4 | release: 5 | types: published 6 | 7 | jobs: 8 | build: 9 | name: Publish Release 10 | runs-on: ubuntu-latest 11 | 12 | steps: 13 | - uses: actions/checkout@master 14 | - uses: actions/setup-python@v1 15 | with: 16 | python-version: '3.x' 17 | - name: Build Release 18 | env: 19 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 20 | run: bash ./.github/scripts/on-release.sh 21 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | tools/xtensa-esp32-elf 2 | tools/dist 3 | tools/esptool 4 | tools/esptool.exe 5 | tools/mkspiffs/mkspiffs 6 | tools/mkspiffs/mkspiffs.exe 7 | .DS_Store 8 | 9 | #Ignore files built by Visual Studio/Visual Micro 10 | [Dd]ebug*/ 11 | [Rr]elease*/ 12 | .vs/ 13 | __vm/ 14 | *.vcxproj* 15 | .vscode/ 16 | 17 | # Husarnet specific ignores 18 | arduino-husarnet-esp32-v1.zip 19 | -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- 1 | [submodule "libraries/AzureIoT"] 2 | path = libraries/AzureIoT 3 | url = https://github.com/VSChina/ESP32_AzureIoT_Arduino 4 | -------------------------------------------------------------------------------- /Makefile.projbuild: -------------------------------------------------------------------------------- 1 | BOOT_APP_BIN_ROOT := $(call dequote,$(COMPONENT_PATH)) 2 | 3 | ifndef CONFIG_PARTITION_TABLE_CUSTOM 4 | PARTITION_TABLE_CSV_PATH = $(call dequote,$(abspath $(BOOT_APP_BIN_ROOT)/$(subst $(quote),,tools/partitions/$(CONFIG_ARDUHAL_PARTITION_SCHEME).csv))) 5 | endif 6 | 7 | CPPFLAGS += -DARDUINO=10800 -DESP32=1 -DARDUINO_ARCH_ESP32=1 -DBOARD_HAS_PSRAM 8 | -------------------------------------------------------------------------------- /cores/esp32/FunctionalInterrupt.h: -------------------------------------------------------------------------------- 1 | /* 2 | * FunctionalInterrupt.h 3 | * 4 | * Created on: 8 jul. 2018 5 | * Author: Herman 6 | */ 7 | 8 | #ifndef CORE_CORE_FUNCTIONALINTERRUPT_H_ 9 | #define CORE_CORE_FUNCTIONALINTERRUPT_H_ 10 | 11 | #include 12 | 13 | struct InterruptArgStructure { 14 | std::function interruptFunction; 15 | }; 16 | 17 | void attachInterrupt(uint8_t pin, std::function intRoutine, int mode); 18 | 19 | 20 | #endif /* CORE_CORE_FUNCTIONALINTERRUPT_H_ */ 21 | -------------------------------------------------------------------------------- /cores/esp32/apps/sntp/sntp.h: -------------------------------------------------------------------------------- 1 | #include "lwip/apps/sntp.h" 2 | -------------------------------------------------------------------------------- /cores/esp32/base64.h: -------------------------------------------------------------------------------- 1 | #ifndef CORE_BASE64_H_ 2 | #define CORE_BASE64_H_ 3 | 4 | class base64 5 | { 6 | public: 7 | static String encode(const uint8_t * data, size_t length); 8 | static String encode(const String& text); 9 | private: 10 | }; 11 | 12 | 13 | #endif /* CORE_BASE64_H_ */ 14 | -------------------------------------------------------------------------------- /cores/esp32/esp32-hal-bt.h: -------------------------------------------------------------------------------- 1 | // Copyright 2015-2016 Espressif Systems (Shanghai) PTE LTD 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | #ifndef _ESP32_ESP32_HAL_BT_H_ 16 | #define _ESP32_ESP32_HAL_BT_H_ 17 | 18 | #include "esp32-hal.h" 19 | 20 | #ifdef __cplusplus 21 | extern "C" { 22 | #endif 23 | 24 | bool btStarted(); 25 | bool btStart(); 26 | bool btStop(); 27 | 28 | #ifdef __cplusplus 29 | } 30 | #endif 31 | 32 | #endif /* _ESP32_ESP32_HAL_BT_H_ */ 33 | -------------------------------------------------------------------------------- /cores/esp32/esp8266-compat.h: -------------------------------------------------------------------------------- 1 | // esp8266-compat.h - Compatibility functions to help ESP8266 libraries and user code run on ESP32 2 | 3 | // Copyright (c) 2017 Evandro Luis Copercini. All rights reserved. 4 | // 5 | // Licensed under the Apache License, Version 2.0 (the "License"); 6 | // you may not use this file except in compliance with the License. 7 | // You may obtain a copy of the License at 8 | 9 | // http://www.apache.org/licenses/LICENSE-2.0 10 | // 11 | // Unless required by applicable law or agreed to in writing, software 12 | // distributed under the License is distributed on an "AS IS" BASIS, 13 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | // See the License for the specific language governing permissions and 15 | // limitations under the License. 16 | 17 | #ifndef _ESP8266_COMPAT_H_ 18 | #define _ESP8266_COMPAT_H_ 19 | 20 | #define ICACHE_FLASH_ATTR 21 | #define ICACHE_RAM_ATTR IRAM_ATTR 22 | 23 | 24 | #endif /* _ESP8266_COMPAT_H_ */ -------------------------------------------------------------------------------- /cores/esp32/libb64/AUTHORS: -------------------------------------------------------------------------------- 1 | libb64: Base64 Encoding/Decoding Routines 2 | ====================================== 3 | 4 | Authors: 5 | ------- 6 | 7 | Chris Venter chris.venter@gmail.com http://rocketpod.blogspot.com 8 | -------------------------------------------------------------------------------- /cores/esp32/main.cpp: -------------------------------------------------------------------------------- 1 | #include "freertos/FreeRTOS.h" 2 | #include "freertos/task.h" 3 | #include "esp_task_wdt.h" 4 | #include "Arduino.h" 5 | 6 | TaskHandle_t loopTaskHandle = NULL; 7 | 8 | #if CONFIG_AUTOSTART_ARDUINO 9 | 10 | bool loopTaskWDTEnabled; 11 | 12 | void loopTask(void *pvParameters) 13 | { 14 | setup(); 15 | for(;;) { 16 | if(loopTaskWDTEnabled){ 17 | esp_task_wdt_reset(); 18 | } 19 | loop(); 20 | if (serialEventRun) serialEventRun(); 21 | } 22 | } 23 | 24 | extern "C" void app_main() 25 | { 26 | loopTaskWDTEnabled = false; 27 | initArduino(); 28 | xTaskCreateUniversal(loopTask, "loopTask", 8192, NULL, 1, &loopTaskHandle, CONFIG_ARDUINO_RUNNING_CORE); 29 | } 30 | 31 | #endif 32 | -------------------------------------------------------------------------------- /docs/OTAWebUpdate/esp32login.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/husarnet/arduino-esp32/62a94ccdc6118927751b15390a553b3dca3b8cbf/docs/OTAWebUpdate/esp32login.PNG -------------------------------------------------------------------------------- /docs/OTAWebUpdate/esp32upload.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/husarnet/arduino-esp32/62a94ccdc6118927751b15390a553b3dca3b8cbf/docs/OTAWebUpdate/esp32upload.PNG -------------------------------------------------------------------------------- /docs/OTAWebUpdate/esp32verbose.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/husarnet/arduino-esp32/62a94ccdc6118927751b15390a553b3dca3b8cbf/docs/OTAWebUpdate/esp32verbose.PNG -------------------------------------------------------------------------------- /docs/OTAWebUpdate/exportTobinary.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/husarnet/arduino-esp32/62a94ccdc6118927751b15390a553b3dca3b8cbf/docs/OTAWebUpdate/exportTobinary.PNG -------------------------------------------------------------------------------- /docs/arduino-ide/fedora.md: -------------------------------------------------------------------------------- 1 | Installation instructions for Fedora 2 | ===================================== 3 | 4 | - Install the latest Arduino IDE from [arduino.cc](https://www.arduino.cc/en/Main/Software). `$ sudo dnf -y install arduino` will most likely install an older release. 5 | - Open Terminal and execute the following command (copy->paste and hit enter): 6 | 7 | ```bash 8 | sudo usermod -a -G dialout $USER && \ 9 | sudo dnf install git python3-pip python3-pyserial && \ 10 | mkdir -p ~/Arduino/hardware/espressif && \ 11 | cd ~/Arduino/hardware/espressif && \ 12 | git clone https://github.com/espressif/arduino-esp32.git esp32 && \ 13 | cd esp32 && \ 14 | git submodule update --init --recursive && \ 15 | cd tools && \ 16 | python get.py 17 | ``` 18 | - Restart Arduino IDE 19 | -------------------------------------------------------------------------------- /docs/arduino-ide/opensuse.md: -------------------------------------------------------------------------------- 1 | Installation instructions for openSUSE 2 | ====================================== 3 | 4 | - Install the latest Arduino IDE from [arduino.cc](https://www.arduino.cc/en/Main/Software). 5 | - Open Terminal and execute the following command (copy->paste and hit enter): 6 | 7 | ```bash 8 | sudo usermod -a -G dialout $USER && \ 9 | if [ `python --version 2>&1 | grep '2.7' | wc -l` = "1" ]; then \ 10 | sudo zypper install git python-pip python-pyserial; \ 11 | else \ 12 | sudo zypper install git python3-pip python3-pyserial; \ 13 | fi && \ 14 | mkdir -p ~/Arduino/hardware/espressif && \ 15 | cd ~/Arduino/hardware/espressif && \ 16 | git clone https://github.com/espressif/arduino-esp32.git esp32 && \ 17 | cd esp32 && \ 18 | git submodule update --init --recursive && \ 19 | cd tools && \ 20 | python get.py 21 | ``` 22 | - Restart Arduino IDE 23 | -------------------------------------------------------------------------------- /docs/arduino-ide/win-screenshots/arduino-ide.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/husarnet/arduino-esp32/62a94ccdc6118927751b15390a553b3dca3b8cbf/docs/arduino-ide/win-screenshots/arduino-ide.png -------------------------------------------------------------------------------- /docs/arduino-ide/win-screenshots/win-gui-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/husarnet/arduino-esp32/62a94ccdc6118927751b15390a553b3dca3b8cbf/docs/arduino-ide/win-screenshots/win-gui-1.png -------------------------------------------------------------------------------- /docs/arduino-ide/win-screenshots/win-gui-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/husarnet/arduino-esp32/62a94ccdc6118927751b15390a553b3dca3b8cbf/docs/arduino-ide/win-screenshots/win-gui-2.png -------------------------------------------------------------------------------- /docs/arduino-ide/win-screenshots/win-gui-3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/husarnet/arduino-esp32/62a94ccdc6118927751b15390a553b3dca3b8cbf/docs/arduino-ide/win-screenshots/win-gui-3.png -------------------------------------------------------------------------------- /docs/arduino-ide/win-screenshots/win-gui-4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/husarnet/arduino-esp32/62a94ccdc6118927751b15390a553b3dca3b8cbf/docs/arduino-ide/win-screenshots/win-gui-4.png -------------------------------------------------------------------------------- /docs/arduino-ide/win-screenshots/win-gui-5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/husarnet/arduino-esp32/62a94ccdc6118927751b15390a553b3dca3b8cbf/docs/arduino-ide/win-screenshots/win-gui-5.png -------------------------------------------------------------------------------- /docs/arduino-ide/win-screenshots/win-gui-update-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/husarnet/arduino-esp32/62a94ccdc6118927751b15390a553b3dca3b8cbf/docs/arduino-ide/win-screenshots/win-gui-update-1.png -------------------------------------------------------------------------------- /docs/arduino-ide/win-screenshots/win-gui-update-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/husarnet/arduino-esp32/62a94ccdc6118927751b15390a553b3dca3b8cbf/docs/arduino-ide/win-screenshots/win-gui-update-2.png -------------------------------------------------------------------------------- /docs/esp32_pinmap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/husarnet/arduino-esp32/62a94ccdc6118927751b15390a553b3dca3b8cbf/docs/esp32_pinmap.png -------------------------------------------------------------------------------- /docs/make.md: -------------------------------------------------------------------------------- 1 | To use make 2 | ============ 3 | 4 | [makeEspArduino](https://github.com/plerup/makeEspArduino) is a generic makefile for any ESP8266/ESP32 Arduino project.Using make instead of the Arduino IDE makes it easier to do automated and production builds. 5 | -------------------------------------------------------------------------------- /libraries/ArduinoOTA/keywords.txt: -------------------------------------------------------------------------------- 1 | ####################################### 2 | # Syntax Coloring Map For Ultrasound 3 | ####################################### 4 | 5 | ####################################### 6 | # Datatypes (KEYWORD1) 7 | ####################################### 8 | 9 | ArduinoOTA KEYWORD1 10 | 11 | ####################################### 12 | # Methods and Functions (KEYWORD2) 13 | ####################################### 14 | 15 | begin KEYWORD2 16 | setup KEYWORD2 17 | handle KEYWORD2 18 | onStart KEYWORD2 19 | onEnd KEYWORD2 20 | onError KEYWORD2 21 | onProgress KEYWORD2 22 | 23 | ####################################### 24 | # Constants (LITERAL1) 25 | ####################################### 26 | 27 | -------------------------------------------------------------------------------- /libraries/ArduinoOTA/library.properties: -------------------------------------------------------------------------------- 1 | name=ArduinoOTA 2 | version=1.0 3 | author=Ivan Grokhotkov and Hristo Gochkov 4 | maintainer=Hristo Gochkov 5 | sentence=Enables Over The Air upgrades, via wifi and espota.py UDP request/TCP download. 6 | paragraph=With this library you can enable your sketch to be upgraded over network. Includes mdns anounces to get discovered by the arduino IDE. 7 | category=Communication 8 | url= 9 | architectures=esp32 10 | -------------------------------------------------------------------------------- /libraries/AsyncUDP/keywords.txt: -------------------------------------------------------------------------------- 1 | ####################################### 2 | # Syntax Coloring Map For Ultrasound 3 | ####################################### 4 | 5 | ####################################### 6 | # Datatypes (KEYWORD1) 7 | ####################################### 8 | 9 | AsyncUDP KEYWORD1 10 | AsyncUDPPacket KEYWORD1 11 | 12 | ####################################### 13 | # Methods and Functions (KEYWORD2) 14 | ####################################### 15 | 16 | connect KEYWORD2 17 | connected KEYWORD2 18 | listen KEYWORD2 19 | listenMulticast KEYWORD2 20 | close KEYWORD2 21 | write KEYWORD2 22 | broadcast KEYWORD2 23 | onPacket KEYWORD2 24 | data KEYWORD2 25 | length KEYWORD2 26 | localIP KEYWORD2 27 | localPort KEYWORD2 28 | remoteIP KEYWORD2 29 | remotePort KEYWORD2 30 | 31 | ####################################### 32 | # Constants (LITERAL1) 33 | ####################################### 34 | -------------------------------------------------------------------------------- /libraries/AsyncUDP/library.properties: -------------------------------------------------------------------------------- 1 | name=ESP32 Async UDP 2 | version=1.0.0 3 | author=Me-No-Dev 4 | maintainer=Me-No-Dev 5 | sentence=Async UDP Library for ESP32 6 | paragraph=Async UDP Library for ESP32 7 | category=Other 8 | url=https://github.com/me-no-dev/ESPAsyncUDP 9 | architectures=* 10 | -------------------------------------------------------------------------------- /libraries/BLE/README.md: -------------------------------------------------------------------------------- 1 | # ESP32 BLE for Arduino 2 | The Arduino IDE provides an excellent library package manager where versions of libraries can be downloaded and installed. This Github project provides the repository for the ESP32 BLE support for Arduino. 3 | 4 | The actual source of the project which is being maintained can be found here: 5 | 6 | https://github.com/nkolban/esp32-snippets 7 | 8 | Issues and questions should be raised here: 9 | 10 | https://github.com/nkolban/esp32-snippets/issues 11 | 12 | 13 | Documentation for using the library can be found here: 14 | 15 | https://github.com/nkolban/esp32-snippets/tree/master/Documentation -------------------------------------------------------------------------------- /libraries/BLE/library.properties: -------------------------------------------------------------------------------- 1 | name=ESP32 BLE Arduino 2 | version=1.0.1 3 | author=Neil Kolban 4 | maintainer=Dariusz Krempa 5 | sentence=BLE functions for ESP32 6 | paragraph=This library provides an implementation Bluetooth Low Energy support for the ESP32 using the Arduino platform. 7 | category=Communication 8 | url=https://github.com/nkolban/ESP32_BLE_Arduino 9 | architectures=esp32 10 | includes=BLEDevice.h, BLEUtils.h, BLEScan.h, BLEAdvertisedDevice.h 11 | -------------------------------------------------------------------------------- /libraries/BLE/src/BLE2902.h: -------------------------------------------------------------------------------- 1 | /* 2 | * BLE2902.h 3 | * 4 | * Created on: Jun 25, 2017 5 | * Author: kolban 6 | */ 7 | 8 | #ifndef COMPONENTS_CPP_UTILS_BLE2902_H_ 9 | #define COMPONENTS_CPP_UTILS_BLE2902_H_ 10 | #include "sdkconfig.h" 11 | #if defined(CONFIG_BT_ENABLED) 12 | 13 | #include "BLEDescriptor.h" 14 | 15 | /** 16 | * @brief Descriptor for Client Characteristic Configuration. 17 | * 18 | * This is a convenience descriptor for the Client Characteristic Configuration which has a UUID of 0x2902. 19 | * 20 | * See also: 21 | * https://www.bluetooth.com/specifications/gatt/viewer?attributeXmlFile=org.bluetooth.descriptor.gatt.client_characteristic_configuration.xml 22 | */ 23 | class BLE2902: public BLEDescriptor { 24 | public: 25 | BLE2902(); 26 | bool getNotifications(); 27 | bool getIndications(); 28 | void setNotifications(bool flag); 29 | void setIndications(bool flag); 30 | 31 | }; // BLE2902 32 | 33 | #endif /* CONFIG_BT_ENABLED */ 34 | #endif /* COMPONENTS_CPP_UTILS_BLE2902_H_ */ 35 | -------------------------------------------------------------------------------- /libraries/BLE/src/BLEAddress.h: -------------------------------------------------------------------------------- 1 | /* 2 | * BLEAddress.h 3 | * 4 | * Created on: Jul 2, 2017 5 | * Author: kolban 6 | */ 7 | 8 | #ifndef COMPONENTS_CPP_UTILS_BLEADDRESS_H_ 9 | #define COMPONENTS_CPP_UTILS_BLEADDRESS_H_ 10 | #include "sdkconfig.h" 11 | #if defined(CONFIG_BT_ENABLED) 12 | #include // ESP32 BLE 13 | #include 14 | 15 | 16 | /** 17 | * @brief A %BLE device address. 18 | * 19 | * Every %BLE device has a unique address which can be used to identify it and form connections. 20 | */ 21 | class BLEAddress { 22 | public: 23 | BLEAddress(esp_bd_addr_t address); 24 | BLEAddress(std::string stringAddress); 25 | bool equals(BLEAddress otherAddress); 26 | esp_bd_addr_t* getNative(); 27 | std::string toString(); 28 | 29 | private: 30 | esp_bd_addr_t m_address; 31 | }; 32 | 33 | #endif /* CONFIG_BT_ENABLED */ 34 | #endif /* COMPONENTS_CPP_UTILS_BLEADDRESS_H_ */ 35 | -------------------------------------------------------------------------------- /libraries/BLE/src/BLEExceptions.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | * BLExceptions.cpp 3 | * 4 | * Created on: Nov 27, 2017 5 | * Author: kolban 6 | */ 7 | 8 | //#include "BLEExceptions.h" 9 | 10 | -------------------------------------------------------------------------------- /libraries/BLE/src/BLEExceptions.h: -------------------------------------------------------------------------------- 1 | /* 2 | * BLExceptions.h 3 | * 4 | * Created on: Nov 27, 2017 5 | * Author: kolban 6 | */ 7 | 8 | #ifndef COMPONENTS_CPP_UTILS_BLEEXCEPTIONS_H_ 9 | #define COMPONENTS_CPP_UTILS_BLEEXCEPTIONS_H_ 10 | #include "sdkconfig.h" 11 | 12 | #if CONFIG_CXX_EXCEPTIONS != 1 13 | #error "C++ exception handling must be enabled within make menuconfig. See Compiler Options > Enable C++ Exceptions." 14 | #endif 15 | 16 | #include 17 | 18 | 19 | class BLEDisconnectedException : public std::exception { 20 | const char* what() const throw () { 21 | return "BLE Disconnected"; 22 | } 23 | }; 24 | 25 | class BLEUuidNotFoundException : public std::exception { 26 | const char* what() const throw () { 27 | return "No such UUID"; 28 | } 29 | }; 30 | 31 | #endif /* COMPONENTS_CPP_UTILS_BLEEXCEPTIONS_H_ */ 32 | -------------------------------------------------------------------------------- /libraries/BLE/src/BLEValue.h: -------------------------------------------------------------------------------- 1 | /* 2 | * BLEValue.h 3 | * 4 | * Created on: Jul 17, 2017 5 | * Author: kolban 6 | */ 7 | 8 | #ifndef COMPONENTS_CPP_UTILS_BLEVALUE_H_ 9 | #define COMPONENTS_CPP_UTILS_BLEVALUE_H_ 10 | #include "sdkconfig.h" 11 | #if defined(CONFIG_BT_ENABLED) 12 | #include 13 | 14 | /** 15 | * @brief The model of a %BLE value. 16 | */ 17 | class BLEValue { 18 | public: 19 | BLEValue(); 20 | void addPart(std::string part); 21 | void addPart(uint8_t* pData, size_t length); 22 | void cancel(); 23 | void commit(); 24 | uint8_t* getData(); 25 | size_t getLength(); 26 | uint16_t getReadOffset(); 27 | std::string getValue(); 28 | void setReadOffset(uint16_t readOffset); 29 | void setValue(std::string value); 30 | void setValue(uint8_t* pData, size_t length); 31 | 32 | private: 33 | std::string m_accumulation; 34 | uint16_t m_readOffset; 35 | std::string m_value; 36 | 37 | }; 38 | #endif // CONFIG_BT_ENABLED 39 | #endif /* COMPONENTS_CPP_UTILS_BLEVALUE_H_ */ 40 | -------------------------------------------------------------------------------- /libraries/BluetoothSerial/README.md: -------------------------------------------------------------------------------- 1 | ### Bluetooth Serial Library 2 | 3 | A simple Serial compatible library using ESP32 classical bluetooth (SPP) 4 | 5 | 6 | 7 | #### How to use it? 8 | 9 | - Download one bluetooth terminal app in your smartphone
10 | For Android: https://play.google.com/store/apps/details?id=de.kai_morich.serial_bluetooth_terminal
11 | For iOS: https://itunes.apple.com/us/app/hm10-bluetooth-serial-lite/id1030454675 12 | 13 | - Flash an example sketch to your ESP32 14 | 15 | - Scan and pair the device in your smartphone 16 | 17 | - Open the bluetooth terminal app 18 | 19 | - Enjoy 20 | -------------------------------------------------------------------------------- /libraries/BluetoothSerial/examples/SerialToSerialBT/SerialToSerialBT.ino: -------------------------------------------------------------------------------- 1 | //This example code is in the Public Domain (or CC0 licensed, at your option.) 2 | //By Evandro Copercini - 2018 3 | // 4 | //This example creates a bridge between Serial and Classical Bluetooth (SPP) 5 | //and also demonstrate that SerialBT have the same functionalities of a normal Serial 6 | 7 | #include "BluetoothSerial.h" 8 | 9 | #if !defined(CONFIG_BT_ENABLED) || !defined(CONFIG_BLUEDROID_ENABLED) 10 | #error Bluetooth is not enabled! Please run `make menuconfig` to and enable it 11 | #endif 12 | 13 | BluetoothSerial SerialBT; 14 | 15 | void setup() { 16 | Serial.begin(115200); 17 | SerialBT.begin("ESP32test"); //Bluetooth device name 18 | Serial.println("The device started, now you can pair it with bluetooth!"); 19 | } 20 | 21 | void loop() { 22 | if (Serial.available()) { 23 | SerialBT.write(Serial.read()); 24 | } 25 | if (SerialBT.available()) { 26 | Serial.write(SerialBT.read()); 27 | } 28 | delay(20); 29 | } -------------------------------------------------------------------------------- /libraries/BluetoothSerial/keywords.txt: -------------------------------------------------------------------------------- 1 | ####################################### 2 | # Syntax Coloring Map For BluetoothSerial 3 | ####################################### 4 | 5 | ####################################### 6 | # Library (KEYWORD3) 7 | ####################################### 8 | 9 | BluetoothSerial KEYWORD3 10 | 11 | ####################################### 12 | # Datatypes (KEYWORD1) 13 | ####################################### 14 | 15 | BluetoothSerial KEYWORD1 16 | 17 | ####################################### 18 | # Methods and Functions (KEYWORD2) 19 | ####################################### 20 | 21 | SerialBT KEYWORD2 22 | hasClient KEYWORD2 23 | 24 | ####################################### 25 | # Constants (LITERAL1) 26 | ####################################### 27 | -------------------------------------------------------------------------------- /libraries/BluetoothSerial/library.properties: -------------------------------------------------------------------------------- 1 | name=BluetoothSerial 2 | version=1.0 3 | author=Evandro Copercini 4 | maintainer=Evandro Copercini 5 | sentence=Simple UART to Classical Bluetooth bridge for ESP32 6 | paragraph= 7 | category=Communication 8 | url= 9 | architectures=esp32 10 | -------------------------------------------------------------------------------- /libraries/DNSServer/library.properties: -------------------------------------------------------------------------------- 1 | name=DNSServer 2 | version=1.1.0 3 | author=Kristijan Novoselić 4 | maintainer=Kristijan Novoselić, 5 | sentence=A simple DNS server for ESP32. 6 | paragraph=This library implements a simple DNS server. 7 | category=Communication 8 | url= 9 | architectures=esp32 10 | -------------------------------------------------------------------------------- /libraries/EEPROM/README.md: -------------------------------------------------------------------------------- 1 | ## EEPROM 2 | 3 | EEPROM is deprecated. For new applications on ESP32, use Preferences. EEPROM is provided for backwards compatibility with existing Arduino applications. 4 | EEPROM is implemented using a single blob within NVS, so it is a container within a container. As such, it is not going to be a high performance storage method. Preferences will directly use nvs, and store each entry as a single object therein. 5 | -------------------------------------------------------------------------------- /libraries/EEPROM/keywords.txt: -------------------------------------------------------------------------------- 1 | ####################################### 2 | # Syntax Coloring Map For Ultrasound 3 | ####################################### 4 | 5 | ####################################### 6 | # Datatypes (KEYWORD1) 7 | ####################################### 8 | 9 | EEPROM KEYWORD1 10 | EEPROMClass KEYWORD1 11 | 12 | ####################################### 13 | # Methods and Functions (KEYWORD2) 14 | ####################################### 15 | 16 | ####################################### 17 | # Constants (LITERAL1) 18 | ####################################### 19 | 20 | -------------------------------------------------------------------------------- /libraries/EEPROM/library.properties: -------------------------------------------------------------------------------- 1 | name=EEPROM 2 | version=1.0.3 3 | author=Ivan Grokhotkov 4 | maintainer=Paolo Becchi 5 | sentence=Enables reading and writing data a sequential, addressable FLASH storage 6 | paragraph= 7 | category=Data Storage 8 | url=http://arduino.cc/en/Reference/EEPROM 9 | architectures=esp32 10 | -------------------------------------------------------------------------------- /libraries/ESP32/examples/AnalogOut/SigmaDelta/SigmaDelta.ino: -------------------------------------------------------------------------------- 1 | void setup() 2 | { 3 | //setup channel 0 with frequency 312500 Hz 4 | sigmaDeltaSetup(0, 312500); 5 | //attach pin 18 to channel 0 6 | sigmaDeltaAttachPin(18,0); 7 | //initialize channel 0 to off 8 | sigmaDeltaWrite(0, 0); 9 | } 10 | 11 | void loop() 12 | { 13 | //slowly ramp-up the value 14 | //will overflow at 256 15 | static uint8_t i = 0; 16 | sigmaDeltaWrite(0, i++); 17 | delay(100); 18 | } 19 | -------------------------------------------------------------------------------- /libraries/ESP32/examples/ChipID/GetChipID/GetChipID.ino: -------------------------------------------------------------------------------- 1 | uint64_t chipid; 2 | 3 | void setup() { 4 | Serial.begin(115200); 5 | } 6 | 7 | void loop() { 8 | chipid=ESP.getEfuseMac();//The chip ID is essentially its MAC address(length: 6 bytes). 9 | Serial.printf("ESP32 Chip ID = %04X",(uint16_t)(chipid>>32));//print High 2 bytes 10 | Serial.printf("%08X\n",(uint32_t)chipid);//print Low 4bytes. 11 | 12 | delay(3000); 13 | 14 | } 15 | -------------------------------------------------------------------------------- /libraries/ESP32/examples/HallSensor/HallSensor.ino: -------------------------------------------------------------------------------- 1 | //Simple sketch to access the internal hall effect detector on the esp32. 2 | //values can be quite low. 3 | //Brian Degger / @sctv 4 | 5 | int val = 0; 6 | void setup() { 7 | Serial.begin(9600); 8 | } 9 | 10 | void loop() { 11 | // put your main code here, to run repeatedly: 12 | val = hallRead(); 13 | // print the results to the serial monitor: 14 | //Serial.print("sensor = "); 15 | Serial.println(val);//to graph 16 | } 17 | -------------------------------------------------------------------------------- /libraries/ESP32/examples/Touch/TouchInterrupt/TouchInterrupt.ino: -------------------------------------------------------------------------------- 1 | /* 2 | This is un example howto use Touch Intrrerupts 3 | The bigger the threshold, the more sensible is the touch 4 | */ 5 | 6 | int threshold = 40; 7 | bool touch1detected = false; 8 | bool touch2detected = false; 9 | 10 | void gotTouch1(){ 11 | touch1detected = true; 12 | } 13 | 14 | void gotTouch2(){ 15 | touch2detected = true; 16 | } 17 | 18 | void setup() { 19 | Serial.begin(115200); 20 | delay(1000); // give me time to bring up serial monitor 21 | Serial.println("ESP32 Touch Interrupt Test"); 22 | touchAttachInterrupt(T2, gotTouch1, threshold); 23 | touchAttachInterrupt(T3, gotTouch2, threshold); 24 | } 25 | 26 | void loop(){ 27 | if(touch1detected){ 28 | touch1detected = false; 29 | Serial.println("Touch 1 detected"); 30 | } 31 | if(touch2detected){ 32 | touch2detected = false; 33 | Serial.println("Touch 2 detected"); 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /libraries/ESP32/examples/Touch/TouchRead/TouchRead.ino: -------------------------------------------------------------------------------- 1 | // ESP32 Touch Test 2 | // Just test touch pin - Touch0 is T0 which is on GPIO 4. 3 | 4 | void setup() 5 | { 6 | Serial.begin(115200); 7 | delay(1000); // give me time to bring up serial monitor 8 | Serial.println("ESP32 Touch Test"); 9 | } 10 | 11 | void loop() 12 | { 13 | Serial.println(touchRead(T0)); // get value using T0 14 | delay(1000); 15 | } 16 | -------------------------------------------------------------------------------- /libraries/ESP32/library.properties: -------------------------------------------------------------------------------- 1 | name=ESP32 2 | version=1.0 3 | author=Hristo Gochkov, Ivan Grokhtkov 4 | maintainer=Hristo Gochkov 5 | sentence=ESP32 sketches examples 6 | paragraph= 7 | category=Other 8 | url= 9 | architectures=esp32 10 | -------------------------------------------------------------------------------- /libraries/ESP32/src/dummy.h: -------------------------------------------------------------------------------- 1 | // This file is here only to silence warnings from Arduino IDE 2 | // Currently IDE doesn't support no-code libraries, like this collection of example sketches. 3 | -------------------------------------------------------------------------------- /libraries/ESPmDNS/keywords.txt: -------------------------------------------------------------------------------- 1 | ####################################### 2 | # Syntax Coloring Map For Ultrasound 3 | ####################################### 4 | 5 | ####################################### 6 | # Datatypes (KEYWORD1) 7 | ####################################### 8 | 9 | ESPmDNS KEYWORD1 10 | MDNS KEYWORD1 11 | 12 | ####################################### 13 | # Methods and Functions (KEYWORD2) 14 | ####################################### 15 | 16 | begin KEYWORD2 17 | end KEYWORD2 18 | addService KEYWORD2 19 | enableArduino KEYWORD2 20 | disableArduino KEYWORD2 21 | 22 | ####################################### 23 | # Constants (LITERAL1) 24 | ####################################### 25 | 26 | -------------------------------------------------------------------------------- /libraries/ESPmDNS/library.properties: -------------------------------------------------------------------------------- 1 | name=ESPmDNS 2 | version=1.0 3 | author=Hristo Gochkov, Ivan Grokhtkov 4 | maintainer=Hristo Gochkov 5 | sentence=ESP32 mDNS Library 6 | paragraph= 7 | category=Communication 8 | url= 9 | architectures=esp32 10 | -------------------------------------------------------------------------------- /libraries/FFat/library.properties: -------------------------------------------------------------------------------- 1 | name=FFat 2 | version=1.0 3 | author=Hristo Gochkov, Ivan Grokhtkov, Larry Bernstone 4 | maintainer=Hristo Gochkov 5 | sentence=ESP32 FAT on Flash File System 6 | paragraph= 7 | category=Data Storage 8 | url= 9 | architectures=esp32 10 | -------------------------------------------------------------------------------- /libraries/FS/library.properties: -------------------------------------------------------------------------------- 1 | name=FS 2 | version=1.0 3 | author=Hristo Gochkov, Ivan Grokhtkov 4 | maintainer=Hristo Gochkov 5 | sentence=ESP32 File System 6 | paragraph= 7 | category=Data Storage 8 | url= 9 | architectures=esp32 10 | -------------------------------------------------------------------------------- /libraries/HTTPClient/library.properties: -------------------------------------------------------------------------------- 1 | name=HTTPClient 2 | version=1.2 3 | author=Markus Sattler 4 | maintainer=Markus Sattler 5 | sentence=HTTP Client for ESP32 6 | paragraph= 7 | category=Communication 8 | url=https://github.com/espressif/arduino-esp32/tree/master/libraries/HTTPClient 9 | architectures=esp32 10 | -------------------------------------------------------------------------------- /libraries/HTTPUpdate/library.properties: -------------------------------------------------------------------------------- 1 | name=HTTPUpdate 2 | version=1.3 3 | author=Markus Sattler 4 | maintainer=Markus Sattler 5 | sentence=Http Update for ESP32 6 | paragraph= 7 | category=Data Processing 8 | url=https://github.com/Links2004/Arduino/tree/esp8266/hardware/esp8266com/esp8266/libraries/ESP8266httpUpdate 9 | architectures=esp32 10 | -------------------------------------------------------------------------------- /libraries/Husarnet/library.properties: -------------------------------------------------------------------------------- 1 | name=Husarnet 2 | version=1.0 3 | author=Michał Zieliński 4 | maintainer=Michał Zieliński 5 | sentence=Enables network connection over Husarnet 6 | paragraph=Connect your devices using secure P2P network layer for robots and IoT. 7 | category=Communication 8 | url= 9 | architectures=esp32 10 | -------------------------------------------------------------------------------- /libraries/Husarnet/src/Husarnet.h: -------------------------------------------------------------------------------- 1 | #ifndef Husarnet_h 2 | #define Husarnet_h 3 | 4 | #include "Arduino.h" 5 | #include "HusarnetServer.h" 6 | #include "IPv6Address.h" 7 | #include "WString.h" 8 | #include 9 | #include 10 | #include 11 | 12 | struct _Husarnet 13 | { 14 | // Sets up Husarnet to use self-hosted base server 15 | void selfHostedSetup(const char *hostname); 16 | 17 | // Starts the Husarnet 18 | void start(); 19 | 20 | // Provides join code. Use before Husarnet.start(). 21 | void join(const char *joinCode, const char *hostname = ""); 22 | 23 | // Get list of peers' hostnames and addresses 24 | std::vector> listPeers(); 25 | 26 | // Get hostname you're currently known at 27 | String getHostname(); 28 | }; 29 | 30 | extern _Husarnet Husarnet; 31 | 32 | #endif 33 | -------------------------------------------------------------------------------- /libraries/NetBIOS/examples/ESP_NBNST/ESP_NBNST.ino: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | const char* ssid = "............"; 5 | const char* password = ".............."; 6 | 7 | void setup() { 8 | Serial.begin(115200); 9 | 10 | // Connect to WiFi network 11 | WiFi.mode(WIFI_STA); 12 | WiFi.begin(ssid, password); 13 | Serial.println(""); 14 | 15 | // Wait for connection 16 | while (WiFi.status() != WL_CONNECTED) { 17 | delay(500); 18 | Serial.print("."); 19 | } 20 | Serial.println(""); 21 | Serial.print("Connected to "); 22 | Serial.println(ssid); 23 | Serial.print("IP address: "); 24 | Serial.println(WiFi.localIP()); 25 | 26 | NBNS.begin("ESP"); 27 | } 28 | 29 | void loop() { 30 | 31 | } 32 | -------------------------------------------------------------------------------- /libraries/NetBIOS/keywords.txt: -------------------------------------------------------------------------------- 1 | ####################################### 2 | # Syntax Coloring Map For ESPNBNS 3 | ####################################### 4 | 5 | ####################################### 6 | # Datatypes (KEYWORD1) 7 | ####################################### 8 | 9 | NetBIOS KEYWORD1 10 | 11 | ####################################### 12 | # Methods and Functions (KEYWORD2) 13 | ####################################### 14 | 15 | begin KEYWORD2 16 | 17 | ####################################### 18 | # Instances (KEYWORD2) 19 | ####################################### 20 | 21 | NBNS KEYWORD2 22 | 23 | ####################################### 24 | # Constants (LITERAL1) 25 | ####################################### 26 | -------------------------------------------------------------------------------- /libraries/NetBIOS/library.properties: -------------------------------------------------------------------------------- 1 | name=NetBIOS 2 | version=1.0 3 | author=Pablo@xpablo.cz 4 | maintainer=Hristo Gochkov 5 | sentence=Enables NBNS (NetBIOS) name resolution. 6 | paragraph=With this library you can connect to your ESP from Windows using a short name 7 | category=Communication 8 | url=http://www.xpablo.cz/?p=751#more-751 9 | architectures=esp32 10 | -------------------------------------------------------------------------------- /libraries/NetBIOS/src/NetBIOS.h: -------------------------------------------------------------------------------- 1 | // 2 | #ifndef __ESPNBNS_h__ 3 | #define __ESPNBNS_h__ 4 | 5 | #include 6 | #include "AsyncUDP.h" 7 | 8 | class NetBIOS 9 | { 10 | protected: 11 | AsyncUDP _udp; 12 | String _name; 13 | void _onPacket(AsyncUDPPacket& packet); 14 | 15 | public: 16 | NetBIOS(); 17 | ~NetBIOS(); 18 | bool begin(const char *name); 19 | void end(); 20 | }; 21 | 22 | #if !defined(NO_GLOBAL_INSTANCES) && !defined(NO_GLOBAL_NETBIOS) 23 | extern NetBIOS NBNS; 24 | #endif 25 | 26 | #endif 27 | -------------------------------------------------------------------------------- /libraries/Preferences/library.properties: -------------------------------------------------------------------------------- 1 | name=Preferences 2 | version=1.0 3 | author=Hristo Gochkov 4 | maintainer=Hristo Gochkov 5 | sentence=Provides friendly access to ESP32's Non-Volatile Storage 6 | paragraph= 7 | category=Data Storage 8 | url= 9 | architectures=esp32 10 | -------------------------------------------------------------------------------- /libraries/SD/library.properties: -------------------------------------------------------------------------------- 1 | name=SD(esp32) 2 | version=1.0.5 3 | author=Arduino, SparkFun 4 | maintainer=Arduino 5 | sentence=Enables reading and writing on SD cards. For all Arduino boards. 6 | paragraph=Once an SD memory card is connected to the SPI interfare of the Arduino board you are enabled to create files and read/write on them. You can also move through directories on the SD card. 7 | category=Data Storage 8 | url=http://www.arduino.cc/en/Reference/SD 9 | architectures=esp32 10 | -------------------------------------------------------------------------------- /libraries/SD/src/sd_defines.h: -------------------------------------------------------------------------------- 1 | // Copyright 2015-2016 Espressif Systems (Shanghai) PTE LTD 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | #ifndef _SD_DEFINES_H_ 15 | #define _SD_DEFINES_H_ 16 | 17 | typedef enum { 18 | CARD_NONE, 19 | CARD_MMC, 20 | CARD_SD, 21 | CARD_SDHC, 22 | CARD_UNKNOWN 23 | } sdcard_type_t; 24 | 25 | #endif /* _SD_DISKIO_H_ */ 26 | -------------------------------------------------------------------------------- /libraries/SD_MMC/library.properties: -------------------------------------------------------------------------------- 1 | name=SD_MMC 2 | version=1.0 3 | author=Hristo Gochkov, Ivan Grokhtkov 4 | maintainer=Hristo Gochkov 5 | sentence=ESP32 SDMMC File System 6 | paragraph= 7 | category=Data Storage 8 | url= 9 | architectures=esp32 10 | -------------------------------------------------------------------------------- /libraries/SD_MMC/src/sd_defines.h: -------------------------------------------------------------------------------- 1 | // Copyright 2015-2016 Espressif Systems (Shanghai) PTE LTD 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | #ifndef _SD_DEFINES_H_ 15 | #define _SD_DEFINES_H_ 16 | 17 | typedef enum { 18 | CARD_NONE, 19 | CARD_MMC, 20 | CARD_SD, 21 | CARD_SDHC, 22 | CARD_UNKNOWN 23 | } sdcard_type_t; 24 | 25 | #endif /* _SD_DISKIO_H_ */ 26 | -------------------------------------------------------------------------------- /libraries/SPI/examples/SPI_Multiple_Buses/multiple_bus_output.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/husarnet/arduino-esp32/62a94ccdc6118927751b15390a553b3dca3b8cbf/libraries/SPI/examples/SPI_Multiple_Buses/multiple_bus_output.PNG -------------------------------------------------------------------------------- /libraries/SPI/keywords.txt: -------------------------------------------------------------------------------- 1 | ####################################### 2 | # Syntax Coloring Map SPI 3 | ####################################### 4 | 5 | ####################################### 6 | # Datatypes (KEYWORD1) 7 | ####################################### 8 | 9 | SPI KEYWORD1 10 | 11 | ####################################### 12 | # Methods and Functions (KEYWORD2) 13 | ####################################### 14 | begin KEYWORD2 15 | end KEYWORD2 16 | transfer KEYWORD2 17 | setBitOrder KEYWORD2 18 | setDataMode KEYWORD2 19 | setClockDivider KEYWORD2 20 | 21 | 22 | ####################################### 23 | # Constants (LITERAL1) 24 | ####################################### 25 | SPI_CLOCK_DIV4 LITERAL1 26 | SPI_CLOCK_DIV16 LITERAL1 27 | SPI_CLOCK_DIV64 LITERAL1 28 | SPI_CLOCK_DIV128 LITERAL1 29 | SPI_CLOCK_DIV2 LITERAL1 30 | SPI_CLOCK_DIV8 LITERAL1 31 | SPI_CLOCK_DIV32 LITERAL1 32 | SPI_CLOCK_DIV64 LITERAL1 33 | SPI_MODE0 LITERAL1 34 | SPI_MODE1 LITERAL1 35 | SPI_MODE2 LITERAL1 36 | SPI_MODE3 LITERAL1 -------------------------------------------------------------------------------- /libraries/SPI/library.properties: -------------------------------------------------------------------------------- 1 | name=SPI 2 | version=1.0 3 | author=Hristo Gochkov 4 | maintainer=Hristo Gochkov 5 | sentence=Enables the communication with devices that use the Serial Peripheral Interface (SPI) Bus. For all Arduino boards, BUT Arduino DUE. 6 | paragraph= 7 | category=Signal Input/Output 8 | url=http://arduino.cc/en/Reference/SPI 9 | architectures=esp32 10 | -------------------------------------------------------------------------------- /libraries/SPIFFS/library.properties: -------------------------------------------------------------------------------- 1 | name=SPIFFS 2 | version=1.0 3 | author=Hristo Gochkov, Ivan Grokhtkov 4 | maintainer=Hristo Gochkov 5 | sentence=ESP32 SPIFFS File System 6 | paragraph= 7 | category=Data Storage 8 | url= 9 | architectures=esp32 10 | -------------------------------------------------------------------------------- /libraries/SimpleBLE/library.properties: -------------------------------------------------------------------------------- 1 | name=SimpleBLE 2 | version=1.0 3 | author=Hristo Gochkov 4 | maintainer=Hristo Gochkov 5 | sentence=Provides really simple BLE advertizer with just on and off 6 | paragraph= 7 | category=Communication 8 | url= 9 | architectures=esp32 10 | -------------------------------------------------------------------------------- /libraries/Ticker/examples/Arguments/Arguments.ino: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | // attach a LED to GPIO 21 5 | #define LED_PIN 21 6 | 7 | Ticker tickerSetHigh; 8 | Ticker tickerSetLow; 9 | 10 | void setPin(int state) { 11 | digitalWrite(LED_PIN, state); 12 | } 13 | 14 | void setup() { 15 | pinMode(LED_PIN, OUTPUT); 16 | digitalWrite(1, LOW); 17 | 18 | // every 25 ms, call setPin(0) 19 | tickerSetLow.attach_ms(25, setPin, 0); 20 | 21 | // every 26 ms, call setPin(1) 22 | tickerSetHigh.attach_ms(26, setPin, 1); 23 | } 24 | 25 | void loop() { 26 | 27 | } 28 | -------------------------------------------------------------------------------- /libraries/Ticker/examples/Blinker/Blinker.ino: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | // attach a LED to pPIO 21 5 | #define LED_PIN 21 6 | 7 | Ticker blinker; 8 | Ticker toggler; 9 | Ticker changer; 10 | float blinkerPace = 0.1; //seconds 11 | const float togglePeriod = 5; //seconds 12 | 13 | void change() { 14 | blinkerPace = 0.5; 15 | } 16 | 17 | void blink() { 18 | digitalWrite(LED_PIN, !digitalRead(LED_PIN)); 19 | } 20 | 21 | void toggle() { 22 | static bool isBlinking = false; 23 | if (isBlinking) { 24 | blinker.detach(); 25 | isBlinking = false; 26 | } 27 | else { 28 | blinker.attach(blinkerPace, blink); 29 | isBlinking = true; 30 | } 31 | digitalWrite(LED_PIN, LOW); //make sure LED on on after toggling (pin LOW = led ON) 32 | } 33 | 34 | void setup() { 35 | pinMode(LED_PIN, OUTPUT); 36 | toggler.attach(togglePeriod, toggle); 37 | changer.once(30, change); 38 | } 39 | 40 | void loop() { 41 | 42 | } 43 | -------------------------------------------------------------------------------- /libraries/Ticker/keywords.txt: -------------------------------------------------------------------------------- 1 | ####################################### 2 | # Datatypes (KEYWORD1) 3 | ####################################### 4 | 5 | Ticker KEYWORD1 6 | 7 | ####################################### 8 | # Methods and Functions (KEYWORD2) 9 | ####################################### 10 | 11 | attach KEYWORD2 12 | attach_ms KEYWORD2 13 | once KEYWORD2 14 | detach KEYWORD2 15 | -------------------------------------------------------------------------------- /libraries/Ticker/library.properties: -------------------------------------------------------------------------------- 1 | name=Ticker 2 | version=1.1 3 | author=Bert Melis 4 | maintainer=Hristo Gochkov 5 | sentence=Allows to call functions with a given interval. 6 | paragraph= 7 | category=Timing 8 | url= 9 | architectures=esp32 10 | -------------------------------------------------------------------------------- /libraries/Update/examples/AWS_S3_OTA_Update/StartCounter.ino.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/husarnet/arduino-esp32/62a94ccdc6118927751b15390a553b3dca3b8cbf/libraries/Update/examples/AWS_S3_OTA_Update/StartCounter.ino.bin -------------------------------------------------------------------------------- /libraries/Update/keywords.txt: -------------------------------------------------------------------------------- 1 | ####################################### 2 | # Syntax Coloring Map For Ultrasound 3 | ####################################### 4 | 5 | ####################################### 6 | # Datatypes (KEYWORD1) 7 | ####################################### 8 | 9 | Update KEYWORD1 10 | 11 | ####################################### 12 | # Methods and Functions (KEYWORD2) 13 | ####################################### 14 | 15 | begin KEYWORD2 16 | end KEYWORD2 17 | write KEYWORD2 18 | writeStream KEYWORD2 19 | printError KEYWORD2 20 | 21 | ####################################### 22 | # Constants (LITERAL1) 23 | ####################################### 24 | 25 | -------------------------------------------------------------------------------- /libraries/Update/library.properties: -------------------------------------------------------------------------------- 1 | name=Update 2 | version=1.0 3 | author=Hristo Gochkov 4 | maintainer=Hristo Gochkov 5 | sentence=ESP32 Sketch Update Library 6 | paragraph= 7 | category=Other 8 | url= 9 | architectures=esp32 10 | -------------------------------------------------------------------------------- /libraries/WebServer/examples/FSBrowser/data/edit.htm.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/husarnet/arduino-esp32/62a94ccdc6118927751b15390a553b3dca3b8cbf/libraries/WebServer/examples/FSBrowser/data/edit.htm.gz -------------------------------------------------------------------------------- /libraries/WebServer/examples/FSBrowser/data/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/husarnet/arduino-esp32/62a94ccdc6118927751b15390a553b3dca3b8cbf/libraries/WebServer/examples/FSBrowser/data/favicon.ico -------------------------------------------------------------------------------- /libraries/WebServer/examples/FSBrowser/data/graphs.js.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/husarnet/arduino-esp32/62a94ccdc6118927751b15390a553b3dca3b8cbf/libraries/WebServer/examples/FSBrowser/data/graphs.js.gz -------------------------------------------------------------------------------- /libraries/WebServer/examples/SDWebServer/SdRoot/index.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | ESP Index 6 | 12 | 17 | 18 | 19 |

ESP8266 Pin Functions

20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /libraries/WebServer/examples/SDWebServer/SdRoot/pins.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/husarnet/arduino-esp32/62a94ccdc6118927751b15390a553b3dca3b8cbf/libraries/WebServer/examples/SDWebServer/SdRoot/pins.png -------------------------------------------------------------------------------- /libraries/WebServer/keywords.txt: -------------------------------------------------------------------------------- 1 | ####################################### 2 | # Syntax Coloring Map For Ultrasound 3 | ####################################### 4 | 5 | ####################################### 6 | # Datatypes (KEYWORD1) 7 | ####################################### 8 | 9 | WebServer KEYWORD1 10 | WebServerSecure KEYWORD1 11 | HTTPMethod KEYWORD1 12 | 13 | ####################################### 14 | # Methods and Functions (KEYWORD2) 15 | ####################################### 16 | 17 | begin KEYWORD2 18 | handleClient KEYWORD2 19 | on KEYWORD2 20 | addHandler KEYWORD2 21 | uri KEYWORD2 22 | method KEYWORD2 23 | client KEYWORD2 24 | send KEYWORD2 25 | arg KEYWORD2 26 | argName KEYWORD2 27 | args KEYWORD2 28 | hasArg KEYWORD2 29 | onNotFound KEYWORD2 30 | 31 | ####################################### 32 | # Constants (LITERAL1) 33 | ####################################### 34 | 35 | HTTP_GET LITERAL1 36 | HTTP_POST LITERAL1 37 | HTTP_ANY LITERAL1 38 | CONTENT_LENGTH_UNKNOWN LITERAL1 39 | -------------------------------------------------------------------------------- /libraries/WebServer/library.properties: -------------------------------------------------------------------------------- 1 | name=WebServer 2 | version=1.0 3 | author=Ivan Grokhotkov 4 | maintainer=Ivan Grokhtkov 5 | sentence=Simple web server library 6 | paragraph=The library supports HTTP GET and POST requests, provides argument parsing, handles one client at a time. 7 | category=Communication 8 | url= 9 | architectures=esp32 10 | -------------------------------------------------------------------------------- /libraries/WebServer/src/HTTP_Method.h: -------------------------------------------------------------------------------- 1 | #ifndef _HTTP_Method_H_ 2 | #define _HTTP_Method_H_ 3 | 4 | typedef enum { 5 | HTTP_GET = 0b00000001, 6 | HTTP_POST = 0b00000010, 7 | HTTP_DELETE = 0b00000100, 8 | HTTP_PUT = 0b00001000, 9 | HTTP_PATCH = 0b00010000, 10 | HTTP_HEAD = 0b00100000, 11 | HTTP_OPTIONS = 0b01000000, 12 | HTTP_ANY = 0b01111111, 13 | } HTTPMethod; 14 | 15 | #endif /* _HTTP_Method_H_ */ 16 | -------------------------------------------------------------------------------- /libraries/WebServer/src/Uri.h: -------------------------------------------------------------------------------- 1 | #ifndef URI_H 2 | #define URI_H 3 | 4 | #include 5 | #include 6 | 7 | class Uri { 8 | 9 | protected: 10 | const String _uri; 11 | 12 | public: 13 | Uri(const char *uri) : _uri(uri) {} 14 | Uri(const String &uri) : _uri(uri) {} 15 | virtual ~Uri() {} 16 | 17 | virtual Uri* clone() const { 18 | return new Uri(_uri); 19 | }; 20 | 21 | virtual void initPathArgs(__attribute__((unused)) std::vector &pathArgs) {} 22 | 23 | virtual bool canHandle(const String &requestUri, __attribute__((unused)) std::vector &pathArgs) { 24 | return _uri == requestUri; 25 | } 26 | }; 27 | 28 | #endif 29 | -------------------------------------------------------------------------------- /libraries/WebServer/src/detail/mimetable.h: -------------------------------------------------------------------------------- 1 | #ifndef __MIMETABLE_H__ 2 | #define __MIMETABLE_H__ 3 | 4 | 5 | namespace mime 6 | { 7 | 8 | enum type 9 | { 10 | html, 11 | htm, 12 | css, 13 | txt, 14 | js, 15 | json, 16 | png, 17 | gif, 18 | jpg, 19 | ico, 20 | svg, 21 | ttf, 22 | otf, 23 | woff, 24 | woff2, 25 | eot, 26 | sfnt, 27 | xml, 28 | pdf, 29 | zip, 30 | gz, 31 | appcache, 32 | none, 33 | maxType 34 | }; 35 | 36 | struct Entry 37 | { 38 | const char endsWith[16]; 39 | const char mimeType[32]; 40 | }; 41 | 42 | 43 | extern const Entry mimeTable[maxType]; 44 | } 45 | 46 | 47 | #endif 48 | -------------------------------------------------------------------------------- /libraries/WebServer/src/uri/UriGlob.h: -------------------------------------------------------------------------------- 1 | #ifndef URI_GLOB_H 2 | #define URI_GLOB_H 3 | 4 | #include "Uri.h" 5 | #include 6 | 7 | class UriGlob : public Uri { 8 | 9 | public: 10 | explicit UriGlob(const char *uri) : Uri(uri) {}; 11 | explicit UriGlob(const String &uri) : Uri(uri) {}; 12 | 13 | Uri* clone() const override final { 14 | return new UriGlob(_uri); 15 | }; 16 | 17 | bool canHandle(const String &requestUri, __attribute__((unused)) std::vector &pathArgs) override final { 18 | return fnmatch(_uri.c_str(), requestUri.c_str(), 0) == 0; 19 | } 20 | }; 21 | 22 | #endif 23 | -------------------------------------------------------------------------------- /libraries/WiFi/examples/WiFiMulti/WiFiMulti.ino: -------------------------------------------------------------------------------- 1 | /* 2 | * This sketch trys to Connect to the best AP based on a given list 3 | * 4 | */ 5 | 6 | #include 7 | #include 8 | 9 | WiFiMulti wifiMulti; 10 | 11 | void setup() 12 | { 13 | Serial.begin(115200); 14 | delay(10); 15 | 16 | wifiMulti.addAP("ssid_from_AP_1", "your_password_for_AP_1"); 17 | wifiMulti.addAP("ssid_from_AP_2", "your_password_for_AP_2"); 18 | wifiMulti.addAP("ssid_from_AP_3", "your_password_for_AP_3"); 19 | 20 | Serial.println("Connecting Wifi..."); 21 | if(wifiMulti.run() == WL_CONNECTED) { 22 | Serial.println(""); 23 | Serial.println("WiFi connected"); 24 | Serial.println("IP address: "); 25 | Serial.println(WiFi.localIP()); 26 | } 27 | } 28 | 29 | void loop() 30 | { 31 | if(wifiMulti.run() != WL_CONNECTED) { 32 | Serial.println("WiFi not connected!"); 33 | delay(1000); 34 | } 35 | } -------------------------------------------------------------------------------- /libraries/WiFi/examples/WiFiSmartConfig/WiFiSmartConfig.ino: -------------------------------------------------------------------------------- 1 | #include "WiFi.h" 2 | 3 | void setup() { 4 | Serial.begin(115200); 5 | 6 | //Init WiFi as Station, start SmartConfig 7 | WiFi.mode(WIFI_AP_STA); 8 | WiFi.beginSmartConfig(); 9 | 10 | //Wait for SmartConfig packet from mobile 11 | Serial.println("Waiting for SmartConfig."); 12 | while (!WiFi.smartConfigDone()) { 13 | delay(500); 14 | Serial.print("."); 15 | } 16 | 17 | Serial.println(""); 18 | Serial.println("SmartConfig received."); 19 | 20 | //Wait for WiFi to connect to AP 21 | Serial.println("Waiting for WiFi"); 22 | while (WiFi.status() != WL_CONNECTED) { 23 | delay(500); 24 | Serial.print("."); 25 | } 26 | 27 | Serial.println("WiFi Connected."); 28 | 29 | Serial.print("IP Address: "); 30 | Serial.println(WiFi.localIP()); 31 | } 32 | 33 | void loop() { 34 | // put your main code here, to run repeatedly: 35 | 36 | } 37 | -------------------------------------------------------------------------------- /libraries/WiFi/examples/WiFiUDPClient/udp_server.py: -------------------------------------------------------------------------------- 1 | # This python script listens on UDP port 3333 2 | # for messages from the ESP32 board and prints them 3 | import socket 4 | import sys 5 | 6 | try : 7 | s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) 8 | s.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1) 9 | except socket.error, msg : 10 | print 'Failed to create socket. Error Code : ' + str(msg[0]) + ' Message ' + msg[1] 11 | sys.exit() 12 | 13 | try: 14 | s.bind(('', 3333)) 15 | except socket.error , msg: 16 | print 'Bind failed. Error: ' + str(msg[0]) + ': ' + msg[1] 17 | sys.exit() 18 | 19 | print 'Server listening' 20 | 21 | while 1: 22 | d = s.recvfrom(1024) 23 | data = d[0] 24 | 25 | if not data: 26 | break 27 | 28 | print data.strip() 29 | 30 | s.close() -------------------------------------------------------------------------------- /libraries/WiFi/examples/WiFiUDPClient/udp_server.rb: -------------------------------------------------------------------------------- 1 | # This ruby script listens on UDP port 3333 2 | # for messages from the ESP32 board and prints them 3 | 4 | require 'socket' 5 | include Socket::Constants 6 | 7 | udp_socket = UDPSocket.new(AF_INET) 8 | 9 | #bind 10 | udp_socket.bind("", 3333) 11 | puts 'Server listening' 12 | 13 | while true do 14 | message, sender = udp_socket.recvfrom(1024) 15 | puts message 16 | end -------------------------------------------------------------------------------- /libraries/WiFi/library.properties: -------------------------------------------------------------------------------- 1 | name=WiFi 2 | version=1.0 3 | author=Hristo Gochkov 4 | maintainer=Hristo Gochkov 5 | sentence=Enables network connection (local and Internet) using the ESP32 built-in WiFi. 6 | paragraph=With this library you can instantiate Servers, Clients and send/receive UDP packets through WiFi. The shield can connect either to open or encrypted networks (WEP, WPA). The IP address can be assigned statically or through a DHCP. The library can also manage DNS. 7 | category=Communication 8 | url= 9 | architectures=esp32 10 | -------------------------------------------------------------------------------- /libraries/WiFiClientSecure/keywords.txt: -------------------------------------------------------------------------------- 1 | ####################################### 2 | # Syntax Coloring Map For WiFi 3 | ####################################### 4 | 5 | ####################################### 6 | # Library (KEYWORD3) 7 | ####################################### 8 | 9 | WiFiClientSecure KEYWORD3 10 | 11 | ####################################### 12 | # Datatypes (KEYWORD1) 13 | ####################################### 14 | 15 | WiFiClientSecure KEYWORD1 16 | 17 | ####################################### 18 | # Methods and Functions (KEYWORD2) 19 | ####################################### 20 | 21 | connect KEYWORD2 22 | write KEYWORD2 23 | available KEYWORD2 24 | config KEYWORD2 25 | read KEYWORD2 26 | flush KEYWORD2 27 | stop KEYWORD2 28 | connected KEYWORD2 29 | setCACert KEYWORD2 30 | setCertificate KEYWORD2 31 | setPrivateKey KEYWORD2 32 | 33 | ####################################### 34 | # Constants (LITERAL1) 35 | ####################################### 36 | -------------------------------------------------------------------------------- /libraries/WiFiClientSecure/library.properties: -------------------------------------------------------------------------------- 1 | name=WiFiClientSecure 2 | version=1.0 3 | author=Evandro Luis Copercini 4 | maintainer=Github Community 5 | sentence=Enables secure network connection (local and Internet) using the ESP32 built-in WiFi. 6 | paragraph=With this library you can make a TLS or SSL connection to a remote server. 7 | category=Communication 8 | url= 9 | architectures=esp32 10 | -------------------------------------------------------------------------------- /libraries/Wire/keywords.txt: -------------------------------------------------------------------------------- 1 | ####################################### 2 | # Syntax Coloring Map For Wire 3 | ####################################### 4 | 5 | ####################################### 6 | # Datatypes (KEYWORD1) 7 | ####################################### 8 | 9 | ####################################### 10 | # Methods and Functions (KEYWORD2) 11 | ####################################### 12 | 13 | begin KEYWORD2 14 | setClock KEYWORD2 15 | setClockStretchLimit KEYWORD2 16 | beginTransmission KEYWORD2 17 | endTransmission KEYWORD2 18 | requestFrom KEYWORD2 19 | send KEYWORD2 20 | receive KEYWORD2 21 | onReceive KEYWORD2 22 | onRequest KEYWORD2 23 | 24 | ####################################### 25 | # Instances (KEYWORD2) 26 | ####################################### 27 | 28 | Wire KEYWORD2 29 | 30 | ####################################### 31 | # Constants (LITERAL1) 32 | ####################################### 33 | 34 | -------------------------------------------------------------------------------- /libraries/Wire/library.properties: -------------------------------------------------------------------------------- 1 | name=Wire 2 | version=1.0.1 3 | author=Hristo Gochkov 4 | maintainer=Hristo Gochkov 5 | sentence=Allows the communication between devices or sensors connected via Two Wire Interface Bus. For esp8266 boards. 6 | paragraph= 7 | category=Signal Input/Output 8 | url=http://arduino.cc/en/Reference/Wire 9 | architectures=esp32 10 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "framework-arduinoespressif32", 3 | "description": "Arduino Wiring-based Framework (ESP32 Core)", 4 | "version": "0.0.0", 5 | "url": "https://github.com/espressif/arduino-esp32" 6 | } -------------------------------------------------------------------------------- /programmers.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/husarnet/arduino-esp32/62a94ccdc6118927751b15390a553b3dca3b8cbf/programmers.txt -------------------------------------------------------------------------------- /release.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -e 3 | rm -r release || true 4 | rm arduino-husarnet-esp32-v1.zip || true 5 | mkdir -p release/tools 6 | 7 | (cd release/tools; mkdir -p esptool; cp ../../tools/esptool.py esptool/) 8 | (cd release/tools/esptool; wget https://cdn.atomshare.net/166eb4f305fbcedb0040dc79df20a0443269ff00/esptool.exe) 9 | 10 | names="$(git ls-files) $(find ./libraries/BLE/*)" 11 | for name in $names; do 12 | mkdir -p release/$(dirname $name) 13 | if [ -d $name ]; then continue; fi 14 | cp $name release/$name 15 | done 16 | zip -r arduino-husarnet-esp32-v1.zip release 17 | -------------------------------------------------------------------------------- /tools/bin/bootloader_dio_40m.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/husarnet/arduino-esp32/62a94ccdc6118927751b15390a553b3dca3b8cbf/tools/bin/bootloader_dio_40m.bin -------------------------------------------------------------------------------- /tools/bin/bootloader_dio_80m.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/husarnet/arduino-esp32/62a94ccdc6118927751b15390a553b3dca3b8cbf/tools/bin/bootloader_dio_80m.bin -------------------------------------------------------------------------------- /tools/bin/bootloader_dout_40m.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/husarnet/arduino-esp32/62a94ccdc6118927751b15390a553b3dca3b8cbf/tools/bin/bootloader_dout_40m.bin -------------------------------------------------------------------------------- /tools/bin/bootloader_dout_80m.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/husarnet/arduino-esp32/62a94ccdc6118927751b15390a553b3dca3b8cbf/tools/bin/bootloader_dout_80m.bin -------------------------------------------------------------------------------- /tools/bin/bootloader_qio_40m.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/husarnet/arduino-esp32/62a94ccdc6118927751b15390a553b3dca3b8cbf/tools/bin/bootloader_qio_40m.bin -------------------------------------------------------------------------------- /tools/bin/bootloader_qio_80m.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/husarnet/arduino-esp32/62a94ccdc6118927751b15390a553b3dca3b8cbf/tools/bin/bootloader_qio_80m.bin -------------------------------------------------------------------------------- /tools/bin/bootloader_qout_40m.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/husarnet/arduino-esp32/62a94ccdc6118927751b15390a553b3dca3b8cbf/tools/bin/bootloader_qout_40m.bin -------------------------------------------------------------------------------- /tools/bin/bootloader_qout_80m.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/husarnet/arduino-esp32/62a94ccdc6118927751b15390a553b3dca3b8cbf/tools/bin/bootloader_qout_80m.bin -------------------------------------------------------------------------------- /tools/espota.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/husarnet/arduino-esp32/62a94ccdc6118927751b15390a553b3dca3b8cbf/tools/espota.exe -------------------------------------------------------------------------------- /tools/gen_esp32part.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/husarnet/arduino-esp32/62a94ccdc6118927751b15390a553b3dca3b8cbf/tools/gen_esp32part.exe -------------------------------------------------------------------------------- /tools/get.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/husarnet/arduino-esp32/62a94ccdc6118927751b15390a553b3dca3b8cbf/tools/get.exe -------------------------------------------------------------------------------- /tools/partitions/app3M_fat9M_16MB.csv: -------------------------------------------------------------------------------- 1 | # Name, Type, SubType, Offset, Size, Flags 2 | nvs, data, nvs, 0x9000, 0x5000, 3 | otadata, data, ota, 0xe000, 0x2000, 4 | app0, app, ota_0, 0x10000, 0x300000, 5 | app1, app, ota_1, 0x310000,0x300000, 6 | ffat, data, fat, 0x610000,0x9F0000, 7 | # to create/use ffat, see https://github.com/marcmerlin/esp32_fatfsimage 8 | -------------------------------------------------------------------------------- /tools/partitions/boot_app0.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/husarnet/arduino-esp32/62a94ccdc6118927751b15390a553b3dca3b8cbf/tools/partitions/boot_app0.bin -------------------------------------------------------------------------------- /tools/partitions/default.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/husarnet/arduino-esp32/62a94ccdc6118927751b15390a553b3dca3b8cbf/tools/partitions/default.bin -------------------------------------------------------------------------------- /tools/partitions/default.csv: -------------------------------------------------------------------------------- 1 | # Name, Type, SubType, Offset, Size, Flags 2 | nvs, data, nvs, 0x9000, 0x5000, 3 | otadata, data, ota, 0xe000, 0x2000, 4 | app0, app, ota_0, 0x10000, 0x140000, 5 | app1, app, ota_1, 0x150000,0x140000, 6 | spiffs, data, spiffs, 0x290000,0x170000, 7 | -------------------------------------------------------------------------------- /tools/partitions/default_16MB.csv: -------------------------------------------------------------------------------- 1 | # Name, Type, SubType, Offset, Size, Flags 2 | nvs, data, nvs, 0x9000, 0x5000, 3 | otadata, data, ota, 0xe000, 0x2000, 4 | app0, app, ota_0, 0x10000, 0x640000, 5 | app1, app, ota_1, 0x650000,0x640000, 6 | spiffs, data, spiffs, 0xc90000,0x370000, 7 | -------------------------------------------------------------------------------- /tools/partitions/default_8MB.csv: -------------------------------------------------------------------------------- 1 | # Name, Type, SubType, Offset, Size, Flags 2 | nvs, data, nvs, 0x9000, 0x5000, 3 | otadata, data, ota, 0xe000, 0x2000, 4 | app0, app, ota_0, 0x10000, 0x330000, 5 | app1, app, ota_1, 0x340000,0x330000, 6 | spiffs, data, spiffs, 0x670000,0x190000, 7 | -------------------------------------------------------------------------------- /tools/partitions/default_ffat.csv: -------------------------------------------------------------------------------- 1 | # Name, Type, SubType, Offset, Size, Flags 2 | nvs, data, nvs, 0x9000, 0x5000, 3 | otadata, data, ota, 0xe000, 0x2000, 4 | app0, app, ota_0, 0x10000, 0x140000, 5 | app1, app, ota_1, 0x150000,0x140000, 6 | ffat, data, fat, 0x290000,0x170000, 7 | -------------------------------------------------------------------------------- /tools/partitions/ffat.csv: -------------------------------------------------------------------------------- 1 | # Name, Type, SubType, Offset, Size, Flags 2 | nvs, data, nvs, 0x9000, 0x5000, 3 | otadata, data, ota, 0xe000, 0x2000, 4 | app0, app, ota_0, 0x10000, 0x200000, 5 | app1, app, ota_1, 0x210000,0x200000, 6 | ffat, data, fat, 0x410000,0xBF0000, 7 | # to create/use ffat, see https://github.com/marcmerlin/esp32_fatfsimage 8 | -------------------------------------------------------------------------------- /tools/partitions/huge_app.csv: -------------------------------------------------------------------------------- 1 | # Name, Type, SubType, Offset, Size, Flags 2 | nvs, data, nvs, 0x9000, 0x5000, 3 | otadata, data, ota, 0xe000, 0x2000, 4 | app0, app, ota_0, 0x10000, 0x300000, 5 | spiffs, data, spiffs, 0x310000,0xF0000, 6 | -------------------------------------------------------------------------------- /tools/partitions/large_spiffs_16MB.csv: -------------------------------------------------------------------------------- 1 | # Name, Type, SubType, Offset, Size, Flags 2 | nvs, data, nvs, 0x9000, 0x5000, 3 | otadata, data, ota, 0xe000, 0x2000, 4 | app0, app, ota_0, 0x10000, 0x480000, 5 | app1, app, ota_1, 0x490000,0x480000, 6 | spiffs, data, spiffs, 0x910000,0x6F0000, 7 | -------------------------------------------------------------------------------- /tools/partitions/min_spiffs.csv: -------------------------------------------------------------------------------- 1 | # Name, Type, SubType, Offset, Size, Flags 2 | nvs, data, nvs, 0x9000, 0x5000, 3 | otadata, data, ota, 0xe000, 0x2000, 4 | app0, app, ota_0, 0x10000, 0x1E0000, 5 | app1, app, ota_1, 0x1F0000,0x1E0000, 6 | spiffs, data, spiffs, 0x3D0000,0x30000, 7 | -------------------------------------------------------------------------------- /tools/partitions/minimal.csv: -------------------------------------------------------------------------------- 1 | # Name, Type, SubType, Offset, Size, Flags 2 | nvs, data, nvs, 0x9000, 0x5000, 3 | otadata, data, ota, 0xe000, 0x2000, 4 | app0, app, ota_0, 0x10000, 0x140000, 5 | spiffs, data, spiffs, 0x150000, 0xB0000, 6 | -------------------------------------------------------------------------------- /tools/partitions/no_ota.csv: -------------------------------------------------------------------------------- 1 | # Name, Type, SubType, Offset, Size, Flags 2 | nvs, data, nvs, 0x9000, 0x5000, 3 | otadata, data, ota, 0xe000, 0x2000, 4 | app0, app, ota_0, 0x10000, 0x200000, 5 | spiffs, data, spiffs, 0x210000,0x1F0000, 6 | -------------------------------------------------------------------------------- /tools/partitions/noota_3g.csv: -------------------------------------------------------------------------------- 1 | # Name, Type, SubType, Offset, Size, Flags 2 | nvs, data, nvs, 0x9000, 0x5000, 3 | otadata, data, ota, 0xe000, 0x2000, 4 | app0, app, ota_0, 0x10000, 0x100000, 5 | spiffs, data, spiffs, 0x110000,0x2F0000, 6 | -------------------------------------------------------------------------------- /tools/partitions/noota_3gffat.csv: -------------------------------------------------------------------------------- 1 | # Name, Type, SubType, Offset, Size, Flags 2 | nvs, data, nvs, 0x9000, 0x5000, 3 | otadata, data, ota, 0xe000, 0x2000, 4 | app0, app, ota_0, 0x10000, 0x100000, 5 | ffat, data, fat, 0x110000,0x2F0000, 6 | # to create/use ffat, see https://github.com/marcmerlin/esp32_fatfsimage 7 | -------------------------------------------------------------------------------- /tools/partitions/noota_ffat.csv: -------------------------------------------------------------------------------- 1 | # Name, Type, SubType, Offset, Size, Flags 2 | nvs, data, nvs, 0x9000, 0x5000, 3 | otadata, data, ota, 0xe000, 0x2000, 4 | app0, app, ota_0, 0x10000, 0x200000, 5 | ffat, data, fat, 0x210000,0x1F0000, 6 | # to create/use ffat, see https://github.com/marcmerlin/esp32_fatfsimage 7 | -------------------------------------------------------------------------------- /tools/sdk/bin/bootloader_dio_40m.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/husarnet/arduino-esp32/62a94ccdc6118927751b15390a553b3dca3b8cbf/tools/sdk/bin/bootloader_dio_40m.bin -------------------------------------------------------------------------------- /tools/sdk/bin/bootloader_dio_80m.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/husarnet/arduino-esp32/62a94ccdc6118927751b15390a553b3dca3b8cbf/tools/sdk/bin/bootloader_dio_80m.bin -------------------------------------------------------------------------------- /tools/sdk/bin/bootloader_dout_40m.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/husarnet/arduino-esp32/62a94ccdc6118927751b15390a553b3dca3b8cbf/tools/sdk/bin/bootloader_dout_40m.bin -------------------------------------------------------------------------------- /tools/sdk/bin/bootloader_dout_80m.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/husarnet/arduino-esp32/62a94ccdc6118927751b15390a553b3dca3b8cbf/tools/sdk/bin/bootloader_dout_80m.bin -------------------------------------------------------------------------------- /tools/sdk/bin/bootloader_qio_40m.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/husarnet/arduino-esp32/62a94ccdc6118927751b15390a553b3dca3b8cbf/tools/sdk/bin/bootloader_qio_40m.bin -------------------------------------------------------------------------------- /tools/sdk/bin/bootloader_qio_80m.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/husarnet/arduino-esp32/62a94ccdc6118927751b15390a553b3dca3b8cbf/tools/sdk/bin/bootloader_qio_80m.bin -------------------------------------------------------------------------------- /tools/sdk/bin/bootloader_qout_40m.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/husarnet/arduino-esp32/62a94ccdc6118927751b15390a553b3dca3b8cbf/tools/sdk/bin/bootloader_qout_40m.bin -------------------------------------------------------------------------------- /tools/sdk/bin/bootloader_qout_80m.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/husarnet/arduino-esp32/62a94ccdc6118927751b15390a553b3dca3b8cbf/tools/sdk/bin/bootloader_qout_80m.bin -------------------------------------------------------------------------------- /tools/sdk/include/asio/asio/basic_streambuf_fwd.hpp: -------------------------------------------------------------------------------- 1 | // 2 | // basic_streambuf_fwd.hpp 3 | // ~~~~~~~~~~~~~~~~~~~~~~~ 4 | // 5 | // Copyright (c) 2003-2018 Christopher M. Kohlhoff (chris at kohlhoff dot com) 6 | // 7 | // Distributed under the Boost Software License, Version 1.0. (See accompanying 8 | // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 9 | // 10 | 11 | #ifndef ASIO_BASIC_STREAMBUF_FWD_HPP 12 | #define ASIO_BASIC_STREAMBUF_FWD_HPP 13 | 14 | #if defined(_MSC_VER) && (_MSC_VER >= 1200) 15 | # pragma once 16 | #endif // defined(_MSC_VER) && (_MSC_VER >= 1200) 17 | 18 | #include "asio/detail/config.hpp" 19 | 20 | #if !defined(ASIO_NO_IOSTREAM) 21 | 22 | #include 23 | 24 | namespace asio { 25 | 26 | template > 27 | class basic_streambuf; 28 | 29 | template > 30 | class basic_streambuf_ref; 31 | 32 | } // namespace asio 33 | 34 | #endif // !defined(ASIO_NO_IOSTREAM) 35 | 36 | #endif // ASIO_BASIC_STREAMBUF_FWD_HPP 37 | -------------------------------------------------------------------------------- /tools/sdk/include/asio/asio/buffered_read_stream_fwd.hpp: -------------------------------------------------------------------------------- 1 | // 2 | // buffered_read_stream_fwd.hpp 3 | // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 | // 5 | // Copyright (c) 2003-2018 Christopher M. Kohlhoff (chris at kohlhoff dot com) 6 | // 7 | // Distributed under the Boost Software License, Version 1.0. (See accompanying 8 | // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 9 | // 10 | 11 | #ifndef ASIO_BUFFERED_READ_STREAM_FWD_HPP 12 | #define ASIO_BUFFERED_READ_STREAM_FWD_HPP 13 | 14 | #if defined(_MSC_VER) && (_MSC_VER >= 1200) 15 | # pragma once 16 | #endif // defined(_MSC_VER) && (_MSC_VER >= 1200) 17 | 18 | namespace asio { 19 | 20 | template 21 | class buffered_read_stream; 22 | 23 | } // namespace asio 24 | 25 | #endif // ASIO_BUFFERED_READ_STREAM_FWD_HPP 26 | -------------------------------------------------------------------------------- /tools/sdk/include/asio/asio/buffered_stream_fwd.hpp: -------------------------------------------------------------------------------- 1 | // 2 | // buffered_stream_fwd.hpp 3 | // ~~~~~~~~~~~~~~~~~~~~~~~ 4 | // 5 | // Copyright (c) 2003-2018 Christopher M. Kohlhoff (chris at kohlhoff dot com) 6 | // 7 | // Distributed under the Boost Software License, Version 1.0. (See accompanying 8 | // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 9 | // 10 | 11 | #ifndef ASIO_BUFFERED_STREAM_FWD_HPP 12 | #define ASIO_BUFFERED_STREAM_FWD_HPP 13 | 14 | #if defined(_MSC_VER) && (_MSC_VER >= 1200) 15 | # pragma once 16 | #endif // defined(_MSC_VER) && (_MSC_VER >= 1200) 17 | 18 | namespace asio { 19 | 20 | template 21 | class buffered_stream; 22 | 23 | } // namespace asio 24 | 25 | #endif // ASIO_BUFFERED_STREAM_FWD_HPP 26 | -------------------------------------------------------------------------------- /tools/sdk/include/asio/asio/buffered_write_stream_fwd.hpp: -------------------------------------------------------------------------------- 1 | // 2 | // buffered_write_stream_fwd.hpp 3 | // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 | // 5 | // Copyright (c) 2003-2018 Christopher M. Kohlhoff (chris at kohlhoff dot com) 6 | // 7 | // Distributed under the Boost Software License, Version 1.0. (See accompanying 8 | // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 9 | // 10 | 11 | #ifndef ASIO_BUFFERED_WRITE_STREAM_FWD_HPP 12 | #define ASIO_BUFFERED_WRITE_STREAM_FWD_HPP 13 | 14 | #if defined(_MSC_VER) && (_MSC_VER >= 1200) 15 | # pragma once 16 | #endif // defined(_MSC_VER) && (_MSC_VER >= 1200) 17 | 18 | namespace asio { 19 | 20 | template 21 | class buffered_write_stream; 22 | 23 | } // namespace asio 24 | 25 | #endif // ASIO_BUFFERED_WRITE_STREAM_FWD_HPP 26 | -------------------------------------------------------------------------------- /tools/sdk/include/asio/asio/detail/cstddef.hpp: -------------------------------------------------------------------------------- 1 | // 2 | // detail/cstddef.hpp 3 | // ~~~~~~~~~~~~~~~~~~ 4 | // 5 | // Copyright (c) 2003-2018 Christopher M. Kohlhoff (chris at kohlhoff dot com) 6 | // 7 | // Distributed under the Boost Software License, Version 1.0. (See accompanying 8 | // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 9 | // 10 | 11 | #ifndef ASIO_DETAIL_CSTDDEF_HPP 12 | #define ASIO_DETAIL_CSTDDEF_HPP 13 | 14 | #if defined(_MSC_VER) && (_MSC_VER >= 1200) 15 | # pragma once 16 | #endif // defined(_MSC_VER) && (_MSC_VER >= 1200) 17 | 18 | #include "asio/detail/config.hpp" 19 | #include 20 | 21 | namespace asio { 22 | 23 | #if defined(ASIO_HAS_NULLPTR) 24 | using std::nullptr_t; 25 | #else // defined(ASIO_HAS_NULLPTR) 26 | struct nullptr_t {}; 27 | #endif // defined(ASIO_HAS_NULLPTR) 28 | 29 | } // namespace asio 30 | 31 | #endif // ASIO_DETAIL_CSTDDEF_HPP 32 | -------------------------------------------------------------------------------- /tools/sdk/include/asio/asio/detail/date_time_fwd.hpp: -------------------------------------------------------------------------------- 1 | // 2 | // detail/date_time_fwd.hpp 3 | // ~~~~~~~~~~~~~~~~~~~~~~~~ 4 | // 5 | // Copyright (c) 2003-2018 Christopher M. Kohlhoff (chris at kohlhoff dot com) 6 | // 7 | // Distributed under the Boost Software License, Version 1.0. (See accompanying 8 | // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 9 | // 10 | 11 | #ifndef ASIO_DETAIL_DATE_TIME_FWD_HPP 12 | #define ASIO_DETAIL_DATE_TIME_FWD_HPP 13 | 14 | #if defined(_MSC_VER) && (_MSC_VER >= 1200) 15 | # pragma once 16 | #endif // defined(_MSC_VER) && (_MSC_VER >= 1200) 17 | 18 | #include "asio/detail/config.hpp" 19 | 20 | namespace boost { 21 | namespace date_time { 22 | 23 | template 24 | class base_time; 25 | 26 | } // namespace date_time 27 | namespace posix_time { 28 | 29 | class ptime; 30 | 31 | } // namespace posix_time 32 | } // namespace boost 33 | 34 | #endif // ASIO_DETAIL_DATE_TIME_FWD_HPP 35 | -------------------------------------------------------------------------------- /tools/sdk/include/asio/asio/detail/dependent_type.hpp: -------------------------------------------------------------------------------- 1 | // 2 | // detail/dependent_type.hpp 3 | // ~~~~~~~~~~~~~~~~~~~~~~~~~ 4 | // 5 | // Copyright (c) 2003-2018 Christopher M. Kohlhoff (chris at kohlhoff dot com) 6 | // 7 | // Distributed under the Boost Software License, Version 1.0. (See accompanying 8 | // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 9 | // 10 | 11 | #ifndef ASIO_DETAIL_DEPENDENT_TYPE_HPP 12 | #define ASIO_DETAIL_DEPENDENT_TYPE_HPP 13 | 14 | #if defined(_MSC_VER) && (_MSC_VER >= 1200) 15 | # pragma once 16 | #endif // defined(_MSC_VER) && (_MSC_VER >= 1200) 17 | 18 | #include "asio/detail/config.hpp" 19 | 20 | #include "asio/detail/push_options.hpp" 21 | 22 | namespace asio { 23 | namespace detail { 24 | 25 | template 26 | struct dependent_type 27 | { 28 | typedef T type; 29 | }; 30 | 31 | } // namespace detail 32 | } // namespace asio 33 | 34 | #include "asio/detail/pop_options.hpp" 35 | 36 | #endif // ASIO_DETAIL_DEPENDENT_TYPE_HPP 37 | -------------------------------------------------------------------------------- /tools/sdk/include/asio/asio/detail/limits.hpp: -------------------------------------------------------------------------------- 1 | // 2 | // detail/limits.hpp 3 | // ~~~~~~~~~~~~~~~~~ 4 | // 5 | // Copyright (c) 2003-2011 Christopher M. Kohlhoff (chris at kohlhoff dot com) 6 | // 7 | // Distributed under the Boost Software License, Version 1.0. (See accompanying 8 | // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 9 | // 10 | 11 | #ifndef ASIO_DETAIL_LIMITS_HPP 12 | #define ASIO_DETAIL_LIMITS_HPP 13 | 14 | #if defined(_MSC_VER) && (_MSC_VER >= 1200) 15 | # pragma once 16 | #endif // defined(_MSC_VER) && (_MSC_VER >= 1200) 17 | 18 | #include "asio/detail/config.hpp" 19 | 20 | #if defined(ASIO_HAS_BOOST_LIMITS) 21 | # include 22 | #else // defined(ASIO_HAS_BOOST_LIMITS) 23 | # include 24 | #endif // defined(ASIO_HAS_BOOST_LIMITS) 25 | 26 | #endif // ASIO_DETAIL_LIMITS_HPP 27 | -------------------------------------------------------------------------------- /tools/sdk/include/asio/asio/detail/regex_fwd.hpp: -------------------------------------------------------------------------------- 1 | // 2 | // detail/regex_fwd.hpp 3 | // ~~~~~~~~~~~~~~~~~~~~ 4 | // 5 | // Copyright (c) 2003-2018 Christopher M. Kohlhoff (chris at kohlhoff dot com) 6 | // 7 | // Distributed under the Boost Software License, Version 1.0. (See accompanying 8 | // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 9 | // 10 | 11 | #ifndef ASIO_DETAIL_REGEX_FWD_HPP 12 | #define ASIO_DETAIL_REGEX_FWD_HPP 13 | 14 | #if defined(_MSC_VER) && (_MSC_VER >= 1200) 15 | # pragma once 16 | #endif // defined(_MSC_VER) && (_MSC_VER >= 1200) 17 | 18 | #if defined(ASIO_HAS_BOOST_REGEX) 19 | 20 | #include 21 | #include 22 | 23 | namespace boost { 24 | 25 | template 26 | struct sub_match; 27 | 28 | template 29 | class match_results; 30 | 31 | } // namespace boost 32 | 33 | #endif // defined(ASIO_HAS_BOOST_REGEX) 34 | 35 | #endif // ASIO_DETAIL_REGEX_FWD_HPP 36 | -------------------------------------------------------------------------------- /tools/sdk/include/asio/asio/detail/win_iocp_thread_info.hpp: -------------------------------------------------------------------------------- 1 | // 2 | // detail/win_iocp_thread_info.hpp 3 | // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 | // 5 | // Copyright (c) 2003-2018 Christopher M. Kohlhoff (chris at kohlhoff dot com) 6 | // 7 | // Distributed under the Boost Software License, Version 1.0. (See accompanying 8 | // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 9 | // 10 | 11 | #ifndef ASIO_DETAIL_WIN_IOCP_THREAD_INFO_HPP 12 | #define ASIO_DETAIL_WIN_IOCP_THREAD_INFO_HPP 13 | 14 | #if defined(_MSC_VER) && (_MSC_VER >= 1200) 15 | # pragma once 16 | #endif // defined(_MSC_VER) && (_MSC_VER >= 1200) 17 | 18 | #include "asio/detail/thread_info_base.hpp" 19 | 20 | #include "asio/detail/push_options.hpp" 21 | 22 | namespace asio { 23 | namespace detail { 24 | 25 | struct win_iocp_thread_info : public thread_info_base 26 | { 27 | }; 28 | 29 | } // namespace detail 30 | } // namespace asio 31 | 32 | #include "asio/detail/pop_options.hpp" 33 | 34 | #endif // ASIO_DETAIL_WIN_IOCP_THREAD_INFO_HPP 35 | -------------------------------------------------------------------------------- /tools/sdk/include/asio/asio/experimental.hpp: -------------------------------------------------------------------------------- 1 | // 2 | // experimental.hpp 3 | // ~~~~~~~~~~~~~~~~ 4 | // 5 | // Copyright (c) 2003-2017 Christopher M. Kohlhoff (chris at kohlhoff dot com) 6 | // 7 | // Distributed under the Boost Software License, Version 1.0. (See accompanying 8 | // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 9 | // 10 | 11 | #ifndef ASIO_EXPERIMENTAL_HPP 12 | #define ASIO_EXPERIMENTAL_HPP 13 | 14 | #if defined(_MSC_VER) && (_MSC_VER >= 1200) 15 | # pragma once 16 | #endif // defined(_MSC_VER) && (_MSC_VER >= 1200) 17 | 18 | #include "asio/experimental/co_spawn.hpp" 19 | #include "asio/experimental/detached.hpp" 20 | #include "asio/experimental/redirect_error.hpp" 21 | 22 | #endif // ASIO_EXPERIMENTAL_HPP 23 | -------------------------------------------------------------------------------- /tools/sdk/include/asio/asio/impl/system_context.hpp: -------------------------------------------------------------------------------- 1 | // 2 | // impl/system_context.hpp 3 | // ~~~~~~~~~~~~~~~~~~~~~~~ 4 | // 5 | // Copyright (c) 2003-2018 Christopher M. Kohlhoff (chris at kohlhoff dot com) 6 | // 7 | // Distributed under the Boost Software License, Version 1.0. (See accompanying 8 | // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 9 | // 10 | 11 | #ifndef ASIO_IMPL_SYSTEM_CONTEXT_HPP 12 | #define ASIO_IMPL_SYSTEM_CONTEXT_HPP 13 | 14 | #if defined(_MSC_VER) && (_MSC_VER >= 1200) 15 | # pragma once 16 | #endif // defined(_MSC_VER) && (_MSC_VER >= 1200) 17 | 18 | #include "asio/system_executor.hpp" 19 | 20 | #include "asio/detail/push_options.hpp" 21 | 22 | namespace asio { 23 | 24 | inline system_context::executor_type 25 | system_context::get_executor() ASIO_NOEXCEPT 26 | { 27 | return system_executor(); 28 | } 29 | 30 | } // namespace asio 31 | 32 | #include "asio/detail/pop_options.hpp" 33 | 34 | #endif // ASIO_IMPL_SYSTEM_CONTEXT_HPP 35 | -------------------------------------------------------------------------------- /tools/sdk/include/asio/asio/io_service.hpp: -------------------------------------------------------------------------------- 1 | // 2 | // io_service.hpp 3 | // ~~~~~~~~~~~~~~ 4 | // 5 | // Copyright (c) 2003-2018 Christopher M. Kohlhoff (chris at kohlhoff dot com) 6 | // 7 | // Distributed under the Boost Software License, Version 1.0. (See accompanying 8 | // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 9 | // 10 | 11 | #ifndef ASIO_IO_SERVICE_HPP 12 | #define ASIO_IO_SERVICE_HPP 13 | 14 | #if defined(_MSC_VER) && (_MSC_VER >= 1200) 15 | # pragma once 16 | #endif // defined(_MSC_VER) && (_MSC_VER >= 1200) 17 | 18 | #include "asio/io_context.hpp" 19 | 20 | #include "asio/detail/push_options.hpp" 21 | 22 | namespace asio { 23 | 24 | #if !defined(ASIO_NO_DEPRECATED) 25 | /// Typedef for backwards compatibility. 26 | typedef io_context io_service; 27 | #endif // !defined(ASIO_NO_DEPRECATED) 28 | 29 | } // namespace asio 30 | 31 | #include "asio/detail/pop_options.hpp" 32 | 33 | #endif // ASIO_IO_SERVICE_HPP 34 | -------------------------------------------------------------------------------- /tools/sdk/include/asio/asio/io_service_strand.hpp: -------------------------------------------------------------------------------- 1 | // 2 | // io_service_strand.hpp 3 | // ~~~~~~~~~~~~~~~~~~~~~ 4 | // 5 | // Copyright (c) 2003-2018 Christopher M. Kohlhoff (chris at kohlhoff dot com) 6 | // 7 | // Distributed under the Boost Software License, Version 1.0. (See accompanying 8 | // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 9 | // 10 | 11 | #ifndef ASIO_IO_SERVICE_STRAND_HPP 12 | #define ASIO_IO_SERVICE_STRAND_HPP 13 | 14 | #if defined(_MSC_VER) && (_MSC_VER >= 1200) 15 | # pragma once 16 | #endif // defined(_MSC_VER) && (_MSC_VER >= 1200) 17 | 18 | #include "asio/io_context_strand.hpp" 19 | 20 | #endif // ASIO_IO_SERVICE_STRAND_HPP 21 | -------------------------------------------------------------------------------- /tools/sdk/include/asio/asio/ssl.hpp: -------------------------------------------------------------------------------- 1 | // 2 | // ssl.hpp 3 | // ~~~~~~~ 4 | // 5 | // Copyright (c) 2003-2018 Christopher M. Kohlhoff (chris at kohlhoff dot com) 6 | // 7 | // Distributed under the Boost Software License, Version 1.0. (See accompanying 8 | // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 9 | // 10 | 11 | #ifndef ASIO_SSL_HPP 12 | #define ASIO_SSL_HPP 13 | 14 | #if defined(_MSC_VER) && (_MSC_VER >= 1200) 15 | # pragma once 16 | #endif // defined(_MSC_VER) && (_MSC_VER >= 1200) 17 | 18 | #include "asio/ssl/context.hpp" 19 | #include "asio/ssl/context_base.hpp" 20 | #include "asio/ssl/error.hpp" 21 | #include "asio/ssl/rfc2818_verification.hpp" 22 | #include "asio/ssl/stream.hpp" 23 | #include "asio/ssl/stream_base.hpp" 24 | #include "asio/ssl/verify_context.hpp" 25 | #include "asio/ssl/verify_mode.hpp" 26 | 27 | #endif // ASIO_SSL_HPP 28 | -------------------------------------------------------------------------------- /tools/sdk/include/asio/asio/ssl/detail/openssl_types.hpp: -------------------------------------------------------------------------------- 1 | // 2 | // ssl/detail/openssl_types.hpp 3 | // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 | // 5 | // Copyright (c) 2003-2018 Christopher M. Kohlhoff (chris at kohlhoff dot com) 6 | // 7 | // Distributed under the Boost Software License, Version 1.0. (See accompanying 8 | // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 9 | // 10 | 11 | #ifndef ASIO_SSL_DETAIL_OPENSSL_TYPES_HPP 12 | #define ASIO_SSL_DETAIL_OPENSSL_TYPES_HPP 13 | 14 | #if defined(_MSC_VER) && (_MSC_VER >= 1200) 15 | # pragma once 16 | #endif // defined(_MSC_VER) && (_MSC_VER >= 1200) 17 | 18 | #include "asio/detail/config.hpp" 19 | #include "asio/detail/socket_types.hpp" 20 | #include 21 | #include 22 | #if !defined(OPENSSL_NO_ENGINE) 23 | # include 24 | #endif // !defined(OPENSSL_NO_ENGINE) 25 | #include 26 | #include 27 | #include 28 | #include 29 | 30 | #endif // ASIO_SSL_DETAIL_OPENSSL_TYPES_HPP 31 | -------------------------------------------------------------------------------- /tools/sdk/include/asio/asio/ssl/impl/src.hpp: -------------------------------------------------------------------------------- 1 | // 2 | // impl/ssl/src.hpp 3 | // ~~~~~~~~~~~~~~~~ 4 | // 5 | // Copyright (c) 2003-2018 Christopher M. Kohlhoff (chris at kohlhoff dot com) 6 | // 7 | // Distributed under the Boost Software License, Version 1.0. (See accompanying 8 | // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 9 | // 10 | 11 | #ifndef ASIO_SSL_IMPL_SRC_HPP 12 | #define ASIO_SSL_IMPL_SRC_HPP 13 | 14 | #define ASIO_SOURCE 15 | 16 | #include "asio/detail/config.hpp" 17 | 18 | #if defined(ASIO_HEADER_ONLY) 19 | # error Do not compile Asio library source with ASIO_HEADER_ONLY defined 20 | #endif 21 | 22 | #include "asio/ssl/impl/context.ipp" 23 | #include "asio/ssl/impl/error.ipp" 24 | #include "asio/ssl/detail/impl/engine.ipp" 25 | #include "asio/ssl/detail/impl/openssl_init.ipp" 26 | #include "asio/ssl/impl/rfc2818_verification.ipp" 27 | 28 | #endif // ASIO_SSL_IMPL_SRC_HPP 29 | -------------------------------------------------------------------------------- /tools/sdk/include/asio/asio/streambuf.hpp: -------------------------------------------------------------------------------- 1 | // 2 | // streambuf.hpp 3 | // ~~~~~~~~~~~~~ 4 | // 5 | // Copyright (c) 2003-2018 Christopher M. Kohlhoff (chris at kohlhoff dot com) 6 | // 7 | // Distributed under the Boost Software License, Version 1.0. (See accompanying 8 | // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 9 | // 10 | 11 | #ifndef ASIO_STREAMBUF_HPP 12 | #define ASIO_STREAMBUF_HPP 13 | 14 | #if defined(_MSC_VER) && (_MSC_VER >= 1200) 15 | # pragma once 16 | #endif // defined(_MSC_VER) && (_MSC_VER >= 1200) 17 | 18 | #include "asio/detail/config.hpp" 19 | 20 | #if !defined(ASIO_NO_IOSTREAM) 21 | 22 | #include "asio/basic_streambuf.hpp" 23 | 24 | namespace asio { 25 | 26 | /// Typedef for the typical usage of basic_streambuf. 27 | typedef basic_streambuf<> streambuf; 28 | 29 | } // namespace asio 30 | 31 | #endif // !defined(ASIO_NO_IOSTREAM) 32 | 33 | #endif // ASIO_STREAMBUF_HPP 34 | -------------------------------------------------------------------------------- /tools/sdk/include/asio/asio/ts/buffer.hpp: -------------------------------------------------------------------------------- 1 | // 2 | // ts/buffer.hpp 3 | // ~~~~~~~~~~~~~ 4 | // 5 | // Copyright (c) 2003-2018 Christopher M. Kohlhoff (chris at kohlhoff dot com) 6 | // 7 | // Distributed under the Boost Software License, Version 1.0. (See accompanying 8 | // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 9 | // 10 | 11 | #ifndef ASIO_TS_BUFFER_HPP 12 | #define ASIO_TS_BUFFER_HPP 13 | 14 | #if defined(_MSC_VER) && (_MSC_VER >= 1200) 15 | # pragma once 16 | #endif // defined(_MSC_VER) && (_MSC_VER >= 1200) 17 | 18 | #include "asio/buffer.hpp" 19 | #include "asio/completion_condition.hpp" 20 | #include "asio/read.hpp" 21 | #include "asio/write.hpp" 22 | #include "asio/read_until.hpp" 23 | 24 | #endif // ASIO_TS_BUFFER_HPP 25 | -------------------------------------------------------------------------------- /tools/sdk/include/asio/asio/ts/io_context.hpp: -------------------------------------------------------------------------------- 1 | // 2 | // ts/io_context.hpp 3 | // ~~~~~~~~~~~~~~~~~ 4 | // 5 | // Copyright (c) 2003-2018 Christopher M. Kohlhoff (chris at kohlhoff dot com) 6 | // 7 | // Distributed under the Boost Software License, Version 1.0. (See accompanying 8 | // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 9 | // 10 | 11 | #ifndef ASIO_TS_IO_CONTEXT_HPP 12 | #define ASIO_TS_IO_CONTEXT_HPP 13 | 14 | #if defined(_MSC_VER) && (_MSC_VER >= 1200) 15 | # pragma once 16 | #endif // defined(_MSC_VER) && (_MSC_VER >= 1200) 17 | 18 | #include "asio/io_context.hpp" 19 | 20 | #endif // ASIO_TS_IO_CONTEXT_HPP 21 | -------------------------------------------------------------------------------- /tools/sdk/include/asio/asio/ts/net.hpp: -------------------------------------------------------------------------------- 1 | // 2 | // ts/net.hpp 3 | // ~~~~~~~~~~ 4 | // 5 | // Copyright (c) 2003-2018 Christopher M. Kohlhoff (chris at kohlhoff dot com) 6 | // 7 | // Distributed under the Boost Software License, Version 1.0. (See accompanying 8 | // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 9 | // 10 | 11 | #ifndef ASIO_TS_NET_HPP 12 | #define ASIO_TS_NET_HPP 13 | 14 | #if defined(_MSC_VER) && (_MSC_VER >= 1200) 15 | # pragma once 16 | #endif // defined(_MSC_VER) && (_MSC_VER >= 1200) 17 | 18 | #include "asio/ts/netfwd.hpp" 19 | #include "asio/ts/executor.hpp" 20 | #include "asio/ts/io_context.hpp" 21 | #include "asio/ts/timer.hpp" 22 | #include "asio/ts/buffer.hpp" 23 | #include "asio/ts/socket.hpp" 24 | #include "asio/ts/internet.hpp" 25 | 26 | #endif // ASIO_TS_NET_HPP 27 | -------------------------------------------------------------------------------- /tools/sdk/include/asio/asio/ts/socket.hpp: -------------------------------------------------------------------------------- 1 | // 2 | // ts/socket.hpp 3 | // ~~~~~~~~~~~~~ 4 | // 5 | // Copyright (c) 2003-2018 Christopher M. Kohlhoff (chris at kohlhoff dot com) 6 | // 7 | // Distributed under the Boost Software License, Version 1.0. (See accompanying 8 | // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 9 | // 10 | 11 | #ifndef ASIO_TS_SOCKET_HPP 12 | #define ASIO_TS_SOCKET_HPP 13 | 14 | #if defined(_MSC_VER) && (_MSC_VER >= 1200) 15 | # pragma once 16 | #endif // defined(_MSC_VER) && (_MSC_VER >= 1200) 17 | 18 | #include "asio/socket_base.hpp" 19 | #include "asio/basic_socket.hpp" 20 | #include "asio/basic_datagram_socket.hpp" 21 | #include "asio/basic_stream_socket.hpp" 22 | #include "asio/basic_socket_acceptor.hpp" 23 | #include "asio/basic_socket_streambuf.hpp" 24 | #include "asio/basic_socket_iostream.hpp" 25 | #include "asio/connect.hpp" 26 | 27 | #endif // ASIO_TS_SOCKET_HPP 28 | -------------------------------------------------------------------------------- /tools/sdk/include/asio/asio/ts/timer.hpp: -------------------------------------------------------------------------------- 1 | // 2 | // ts/timer.hpp 3 | // ~~~~~~~~~~~~ 4 | // 5 | // Copyright (c) 2003-2018 Christopher M. Kohlhoff (chris at kohlhoff dot com) 6 | // 7 | // Distributed under the Boost Software License, Version 1.0. (See accompanying 8 | // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 9 | // 10 | 11 | #ifndef ASIO_TS_TIMER_HPP 12 | #define ASIO_TS_TIMER_HPP 13 | 14 | #if defined(_MSC_VER) && (_MSC_VER >= 1200) 15 | # pragma once 16 | #endif // defined(_MSC_VER) && (_MSC_VER >= 1200) 17 | 18 | #include "asio/detail/chrono.hpp" 19 | 20 | #include "asio/wait_traits.hpp" 21 | #include "asio/basic_waitable_timer.hpp" 22 | #include "asio/system_timer.hpp" 23 | #include "asio/steady_timer.hpp" 24 | #include "asio/high_resolution_timer.hpp" 25 | 26 | #endif // ASIO_TS_TIMER_HPP 27 | -------------------------------------------------------------------------------- /tools/sdk/include/asio/asio/unyield.hpp: -------------------------------------------------------------------------------- 1 | // 2 | // unyield.hpp 3 | // ~~~~~~~~~~~ 4 | // 5 | // Copyright (c) 2003-2018 Christopher M. Kohlhoff (chris at kohlhoff dot com) 6 | // 7 | // Distributed under the Boost Software License, Version 1.0. (See accompanying 8 | // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 9 | // 10 | 11 | #ifdef reenter 12 | # undef reenter 13 | #endif 14 | 15 | #ifdef yield 16 | # undef yield 17 | #endif 18 | 19 | #ifdef fork 20 | # undef fork 21 | #endif 22 | -------------------------------------------------------------------------------- /tools/sdk/include/asio/asio/version.hpp: -------------------------------------------------------------------------------- 1 | // 2 | // version.hpp 3 | // ~~~~~~~~~~~ 4 | // 5 | // Copyright (c) 2003-2018 Christopher M. Kohlhoff (chris at kohlhoff dot com) 6 | // 7 | // Distributed under the Boost Software License, Version 1.0. (See accompanying 8 | // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 9 | // 10 | 11 | #ifndef ASIO_VERSION_HPP 12 | #define ASIO_VERSION_HPP 13 | 14 | #if defined(_MSC_VER) && (_MSC_VER >= 1200) 15 | # pragma once 16 | #endif // defined(_MSC_VER) && (_MSC_VER >= 1200) 17 | 18 | // ASIO_VERSION % 100 is the sub-minor version 19 | // ASIO_VERSION / 100 % 1000 is the minor version 20 | // ASIO_VERSION / 100000 is the major version 21 | #define ASIO_VERSION 101200 // 1.12.0 22 | 23 | #endif // ASIO_VERSION_HPP 24 | -------------------------------------------------------------------------------- /tools/sdk/include/asio/asio/yield.hpp: -------------------------------------------------------------------------------- 1 | // 2 | // yield.hpp 3 | // ~~~~~~~~~ 4 | // 5 | // Copyright (c) 2003-2018 Christopher M. Kohlhoff (chris at kohlhoff dot com) 6 | // 7 | // Distributed under the Boost Software License, Version 1.0. (See accompanying 8 | // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 9 | // 10 | 11 | #include "coroutine.hpp" 12 | 13 | #ifndef reenter 14 | # define reenter(c) ASIO_CORO_REENTER(c) 15 | #endif 16 | 17 | #ifndef yield 18 | # define yield ASIO_CORO_YIELD 19 | #endif 20 | 21 | #ifndef fork 22 | # define fork ASIO_CORO_FORK 23 | #endif 24 | -------------------------------------------------------------------------------- /tools/sdk/include/bootloader_support/bootloader_clock.h: -------------------------------------------------------------------------------- 1 | // Copyright 2017 Espressif Systems (Shanghai) PTE LTD 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | #pragma once 16 | 17 | /** @brief Configure clocks for early boot 18 | * 19 | * Called by bootloader, or by the app if the bootloader version is old (pre v2.1). 20 | */ 21 | void bootloader_clock_configure(void); 22 | -------------------------------------------------------------------------------- /tools/sdk/include/bt/bt.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | #warning "This header is deprecated, please use functions defined in esp_bt.h instead." 3 | #include "esp_bt.h" 4 | -------------------------------------------------------------------------------- /tools/sdk/include/coap/coap/libcoap.h: -------------------------------------------------------------------------------- 1 | /* 2 | * libcoap.h -- platform specific header file for CoAP stack 3 | * 4 | * Copyright (C) 2015 Carsten Schoenert 5 | * 6 | * This file is part of the CoAP library libcoap. Please see README for terms 7 | * of use. 8 | */ 9 | 10 | #ifndef _LIBCOAP_H_ 11 | #define _LIBCOAP_H_ 12 | 13 | /* The non posix embedded platforms like Contiki, TinyOS, RIOT, ... doesn't have 14 | * a POSIX compatible header structure so we have to slightly do some platform 15 | * related things. Currently there is only Contiki available so we check for a 16 | * CONTIKI environment and do *not* include the POSIX related network stuff. If 17 | * there are other platforms in future there need to be analogous environments. 18 | * 19 | * The CONTIKI variable is within the Contiki build environment! */ 20 | 21 | #if !defined (CONTIKI) 22 | #include 23 | #include 24 | #endif /* CONTIKI */ 25 | 26 | #endif /* _LIBCOAP_H_ */ 27 | -------------------------------------------------------------------------------- /tools/sdk/include/coap/coap/str.h: -------------------------------------------------------------------------------- 1 | /* 2 | * str.h -- strings to be used in the CoAP library 3 | * 4 | * Copyright (C) 2010-2011 Olaf Bergmann 5 | * 6 | * This file is part of the CoAP library libcoap. Please see README for terms 7 | * of use. 8 | */ 9 | 10 | #ifndef _COAP_STR_H_ 11 | #define _COAP_STR_H_ 12 | 13 | #include 14 | 15 | typedef struct { 16 | size_t length; /* length of string */ 17 | unsigned char *s; /* string data */ 18 | } str; 19 | 20 | #define COAP_SET_STR(st,l,v) { (st)->length = (l), (st)->s = (v); } 21 | 22 | /** 23 | * Returns a new string object with at least size bytes storage allocated. The 24 | * string must be released using coap_delete_string(); 25 | */ 26 | str *coap_new_string(size_t size); 27 | 28 | /** 29 | * Deletes the given string and releases any memory allocated. 30 | */ 31 | void coap_delete_string(str *); 32 | 33 | #endif /* _COAP_STR_H_ */ 34 | -------------------------------------------------------------------------------- /tools/sdk/include/coap/libcoap.h: -------------------------------------------------------------------------------- 1 | /* 2 | * libcoap.h -- platform specific header file for CoAP stack 3 | * 4 | * Copyright (C) 2015 Carsten Schoenert 5 | * 6 | * This file is part of the CoAP library libcoap. Please see README for terms 7 | * of use. 8 | */ 9 | 10 | #ifndef _LIBCOAP_H_ 11 | #define _LIBCOAP_H_ 12 | 13 | /* The non posix embedded platforms like Contiki, TinyOS, RIOT, ... doesn't have 14 | * a POSIX compatible header structure so we have to slightly do some platform 15 | * related things. Currently there is only Contiki available so we check for a 16 | * CONTIKI environment and do *not* include the POSIX related network stuff. If 17 | * there are other platforms in future there need to be analogous environments. 18 | * 19 | * The CONTIKI variable is within the Contiki build environment! */ 20 | 21 | #if !defined (CONTIKI) 22 | #include 23 | #include 24 | #endif /* CONTIKI */ 25 | 26 | #endif /* _LIBCOAP_H_ */ 27 | -------------------------------------------------------------------------------- /tools/sdk/include/coap/str.h: -------------------------------------------------------------------------------- 1 | /* 2 | * str.h -- strings to be used in the CoAP library 3 | * 4 | * Copyright (C) 2010-2011 Olaf Bergmann 5 | * 6 | * This file is part of the CoAP library libcoap. Please see README for terms 7 | * of use. 8 | */ 9 | 10 | #ifndef _COAP_STR_H_ 11 | #define _COAP_STR_H_ 12 | 13 | #include 14 | 15 | typedef struct { 16 | size_t length; /* length of string */ 17 | unsigned char *s; /* string data */ 18 | } str; 19 | 20 | #define COAP_SET_STR(st,l,v) { (st)->length = (l), (st)->s = (v); } 21 | 22 | /** 23 | * Returns a new string object with at least size bytes storage allocated. The 24 | * string must be released using coap_delete_string(); 25 | */ 26 | str *coap_new_string(size_t size); 27 | 28 | /** 29 | * Deletes the given string and releases any memory allocated. 30 | */ 31 | void coap_delete_string(str *); 32 | 33 | #endif /* _COAP_STR_H_ */ 34 | -------------------------------------------------------------------------------- /tools/sdk/include/esp32/esp_brownout.h: -------------------------------------------------------------------------------- 1 | // Copyright 2015-2016 Espressif Systems (Shanghai) PTE LTD 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | 16 | #ifndef __ESP_BROWNOUT_H 17 | #define __ESP_BROWNOUT_H 18 | 19 | void esp_brownout_init(); 20 | 21 | #endif -------------------------------------------------------------------------------- /tools/sdk/include/esp32/esp_deepsleep.h: -------------------------------------------------------------------------------- 1 | #warning esp_deepsleep.h has been renamed to esp_sleep.h, please update include directives 2 | #include "esp_sleep.h" 3 | -------------------------------------------------------------------------------- /tools/sdk/include/esp32/esp_gdbstub.h: -------------------------------------------------------------------------------- 1 | // Copyright 2015-2016 Espressif Systems (Shanghai) PTE LTD 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | #ifndef GDBSTUB_H 15 | #define GDBSTUB_H 16 | 17 | #include 18 | #include "freertos/xtensa_api.h" 19 | 20 | void esp_gdbstub_panic_handler(XtExcFrame *frame) __attribute__((noreturn)); 21 | 22 | #endif 23 | -------------------------------------------------------------------------------- /tools/sdk/include/esp32/esp_private/esp_wifi_private.h: -------------------------------------------------------------------------------- 1 | // Copyright 2015-2019 Espressif Systems (Shanghai) PTE LTD 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // http://www.apache.org/licenses/LICENSE-2.0 7 | // 8 | // Unless required by applicable law or agreed to in writing, software 9 | // distributed under the License is distributed on an "AS IS" BASIS, 10 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 11 | // See the License for the specific language governing permissions and 12 | // limitations under the License. 13 | 14 | #ifndef _ESP_WIFI_PRIVATE_H 15 | #define _ESP_WIFI_PRIVATE_H 16 | 17 | #include "freertos/FreeRTOS.h" 18 | #include "freertos/queue.h" 19 | #include "rom/queue.h" 20 | #include "sdkconfig.h" 21 | #include "esp_wifi_crypto_types.h" 22 | #include "esp_wifi_os_adapter.h" 23 | 24 | #endif /* _ESP_WIFI_PRIVATE_H */ 25 | -------------------------------------------------------------------------------- /tools/sdk/include/esp32/esp_private/esp_wifi_types_private.h: -------------------------------------------------------------------------------- 1 | // Copyright 2015-2019 Espressif Systems (Shanghai) PTE LTD 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | #ifndef _ESP_WIFI_TYPES_PRIVATE_H 16 | #define _ESP_WIFI_TYPES_PRIVATE_H 17 | 18 | #include "rom/queue.h" 19 | #include "esp_interface.h" 20 | 21 | #endif 22 | -------------------------------------------------------------------------------- /tools/sdk/include/esp32/esp_types.h: -------------------------------------------------------------------------------- 1 | // Copyright 2010-2016 Espressif Systems (Shanghai) PTE LTD 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | #ifndef __ESP_TYPES_H__ 16 | #define __ESP_TYPES_H__ 17 | 18 | #ifdef __GNUC__ 19 | #include 20 | #endif /*__GNUC__*/ 21 | #include 22 | #include 23 | #include 24 | 25 | #endif /* __ESP_TYPES_H__ */ 26 | -------------------------------------------------------------------------------- /tools/sdk/include/esp32/rom/md5_hash.h: -------------------------------------------------------------------------------- 1 | /* 2 | * MD5 internal definitions 3 | * Copyright (c) 2003-2005, Jouni Malinen 4 | * 5 | * This program is free software; you can redistribute it and/or modify 6 | * it under the terms of the GNU General Public License version 2 as 7 | * published by the Free Software Foundation. 8 | * 9 | * Alternatively, this software may be distributed under the terms of BSD 10 | * license. 11 | * 12 | * See README and COPYING for more details. 13 | */ 14 | 15 | #ifndef _ROM_MD5_HASH_H_ 16 | #define _ROM_MD5_HASH_H_ 17 | 18 | #include 19 | 20 | #ifdef __cplusplus 21 | extern "C" { 22 | #endif 23 | 24 | struct MD5Context { 25 | uint32_t buf[4]; 26 | uint32_t bits[2]; 27 | uint8_t in[64]; 28 | }; 29 | 30 | void MD5Init(struct MD5Context *context); 31 | void MD5Update(struct MD5Context *context, unsigned char const *buf, unsigned len); 32 | void MD5Final(unsigned char digest[16], struct MD5Context *context); 33 | 34 | #ifdef __cplusplus 35 | } 36 | #endif 37 | 38 | #endif /* _ROM_MD5_HASH_H_ */ 39 | -------------------------------------------------------------------------------- /tools/sdk/include/esp32/rom/tbconsole.h: -------------------------------------------------------------------------------- 1 | // Copyright 2015-2016 Espressif Systems (Shanghai) PTE LTD 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | #ifndef _ROM_TBCONSOLE_H_ 15 | #define _ROM_TBCONSOLE_H_ 16 | 17 | #ifdef __cplusplus 18 | extern "C" { 19 | #endif 20 | 21 | void start_tb_console(); 22 | 23 | #ifdef __cplusplus 24 | } 25 | #endif 26 | 27 | #endif /* _ROM_TBCONSOLE_H_ */ 28 | -------------------------------------------------------------------------------- /tools/sdk/include/esp_http_server/http_server.h: -------------------------------------------------------------------------------- 1 | #warning http_server.h has been renamed to esp_http_server.h, please update include directives 2 | #include "esp_http_server.h" 3 | -------------------------------------------------------------------------------- /tools/sdk/include/fatfs/integer.h: -------------------------------------------------------------------------------- 1 | /*-------------------------------------------*/ 2 | /* Integer type definitions for FatFs module */ 3 | /*-------------------------------------------*/ 4 | 5 | #ifndef FF_INTEGER 6 | #define FF_INTEGER 7 | 8 | #ifdef _WIN32 /* FatFs development platform */ 9 | 10 | #include 11 | #include 12 | typedef unsigned __int64 QWORD; 13 | 14 | 15 | #else /* Embedded platform */ 16 | 17 | /* These types MUST be 16-bit or 32-bit */ 18 | typedef int INT; 19 | typedef unsigned int UINT; 20 | 21 | /* This type MUST be 8-bit */ 22 | typedef unsigned char BYTE; 23 | 24 | /* These types MUST be 16-bit */ 25 | typedef short SHORT; 26 | typedef unsigned short WORD; 27 | typedef unsigned short WCHAR; 28 | 29 | /* These types MUST be 32-bit */ 30 | typedef long LONG; 31 | typedef unsigned long DWORD; 32 | 33 | /* This type MUST be 64-bit (Remove this for ANSI C (C89) compatibility) */ 34 | typedef unsigned long long QWORD; 35 | 36 | #endif 37 | 38 | #endif 39 | -------------------------------------------------------------------------------- /tools/sdk/include/json/tests/unity/examples/example_1/src/ProductionCode.h: -------------------------------------------------------------------------------- 1 | 2 | int FindFunction_WhichIsBroken(int NumberToFind); 3 | int FunctionWhichReturnsLocalVariable(void); 4 | -------------------------------------------------------------------------------- /tools/sdk/include/json/tests/unity/examples/example_1/src/ProductionCode2.h: -------------------------------------------------------------------------------- 1 | 2 | char* ThisFunctionHasNotBeenTested(int Poor, char* LittleFunction); 3 | -------------------------------------------------------------------------------- /tools/sdk/include/json/tests/unity/examples/example_2/src/ProductionCode.h: -------------------------------------------------------------------------------- 1 | 2 | int FindFunction_WhichIsBroken(int NumberToFind); 3 | int FunctionWhichReturnsLocalVariable(void); 4 | -------------------------------------------------------------------------------- /tools/sdk/include/json/tests/unity/examples/example_2/src/ProductionCode2.h: -------------------------------------------------------------------------------- 1 | 2 | char* ThisFunctionHasNotBeenTested(int Poor, char* LittleFunction); 3 | -------------------------------------------------------------------------------- /tools/sdk/include/json/tests/unity/examples/example_3/helper/UnityHelper.h: -------------------------------------------------------------------------------- 1 | #ifndef _TESTHELPER_H 2 | #define _TESTHELPER_H 3 | 4 | #include "Types.h" 5 | 6 | void AssertEqualExampleStruct(const EXAMPLE_STRUCT_T expected, const EXAMPLE_STRUCT_T actual, const unsigned short line); 7 | 8 | #define UNITY_TEST_ASSERT_EQUAL_EXAMPLE_STRUCT_T(expected, actual, line, message) AssertEqualExampleStruct(expected, actual, line); 9 | 10 | #define TEST_ASSERT_EQUAL_EXAMPLE_STRUCT_T(expected, actual) UNITY_TEST_ASSERT_EQUAL_EXAMPLE_STRUCT_T(expected, actual, __LINE__, NULL); 11 | 12 | #endif // _TESTHELPER_H 13 | -------------------------------------------------------------------------------- /tools/sdk/include/json/tests/unity/examples/example_3/src/ProductionCode.h: -------------------------------------------------------------------------------- 1 | 2 | int FindFunction_WhichIsBroken(int NumberToFind); 3 | int FunctionWhichReturnsLocalVariable(void); 4 | -------------------------------------------------------------------------------- /tools/sdk/include/json/tests/unity/examples/example_3/src/ProductionCode2.h: -------------------------------------------------------------------------------- 1 | 2 | char* ThisFunctionHasNotBeenTested(int Poor, char* LittleFunction); 3 | -------------------------------------------------------------------------------- /tools/sdk/include/json/tests/unity/extras/fixture/test/unity_output_Spy.h: -------------------------------------------------------------------------------- 1 | /* Copyright (c) 2010 James Grenning and Contributed to Unity Project 2 | * ========================================== 3 | * Unity Project - A Test Framework for C 4 | * Copyright (c) 2007 Mike Karlesky, Mark VanderVoord, Greg Williams 5 | * [Released under MIT License. Please refer to license.txt for details] 6 | * ========================================== */ 7 | 8 | #ifndef D_unity_output_Spy_H 9 | #define D_unity_output_Spy_H 10 | 11 | void UnityOutputCharSpy_Create(int s); 12 | void UnityOutputCharSpy_Destroy(void); 13 | void UnityOutputCharSpy_OutputChar(int c); 14 | const char * UnityOutputCharSpy_Get(void); 15 | void UnityOutputCharSpy_Enable(int enable); 16 | 17 | #endif 18 | -------------------------------------------------------------------------------- /tools/sdk/include/json/tests/unity/test/expectdata/testsample_head1.h: -------------------------------------------------------------------------------- 1 | /* AUTOGENERATED FILE. DO NOT EDIT. */ 2 | #ifndef _TESTSAMPLE_HEAD1_H 3 | #define _TESTSAMPLE_HEAD1_H 4 | 5 | #include "unity.h" 6 | #include "funky.h" 7 | #include "stanky.h" 8 | #include 9 | 10 | void test_TheFirstThingToTest(void); 11 | void test_TheSecondThingToTest(void); 12 | void test_TheThirdThingToTest(void); 13 | void test_TheFourthThingToTest(void); 14 | #endif 15 | 16 | -------------------------------------------------------------------------------- /tools/sdk/include/json/tests/unity/test/expectdata/testsample_mock_head1.h: -------------------------------------------------------------------------------- 1 | /* AUTOGENERATED FILE. DO NOT EDIT. */ 2 | #ifndef _TESTSAMPLE_MOCK_HEAD1_H 3 | #define _TESTSAMPLE_MOCK_HEAD1_H 4 | 5 | #include "unity.h" 6 | #include "cmock.h" 7 | #include "funky.h" 8 | #include 9 | 10 | void test_TheFirstThingToTest(void); 11 | void test_TheSecondThingToTest(void); 12 | #endif 13 | 14 | -------------------------------------------------------------------------------- /tools/sdk/include/json/tests/unity/test/testdata/CException.h: -------------------------------------------------------------------------------- 1 | #ifndef CEXCEPTION_H 2 | #define CEXCEPTION_H 3 | 4 | #define CEXCEPTION_BEING_USED 1 5 | 6 | #define CEXCEPTION_NONE 0 7 | #define CEXCEPTION_T int e = 1; (void) 8 | #define Try if (e) 9 | #define Catch(a) if (!a) 10 | 11 | #endif //CEXCEPTION_H 12 | -------------------------------------------------------------------------------- /tools/sdk/include/json/tests/unity/test/testdata/Defs.h: -------------------------------------------------------------------------------- 1 | #ifndef DEF_H 2 | #define DEF_H 3 | 4 | #define EXTERN_DECL 5 | 6 | extern int CounterSuiteSetup; 7 | 8 | #endif //DEF_H 9 | -------------------------------------------------------------------------------- /tools/sdk/include/json/tests/unity/test/testdata/cmock.h: -------------------------------------------------------------------------------- 1 | #ifndef CMOCK_H 2 | #define CMOCK_H 3 | 4 | int CMockMemFreeFinalCounter = 0; 5 | int mockMock_Init_Counter = 0; 6 | int mockMock_Verify_Counter = 0; 7 | int mockMock_Destroy_Counter = 0; 8 | 9 | void CMock_Guts_MemFreeFinal(void) { CMockMemFreeFinalCounter++; } 10 | void mockMock_Init(void) { mockMock_Init_Counter++; } 11 | void mockMock_Verify(void) { mockMock_Verify_Counter++; } 12 | void mockMock_Destroy(void) { mockMock_Destroy_Counter++; } 13 | 14 | #endif //CMOCK_H 15 | -------------------------------------------------------------------------------- /tools/sdk/include/json/tests/unity/test/testdata/mockMock.h: -------------------------------------------------------------------------------- 1 | #ifndef MOCK_MOCK_H 2 | #define MOCK_MOCK_H 3 | 4 | extern int mockMock_Init_Counter; 5 | extern int mockMock_Verify_Counter; 6 | extern int mockMock_Destroy_Counter; 7 | extern int CMockMemFreeFinalCounter; 8 | 9 | void mockMock_Init(void); 10 | void mockMock_Verify(void); 11 | void mockMock_Destroy(void); 12 | 13 | #endif //MOCK_MOCK_H 14 | -------------------------------------------------------------------------------- /tools/sdk/include/libsodium/sodium/core.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef sodium_core_H 3 | #define sodium_core_H 4 | 5 | #include "export.h" 6 | 7 | #ifdef __cplusplus 8 | extern "C" { 9 | #endif 10 | 11 | SODIUM_EXPORT 12 | int sodium_init(void) 13 | __attribute__ ((warn_unused_result)); 14 | 15 | #ifdef __cplusplus 16 | } 17 | #endif 18 | 19 | #endif 20 | -------------------------------------------------------------------------------- /tools/sdk/include/libsodium/sodium/crypto_core_hchacha20.h: -------------------------------------------------------------------------------- 1 | #ifndef crypto_core_hchacha20_H 2 | #define crypto_core_hchacha20_H 3 | 4 | #include 5 | #include "export.h" 6 | 7 | #ifdef __cplusplus 8 | extern "C" { 9 | #endif 10 | 11 | #define crypto_core_hchacha20_OUTPUTBYTES 32U 12 | SODIUM_EXPORT 13 | size_t crypto_core_hchacha20_outputbytes(void); 14 | 15 | #define crypto_core_hchacha20_INPUTBYTES 16U 16 | SODIUM_EXPORT 17 | size_t crypto_core_hchacha20_inputbytes(void); 18 | 19 | #define crypto_core_hchacha20_KEYBYTES 32U 20 | SODIUM_EXPORT 21 | size_t crypto_core_hchacha20_keybytes(void); 22 | 23 | #define crypto_core_hchacha20_CONSTBYTES 16U 24 | SODIUM_EXPORT 25 | size_t crypto_core_hchacha20_constbytes(void); 26 | 27 | SODIUM_EXPORT 28 | int crypto_core_hchacha20(unsigned char *out, const unsigned char *in, 29 | const unsigned char *k, const unsigned char *c); 30 | 31 | #ifdef __cplusplus 32 | } 33 | #endif 34 | 35 | #endif 36 | -------------------------------------------------------------------------------- /tools/sdk/include/libsodium/sodium/crypto_core_hsalsa20.h: -------------------------------------------------------------------------------- 1 | #ifndef crypto_core_hsalsa20_H 2 | #define crypto_core_hsalsa20_H 3 | 4 | #include 5 | #include "export.h" 6 | 7 | #ifdef __cplusplus 8 | extern "C" { 9 | #endif 10 | 11 | #define crypto_core_hsalsa20_OUTPUTBYTES 32U 12 | SODIUM_EXPORT 13 | size_t crypto_core_hsalsa20_outputbytes(void); 14 | 15 | #define crypto_core_hsalsa20_INPUTBYTES 16U 16 | SODIUM_EXPORT 17 | size_t crypto_core_hsalsa20_inputbytes(void); 18 | 19 | #define crypto_core_hsalsa20_KEYBYTES 32U 20 | SODIUM_EXPORT 21 | size_t crypto_core_hsalsa20_keybytes(void); 22 | 23 | #define crypto_core_hsalsa20_CONSTBYTES 16U 24 | SODIUM_EXPORT 25 | size_t crypto_core_hsalsa20_constbytes(void); 26 | 27 | SODIUM_EXPORT 28 | int crypto_core_hsalsa20(unsigned char *out, const unsigned char *in, 29 | const unsigned char *k, const unsigned char *c); 30 | 31 | #ifdef __cplusplus 32 | } 33 | #endif 34 | 35 | #endif 36 | -------------------------------------------------------------------------------- /tools/sdk/include/libsodium/sodium/crypto_core_salsa20.h: -------------------------------------------------------------------------------- 1 | #ifndef crypto_core_salsa20_H 2 | #define crypto_core_salsa20_H 3 | 4 | #include 5 | #include "export.h" 6 | 7 | #ifdef __cplusplus 8 | extern "C" { 9 | #endif 10 | 11 | #define crypto_core_salsa20_OUTPUTBYTES 64U 12 | SODIUM_EXPORT 13 | size_t crypto_core_salsa20_outputbytes(void); 14 | 15 | #define crypto_core_salsa20_INPUTBYTES 16U 16 | SODIUM_EXPORT 17 | size_t crypto_core_salsa20_inputbytes(void); 18 | 19 | #define crypto_core_salsa20_KEYBYTES 32U 20 | SODIUM_EXPORT 21 | size_t crypto_core_salsa20_keybytes(void); 22 | 23 | #define crypto_core_salsa20_CONSTBYTES 16U 24 | SODIUM_EXPORT 25 | size_t crypto_core_salsa20_constbytes(void); 26 | 27 | SODIUM_EXPORT 28 | int crypto_core_salsa20(unsigned char *out, const unsigned char *in, 29 | const unsigned char *k, const unsigned char *c); 30 | 31 | #ifdef __cplusplus 32 | } 33 | #endif 34 | 35 | #endif 36 | -------------------------------------------------------------------------------- /tools/sdk/include/libsodium/sodium/crypto_core_salsa2012.h: -------------------------------------------------------------------------------- 1 | #ifndef crypto_core_salsa2012_H 2 | #define crypto_core_salsa2012_H 3 | 4 | #include 5 | #include "export.h" 6 | 7 | #ifdef __cplusplus 8 | extern "C" { 9 | #endif 10 | 11 | #define crypto_core_salsa2012_OUTPUTBYTES 64U 12 | SODIUM_EXPORT 13 | size_t crypto_core_salsa2012_outputbytes(void); 14 | 15 | #define crypto_core_salsa2012_INPUTBYTES 16U 16 | SODIUM_EXPORT 17 | size_t crypto_core_salsa2012_inputbytes(void); 18 | 19 | #define crypto_core_salsa2012_KEYBYTES 32U 20 | SODIUM_EXPORT 21 | size_t crypto_core_salsa2012_keybytes(void); 22 | 23 | #define crypto_core_salsa2012_CONSTBYTES 16U 24 | SODIUM_EXPORT 25 | size_t crypto_core_salsa2012_constbytes(void); 26 | 27 | SODIUM_EXPORT 28 | int crypto_core_salsa2012(unsigned char *out, const unsigned char *in, 29 | const unsigned char *k, const unsigned char *c); 30 | 31 | #ifdef __cplusplus 32 | } 33 | #endif 34 | 35 | #endif 36 | -------------------------------------------------------------------------------- /tools/sdk/include/libsodium/sodium/crypto_core_salsa208.h: -------------------------------------------------------------------------------- 1 | #ifndef crypto_core_salsa208_H 2 | #define crypto_core_salsa208_H 3 | 4 | #include 5 | #include "export.h" 6 | 7 | #ifdef __cplusplus 8 | extern "C" { 9 | #endif 10 | 11 | #define crypto_core_salsa208_OUTPUTBYTES 64U 12 | SODIUM_EXPORT 13 | size_t crypto_core_salsa208_outputbytes(void); 14 | 15 | #define crypto_core_salsa208_INPUTBYTES 16U 16 | SODIUM_EXPORT 17 | size_t crypto_core_salsa208_inputbytes(void); 18 | 19 | #define crypto_core_salsa208_KEYBYTES 32U 20 | SODIUM_EXPORT 21 | size_t crypto_core_salsa208_keybytes(void); 22 | 23 | #define crypto_core_salsa208_CONSTBYTES 16U 24 | SODIUM_EXPORT 25 | size_t crypto_core_salsa208_constbytes(void); 26 | 27 | SODIUM_EXPORT 28 | int crypto_core_salsa208(unsigned char *out, const unsigned char *in, 29 | const unsigned char *k, const unsigned char *c); 30 | 31 | #ifdef __cplusplus 32 | } 33 | #endif 34 | 35 | #endif 36 | -------------------------------------------------------------------------------- /tools/sdk/include/libsodium/sodium/crypto_verify_16.h: -------------------------------------------------------------------------------- 1 | #ifndef crypto_verify_16_H 2 | #define crypto_verify_16_H 3 | 4 | #include 5 | #include "export.h" 6 | 7 | #ifdef __cplusplus 8 | extern "C" { 9 | #endif 10 | 11 | #define crypto_verify_16_BYTES 16U 12 | SODIUM_EXPORT 13 | size_t crypto_verify_16_bytes(void); 14 | 15 | SODIUM_EXPORT 16 | int crypto_verify_16(const unsigned char *x, const unsigned char *y) 17 | __attribute__ ((warn_unused_result)); 18 | 19 | #ifdef __cplusplus 20 | } 21 | #endif 22 | 23 | #endif 24 | -------------------------------------------------------------------------------- /tools/sdk/include/libsodium/sodium/crypto_verify_32.h: -------------------------------------------------------------------------------- 1 | #ifndef crypto_verify_32_H 2 | #define crypto_verify_32_H 3 | 4 | #include 5 | #include "export.h" 6 | 7 | #ifdef __cplusplus 8 | extern "C" { 9 | #endif 10 | 11 | #define crypto_verify_32_BYTES 32U 12 | SODIUM_EXPORT 13 | size_t crypto_verify_32_bytes(void); 14 | 15 | SODIUM_EXPORT 16 | int crypto_verify_32(const unsigned char *x, const unsigned char *y) 17 | __attribute__ ((warn_unused_result)); 18 | 19 | #ifdef __cplusplus 20 | } 21 | #endif 22 | 23 | #endif 24 | -------------------------------------------------------------------------------- /tools/sdk/include/libsodium/sodium/crypto_verify_64.h: -------------------------------------------------------------------------------- 1 | #ifndef crypto_verify_64_H 2 | #define crypto_verify_64_H 3 | 4 | #include 5 | #include "export.h" 6 | 7 | #ifdef __cplusplus 8 | extern "C" { 9 | #endif 10 | 11 | #define crypto_verify_64_BYTES 64U 12 | SODIUM_EXPORT 13 | size_t crypto_verify_64_bytes(void); 14 | 15 | SODIUM_EXPORT 16 | int crypto_verify_64(const unsigned char *x, const unsigned char *y) 17 | __attribute__ ((warn_unused_result)); 18 | 19 | #ifdef __cplusplus 20 | } 21 | #endif 22 | 23 | #endif 24 | -------------------------------------------------------------------------------- /tools/sdk/include/libsodium/sodium/private/mutex.h: -------------------------------------------------------------------------------- 1 | #ifndef mutex_H 2 | #define mutex_H 1 3 | 4 | extern int sodium_crit_enter(void); 5 | extern int sodium_crit_leave(void); 6 | 7 | #endif 8 | -------------------------------------------------------------------------------- /tools/sdk/include/libsodium/sodium/randombytes_nativeclient.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef randombytes_nativeclient_H 3 | #define randombytes_nativeclient_H 4 | 5 | #ifdef __native_client__ 6 | 7 | # include "export.h" 8 | # include "randombytes.h" 9 | 10 | # ifdef __cplusplus 11 | extern "C" { 12 | # endif 13 | 14 | SODIUM_EXPORT 15 | extern struct randombytes_implementation randombytes_nativeclient_implementation; 16 | 17 | # ifdef __cplusplus 18 | } 19 | # endif 20 | 21 | #endif 22 | 23 | #endif 24 | -------------------------------------------------------------------------------- /tools/sdk/include/libsodium/sodium/randombytes_salsa20_random.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef randombytes_salsa20_random_H 3 | #define randombytes_salsa20_random_H 4 | 5 | #include "export.h" 6 | #include "randombytes.h" 7 | 8 | #ifdef __cplusplus 9 | extern "C" { 10 | #endif 11 | 12 | SODIUM_EXPORT 13 | extern struct randombytes_implementation randombytes_salsa20_implementation; 14 | 15 | #ifdef __cplusplus 16 | } 17 | #endif 18 | 19 | #endif 20 | -------------------------------------------------------------------------------- /tools/sdk/include/libsodium/sodium/randombytes_sysrandom.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef randombytes_sysrandom_H 3 | #define randombytes_sysrandom_H 4 | 5 | #include "export.h" 6 | #include "randombytes.h" 7 | 8 | #ifdef __cplusplus 9 | extern "C" { 10 | #endif 11 | 12 | SODIUM_EXPORT 13 | extern struct randombytes_implementation randombytes_sysrandom_implementation; 14 | 15 | #ifdef __cplusplus 16 | } 17 | #endif 18 | 19 | #endif 20 | -------------------------------------------------------------------------------- /tools/sdk/include/libsodium/sodium/runtime.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef sodium_runtime_H 3 | #define sodium_runtime_H 4 | 5 | #include "export.h" 6 | 7 | #ifdef __cplusplus 8 | extern "C" { 9 | #endif 10 | 11 | SODIUM_EXPORT 12 | int sodium_runtime_has_neon(void); 13 | 14 | SODIUM_EXPORT 15 | int sodium_runtime_has_sse2(void); 16 | 17 | SODIUM_EXPORT 18 | int sodium_runtime_has_sse3(void); 19 | 20 | SODIUM_EXPORT 21 | int sodium_runtime_has_ssse3(void); 22 | 23 | SODIUM_EXPORT 24 | int sodium_runtime_has_sse41(void); 25 | 26 | SODIUM_EXPORT 27 | int sodium_runtime_has_avx(void); 28 | 29 | SODIUM_EXPORT 30 | int sodium_runtime_has_avx2(void); 31 | 32 | SODIUM_EXPORT 33 | int sodium_runtime_has_pclmul(void); 34 | 35 | SODIUM_EXPORT 36 | int sodium_runtime_has_aesni(void); 37 | 38 | /* ------------------------------------------------------------------------- */ 39 | 40 | int _sodium_runtime_get_cpu_features(void); 41 | 42 | #ifdef __cplusplus 43 | } 44 | #endif 45 | 46 | #endif 47 | -------------------------------------------------------------------------------- /tools/sdk/include/libsodium/sodium/version.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef sodium_version_H 3 | #define sodium_version_H 4 | 5 | #include 6 | 7 | /* IMPORTANT: As we don't use autotools, these version are not automatically 8 | updated if we change submodules. They need to be changed manually. 9 | */ 10 | 11 | #define SODIUM_VERSION_STRING "1.0.12-idf" 12 | 13 | /* Note: these are not the same as the overall version, see 14 | configure.ac for the relevant macros */ 15 | #define SODIUM_LIBRARY_VERSION_MAJOR 9 16 | #define SODIUM_LIBRARY_VERSION_MINOR 4 17 | 18 | #ifdef __cplusplus 19 | extern "C" { 20 | #endif 21 | 22 | SODIUM_EXPORT 23 | const char *sodium_version_string(void); 24 | 25 | SODIUM_EXPORT 26 | int sodium_library_version_major(void); 27 | 28 | SODIUM_EXPORT 29 | int sodium_library_version_minor(void); 30 | 31 | #ifdef __cplusplus 32 | } 33 | #endif 34 | 35 | #endif 36 | -------------------------------------------------------------------------------- /tools/sdk/include/lwip/apps/sntp/sntp.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | #warning "This header file is deprecated, please include esp_sntp.h instead." 3 | #include "esp_sntp.h" 4 | -------------------------------------------------------------------------------- /tools/sdk/include/lwip/arch/vfs_lwip.h: -------------------------------------------------------------------------------- 1 | // Copyright 2017 Espressif Systems (Shanghai) PTE LTD 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | #ifdef __cplusplus 16 | extern "C" { 17 | #endif 18 | 19 | void esp_vfs_lwip_sockets_register(); 20 | 21 | #ifdef __cplusplus 22 | } 23 | #endif 24 | -------------------------------------------------------------------------------- /tools/sdk/include/lwip/arpa/inet.h: -------------------------------------------------------------------------------- 1 | // Copyright 2015-2016 Espressif Systems (Shanghai) PTE LTD 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | #ifndef INET_H_ 16 | #define INET_H_ 17 | 18 | #include "../../../lwip/src/include/lwip/inet.h" 19 | 20 | #endif /* INET_H_ */ 21 | -------------------------------------------------------------------------------- /tools/sdk/include/lwip/debug/lwip_debug.h: -------------------------------------------------------------------------------- 1 | // Copyright 2015-2016 Espressif Systems (Shanghai) PTE LTD 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | 16 | #ifndef _LWIP_DEBUG_H 17 | #define _LWIP_DEBUG_H 18 | 19 | void dbg_lwip_tcp_pcb_show(void); 20 | void dbg_lwip_udp_pcb_show(void); 21 | void dbg_lwip_tcp_rxtx_show(void); 22 | void dbg_lwip_udp_rxtx_show(void); 23 | void dbg_lwip_mem_cnt_show(void); 24 | 25 | #endif 26 | -------------------------------------------------------------------------------- /tools/sdk/include/lwip/esp_sntp.h: -------------------------------------------------------------------------------- 1 | // Copyright 2015-2019 Espressif Systems (Shanghai) PTE LTD 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | #ifndef __ESP_SNTP_H__ 16 | #define __ESP_SNTP_H__ 17 | 18 | #include "lwip/err.h" 19 | #include "lwip/apps/sntp.h" 20 | #include "sntp.h" 21 | 22 | #endif // __ESP_SNTP_H__ 23 | -------------------------------------------------------------------------------- /tools/sdk/include/lwip/netif/dhcp_state.h: -------------------------------------------------------------------------------- 1 | // Copyright 2018 Espressif Systems (Shanghai) PTE LTD 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | 16 | #ifndef _DHCP_STATE_H_ 17 | #define _DHCP_STATE_H_ 18 | 19 | #ifdef __cplusplus 20 | extern "C" { 21 | #endif 22 | 23 | bool dhcp_ip_addr_restore(void *netif); 24 | 25 | void dhcp_ip_addr_store(void *netif); 26 | 27 | void dhcp_ip_addr_erase(void *netif); 28 | 29 | #ifdef __cplusplus 30 | } 31 | #endif 32 | 33 | #endif /* _DHCP_STATE_H_ */ -------------------------------------------------------------------------------- /tools/sdk/include/lwip/netif/etharp.h: -------------------------------------------------------------------------------- 1 | /* ARP has been moved to core/ipv4, provide this #include for compatibility only */ 2 | #include "lwip/etharp.h" 3 | #include "netif/ethernet.h" 4 | -------------------------------------------------------------------------------- /tools/sdk/include/lwip/netinet/in.h: -------------------------------------------------------------------------------- 1 | // Copyright 2015-2016 Espressif Systems (Shanghai) PTE LTD 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | #ifndef IN_H_ 16 | #define IN_H_ 17 | 18 | #include "lwip/inet.h" 19 | 20 | #define IN6_IS_ADDR_MULTICAST(a) IN_MULTICAST(a) 21 | 22 | #endif /* IN_H_ */ 23 | -------------------------------------------------------------------------------- /tools/sdk/include/lwip/vfs_lwip.h: -------------------------------------------------------------------------------- 1 | // Copyright 2017 Espressif Systems (Shanghai) PTE LTD 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | #ifdef __cplusplus 16 | extern "C" { 17 | #endif 18 | 19 | void esp_vfs_lwip_sockets_register(); 20 | 21 | #ifdef __cplusplus 22 | } 23 | #endif 24 | -------------------------------------------------------------------------------- /tools/sdk/include/mbedtls/esp_mem.h: -------------------------------------------------------------------------------- 1 | // Copyright 2018 Espressif Systems (Shanghai) PTE LTD 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | #pragma once 16 | 17 | #include 18 | 19 | void *esp_mbedtls_mem_calloc(size_t n, size_t size); 20 | void esp_mbedtls_mem_free(void *ptr); 21 | -------------------------------------------------------------------------------- /tools/sdk/include/mdns/mdns_console.h: -------------------------------------------------------------------------------- 1 | // Copyright 2015-2016 Espressif Systems (Shanghai) PTE LTD 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | #ifndef _MDNS_CONSOLE_H_ 15 | #define _MDNS_CONSOLE_H_ 16 | 17 | /** 18 | * @brief Register MDNS functions with the console component 19 | */ 20 | void mdns_console_register(); 21 | 22 | #endif /* _MDNS_CONSOLE_H_ */ 23 | -------------------------------------------------------------------------------- /tools/sdk/include/newlib/alloca.h: -------------------------------------------------------------------------------- 1 | /* libc/include/alloca.h - Allocate memory on stack */ 2 | 3 | /* Written 2000 by Werner Almesberger */ 4 | /* Rearranged for general inclusion by stdlib.h. 5 | 2001, Corinna Vinschen */ 6 | 7 | #ifndef _NEWLIB_ALLOCA_H 8 | #define _NEWLIB_ALLOCA_H 9 | 10 | #include "_ansi.h" 11 | #include 12 | 13 | #undef alloca 14 | 15 | #ifdef __GNUC__ 16 | #define alloca(size) __builtin_alloca(size) 17 | #else 18 | void * _EXFUN(alloca,(size_t)); 19 | #endif 20 | 21 | #endif 22 | -------------------------------------------------------------------------------- /tools/sdk/include/newlib/config.h: -------------------------------------------------------------------------------- 1 | #ifndef __SYS_CONFIG_H__ 2 | #define __SYS_CONFIG_H__ 3 | 4 | #include /* floating point macros */ 5 | #include /* POSIX defs */ 6 | 7 | #ifndef __EXPORT 8 | #define __EXPORT 9 | #endif 10 | 11 | #ifndef __IMPORT 12 | #define __IMPORT 13 | #endif 14 | 15 | /* Define return type of read/write routines. In POSIX, the return type 16 | for read()/write() is "ssize_t" but legacy newlib code has been using 17 | "int" for some time. If not specified, "int" is defaulted. */ 18 | #ifndef _READ_WRITE_RETURN_TYPE 19 | #define _READ_WRITE_RETURN_TYPE int 20 | #endif 21 | /* Define `count' parameter of read/write routines. In POSIX, the `count' 22 | parameter is "size_t" but legacy newlib code has been using "int" for some 23 | time. If not specified, "int" is defaulted. */ 24 | #ifndef _READ_WRITE_BUFSIZE_TYPE 25 | #define _READ_WRITE_BUFSIZE_TYPE int 26 | #endif 27 | 28 | #endif /* __SYS_CONFIG_H__ */ 29 | -------------------------------------------------------------------------------- /tools/sdk/include/newlib/dirent.h: -------------------------------------------------------------------------------- 1 | #ifndef _DIRENT_H_ 2 | #define _DIRENT_H_ 3 | #ifdef __cplusplus 4 | extern "C" { 5 | #endif 6 | #include 7 | 8 | #if !defined(MAXNAMLEN) && !defined(_POSIX_SOURCE) 9 | #define MAXNAMLEN 1024 10 | #endif 11 | 12 | #ifdef __cplusplus 13 | } 14 | #endif 15 | #endif /*_DIRENT_H_*/ 16 | -------------------------------------------------------------------------------- /tools/sdk/include/newlib/envlock.h: -------------------------------------------------------------------------------- 1 | /* envlock.h -- header file for env routines. */ 2 | 3 | #ifndef _INCLUDE_ENVLOCK_H_ 4 | #define _INCLUDE_ENVLOCK_H_ 5 | 6 | #include <_ansi.h> 7 | #include 8 | 9 | #define ENV_LOCK __env_lock(reent_ptr) 10 | #define ENV_UNLOCK __env_unlock(reent_ptr) 11 | 12 | void _EXFUN(__env_lock,(struct _reent *reent)); 13 | void _EXFUN(__env_unlock,(struct _reent *reent)); 14 | 15 | #endif /* _INCLUDE_ENVLOCK_H_ */ 16 | -------------------------------------------------------------------------------- /tools/sdk/include/newlib/envz.h: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 2002 by Red Hat, Incorporated. All rights reserved. 2 | * 3 | * Permission to use, copy, modify, and distribute this software 4 | * is freely granted, provided that this notice is preserved. 5 | */ 6 | 7 | #include 8 | #include 9 | 10 | /* The newlib implementation of these functions assumes that sizeof(char) == 1. */ 11 | char * envz_entry (const char *envz, size_t envz_len, const char *name); 12 | char * envz_get (const char *envz, size_t envz_len, const char *name); 13 | error_t envz_add (char **envz, size_t *envz_len, const char *name, const char *value); 14 | error_t envz_merge (char **envz, size_t *envz_len, const char *envz2, size_t envz2_len, int override); 15 | void envz_remove(char **envz, size_t *envz_len, const char *name); 16 | void envz_strip (char **envz, size_t *envz_len); 17 | -------------------------------------------------------------------------------- /tools/sdk/include/newlib/errno.h: -------------------------------------------------------------------------------- 1 | #ifndef __ERRNO_H__ 2 | #define __ERRNO_H__ 3 | 4 | #ifndef __error_t_defined 5 | typedef int error_t; 6 | #define __error_t_defined 1 7 | #endif 8 | 9 | #include 10 | 11 | #endif /* !__ERRNO_H__ */ 12 | -------------------------------------------------------------------------------- /tools/sdk/include/newlib/fastmath.h: -------------------------------------------------------------------------------- 1 | #ifndef _FASTMATH_H_ 2 | #ifdef __cplusplus 3 | extern "C" { 4 | #endif 5 | #define _FASTMATH_H_ 6 | 7 | #include 8 | #include 9 | 10 | #ifdef __cplusplus 11 | } 12 | #endif 13 | #endif /* _FASTMATH_H_ */ 14 | -------------------------------------------------------------------------------- /tools/sdk/include/newlib/fcntl.h: -------------------------------------------------------------------------------- 1 | #include 2 | -------------------------------------------------------------------------------- /tools/sdk/include/newlib/libgen.h: -------------------------------------------------------------------------------- 1 | /* 2 | * libgen.h - defined by XPG4 3 | */ 4 | 5 | #ifndef _LIBGEN_H_ 6 | #define _LIBGEN_H_ 7 | 8 | #include "_ansi.h" 9 | #include 10 | 11 | #ifdef __cplusplus 12 | extern "C" { 13 | #endif 14 | 15 | char *_EXFUN(basename, (char *)); 16 | char *_EXFUN(dirname, (char *)); 17 | 18 | #ifdef __cplusplus 19 | } 20 | #endif 21 | 22 | #endif /* _LIBGEN_H_ */ 23 | 24 | -------------------------------------------------------------------------------- /tools/sdk/include/newlib/machine/_types.h: -------------------------------------------------------------------------------- 1 | /* 2 | * $Id$ 3 | */ 4 | 5 | #ifndef _MACHINE__TYPES_H 6 | #define _MACHINE__TYPES_H 7 | #include 8 | #endif 9 | -------------------------------------------------------------------------------- /tools/sdk/include/newlib/machine/ansi.h: -------------------------------------------------------------------------------- 1 | /* dummy header file to support BSD compiler */ 2 | -------------------------------------------------------------------------------- /tools/sdk/include/newlib/machine/endian.h: -------------------------------------------------------------------------------- 1 | #ifndef __MACHINE_ENDIAN_H__ 2 | 3 | #include 4 | 5 | #ifndef BIG_ENDIAN 6 | #define BIG_ENDIAN 4321 7 | #endif 8 | #ifndef LITTLE_ENDIAN 9 | #define LITTLE_ENDIAN 1234 10 | #endif 11 | 12 | #ifndef BYTE_ORDER 13 | #if defined(__IEEE_LITTLE_ENDIAN) || defined(__IEEE_BYTES_LITTLE_ENDIAN) 14 | #define BYTE_ORDER LITTLE_ENDIAN 15 | #else 16 | #define BYTE_ORDER BIG_ENDIAN 17 | #endif 18 | #endif 19 | 20 | #endif /* __MACHINE_ENDIAN_H__ */ 21 | -------------------------------------------------------------------------------- /tools/sdk/include/newlib/machine/malloc.h: -------------------------------------------------------------------------------- 1 | #ifndef _MACHMALLOC_H_ 2 | #define _MACHMALLOC_H_ 3 | 4 | /* place holder so platforms may add malloc.h extensions */ 5 | 6 | #endif /* _MACHMALLOC_H_ */ 7 | 8 | 9 | -------------------------------------------------------------------------------- /tools/sdk/include/newlib/machine/param.h: -------------------------------------------------------------------------------- 1 | /* Place holder for machine-specific param.h. */ 2 | -------------------------------------------------------------------------------- /tools/sdk/include/newlib/machine/stdlib.h: -------------------------------------------------------------------------------- 1 | #ifndef _MACHSTDLIB_H_ 2 | #define _MACHSTDLIB_H_ 3 | 4 | /* place holder so platforms may add stdlib.h extensions */ 5 | 6 | #endif /* _MACHSTDLIB_H_ */ 7 | 8 | 9 | -------------------------------------------------------------------------------- /tools/sdk/include/newlib/machine/termios.h: -------------------------------------------------------------------------------- 1 | #define __MAX_BAUD B4000000 2 | -------------------------------------------------------------------------------- /tools/sdk/include/newlib/machine/time.h: -------------------------------------------------------------------------------- 1 | #ifndef _MACHTIME_H_ 2 | #define _MACHTIME_H_ 3 | 4 | #if defined(__rtems__) 5 | #define _CLOCKS_PER_SEC_ sysconf(_SC_CLK_TCK) 6 | #else /* !__rtems__ */ 7 | #if defined(__aarch64__) || defined(__arm__) || defined(__thumb__) 8 | #define _CLOCKS_PER_SEC_ 100 9 | #endif 10 | #endif /* !__rtems__ */ 11 | 12 | #ifdef __SPU__ 13 | #include 14 | int nanosleep (const struct timespec *, struct timespec *); 15 | #endif 16 | 17 | #endif /* _MACHTIME_H_ */ 18 | 19 | 20 | -------------------------------------------------------------------------------- /tools/sdk/include/newlib/machine/types.h: -------------------------------------------------------------------------------- 1 | #ifndef _MACHTYPES_H_ 2 | #define _MACHTYPES_H_ 3 | 4 | /* 5 | * The following section is RTEMS specific and is needed to more 6 | * closely match the types defined in the BSD machine/types.h. 7 | * This is needed to let the RTEMS/BSD TCP/IP stack compile. 8 | */ 9 | #if defined(__rtems__) 10 | #include 11 | #endif 12 | 13 | #define _CLOCK_T_ unsigned long /* clock() */ 14 | #define _TIME_T_ long /* time() */ 15 | #define _CLOCKID_T_ unsigned long 16 | #define _TIMER_T_ unsigned long 17 | 18 | #ifndef _HAVE_SYSTYPES 19 | typedef long int __off_t; 20 | typedef int __pid_t; 21 | #ifdef __GNUC__ 22 | __extension__ typedef long long int __loff_t; 23 | #else 24 | typedef long int __loff_t; 25 | #endif 26 | #endif 27 | 28 | #endif /* _MACHTYPES_H_ */ 29 | 30 | 31 | -------------------------------------------------------------------------------- /tools/sdk/include/newlib/paths.h: -------------------------------------------------------------------------------- 1 | #ifndef _PATHS_H_ 2 | #define _PATHS_H_ 3 | 4 | #define _PATH_DEV "/dev/" 5 | #define _PATH_DEVNULL "/dev/null" 6 | #define _PATH_DEVZERO "/dev/zero" 7 | #define _PATH_BSHELL "/bin/sh" 8 | 9 | #endif /* _PATHS_H_ */ 10 | -------------------------------------------------------------------------------- /tools/sdk/include/newlib/regdef.h: -------------------------------------------------------------------------------- 1 | /* regdef.h -- define register names. */ 2 | 3 | /* This is a standard include file for MIPS targets. Other target 4 | probably don't define it, and attempts to include this file will 5 | fail. */ 6 | 7 | #include 8 | -------------------------------------------------------------------------------- /tools/sdk/include/newlib/setjmp.h: -------------------------------------------------------------------------------- 1 | /* 2 | setjmp.h 3 | stubs for future use. 4 | */ 5 | 6 | #ifndef _SETJMP_H_ 7 | #define _SETJMP_H_ 8 | 9 | #include "_ansi.h" 10 | #include 11 | 12 | _BEGIN_STD_C 13 | 14 | #ifdef __GNUC__ 15 | void _EXFUN(longjmp,(jmp_buf __jmpb, int __retval)) 16 | __attribute__ ((__noreturn__)); 17 | #else 18 | void _EXFUN(longjmp,(jmp_buf __jmpb, int __retval)); 19 | #endif 20 | int _EXFUN(setjmp,(jmp_buf __jmpb)); 21 | #define setjmp(env) setjmp(env) 22 | 23 | 24 | _END_STD_C 25 | 26 | #endif /* _SETJMP_H_ */ 27 | 28 | -------------------------------------------------------------------------------- /tools/sdk/include/newlib/signal.h: -------------------------------------------------------------------------------- 1 | #ifndef _SIGNAL_H_ 2 | #define _SIGNAL_H_ 3 | 4 | #include "_ansi.h" 5 | #include 6 | 7 | _BEGIN_STD_C 8 | 9 | typedef int sig_atomic_t; /* Atomic entity type (ANSI) */ 10 | #ifndef _POSIX_SOURCE 11 | typedef _sig_func_ptr sig_t; /* BSD naming */ 12 | typedef _sig_func_ptr sighandler_t; /* glibc naming */ 13 | #endif /* !_POSIX_SOURCE */ 14 | 15 | #define SIG_DFL ((_sig_func_ptr)0) /* Default action */ 16 | #define SIG_IGN ((_sig_func_ptr)1) /* Ignore action */ 17 | #define SIG_ERR ((_sig_func_ptr)-1) /* Error return */ 18 | 19 | struct _reent; 20 | 21 | _sig_func_ptr _EXFUN(_signal_r, (struct _reent *, int, _sig_func_ptr)); 22 | int _EXFUN(_raise_r, (struct _reent *, int)); 23 | 24 | #ifndef _REENT_ONLY 25 | _sig_func_ptr _EXFUN(signal, (int, _sig_func_ptr)); 26 | int _EXFUN(raise, (int)); 27 | void _EXFUN(psignal, (int, const char *)); 28 | #endif 29 | 30 | _END_STD_C 31 | 32 | #endif /* _SIGNAL_H_ */ 33 | -------------------------------------------------------------------------------- /tools/sdk/include/newlib/strings.h: -------------------------------------------------------------------------------- 1 | /* 2 | * strings.h 3 | * 4 | * Definitions for string operations. 5 | */ 6 | 7 | #ifndef _STRINGS_H_ 8 | #define _STRINGS_H_ 9 | 10 | #include "_ansi.h" 11 | #include 12 | 13 | #include /* for size_t */ 14 | 15 | _BEGIN_STD_C 16 | 17 | #if !defined __STRICT_ANSI__ && _POSIX_VERSION < 200809L 18 | /* 19 | * Marked LEGACY in Open Group Base Specifications Issue 6/IEEE Std 1003.1-2004 20 | * Removed from Open Group Base Specifications Issue 7/IEEE Std 1003.1-2008 21 | */ 22 | int _EXFUN(bcmp,(const void *, const void *, size_t)); 23 | void _EXFUN(bcopy,(const void *, void *, size_t)); 24 | void _EXFUN(bzero,(void *, size_t)); 25 | char *_EXFUN(index,(const char *, int)); 26 | char *_EXFUN(rindex,(const char *, int)); 27 | #endif /* ! __STRICT_ANSI__ */ 28 | 29 | int _EXFUN(ffs,(int)); 30 | int _EXFUN(strcasecmp,(const char *, const char *)); 31 | int _EXFUN(strncasecmp,(const char *, const char *, size_t)); 32 | 33 | _END_STD_C 34 | 35 | #endif /* _STRINGS_H_ */ 36 | -------------------------------------------------------------------------------- /tools/sdk/include/newlib/sys/_intsup.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2004, 2005 by 3 | * Ralf Corsepius, Ulm/Germany. All rights reserved. 4 | * 5 | * Permission to use, copy, modify, and distribute this software 6 | * is freely granted, provided that this notice is preserved. 7 | * 8 | * Modified for xtensa arch & non-long int32_t, removes automatic setting of __have_long32. 9 | */ 10 | 11 | #ifndef _SYS__INTSUP_H 12 | #define _SYS__INTSUP_H 13 | 14 | #include 15 | 16 | #define __STDINT_EXP(x) __##x##__ 17 | 18 | #define __have_longlong64 1 19 | 20 | #endif /* _SYS__INTSUP_H */ 21 | -------------------------------------------------------------------------------- /tools/sdk/include/newlib/sys/custom_file.h: -------------------------------------------------------------------------------- 1 | #error System-specific custom_file.h is missing. 2 | 3 | -------------------------------------------------------------------------------- /tools/sdk/include/newlib/sys/dir.h: -------------------------------------------------------------------------------- 1 | /* BSD predecessor of POSIX.1 and struct dirent */ 2 | 3 | #ifndef _SYS_DIR_H_ 4 | #define _SYS_DIR_H_ 5 | 6 | #include 7 | 8 | #define direct dirent 9 | 10 | #endif /*_SYS_DIR_H_*/ 11 | -------------------------------------------------------------------------------- /tools/sdk/include/newlib/sys/fcntl.h: -------------------------------------------------------------------------------- 1 | #ifndef _SYS_FCNTL_H_ 2 | #define _SYS_FCNTL_H_ 3 | #include 4 | #endif 5 | -------------------------------------------------------------------------------- /tools/sdk/include/newlib/sys/param.h: -------------------------------------------------------------------------------- 1 | /* This is a dummy file, not customized for any 2 | particular system. If there is a param.h in libc/sys/SYSDIR/sys, 3 | it will override this one. */ 4 | 5 | #ifndef _SYS_PARAM_H 6 | # define _SYS_PARAM_H 7 | 8 | #include 9 | #include 10 | #include 11 | #include 12 | 13 | #ifndef HZ 14 | # define HZ (60) 15 | #endif 16 | #ifndef NOFILE 17 | # define NOFILE (60) 18 | #endif 19 | #ifndef PATHSIZE 20 | # define PATHSIZE (1024) 21 | #endif 22 | 23 | #define MAXPATHLEN PATH_MAX 24 | 25 | #define MAX(a,b) ((a) > (b) ? (a) : (b)) 26 | #define MIN(a,b) ((a) < (b) ? (a) : (b)) 27 | 28 | #endif 29 | -------------------------------------------------------------------------------- /tools/sdk/include/newlib/sys/random.h: -------------------------------------------------------------------------------- 1 | // Copyright 2018 Espressif Systems (Shanghai) PTE LTD 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | #ifndef __SYS_RANDOM__ 16 | #define __SYS_RANDOM__ 17 | 18 | #include 19 | 20 | #ifdef __cplusplus 21 | extern "C" { 22 | #endif 23 | 24 | ssize_t getrandom(void *buf, size_t buflen, unsigned int flags); 25 | 26 | #ifdef __cplusplus 27 | } // extern "C" 28 | #endif 29 | 30 | #endif //__SYS_RANDOM__ 31 | -------------------------------------------------------------------------------- /tools/sdk/include/newlib/sys/resource.h: -------------------------------------------------------------------------------- 1 | #ifndef _SYS_RESOURCE_H_ 2 | #define _SYS_RESOURCE_H_ 3 | 4 | #include 5 | 6 | #define RUSAGE_SELF 0 /* calling process */ 7 | #define RUSAGE_CHILDREN -1 /* terminated child processes */ 8 | 9 | struct rusage { 10 | struct timeval ru_utime; /* user time used */ 11 | struct timeval ru_stime; /* system time used */ 12 | }; 13 | 14 | int _EXFUN(getrusage, (int, struct rusage*)); 15 | 16 | #endif 17 | 18 | -------------------------------------------------------------------------------- /tools/sdk/include/newlib/sys/stdio.h: -------------------------------------------------------------------------------- 1 | #ifndef _NEWLIB_STDIO_H 2 | #define _NEWLIB_STDIO_H 3 | 4 | #include 5 | #include 6 | 7 | /* Internal locking macros, used to protect stdio functions. In the 8 | general case, expand to nothing. Use __SSTR flag in FILE _flags to 9 | detect if FILE is private to sprintf/sscanf class of functions; if 10 | set then do nothing as lock is not initialised. */ 11 | #if !defined(_flockfile) 12 | #ifndef __SINGLE_THREAD__ 13 | # define _flockfile(fp) (((fp)->_flags & __SSTR) ? 0 : __lock_acquire_recursive((fp)->_lock)) 14 | #else 15 | # define _flockfile(fp) (_CAST_VOID 0) 16 | #endif 17 | #endif 18 | 19 | #if !defined(_funlockfile) 20 | #ifndef __SINGLE_THREAD__ 21 | # define _funlockfile(fp) (((fp)->_flags & __SSTR) ? 0 : __lock_release_recursive((fp)->_lock)) 22 | #else 23 | # define _funlockfile(fp) (_CAST_VOID 0) 24 | #endif 25 | #endif 26 | 27 | #endif /* _NEWLIB_STDIO_H */ 28 | -------------------------------------------------------------------------------- /tools/sdk/include/newlib/sys/string.h: -------------------------------------------------------------------------------- 1 | /* This is a dummy used as a placeholder for 2 | systems that need to have a special header file. */ 3 | -------------------------------------------------------------------------------- /tools/sdk/include/newlib/sys/timeb.h: -------------------------------------------------------------------------------- 1 | /* timeb.h -- An implementation of the standard Unix file. 2 | Written by Ian Lance Taylor 3 | Public domain; no rights reserved. 4 | 5 | declares the structure used by the ftime function, as 6 | well as the ftime function itself. Newlib does not provide an 7 | implementation of ftime. */ 8 | 9 | #ifndef _SYS_TIMEB_H 10 | 11 | #ifdef __cplusplus 12 | extern "C" { 13 | #endif 14 | 15 | #define _SYS_TIMEB_H 16 | 17 | #include <_ansi.h> 18 | #include 19 | 20 | #ifndef __time_t_defined 21 | typedef _TIME_T_ time_t; 22 | #define __time_t_defined 23 | #endif 24 | 25 | struct timeb 26 | { 27 | time_t time; 28 | unsigned short millitm; 29 | short timezone; 30 | short dstflag; 31 | }; 32 | 33 | extern int ftime _PARAMS ((struct timeb *)); 34 | 35 | #ifdef __cplusplus 36 | } 37 | #endif 38 | 39 | #endif /* ! defined (_SYS_TIMEB_H) */ 40 | -------------------------------------------------------------------------------- /tools/sdk/include/newlib/sys/times.h: -------------------------------------------------------------------------------- 1 | #ifndef _SYS_TIMES_H 2 | #ifdef __cplusplus 3 | extern "C" { 4 | #endif 5 | #define _SYS_TIMES_H 6 | 7 | #include <_ansi.h> 8 | #include 9 | 10 | #ifndef __clock_t_defined 11 | typedef _CLOCK_T_ clock_t; 12 | #define __clock_t_defined 13 | #endif 14 | 15 | /* Get Process Times, P1003.1b-1993, p. 92 */ 16 | struct tms { 17 | clock_t tms_utime; /* user time */ 18 | clock_t tms_stime; /* system time */ 19 | clock_t tms_cutime; /* user time, children */ 20 | clock_t tms_cstime; /* system time, children */ 21 | }; 22 | 23 | clock_t _EXFUN(times,(struct tms *)); 24 | #ifdef _COMPILING_NEWLIB 25 | clock_t _EXFUN(_times,(struct tms *)); 26 | #endif 27 | 28 | #ifdef __cplusplus 29 | } 30 | #endif 31 | #endif /* !_SYS_TIMES_H */ 32 | -------------------------------------------------------------------------------- /tools/sdk/include/newlib/sys/uio.h: -------------------------------------------------------------------------------- 1 | // Copyright 2018 Espressif Systems (Shanghai) PTE LTD 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | #ifndef _ESP_PLATFORM_SYS_UIO_H_ 15 | #define _ESP_PLATFORM_SYS_UIO_H_ 16 | 17 | int writev(int s, const struct iovec *iov, int iovcnt); 18 | 19 | ssize_t readv(int fd, const struct iovec *iov, int iovcnt); 20 | 21 | #endif // _ESP_PLATFORM_SYS_UIO_H_ 22 | -------------------------------------------------------------------------------- /tools/sdk/include/newlib/sys/utime.h: -------------------------------------------------------------------------------- 1 | #ifndef _SYS_UTIME_H 2 | #define _SYS_UTIME_H 3 | 4 | /* This is a dummy file, not customized for any 5 | particular system. If there is a utime.h in libc/sys/SYSDIR/sys, 6 | it will override this one. */ 7 | 8 | #ifdef __cplusplus 9 | extern "C" { 10 | #endif 11 | 12 | struct utimbuf 13 | { 14 | time_t actime; 15 | time_t modtime; 16 | }; 17 | 18 | #ifdef __cplusplus 19 | }; 20 | #endif 21 | 22 | #endif /* _SYS_UTIME_H */ 23 | -------------------------------------------------------------------------------- /tools/sdk/include/newlib/termios.h: -------------------------------------------------------------------------------- 1 | #ifdef __cplusplus 2 | extern "C" { 3 | #endif 4 | #include 5 | #ifdef __cplusplus 6 | } 7 | #endif 8 | -------------------------------------------------------------------------------- /tools/sdk/include/newlib/unistd.h: -------------------------------------------------------------------------------- 1 | #ifndef _UNISTD_H_ 2 | #define _UNISTD_H_ 3 | 4 | # include 5 | 6 | #ifndef L_SET 7 | /* Old BSD names for the same constants; just for compatibility. */ 8 | #define L_SET SEEK_SET 9 | #define L_INCR SEEK_CUR 10 | #define L_XTND SEEK_END 11 | #endif 12 | 13 | #endif /* _UNISTD_H_ */ 14 | -------------------------------------------------------------------------------- /tools/sdk/include/newlib/utime.h: -------------------------------------------------------------------------------- 1 | #ifdef __cplusplus 2 | extern "C" { 3 | #endif 4 | 5 | #include <_ansi.h> 6 | 7 | /* The utime function is defined in libc/sys//sys if it exists. */ 8 | #include 9 | 10 | #ifdef __cplusplus 11 | } 12 | #endif 13 | -------------------------------------------------------------------------------- /tools/sdk/include/newlib/utmp.h: -------------------------------------------------------------------------------- 1 | #ifdef __cplusplus 2 | extern "C" { 3 | #endif 4 | #include 5 | #ifdef __cplusplus 6 | } 7 | #endif 8 | 9 | -------------------------------------------------------------------------------- /tools/sdk/include/openssl/internal/ssl_lib.h: -------------------------------------------------------------------------------- 1 | // Copyright 2015-2016 Espressif Systems (Shanghai) PTE LTD 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | #ifndef _SSL_LIB_H_ 16 | #define _SSL_LIB_H_ 17 | 18 | #ifdef __cplusplus 19 | extern "C" { 20 | #endif 21 | 22 | #include "ssl_types.h" 23 | 24 | #ifdef __cplusplus 25 | } 26 | #endif 27 | 28 | #endif 29 | -------------------------------------------------------------------------------- /tools/sdk/include/openssl/platform/ssl_opt.h: -------------------------------------------------------------------------------- 1 | // Copyright 2015-2016 Espressif Systems (Shanghai) PTE LTD 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | #ifndef _SSL_OPT_H_ 16 | #define _SSL_OPT_H_ 17 | 18 | #include "sdkconfig.h" 19 | 20 | #endif 21 | -------------------------------------------------------------------------------- /tools/sdk/include/soc/soc/dac_channel.h: -------------------------------------------------------------------------------- 1 | // Copyright 2010-2016 Espressif Systems (Shanghai) PTE LTD 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | #ifndef _SOC_DAC_CHANNEL_H 16 | #define _SOC_DAC_CHANNEL_H 17 | 18 | #define DAC_GPIO25_CHANNEL DAC_CHANNEL_1 19 | #define DAC_CHANNEL_1_GPIO_NUM 25 20 | 21 | #define DAC_GPIO26_CHANNEL DAC_CHANNEL_2 22 | #define DAC_CHANNEL_2_GPIO_NUM 26 23 | 24 | #endif 25 | -------------------------------------------------------------------------------- /tools/sdk/include/soc/soc/gpio_pins.h: -------------------------------------------------------------------------------- 1 | // Copyright 2018 Espressif Systems (Shanghai) PTE LTD 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | #ifndef _GPIO_PINS_H 16 | #define _GPIO_PINS_H 17 | #ifdef __cplusplus 18 | extern "C" 19 | { 20 | #endif 21 | 22 | #define GPIO_PIN_COUNT 40 23 | 24 | #ifdef __cplusplus 25 | } 26 | #endif 27 | 28 | #endif // _GPIO_PINS_H 29 | -------------------------------------------------------------------------------- /tools/sdk/include/soc/soc/wdev_reg.h: -------------------------------------------------------------------------------- 1 | // Copyright 2010-2016 Espressif Systems (Shanghai) PTE LTD 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | #pragma once 16 | 17 | #include "soc.h" 18 | 19 | /* Hardware random number generator register */ 20 | #define WDEV_RND_REG 0x60035144 21 | -------------------------------------------------------------------------------- /tools/sdk/include/tcp_transport/esp_transport_ws.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is subject to the terms and conditions defined in 3 | * file 'LICENSE', which is part of this source code package. 4 | * Tuan PM 5 | */ 6 | 7 | #ifndef _ESP_TRANSPORT_WS_H_ 8 | #define _ESP_TRANSPORT_WS_H_ 9 | 10 | #include "esp_transport.h" 11 | 12 | #ifdef __cplusplus 13 | extern "C" { 14 | #endif 15 | 16 | 17 | /** 18 | * @brief Create web socket transport 19 | * 20 | * @return 21 | * - transport 22 | * - NULL 23 | */ 24 | esp_transport_handle_t esp_transport_ws_init(esp_transport_handle_t parent_handle); 25 | 26 | void esp_transport_ws_set_path(esp_transport_handle_t t, const char *path); 27 | 28 | 29 | 30 | #ifdef __cplusplus 31 | } 32 | #endif 33 | 34 | #endif /* _ESP_TRANSPORT_WS_H_ */ 35 | -------------------------------------------------------------------------------- /tools/sdk/include/vfs/sys/ioctl.h: -------------------------------------------------------------------------------- 1 | // Copyright 2015-2017 Espressif Systems (Shanghai) PTE LTD 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | #pragma once 16 | 17 | #ifdef __cplusplus 18 | extern "C" { 19 | #endif 20 | 21 | int ioctl(int fd, int request, ...); 22 | 23 | #ifdef __cplusplus 24 | } 25 | #endif 26 | -------------------------------------------------------------------------------- /tools/sdk/include/wpa_supplicant/crypto/aes.h: -------------------------------------------------------------------------------- 1 | /* 2 | * AES functions 3 | * Copyright (c) 2003-2006, Jouni Malinen 4 | * 5 | * This program is free software; you can redistribute it and/or modify 6 | * it under the terms of the GNU General Public License version 2 as 7 | * published by the Free Software Foundation. 8 | * 9 | * Alternatively, this software may be distributed under the terms of BSD 10 | * license. 11 | * 12 | * See README and COPYING for more details. 13 | */ 14 | 15 | #ifndef AES_H 16 | #define AES_H 17 | 18 | #define AES_BLOCK_SIZE 16 19 | 20 | void * aes_encrypt_init(const u8 *key, size_t len); 21 | void aes_encrypt(void *ctx, const u8 *plain, u8 *crypt); 22 | void aes_encrypt_deinit(void *ctx); 23 | void * aes_decrypt_init(const u8 *key, size_t len); 24 | void aes_decrypt(void *ctx, const u8 *crypt, u8 *plain); 25 | void aes_decrypt_deinit(void *ctx); 26 | 27 | #endif /* AES_H */ 28 | -------------------------------------------------------------------------------- /tools/sdk/include/wpa_supplicant/crypto/base64.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Base64 encoding/decoding (RFC1341) 3 | * Copyright (c) 2005, Jouni Malinen 4 | * 5 | * This program is free software; you can redistribute it and/or modify 6 | * it under the terms of the GNU General Public License version 2 as 7 | * published by the Free Software Foundation. 8 | * 9 | * Alternatively, this software may be distributed under the terms of BSD 10 | * license. 11 | * 12 | * See README and COPYING for more details. 13 | */ 14 | 15 | #ifndef BASE64_H 16 | #define BASE64_H 17 | 18 | unsigned char * base64_encode(const unsigned char *src, size_t len, 19 | size_t *out_len); 20 | unsigned char * base64_decode(const unsigned char *src, size_t len, 21 | size_t *out_len); 22 | 23 | #endif /* BASE64_H */ 24 | -------------------------------------------------------------------------------- /tools/sdk/include/wpa_supplicant/crypto/dh_group5.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Diffie-Hellman group 5 operations 3 | * Copyright (c) 2009, Jouni Malinen 4 | * 5 | * This program is free software; you can redistribute it and/or modify 6 | * it under the terms of the GNU General Public License version 2 as 7 | * published by the Free Software Foundation. 8 | * 9 | * Alternatively, this software may be distributed under the terms of BSD 10 | * license. 11 | * 12 | * See README and COPYING for more details. 13 | */ 14 | 15 | #ifndef DH_GROUP5_H 16 | #define DH_GROUP5_H 17 | 18 | #include "wpa/wpabuf.h" 19 | 20 | void * dh5_init(struct wpabuf **priv, struct wpabuf **publ); 21 | struct wpabuf * dh5_derive_shared(void *ctx, const struct wpabuf *peer_public, 22 | const struct wpabuf *own_private); 23 | void dh5_free(void *ctx); 24 | 25 | #endif /* DH_GROUP5_H */ 26 | -------------------------------------------------------------------------------- /tools/sdk/include/wpa_supplicant/crypto/dh_groups.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Diffie-Hellman groups 3 | * Copyright (c) 2007, Jouni Malinen 4 | * 5 | * This program is free software; you can redistribute it and/or modify 6 | * it under the terms of the GNU General Public License version 2 as 7 | * published by the Free Software Foundation. 8 | * 9 | * Alternatively, this software may be distributed under the terms of BSD 10 | * license. 11 | * 12 | * See README and COPYING for more details. 13 | */ 14 | 15 | #ifndef DH_GROUPS_H 16 | #define DH_GROUPS_H 17 | 18 | struct dh_group { 19 | int id; 20 | const u8 *generator; 21 | size_t generator_len; 22 | const u8 *prime; 23 | size_t prime_len; 24 | }; 25 | 26 | const struct dh_group * dh_groups_get(int id); 27 | struct wpabuf * dh_init(const struct dh_group *dh, struct wpabuf **priv); 28 | struct wpabuf * dh_derive_shared(const struct wpabuf *peer_public, 29 | const struct wpabuf *own_private, 30 | const struct dh_group *dh); 31 | 32 | #endif /* DH_GROUPS_H */ 33 | -------------------------------------------------------------------------------- /tools/sdk/include/wpa_supplicant/crypto/md5_i.h: -------------------------------------------------------------------------------- 1 | /* 2 | * MD5 internal definitions 3 | * Copyright (c) 2003-2005, Jouni Malinen 4 | * 5 | * This program is free software; you can redistribute it and/or modify 6 | * it under the terms of the GNU General Public License version 2 as 7 | * published by the Free Software Foundation. 8 | * 9 | * Alternatively, this software may be distributed under the terms of BSD 10 | * license. 11 | * 12 | * See README and COPYING for more details. 13 | */ 14 | 15 | #ifndef MD5_I_H 16 | #define MD5_I_H 17 | 18 | struct MD5Context { 19 | u32 buf[4]; 20 | u32 bits[2]; 21 | u8 in[64]; 22 | }; 23 | 24 | void MD5Init(struct MD5Context *context); 25 | void MD5Update(struct MD5Context *context, unsigned char const *buf, 26 | unsigned len); 27 | void MD5Final(unsigned char digest[16], struct MD5Context *context); 28 | 29 | #endif /* MD5_I_H */ 30 | -------------------------------------------------------------------------------- /tools/sdk/include/wpa_supplicant/crypto/sha1_i.h: -------------------------------------------------------------------------------- 1 | /* 2 | * SHA1 internal definitions 3 | * Copyright (c) 2003-2005, Jouni Malinen 4 | * 5 | * This program is free software; you can redistribute it and/or modify 6 | * it under the terms of the GNU General Public License version 2 as 7 | * published by the Free Software Foundation. 8 | * 9 | * Alternatively, this software may be distributed under the terms of BSD 10 | * license. 11 | * 12 | * See README and COPYING for more details. 13 | */ 14 | 15 | #ifndef SHA1_I_H 16 | #define SHA1_I_H 17 | 18 | struct SHA1Context { 19 | u32 state[5]; 20 | u32 count[2]; 21 | unsigned char buffer[64]; 22 | }; 23 | 24 | void SHA1Init(struct SHA1Context *context); 25 | void SHA1Update(struct SHA1Context *context, const void *data, u32 len); 26 | void SHA1Final(unsigned char digest[20], struct SHA1Context *context); 27 | void SHA1Transform(u32 state[5], const unsigned char buffer[64]); 28 | 29 | #endif /* SHA1_I_H */ 30 | -------------------------------------------------------------------------------- /tools/sdk/include/wpa_supplicant/wpa2/eap_peer/eap_common.h: -------------------------------------------------------------------------------- 1 | /* 2 | * EAP common peer/server definitions 3 | * Copyright (c) 2004-2012, Jouni Malinen 4 | * 5 | * This software may be distributed under the terms of the BSD license. 6 | * See README for more details. 7 | */ 8 | 9 | #ifndef EAP_COMMON_H 10 | #define EAP_COMMON_H 11 | 12 | #include "wpa/wpabuf.h" 13 | 14 | int eap_hdr_len_valid(const struct wpabuf *msg, size_t min_payload); 15 | const u8 * eap_hdr_validate(int vendor, EapType eap_type, 16 | const struct wpabuf *msg, size_t *plen); 17 | struct wpabuf * eap_msg_alloc(int vendor, EapType type, size_t payload_len, 18 | u8 code, u8 identifier); 19 | void eap_update_len(struct wpabuf *msg); 20 | u8 eap_get_id(const struct wpabuf *msg); 21 | EapType eap_get_type(const struct wpabuf *msg); 22 | 23 | #endif /* EAP_COMMON_H */ 24 | -------------------------------------------------------------------------------- /tools/sdk/include/wpa_supplicant/wpa2/eap_peer/eap_peap_common.h: -------------------------------------------------------------------------------- 1 | /* 2 | * EAP-PEAP common routines 3 | * Copyright (c) 2008-2011, Jouni Malinen 4 | * 5 | * This software may be distributed under the terms of the BSD license. 6 | * See README for more details. 7 | */ 8 | 9 | #ifndef EAP_PEAP_COMMON_H 10 | #define EAP_PEAP_COMMON_H 11 | 12 | int peap_prfplus(int version, const u8 *key, size_t key_len, 13 | const char *label, const u8 *seed, size_t seed_len, 14 | u8 *buf, size_t buf_len); 15 | 16 | #endif /* EAP_PEAP_COMMON_H */ 17 | -------------------------------------------------------------------------------- /tools/sdk/include/wpa_supplicant/wpa2/eap_peer/eap_tls.h: -------------------------------------------------------------------------------- 1 | /* 2 | * EAP peer: EAP-TLS/PEAP/TTLS/FAST common functions 3 | * Copyright (c) 2004-2009, 2012, Jouni Malinen 4 | * 5 | * This software may be distributed under the terms of the BSD license. 6 | * See README for more details. 7 | */ 8 | 9 | #ifndef EAP_TLS_H 10 | #define EAP_TLS_H 11 | 12 | #include "eap_i.h" 13 | #include "eap_common.h" 14 | #include "eap.h" 15 | #include "wpa/wpabuf.h" 16 | 17 | void * eap_tls_init(struct eap_sm *sm); 18 | void eap_tls_deinit(struct eap_sm *sm, void *priv); 19 | struct wpabuf * eap_tls_process(struct eap_sm *sm, void *priv, 20 | struct eap_method_ret *ret, 21 | const struct wpabuf *reqData); 22 | 23 | u8 * eap_tls_getKey(struct eap_sm *sm, void *priv, size_t *len); 24 | 25 | #endif /* EAP_TLS_H */ 26 | -------------------------------------------------------------------------------- /tools/sdk/include/wpa_supplicant/wpa2/eap_peer/mschapv2.h: -------------------------------------------------------------------------------- 1 | /* 2 | * MSCHAPV2 3 | */ 4 | 5 | 6 | #ifndef MSCHAPV2_H 7 | #define MSCHAPV2_H 8 | 9 | #define MSCHAPV2_CHAL_LEN 16 10 | #define MSCHAPV2_NT_RESPONSE_LEN 24 11 | #define MSCHAPV2_AUTH_RESPONSE_LEN 20 12 | #define MSCHAPV2_MASTER_KEY_LEN 16 13 | 14 | const u8 * mschapv2_remove_domain(const u8 *username, size_t *len); 15 | int mschapv2_derive_response(const u8 *username, size_t username_len, 16 | const u8 *password, size_t password_len, 17 | int pwhash, 18 | const u8 *auth_challenge, 19 | const u8 *peer_challenge, 20 | u8 *nt_response, u8 *auth_response, 21 | u8 *master_key); 22 | int mschapv2_verify_auth_response(const u8 *auth_response, 23 | const u8 *buf, size_t buf_len); 24 | #endif /* MSCHAPV2_H */ 25 | -------------------------------------------------------------------------------- /tools/sdk/include/wpa_supplicant/wpa2/tls/pkcs1.h: -------------------------------------------------------------------------------- 1 | /* 2 | * PKCS #1 (RSA Encryption) 3 | * Copyright (c) 2006-2009, Jouni Malinen 4 | * 5 | * This software may be distributed under the terms of the BSD license. 6 | * See README for more details. 7 | */ 8 | 9 | #ifndef PKCS1_H 10 | #define PKCS1_H 11 | 12 | int pkcs1_encrypt(int block_type, struct crypto_rsa_key *key, 13 | int use_private, const u8 *in, size_t inlen, 14 | u8 *out, size_t *outlen); 15 | int pkcs1_v15_private_key_decrypt(struct crypto_rsa_key *key, 16 | const u8 *in, size_t inlen, 17 | u8 *out, size_t *outlen); 18 | int pkcs1_decrypt_public_key(struct crypto_rsa_key *key, 19 | const u8 *crypt, size_t crypt_len, 20 | u8 *plain, size_t *plain_len); 21 | 22 | #endif /* PKCS1_H */ 23 | -------------------------------------------------------------------------------- /tools/sdk/include/wpa_supplicant/wpa2/tls/pkcs5.h: -------------------------------------------------------------------------------- 1 | /* 2 | * PKCS #5 (Password-based Encryption) 3 | * Copyright (c) 2009, Jouni Malinen 4 | * 5 | * This software may be distributed under the terms of the BSD license. 6 | * See README for more details. 7 | */ 8 | 9 | #ifndef PKCS5_H 10 | #define PKCS5_H 11 | 12 | u8 * pkcs5_decrypt(const u8 *enc_alg, size_t enc_alg_len, 13 | const u8 *enc_data, size_t enc_data_len, 14 | const char *passwd, size_t *data_len); 15 | 16 | #endif /* PKCS5_H */ 17 | -------------------------------------------------------------------------------- /tools/sdk/include/wpa_supplicant/wpa2/tls/pkcs8.h: -------------------------------------------------------------------------------- 1 | /* 2 | * PKCS #8 (Private-key information syntax) 3 | * Copyright (c) 2006-2009, Jouni Malinen 4 | * 5 | * This software may be distributed under the terms of the BSD license. 6 | * See README for more details. 7 | */ 8 | 9 | #ifndef PKCS8_H 10 | #define PKCS8_H 11 | 12 | struct crypto_private_key * pkcs8_key_import(const u8 *buf, size_t len); 13 | struct crypto_private_key * 14 | pkcs8_enc_key_import(const u8 *buf, size_t len, const char *passwd); 15 | 16 | #endif /* PKCS8_H */ 17 | -------------------------------------------------------------------------------- /tools/sdk/include/wpa_supplicant/wpa2/tls/rsa.h: -------------------------------------------------------------------------------- 1 | /* 2 | * RSA 3 | * Copyright (c) 2006, Jouni Malinen 4 | * 5 | * This software may be distributed under the terms of the BSD license. 6 | * See README for more details. 7 | */ 8 | 9 | #ifndef RSA_H 10 | #define RSA_H 11 | 12 | struct crypto_rsa_key; 13 | 14 | struct crypto_rsa_key * 15 | crypto_rsa_import_public_key(const u8 *buf, size_t len); 16 | struct crypto_rsa_key * 17 | crypto_rsa_import_private_key(const u8 *buf, size_t len); 18 | size_t crypto_rsa_get_modulus_len(struct crypto_rsa_key *key); 19 | int crypto_rsa_exptmod(const u8 *in, size_t inlen, u8 *out, size_t *outlen, 20 | struct crypto_rsa_key *key, int use_private); 21 | void crypto_rsa_free(struct crypto_rsa_key *key); 22 | 23 | #endif /* RSA_H */ 24 | -------------------------------------------------------------------------------- /tools/sdk/include/wpa_supplicant/wpa2/utils/base64.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Base64 encoding/decoding (RFC1341) 3 | * Copyright (c) 2005, Jouni Malinen 4 | * 5 | * This software may be distributed under the terms of the BSD license. 6 | * See README for more details. 7 | */ 8 | 9 | #ifndef BASE64_H 10 | #define BASE64_H 11 | 12 | unsigned char * base64_encode(const unsigned char *src, size_t len, 13 | size_t *out_len); 14 | unsigned char * base64_decode(const unsigned char *src, size_t len, 15 | size_t *out_len); 16 | 17 | #endif /* BASE64_H */ 18 | -------------------------------------------------------------------------------- /tools/sdk/include/wpa_supplicant/wpa2/utils/ext_password.h: -------------------------------------------------------------------------------- 1 | /* 2 | * External password backend 3 | * Copyright (c) 2012, Jouni Malinen 4 | * 5 | * This software may be distributed under the terms of the BSD license. 6 | * See README for more details. 7 | */ 8 | 9 | #ifndef EXT_PASSWORD_H 10 | #define EXT_PASSWORD_H 11 | 12 | struct ext_password_data; 13 | 14 | #ifdef CONFIG_EXT_PASSWORD 15 | 16 | struct ext_password_data * ext_password_init(const char *backend, 17 | const char *params); 18 | void ext_password_deinit(struct ext_password_data *data); 19 | 20 | struct wpabuf * ext_password_get(struct ext_password_data *data, 21 | const char *name); 22 | void ext_password_free(struct wpabuf *pw); 23 | 24 | #else /* CONFIG_EXT_PASSWORD */ 25 | 26 | #define ext_password_init(b, p) 27 | #define ext_password_deinit(d) 28 | #define ext_password_get(d, n) 29 | #define ext_password_free(p) 30 | 31 | #endif /* CONFIG_EXT_PASSWORD */ 32 | 33 | #endif /* EXT_PASSWORD_H */ 34 | -------------------------------------------------------------------------------- /tools/sdk/include/wpa_supplicant/wpa2/utils/ext_password_i.h: -------------------------------------------------------------------------------- 1 | /* 2 | * External password backend - internal definitions 3 | * Copyright (c) 2012, Jouni Malinen 4 | * 5 | * This software may be distributed under the terms of the BSD license. 6 | * See README for more details. 7 | */ 8 | 9 | #ifndef EXT_PASSWORD_I_H 10 | #define EXT_PASSWORD_I_H 11 | 12 | #include "ext_password.h" 13 | 14 | struct ext_password_backend { 15 | const char *name; 16 | void * (*init)(const char *params); 17 | void (*deinit)(void *ctx); 18 | struct wpabuf * (*get)(void *ctx, const char *name); 19 | }; 20 | 21 | struct wpabuf * ext_password_alloc(size_t len); 22 | 23 | #endif /* EXT_PASSWORD_I_H */ 24 | -------------------------------------------------------------------------------- /tools/sdk/include/wpa_supplicant/wps/utils/uuid.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Universally Unique IDentifier (UUID) 3 | * Copyright (c) 2008, Jouni Malinen 4 | * 5 | * This software may be distributed under the terms of the BSD license. 6 | * See README for more details. 7 | */ 8 | 9 | #ifndef UUID_H 10 | #define UUID_H 11 | 12 | #define UUID_LEN 16 13 | 14 | int uuid_str2bin(const char *str, u8 *bin); 15 | int uuid_bin2str(const u8 *bin, char *str, size_t max_len); 16 | int is_nil_uuid(const u8 *uuid); 17 | 18 | #endif /* UUID_H */ 19 | -------------------------------------------------------------------------------- /tools/sdk/include/xtensa-debug-module/eri.h: -------------------------------------------------------------------------------- 1 | #ifndef ERI_H 2 | #define ERI_H 3 | 4 | #include 5 | 6 | /* 7 | The ERI is a bus internal to each Xtensa core. It connects, amongst others, to the debug interface, where it 8 | allows reading/writing the same registers as available over JTAG. 9 | */ 10 | 11 | 12 | /** 13 | * @brief Perform an ERI read 14 | * @param addr : ERI register to read from 15 | * 16 | * @return Value read 17 | */ 18 | uint32_t eri_read(int addr); 19 | 20 | 21 | /** 22 | * @brief Perform an ERI write 23 | * @param addr : ERI register to write to 24 | * @param data : Value to write 25 | * 26 | * @return Value read 27 | */ 28 | void eri_write(int addr, uint32_t data); 29 | 30 | 31 | #endif -------------------------------------------------------------------------------- /tools/sdk/lib/libapp_trace.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/husarnet/arduino-esp32/62a94ccdc6118927751b15390a553b3dca3b8cbf/tools/sdk/lib/libapp_trace.a -------------------------------------------------------------------------------- /tools/sdk/lib/libapp_update.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/husarnet/arduino-esp32/62a94ccdc6118927751b15390a553b3dca3b8cbf/tools/sdk/lib/libapp_update.a -------------------------------------------------------------------------------- /tools/sdk/lib/libasio.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/husarnet/arduino-esp32/62a94ccdc6118927751b15390a553b3dca3b8cbf/tools/sdk/lib/libasio.a -------------------------------------------------------------------------------- /tools/sdk/lib/libbootloader_support.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/husarnet/arduino-esp32/62a94ccdc6118927751b15390a553b3dca3b8cbf/tools/sdk/lib/libbootloader_support.a -------------------------------------------------------------------------------- /tools/sdk/lib/libbt.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/husarnet/arduino-esp32/62a94ccdc6118927751b15390a553b3dca3b8cbf/tools/sdk/lib/libbt.a -------------------------------------------------------------------------------- /tools/sdk/lib/libbtdm_app.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/husarnet/arduino-esp32/62a94ccdc6118927751b15390a553b3dca3b8cbf/tools/sdk/lib/libbtdm_app.a -------------------------------------------------------------------------------- /tools/sdk/lib/libc.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/husarnet/arduino-esp32/62a94ccdc6118927751b15390a553b3dca3b8cbf/tools/sdk/lib/libc.a -------------------------------------------------------------------------------- /tools/sdk/lib/libc_nano.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/husarnet/arduino-esp32/62a94ccdc6118927751b15390a553b3dca3b8cbf/tools/sdk/lib/libc_nano.a -------------------------------------------------------------------------------- /tools/sdk/lib/libcoap.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/husarnet/arduino-esp32/62a94ccdc6118927751b15390a553b3dca3b8cbf/tools/sdk/lib/libcoap.a -------------------------------------------------------------------------------- /tools/sdk/lib/libcoexist.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/husarnet/arduino-esp32/62a94ccdc6118927751b15390a553b3dca3b8cbf/tools/sdk/lib/libcoexist.a -------------------------------------------------------------------------------- /tools/sdk/lib/libconsole.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/husarnet/arduino-esp32/62a94ccdc6118927751b15390a553b3dca3b8cbf/tools/sdk/lib/libconsole.a -------------------------------------------------------------------------------- /tools/sdk/lib/libcore.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/husarnet/arduino-esp32/62a94ccdc6118927751b15390a553b3dca3b8cbf/tools/sdk/lib/libcore.a -------------------------------------------------------------------------------- /tools/sdk/lib/libcxx.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/husarnet/arduino-esp32/62a94ccdc6118927751b15390a553b3dca3b8cbf/tools/sdk/lib/libcxx.a -------------------------------------------------------------------------------- /tools/sdk/lib/libdl_lib.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/husarnet/arduino-esp32/62a94ccdc6118927751b15390a553b3dca3b8cbf/tools/sdk/lib/libdl_lib.a -------------------------------------------------------------------------------- /tools/sdk/lib/libdriver.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/husarnet/arduino-esp32/62a94ccdc6118927751b15390a553b3dca3b8cbf/tools/sdk/lib/libdriver.a -------------------------------------------------------------------------------- /tools/sdk/lib/libefuse.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/husarnet/arduino-esp32/62a94ccdc6118927751b15390a553b3dca3b8cbf/tools/sdk/lib/libefuse.a -------------------------------------------------------------------------------- /tools/sdk/lib/libemhusarnet.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/husarnet/arduino-esp32/62a94ccdc6118927751b15390a553b3dca3b8cbf/tools/sdk/lib/libemhusarnet.a -------------------------------------------------------------------------------- /tools/sdk/lib/libesp-tls.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/husarnet/arduino-esp32/62a94ccdc6118927751b15390a553b3dca3b8cbf/tools/sdk/lib/libesp-tls.a -------------------------------------------------------------------------------- /tools/sdk/lib/libesp32-camera.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/husarnet/arduino-esp32/62a94ccdc6118927751b15390a553b3dca3b8cbf/tools/sdk/lib/libesp32-camera.a -------------------------------------------------------------------------------- /tools/sdk/lib/libesp32.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/husarnet/arduino-esp32/62a94ccdc6118927751b15390a553b3dca3b8cbf/tools/sdk/lib/libesp32.a -------------------------------------------------------------------------------- /tools/sdk/lib/libesp_adc_cal.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/husarnet/arduino-esp32/62a94ccdc6118927751b15390a553b3dca3b8cbf/tools/sdk/lib/libesp_adc_cal.a -------------------------------------------------------------------------------- /tools/sdk/lib/libesp_event.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/husarnet/arduino-esp32/62a94ccdc6118927751b15390a553b3dca3b8cbf/tools/sdk/lib/libesp_event.a -------------------------------------------------------------------------------- /tools/sdk/lib/libesp_http_client.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/husarnet/arduino-esp32/62a94ccdc6118927751b15390a553b3dca3b8cbf/tools/sdk/lib/libesp_http_client.a -------------------------------------------------------------------------------- /tools/sdk/lib/libesp_http_server.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/husarnet/arduino-esp32/62a94ccdc6118927751b15390a553b3dca3b8cbf/tools/sdk/lib/libesp_http_server.a -------------------------------------------------------------------------------- /tools/sdk/lib/libesp_https_ota.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/husarnet/arduino-esp32/62a94ccdc6118927751b15390a553b3dca3b8cbf/tools/sdk/lib/libesp_https_ota.a -------------------------------------------------------------------------------- /tools/sdk/lib/libesp_https_server.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/husarnet/arduino-esp32/62a94ccdc6118927751b15390a553b3dca3b8cbf/tools/sdk/lib/libesp_https_server.a -------------------------------------------------------------------------------- /tools/sdk/lib/libesp_ringbuf.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/husarnet/arduino-esp32/62a94ccdc6118927751b15390a553b3dca3b8cbf/tools/sdk/lib/libesp_ringbuf.a -------------------------------------------------------------------------------- /tools/sdk/lib/libespcoredump.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/husarnet/arduino-esp32/62a94ccdc6118927751b15390a553b3dca3b8cbf/tools/sdk/lib/libespcoredump.a -------------------------------------------------------------------------------- /tools/sdk/lib/libespnow.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/husarnet/arduino-esp32/62a94ccdc6118927751b15390a553b3dca3b8cbf/tools/sdk/lib/libespnow.a -------------------------------------------------------------------------------- /tools/sdk/lib/libethernet.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/husarnet/arduino-esp32/62a94ccdc6118927751b15390a553b3dca3b8cbf/tools/sdk/lib/libethernet.a -------------------------------------------------------------------------------- /tools/sdk/lib/libexpat.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/husarnet/arduino-esp32/62a94ccdc6118927751b15390a553b3dca3b8cbf/tools/sdk/lib/libexpat.a -------------------------------------------------------------------------------- /tools/sdk/lib/libface_detection.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/husarnet/arduino-esp32/62a94ccdc6118927751b15390a553b3dca3b8cbf/tools/sdk/lib/libface_detection.a -------------------------------------------------------------------------------- /tools/sdk/lib/libface_recognition.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/husarnet/arduino-esp32/62a94ccdc6118927751b15390a553b3dca3b8cbf/tools/sdk/lib/libface_recognition.a -------------------------------------------------------------------------------- /tools/sdk/lib/libfatfs.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/husarnet/arduino-esp32/62a94ccdc6118927751b15390a553b3dca3b8cbf/tools/sdk/lib/libfatfs.a -------------------------------------------------------------------------------- /tools/sdk/lib/libfb_gfx.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/husarnet/arduino-esp32/62a94ccdc6118927751b15390a553b3dca3b8cbf/tools/sdk/lib/libfb_gfx.a -------------------------------------------------------------------------------- /tools/sdk/lib/libfd.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/husarnet/arduino-esp32/62a94ccdc6118927751b15390a553b3dca3b8cbf/tools/sdk/lib/libfd.a -------------------------------------------------------------------------------- /tools/sdk/lib/libfr.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/husarnet/arduino-esp32/62a94ccdc6118927751b15390a553b3dca3b8cbf/tools/sdk/lib/libfr.a -------------------------------------------------------------------------------- /tools/sdk/lib/libfreemodbus.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/husarnet/arduino-esp32/62a94ccdc6118927751b15390a553b3dca3b8cbf/tools/sdk/lib/libfreemodbus.a -------------------------------------------------------------------------------- /tools/sdk/lib/libfreertos.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/husarnet/arduino-esp32/62a94ccdc6118927751b15390a553b3dca3b8cbf/tools/sdk/lib/libfreertos.a -------------------------------------------------------------------------------- /tools/sdk/lib/libhal.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/husarnet/arduino-esp32/62a94ccdc6118927751b15390a553b3dca3b8cbf/tools/sdk/lib/libhal.a -------------------------------------------------------------------------------- /tools/sdk/lib/libheap.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/husarnet/arduino-esp32/62a94ccdc6118927751b15390a553b3dca3b8cbf/tools/sdk/lib/libheap.a -------------------------------------------------------------------------------- /tools/sdk/lib/libhusarnet.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/husarnet/arduino-esp32/62a94ccdc6118927751b15390a553b3dca3b8cbf/tools/sdk/lib/libhusarnet.a -------------------------------------------------------------------------------- /tools/sdk/lib/libimage_util.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/husarnet/arduino-esp32/62a94ccdc6118927751b15390a553b3dca3b8cbf/tools/sdk/lib/libimage_util.a -------------------------------------------------------------------------------- /tools/sdk/lib/libjsmn.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/husarnet/arduino-esp32/62a94ccdc6118927751b15390a553b3dca3b8cbf/tools/sdk/lib/libjsmn.a -------------------------------------------------------------------------------- /tools/sdk/lib/libjson.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/husarnet/arduino-esp32/62a94ccdc6118927751b15390a553b3dca3b8cbf/tools/sdk/lib/libjson.a -------------------------------------------------------------------------------- /tools/sdk/lib/liblibsodium.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/husarnet/arduino-esp32/62a94ccdc6118927751b15390a553b3dca3b8cbf/tools/sdk/lib/liblibsodium.a -------------------------------------------------------------------------------- /tools/sdk/lib/liblog.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/husarnet/arduino-esp32/62a94ccdc6118927751b15390a553b3dca3b8cbf/tools/sdk/lib/liblog.a -------------------------------------------------------------------------------- /tools/sdk/lib/liblwip.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/husarnet/arduino-esp32/62a94ccdc6118927751b15390a553b3dca3b8cbf/tools/sdk/lib/liblwip.a -------------------------------------------------------------------------------- /tools/sdk/lib/libm.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/husarnet/arduino-esp32/62a94ccdc6118927751b15390a553b3dca3b8cbf/tools/sdk/lib/libm.a -------------------------------------------------------------------------------- /tools/sdk/lib/libmbedtls.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/husarnet/arduino-esp32/62a94ccdc6118927751b15390a553b3dca3b8cbf/tools/sdk/lib/libmbedtls.a -------------------------------------------------------------------------------- /tools/sdk/lib/libmdns.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/husarnet/arduino-esp32/62a94ccdc6118927751b15390a553b3dca3b8cbf/tools/sdk/lib/libmdns.a -------------------------------------------------------------------------------- /tools/sdk/lib/libmesh.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/husarnet/arduino-esp32/62a94ccdc6118927751b15390a553b3dca3b8cbf/tools/sdk/lib/libmesh.a -------------------------------------------------------------------------------- /tools/sdk/lib/libmicro-ecc.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/husarnet/arduino-esp32/62a94ccdc6118927751b15390a553b3dca3b8cbf/tools/sdk/lib/libmicro-ecc.a -------------------------------------------------------------------------------- /tools/sdk/lib/libmqtt.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/husarnet/arduino-esp32/62a94ccdc6118927751b15390a553b3dca3b8cbf/tools/sdk/lib/libmqtt.a -------------------------------------------------------------------------------- /tools/sdk/lib/libnet80211.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/husarnet/arduino-esp32/62a94ccdc6118927751b15390a553b3dca3b8cbf/tools/sdk/lib/libnet80211.a -------------------------------------------------------------------------------- /tools/sdk/lib/libnewlib.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/husarnet/arduino-esp32/62a94ccdc6118927751b15390a553b3dca3b8cbf/tools/sdk/lib/libnewlib.a -------------------------------------------------------------------------------- /tools/sdk/lib/libnghttp.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/husarnet/arduino-esp32/62a94ccdc6118927751b15390a553b3dca3b8cbf/tools/sdk/lib/libnghttp.a -------------------------------------------------------------------------------- /tools/sdk/lib/libnvs_flash.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/husarnet/arduino-esp32/62a94ccdc6118927751b15390a553b3dca3b8cbf/tools/sdk/lib/libnvs_flash.a -------------------------------------------------------------------------------- /tools/sdk/lib/libod.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/husarnet/arduino-esp32/62a94ccdc6118927751b15390a553b3dca3b8cbf/tools/sdk/lib/libod.a -------------------------------------------------------------------------------- /tools/sdk/lib/libopenssl.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/husarnet/arduino-esp32/62a94ccdc6118927751b15390a553b3dca3b8cbf/tools/sdk/lib/libopenssl.a -------------------------------------------------------------------------------- /tools/sdk/lib/libphy.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/husarnet/arduino-esp32/62a94ccdc6118927751b15390a553b3dca3b8cbf/tools/sdk/lib/libphy.a -------------------------------------------------------------------------------- /tools/sdk/lib/libpp.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/husarnet/arduino-esp32/62a94ccdc6118927751b15390a553b3dca3b8cbf/tools/sdk/lib/libpp.a -------------------------------------------------------------------------------- /tools/sdk/lib/libprotobuf-c.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/husarnet/arduino-esp32/62a94ccdc6118927751b15390a553b3dca3b8cbf/tools/sdk/lib/libprotobuf-c.a -------------------------------------------------------------------------------- /tools/sdk/lib/libprotocomm.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/husarnet/arduino-esp32/62a94ccdc6118927751b15390a553b3dca3b8cbf/tools/sdk/lib/libprotocomm.a -------------------------------------------------------------------------------- /tools/sdk/lib/libpthread.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/husarnet/arduino-esp32/62a94ccdc6118927751b15390a553b3dca3b8cbf/tools/sdk/lib/libpthread.a -------------------------------------------------------------------------------- /tools/sdk/lib/librosem.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/husarnet/arduino-esp32/62a94ccdc6118927751b15390a553b3dca3b8cbf/tools/sdk/lib/librosem.a -------------------------------------------------------------------------------- /tools/sdk/lib/librtc.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/husarnet/arduino-esp32/62a94ccdc6118927751b15390a553b3dca3b8cbf/tools/sdk/lib/librtc.a -------------------------------------------------------------------------------- /tools/sdk/lib/libsdmmc.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/husarnet/arduino-esp32/62a94ccdc6118927751b15390a553b3dca3b8cbf/tools/sdk/lib/libsdmmc.a -------------------------------------------------------------------------------- /tools/sdk/lib/libsmartconfig.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/husarnet/arduino-esp32/62a94ccdc6118927751b15390a553b3dca3b8cbf/tools/sdk/lib/libsmartconfig.a -------------------------------------------------------------------------------- /tools/sdk/lib/libsmartconfig_ack.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/husarnet/arduino-esp32/62a94ccdc6118927751b15390a553b3dca3b8cbf/tools/sdk/lib/libsmartconfig_ack.a -------------------------------------------------------------------------------- /tools/sdk/lib/libsoc.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/husarnet/arduino-esp32/62a94ccdc6118927751b15390a553b3dca3b8cbf/tools/sdk/lib/libsoc.a -------------------------------------------------------------------------------- /tools/sdk/lib/libspi_flash.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/husarnet/arduino-esp32/62a94ccdc6118927751b15390a553b3dca3b8cbf/tools/sdk/lib/libspi_flash.a -------------------------------------------------------------------------------- /tools/sdk/lib/libspiffs.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/husarnet/arduino-esp32/62a94ccdc6118927751b15390a553b3dca3b8cbf/tools/sdk/lib/libspiffs.a -------------------------------------------------------------------------------- /tools/sdk/lib/libtcp_transport.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/husarnet/arduino-esp32/62a94ccdc6118927751b15390a553b3dca3b8cbf/tools/sdk/lib/libtcp_transport.a -------------------------------------------------------------------------------- /tools/sdk/lib/libtcpip_adapter.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/husarnet/arduino-esp32/62a94ccdc6118927751b15390a553b3dca3b8cbf/tools/sdk/lib/libtcpip_adapter.a -------------------------------------------------------------------------------- /tools/sdk/lib/libulp.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/husarnet/arduino-esp32/62a94ccdc6118927751b15390a553b3dca3b8cbf/tools/sdk/lib/libulp.a -------------------------------------------------------------------------------- /tools/sdk/lib/libunity.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/husarnet/arduino-esp32/62a94ccdc6118927751b15390a553b3dca3b8cbf/tools/sdk/lib/libunity.a -------------------------------------------------------------------------------- /tools/sdk/lib/libvfs.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/husarnet/arduino-esp32/62a94ccdc6118927751b15390a553b3dca3b8cbf/tools/sdk/lib/libvfs.a -------------------------------------------------------------------------------- /tools/sdk/lib/libwear_levelling.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/husarnet/arduino-esp32/62a94ccdc6118927751b15390a553b3dca3b8cbf/tools/sdk/lib/libwear_levelling.a -------------------------------------------------------------------------------- /tools/sdk/lib/libwifi_provisioning.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/husarnet/arduino-esp32/62a94ccdc6118927751b15390a553b3dca3b8cbf/tools/sdk/lib/libwifi_provisioning.a -------------------------------------------------------------------------------- /tools/sdk/lib/libwpa.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/husarnet/arduino-esp32/62a94ccdc6118927751b15390a553b3dca3b8cbf/tools/sdk/lib/libwpa.a -------------------------------------------------------------------------------- /tools/sdk/lib/libwpa2.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/husarnet/arduino-esp32/62a94ccdc6118927751b15390a553b3dca3b8cbf/tools/sdk/lib/libwpa2.a -------------------------------------------------------------------------------- /tools/sdk/lib/libwpa_supplicant.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/husarnet/arduino-esp32/62a94ccdc6118927751b15390a553b3dca3b8cbf/tools/sdk/lib/libwpa_supplicant.a -------------------------------------------------------------------------------- /tools/sdk/lib/libwps.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/husarnet/arduino-esp32/62a94ccdc6118927751b15390a553b3dca3b8cbf/tools/sdk/lib/libwps.a -------------------------------------------------------------------------------- /tools/sdk/lib/libxtensa-debug-module.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/husarnet/arduino-esp32/62a94ccdc6118927751b15390a553b3dca3b8cbf/tools/sdk/lib/libxtensa-debug-module.a -------------------------------------------------------------------------------- /variants/d32/pins_arduino.h: -------------------------------------------------------------------------------- 1 | #ifndef Pins_Arduino_h 2 | #define Pins_Arduino_h 3 | 4 | #include 5 | #include 6 | 7 | static const uint8_t LED_BUILTIN = 5; 8 | #define BUILTIN_LED LED_BUILTIN // backward compatibility 9 | static const uint8_t _VBAT = 35; // battery voltage 10 | 11 | #endif /* Pins_Arduino_h */ 12 | -------------------------------------------------------------------------------- /variants/d32_pro/pins_arduino.h: -------------------------------------------------------------------------------- 1 | #ifndef Pins_Arduino_h 2 | #define Pins_Arduino_h 3 | 4 | #include 5 | #include <../d32/d32_core.h> 6 | 7 | static const uint8_t LED_BUILTIN = 5; 8 | #define BUILTIN_LED LED_BUILTIN // backward compatibility 9 | static const uint8_t _VBAT = 35; // battery voltage 10 | 11 | 12 | #define TF_CS 4 // TF (Micro SD Card) CS pin 13 | #define TS_CS 12 // Touch Screen CS pin 14 | #define TFT_CS 14 // TFT CS pin 15 | #define TFT_LED 32 // TFT backlight control pin 16 | #define TFT_RST 33 // TFT reset pin 17 | #define TFT_DC 27 // TFT DC pin 18 | 19 | #define SS TF_CS 20 | 21 | #endif /* Pins_Arduino_h */ 22 | -------------------------------------------------------------------------------- /variants/esp32-evb/pins_arduino.h: -------------------------------------------------------------------------------- 1 | #ifndef Pins_Arduino_h 2 | #define Pins_Arduino_h 3 | 4 | #include 5 | 6 | #define EXTERNAL_NUM_INTERRUPTS 16 7 | #define NUM_DIGITAL_PINS 40 8 | #define NUM_ANALOG_INPUTS 16 9 | 10 | #define analogInputToDigitalPin(p) (((p)<20)?(esp32_adc2gpio[(p)]):-1) 11 | #define digitalPinToInterrupt(p) (((p)<40)?(p):-1) 12 | #define digitalPinHasPWM(p) (p < 34) 13 | 14 | 15 | static const uint8_t KEY_BUILTIN = 34; 16 | 17 | static const uint8_t TX = 1; 18 | static const uint8_t RX = 3; 19 | 20 | #define TX1 4 21 | #define RX1 36 22 | 23 | static const uint8_t SDA = 13; 24 | static const uint8_t SCL = 16; 25 | 26 | static const uint8_t SS = 17; 27 | static const uint8_t MOSI = 2; 28 | static const uint8_t MISO = 15; 29 | static const uint8_t SCK = 14; 30 | 31 | #define BOARD_HAS_1BIT_SDMMC 32 | 33 | #endif /* Pins_Arduino_h */ 34 | -------------------------------------------------------------------------------- /variants/esp32-poe-iso/pins_arduino.h: -------------------------------------------------------------------------------- 1 | #ifndef Pins_Arduino_h 2 | #define Pins_Arduino_h 3 | 4 | #include 5 | 6 | #define EXTERNAL_NUM_INTERRUPTS 16 7 | #define NUM_DIGITAL_PINS 40 8 | #define NUM_ANALOG_INPUTS 16 9 | 10 | #define analogInputToDigitalPin(p) (((p)<20)?(esp32_adc2gpio[(p)]):-1) 11 | #define digitalPinToInterrupt(p) (((p)<40)?(p):-1) 12 | #define digitalPinHasPWM(p) (p < 34) 13 | 14 | #define ETH_CLK_MODE ETH_CLOCK_GPIO17_OUT 15 | #define ETH_PHY_POWER 12 16 | 17 | static const uint8_t KEY_BUILTIN = 34; 18 | 19 | static const uint8_t TX = 1; 20 | static const uint8_t RX = 3; 21 | 22 | #define TX1 4 23 | #define RX1 36 24 | 25 | #define TX2 33 // ext2 pin 5 26 | #define RX2 35 // ext2 pin 3 27 | 28 | static const uint8_t SDA = 13; 29 | static const uint8_t SCL = 16; 30 | 31 | static const uint8_t SS = 5; 32 | static const uint8_t MOSI = 2; 33 | static const uint8_t MISO = 15; 34 | static const uint8_t SCK = 14; 35 | 36 | #define BOARD_HAS_1BIT_SDMMC 37 | 38 | #endif /* Pins_Arduino_h */ 39 | -------------------------------------------------------------------------------- /variants/esp32-poe/pins_arduino.h: -------------------------------------------------------------------------------- 1 | #ifndef Pins_Arduino_h 2 | #define Pins_Arduino_h 3 | 4 | #include 5 | 6 | #define EXTERNAL_NUM_INTERRUPTS 16 7 | #define NUM_DIGITAL_PINS 40 8 | #define NUM_ANALOG_INPUTS 16 9 | 10 | #define analogInputToDigitalPin(p) (((p)<20)?(esp32_adc2gpio[(p)]):-1) 11 | #define digitalPinToInterrupt(p) (((p)<40)?(p):-1) 12 | #define digitalPinHasPWM(p) (p < 34) 13 | 14 | #define ETH_CLK_MODE ETH_CLOCK_GPIO17_OUT 15 | #define ETH_PHY_POWER 12 16 | 17 | static const uint8_t KEY_BUILTIN = 34; 18 | 19 | static const uint8_t TX = 1; 20 | static const uint8_t RX = 3; 21 | 22 | #define TX1 4 23 | #define RX1 36 24 | 25 | #define TX2 33 // ext2 pin 5 26 | #define RX2 35 // ext2 pin 3 27 | 28 | static const uint8_t SDA = 13; 29 | static const uint8_t SCL = 16; 30 | 31 | static const uint8_t SS = 5; 32 | static const uint8_t MOSI = 2; 33 | static const uint8_t MISO = 15; 34 | static const uint8_t SCK = 14; 35 | 36 | #define BOARD_HAS_1BIT_SDMMC 37 | 38 | #endif /* Pins_Arduino_h */ 39 | -------------------------------------------------------------------------------- /variants/esp320/pins_arduino.h: -------------------------------------------------------------------------------- 1 | #ifndef Pins_Arduino_h 2 | #define Pins_Arduino_h 3 | 4 | #include 5 | 6 | #define EXTERNAL_NUM_INTERRUPTS 11 7 | #define NUM_DIGITAL_PINS 12 8 | #define NUM_ANALOG_INPUTS 5 9 | 10 | #define analogInputToDigitalPin(p) (((p)<20)?(esp32_adc2gpio[(p)]):-1) 11 | #define digitalPinToInterrupt(p) (((p)<40)?(p):-1) 12 | #define digitalPinHasPWM(p) (p < 34) 13 | 14 | static const uint8_t LED_BUILTIN = 5; 15 | #define BUILTIN_LED LED_BUILTIN // backward compatibility 16 | 17 | static const uint8_t TX = 1; 18 | static const uint8_t RX = 3; 19 | 20 | static const uint8_t SDA = 2; 21 | static const uint8_t SCL = 14; 22 | 23 | static const uint8_t SS = 15; 24 | static const uint8_t MOSI = 13; 25 | static const uint8_t MISO = 12; 26 | static const uint8_t SCK = 14; 27 | 28 | #endif /* Pins_Arduino_h */ 29 | -------------------------------------------------------------------------------- /variants/metro_esp-32/pins_arduino.h: -------------------------------------------------------------------------------- 1 | #ifndef Pins_Arduino_h 2 | #define Pins_Arduino_h 3 | 4 | #include 5 | 6 | #define EXTERNAL_NUM_INTERRUPTS 16 7 | #define NUM_DIGITAL_PINS 40 8 | #define NUM_ANALOG_INPUTS 16 9 | 10 | #define analogInputToDigitalPin(p) (((p)<20)?(esp32_adc2gpio[(p)]):-1) 11 | #define digitalPinToInterrupt(p) (((p)<40)?(p):-1) 12 | #define digitalPinHasPWM(p) (p < 34) 13 | 14 | static const uint8_t LED_BUILTIN = 2; 15 | #define BUILTIN_LED LED_BUILTIN // backward compatibility 16 | 17 | static const uint8_t KEY_BUILTIN = 0; 18 | 19 | static const uint8_t SDA = 21; 20 | static const uint8_t SCL = 22; 21 | 22 | static const uint8_t ADR = 12; 23 | 24 | #endif /* Pins_Arduino_h */ 25 | -------------------------------------------------------------------------------- /variants/odroid_esp32/pins_arduino.h: -------------------------------------------------------------------------------- 1 | #ifndef Pins_Arduino_h 2 | #define Pins_Arduino_h 3 | 4 | #include 5 | 6 | #define EXTERNAL_NUM_INTERRUPTS 16 7 | #define NUM_DIGITAL_PINS 40 8 | #define NUM_ANALOG_INPUTS 16 9 | 10 | #define analogInputToDigitalPin(p) (((p)<20)?(esp32_adc2gpio[(p)]):-1) 11 | #define digitalPinToInterrupt(p) (((p)<40)?(p):-1) 12 | #define digitalPinHasPWM(p) (p < 34) 13 | 14 | static const uint8_t LED_BUILTIN = 2; 15 | #define BUILTIN_LED LED_BUILTIN // backward compatibility 16 | 17 | static const uint8_t TX = 1; 18 | static const uint8_t RX = 3; 19 | 20 | static const uint8_t SDA = 15; 21 | static const uint8_t SCL = 4; 22 | 23 | static const uint8_t SS = 22; 24 | static const uint8_t MOSI = 23; 25 | static const uint8_t MISO = 19; 26 | static const uint8_t SCK = 18; 27 | 28 | static const uint8_t DAC1 = 25; 29 | static const uint8_t DAC2 = 26; 30 | 31 | static const uint8_t ADC1 = 35; 32 | static const uint8_t ADC2 = 36; 33 | 34 | #endif /* Pins_Arduino_h */ 35 | -------------------------------------------------------------------------------- /variants/xinabox/pins_arduino.h: -------------------------------------------------------------------------------- 1 | #ifndef Pins_Arduino_h 2 | #define Pins_Arduino_h 3 | 4 | #include 5 | 6 | #define EXTERNAL_NUM_INTERRUPTS 16 7 | #define NUM_DIGITAL_PINS 40 8 | #define NUM_ANALOG_INPUTS 16 9 | 10 | #define analogInputToDigitalPin(p) (((p)<20)?(esp32_adc2gpio[(p)]):-1) 11 | #define digitalPinToInterrupt(p) (((p)<40)?(p):-1) 12 | #define digitalPinHasPWM(p) (p < 34) 13 | 14 | static const uint8_t LED_BUILTIN = 27; 15 | #define BUILTIN_LED LED_BUILTIN // backward compatibility 16 | 17 | static const uint8_t TX = 1; 18 | static const uint8_t RX = 3; 19 | 20 | static const uint8_t SDA = 21; 21 | static const uint8_t SCL = 22; 22 | 23 | static const uint8_t SS = 5; 24 | static const uint8_t MOSI = 23; 25 | static const uint8_t MISO = 19; 26 | static const uint8_t SCK = 18; 27 | 28 | #endif /* Pins_Arduino_h */ 29 | --------------------------------------------------------------------------------