This sample code implements a ESP32 based network driver for Azure RTOS NetX Duo and provide a Azure IoT example. We can it hosted because it leverages esp-hosted project to get 802.3 adapter support in ESP32 SoC, and integrates the host api with NetX Duo 6.1.8 and general WiFi control APIs.
The demo is verified on B-L4S5I-IOT01A and ESP32-C3-DevKitM-1 or ESP32-S2-Saola-1 hardware.
Signal name | B-L4S5I-IOT01A | ESP32-C3-DevKitM-1 | ESP32-S2-Saola-1 |
---|---|---|---|
3V3 | CN2-2 | J2-1 | |
GND | CN2-7 | J2-21 | |
MOSI | CN1-4 (PA7) | J2-13 (IO11) | |
MISO | CN1-5 (PA6) | J2-15 (IO13) | |
SCK | CN1-6 (PA5) | J2-14 (IO12) | |
CS | CN1-3 (PA2) | J2-12 (IO10) | |
Reset | CN3-5 (PA3) | J3-2 (CHIP-PU) | |
Handshake | CN3-3 (PD14) | J2-4 (IO2) | |
Data Ready | CN3-3 (PB0) | J2-6 (IO4) |
ESP32-C3 or ESP32-S2 must be programmed with adapter firmware in esp-hosted project.
This repository inherit Azure RTOS license from Microsoft. See LICENSE.txt and LICENSED-HARDWARE.txt.