esp-aws-iot
esp-aws-iot copied to clipboard
Request OTA example compatibility for ESP32-C3 (CA-196)
Expected Behavior
The OTA MQTT example is expected to build for esp32-c3 target.
Current Behavior
Building the example fails because /port/ota/aws_esp_ota_ops.c
includes a header which the esp32-c3 does not have.
Steps to Reproduce
- Clone repository and go to
examples/ota/ota_mqtt
- Switch target using
idf.py set-target esp32c3
- Try to build the taget
idf.py build
- The build fails with an error
..../esp-aws-iot/port/ota/aws_esp_ota_ops.c:37:10: fatal error: soc/dport_reg.h: No such file or directory
#include "soc/dport_reg.h"
Context (Environment)
ESP-IDF version 4.3.2
Hi @iceananas, thank you for reporting this. Please try the attached patch. c3-compatibility.txt It will be fixed in the port shortly.
Well that was fast :) I can confirm that the example builds with the patch. Thanks!