Hardware requirements:
The MCU-based development board on which the FreeRTOS AWS IoT libraries run must have:
- Ethernet, Wi-Fi, or cellular connectivity capability
Software requirements:
The Porting flowchart in the FreeRTOS Porting Guide identifies the required FreeRTOS AWS IoT libraries for any given MCU-based development board. The minimum subset is:
- FreeRTOS kernel
- coreMQTT
- AWS IoT Over-The-Air update (OTA)
Testing requirements:
- Verify the implementation of hardware platform specific APIs required by FreeRTOS libraries against the defined tests GitHub repository using AWS IoT Device Tester for FreeRTOS. See Verify the FreeRTOS libraries ported using AWS IoT Device Tester (IDT).
- Verify the interoperability with AWS IoT Core using Device Advisor. See .
-
Port the FreeRTOS libraries to your board. See the FreeRTOS Porting Guide for instructions.
-
Create a test project, and port the required tests from FreeRTOS-Libraries-Integration-Tests GitHub repository. Call the test runner task RunQualificationTest. Note
For a good developer experience, it is recommended to port the FreeRTOS libraries, and run corresponding individual test group locally using an IDE to verify the integration.
The test runner task runs in an individual test project, or in your demo application project. -
Create a
manifest.ymlfile to list all dependencies used in your qualifications. The dependencies include the FreeRTOS libraries, and test repositories. See FreeRTOS manifest file instructions for details. Note
Themanifest.ymlis used by IDT to find the required dependencies for integrity checks against specific FreeRTOS library versions, and to configure test project to build, flash and run the test binaries.
IDT does not mandate a specific project structure, and uses the reference path included in themanifest.ymlfile. -
Verify AWS IoT interoperability using Device Advisor.
-
Create a demo project that uses the same components including FreeRTOS libraries, porting, integration tasks like OTA used in the above testing.
For qualification, the demo application must provide the following features:
- Perform MQTT publish and subscribe to a topic.
- Perform OTA updates.
- Create a bootloader that supports OTA updates. Use your own bootloader or MCUBoot . See Labs-FreeRTOS-Plus-MCUBoot.
Note
The FreeRTOS GitHub repository has pre-configured examples demonstrating individual tasks. There is also an integrated coreMQTT Agent Demo that incorporates both coreMQTT and OTA tasks. Also, see FreeRTOS Featured IoT Integrations at Examples of qualification projects.
-
AWS IoT Device Tester will run your demo against AWS IoT Device Advisor. The following Device Advisor test cases are required for qualification.
Test cases
[See the AWS documentation website for more details]
-
-
Run the tests from AWS IoT Device Tester and generate a test report.
- IDT configure tests, and does a build and flash to your board automatically. To enable this, you must configure IDT to run the build and flash commands for your device in the
userdata.jsonfile. See Configure build, flash, and test settings in the IDT for FreeRTOS User Guide. - Provide device supported features in
device.jsonfile such as connectivity type, cryptography algorithm, key provisioning method for IDT to determine applicable tests to run. See Create a device pool in IDT for FreeRTOS in the IDT for FreeRTOS User Guide. - Create and configure your AWS account for IDT to create the required cloud resources. See Create and configure AWS account for IDT to create required cloud resources in the IDT for FreeRTOS User Guide.
- IDT configure tests, and does a build and flash to your board automatically. To enable this, you must configure IDT to run the build and flash commands for your device in the
-
Write a Getting Started Guide to run the MQTT or OTA demo project on your device. See Creating a getting started with FreeRTOS guide for your device for instructions.
-
Provide threat modeling document verifying that you mitigate the risks defined in the Threat Modeling for the AWS IoT device bootloader described in Porting the OTA library in the FreeRTOS Porting Guide. This document must be uploaded as a Supporting Asset when submitting your device in APN Partner Central.
-
Provide a public repository for code downloads. We recommend that you provide a corporate GitHub repository link.
- IDT test report.
- AWS IoT Device Advisor test report.
- Threat modeling document.
- GitHub repository with the source code for downloads.