ESP32 SDK Availability

Dear,
Is there a how-to build WiFi HaLow for embedded ESP32 and/or STM32 based available ?
Greetings,
Patrick

Hi Patrick,

You can find this information on the customer portal morsemicro.com under Software Releases/IOT (FreeRTOS). There is a reference manual that will run you through how to build some example applications that should allow you to get up and running with HaLow (using the MM-IoT-SDK).

Currently our main host platforms are STM32 based but we do also have an alpha port using the ESP32S3.

1 Like

I cannot find any example to set AP mode with the SDK.
It looks like the “MM-IoT-SDK” and “MM-IoT-SDK-esp32” only support STA mode?

Hi Axel,

That is correct. At this point in time the MM-IoT-SDK only supports STA mode.

Hi,

Does anyone know how to upgrade from IDF 5.1.1 to at least 5.2? I’ve noticed significant changes related to TCP/IP between these versions.

I’ve been working on an HTTP client example, but it seems that either the SDK or IDF 5.1.1 mixes HTTP with OTA functions, which is causing errors.

for example this function morse its old, now its need 5 argument

/* Function to be called as part of the secondary initialization. See [System

Hi @Carlos,

Unfortunately the change to enable this hasn’t made it to a public release yet so you’ll need to modify the mm-iot-esp32 source yourself. There are two small changes to get mm-iot-esp32 working with the newer IDF versions.

In the in the idf_component.yml files you’ll need to update the idf version check from ==5.1.1 to something like. If you are using v5.2 you should just be able to get away with only this change but I haven’t tested that.

dependencies:
    idf:
        version: "^5.1.1"

In mm-iot-esp32/framework/mm_shims/mmosal_shim_freertos_esp32.c update with the following. This should allow you to use the latest version of the IDF.

/* Function to be called as part of the secondary initialization. See [System
 * Initialization](https://docs.espressif.com/projects/esp-idf/en/latest/esp32s3/api-guides/startup.html#system-initialization)
 * for more information. */
#if ESP_IDF_VERSION >= ESP_IDF_VERSION_VAL(5, 3, 0)
ESP_SYSTEM_INIT_FN(mmosal_dump_failure_info, SECONDARY, BIT(0), 999)
#else
ESP_SYSTEM_INIT_FN(mmosal_dump_failure_info, BIT(0), 999)
#endif
{
    if (preserved_failure_info.magic == ASSERT_INFO_MAGIC)
    {
        mmosal_dump_failure_info();
    }
    return ESP_OK;
}

1 Like

Thanks Rob, Great it’s working!

1 Like