Demo ESP no-OS Example Project
See projects/demo_esp (doxygen) for the Doxygen documentation.
Overview
The Demo ESP project demonstrates Wi-Fi connectivity and MQTT communication using an ESP Wi-Fi module with no-OS. The application connects to a Wi-Fi network, establishes a connection with an MQTT broker, and continuously publishes messages to a configured topic.
The initialization data used in the examples is taken out from the Project Common Data Path.
The macros used in Common Data are defined in platform specific files found in the Project Platform Configuration Path.
No-OS Build Setup
Please see: No-OS Build Guide
No-OS Supported Examples
Basic example
The basic example initializes the ESP Wi-Fi module, connects to a configured Wi-Fi network and MQTT broker, then continuously publishes messages to a specified MQTT topic.
In order to build the basic example, make sure you have the following configuration in the Makefile:
# Select the example you want to enable by choosing y for enabling and n for disabling
BASIC_EXAMPLE = y
No-OS Supported Platforms
ADuCM3029
Used Hardware
Build Command
# to delete current build
make reset
# to build the project
make PLATFORM=aducm3029
# to flash the code
make run
Maxim
Used Hardware
MAX32690 platform (MAX32690EVKIT or AD-APARD32690-SL)
ESP Wi-Fi module (e.g., ESP8266)
Build Command
# to delete current build
make reset
# to build the project
make PLATFORM=maxim TARGET=max32690
# to flash the code
make run