Skip to content

Commit 6bec3de

Browse files
authored
Merge pull request #20 from dhavalgujar/main
Updated esp_secure_cert_mgr and IDF v5.0 support
2 parents a897aad + dbe1191 commit 6bec3de

File tree

26 files changed

+268
-678
lines changed

26 files changed

+268
-678
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@ build/
22
**/.DS_Store
33
main/certs/
44
esp_ds_data/
5+
managed_components/

README.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,16 @@
1-
# Featured FreeRTOS IoT Integration on ESP32-C3 RISC-V MCU
1+
# Featured FreeRTOS IoT Integration on Espressif SoCs
22

33
## Introduction
44

5-
This repository contains a project that demonstrates how to integrate FreeRTOS modular software libraries with the hardware capabilities of the [ESP32-C3 RISC-V MCU](https://www.espressif.com/en/products/socs/esp32-c3) and the enhanced security capabilities provided by its [Digital Signature (DS) peripheral](https://docs.espressif.com/projects/esp-idf/en/latest/esp32c3/api-reference/peripherals/ds.html) and [Secure Boot V2](https://docs.espressif.com/projects/esp-idf/en/latest/esp32c3/security/secure-boot-v2.html). The project contains reference implementations that demonstrate IoT application tasks that run concurrently and communicate with enhanced security with [AWS IoT](https://aws.amazon.com/iot-core/). The implementation also shows how to perform over-the-air firmware updates that use the [AWS IoT OTA service](https://docs.aws.amazon.com/freertos/latest/userguide/freertos-ota-dev.html) and the secure bootloader capabilities of Secure Boot V2. The reference implementation runs on the [ESP32-C3-DevKitM-1](https://docs.espressif.com/projects/esp-idf/en/latest/esp32c3/hw-reference/esp32c3/user-guide-devkitm-1.html) IoT development board.
5+
This repository contains a project that demonstrates how to integrate FreeRTOS modular software libraries with the hardware capabilities of [Espressif SoCs](https://www.espressif.com/en/products/socs/) and the enhanced security capabilities.
6+
The project contains reference implementations that demonstrate IoT application tasks that run concurrently and communicate with enhanced security with [AWS IoT](https://aws.amazon.com/iot-core/). The implementation also shows how to perform over-the-air firmware updates that use the [AWS IoT OTA service](https://docs.aws.amazon.com/freertos/latest/userguide/freertos-ota-dev.html) and the secure bootloader capabilities of Secure Boot V2.
67

7-
See the [Featured IoT Reference Integration page for the ESP32-C3](https://www.freertos.org/featured-freertos-iot-integration-targeting-an-espressif-esp32-c3-risc-v-mcu) on FreeRTOS.org for more details about the DS peripheral, Secure Boot and OTA.
8+
The reference implementation is tested to run on the following IoT development boards:
9+
1. ESP32
10+
2. ESP32-C3
11+
3. ESP32-S3
12+
13+
See the [Featured IoT Reference Integration page](https://www.freertos.org/featured-freertos-iot-integration-targeting-an-espressif-esp32-c3-risc-v-mcu) on FreeRTOS.org for more details about the DS peripheral, Secure Boot and OTA.
814

915
## Cloning the Repository
1016

components/FreeRTOS-Libraries-Integration-Tests/port/platform_function.c

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,15 @@
88
#include "freertos/semphr.h"
99
#include "esp_log.h"
1010
#include <esp_err.h>
11+
#include <inttypes.h>
1112

1213
/* Random number generator include. */
14+
#if ESP_IDF_VERSION >= ESP_IDF_VERSION_VAL(5, 0, 0)
1315
#include "esp_random.h"
16+
#else
17+
#include "esp_system.h"
18+
#endif
19+
1420

1521
#define TEST_RESULT_BUFFER_CAPACITY 2048
1622

@@ -98,7 +104,7 @@ int FRTest_ThreadTimedJoin( FRTestThreadHandle_t threadHandle,
98104

99105
if( xReturned != pdTRUE )
100106
{
101-
ESP_LOGW( TAG, "Waiting thread exist failed after %u %d. Task abort.", timeoutMs, xReturned );
107+
ESP_LOGW( TAG, "Waiting thread exist failed after %"PRIu32" %d. Task abort.", timeoutMs, xReturned );
102108

103109
/* Return negative value to indicate error. */
104110
retValue = -1;

components/esp-aws-iot

Submodule esp-aws-iot updated 97 files

components/esp_secure_cert_mgr

Submodule esp_secure_cert_mgr deleted from 78ec227

components/ws2812_led/CMakeLists.txt

Lines changed: 0 additions & 9 deletions
This file was deleted.

components/ws2812_led/Kconfig

Lines changed: 0 additions & 19 deletions
This file was deleted.

components/ws2812_led/component.mk

Lines changed: 0 additions & 5 deletions
This file was deleted.

components/ws2812_led/led_strip.h

Lines changed: 0 additions & 126 deletions
This file was deleted.

components/ws2812_led/led_strip_rmt_ws2812.c

Lines changed: 0 additions & 171 deletions
This file was deleted.

0 commit comments

Comments
 (0)