Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 3 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,13 @@
This repository contains tests that verify an integration of FreeRTOS IoT libraries
running on a specific microcontroller-based development board for robustness and
compatibility with AWS’s published best practices for AWS IoT Core connectivity.
Refer to [FreeRTOS Porting Guide](https://docs.aws.amazon.com/freertos/latest/portingguide/afr-porting.html) for how to port FreeRTOS libraries and test your project.
The tests are used by [AWS IoT Device Tester](https://docs.aws.amazon.com/freertos/latest/userguide/device-tester-for-freertos-ug.html) (IDT)
as part of the [AWS Device Qualification for FreeRTOS](https://docs.aws.amazon.com/freertos/latest/qualificationguide/afr-qualification.html). The tests can also be run locally from your IDE to verify your project, but a test report from IDT is required for AWS Device Qualification.

### Tests

The following test groups are included in this repository:
1. Transport Interface Test validates the implementation of transport interface required by [coreMQTT](https://docs.aws.amazon.com/freertos/latest/portingguide/afr-porting-mqtt.html) and [coreHTTP](https://docs.aws.amazon.com/freertos/latest/portingguide/afr-porting-corehttp.html). The implementation can be plain text or TLS. See [Transport Interface Test](/src/transport_interface) for details.
2. PKCS11 Test validates the implementation of PKCS11 interface required by [corePKCS11](https://docs.aws.amazon.com/freertos/latest/portingguide/afr-porting-pkcs.html).See [PKCS11 Test](/src/pkcs11) for details.
3. OTA Test validates the implementation of Physical Abstract Layer for [Over-the-Air Updates](https://docs.aws.amazon.com/freertos/latest/portingguide/afr-porting-ota.html). See [OTA Test](/src/ota) for details.
4. MQTT Test validates the integration with coreMQTT library.
3. MQTT Test validates the integration with coreMQTT library.


### Folder Structure
Expand All @@ -24,7 +20,6 @@ The folder inside the repository is organized as follows:
├── src
│   ├── common
| |── mqtt
| |── ota
| |── pkcs11
│   └── transport_interface
└── tools
Expand Down Expand Up @@ -71,6 +66,8 @@ If testing using the [FreeRTOS-LTS](https://github.com/FreeRTOS/FreeRTOS-LTS) re
| [202012.04-LTS](https://github.com/FreeRTOS/FreeRTOS-LTS/tree/202012.04-LTS) | [202205.01](https://github.com/FreeRTOS/FreeRTOS-Libraries-Integration-Tests/tree/202205.01) |
| [202012.05-LTS](https://github.com/FreeRTOS/FreeRTOS-LTS/tree/202012.05-LTS) | [202205.01](https://github.com/FreeRTOS/FreeRTOS-Libraries-Integration-Tests/tree/202205.01) |
| [202210.00-LTS](https://github.com/FreeRTOS/FreeRTOS-LTS/tree/202210.00-LTS) | [202210.00](https://github.com/FreeRTOS/FreeRTOS-Libraries-Integration-Tests/tree/202210.00) |
| [202210.01-LTS](https://github.com/FreeRTOS/FreeRTOS-LTS/tree/202210.01-LTS) | [202210.01](https://github.com/FreeRTOS/FreeRTOS-Libraries-Integration-Tests/tree/202210.01) |
| [202406.00-LTS](https://github.com/FreeRTOS/FreeRTOS-LTS/tree/202406.00-LTS) | [202406.00](https://github.com/FreeRTOS/FreeRTOS-Libraries-Integration-Tests/tree/202406.00) |

4. Checkout the version of this repository needed with the following command:
```
Expand Down
12 changes: 0 additions & 12 deletions config_template/test_execution_config_template.h
Original file line number Diff line number Diff line change
Expand Up @@ -46,18 +46,6 @@
* #define TRANSPORT_INTERFACE_TEST_ENABLED (0)
*/

/**
* @brief Configuration to enable the OTA PAL test.
*
* #define OTA_PAL_TEST_ENABLED (0)
*/

/**
* @brief Configuration to enable the OTA End-to-end test.
*
* #define OTA_E2E_TEST_ENABLED (0)
*/

/**
* @brief Configuration to enable the corePKCS11 test.
*
Expand Down
65 changes: 0 additions & 65 deletions config_template/test_param_config_template.h
Original file line number Diff line number Diff line change
Expand Up @@ -156,46 +156,6 @@
* #define TRANSPORT_CLIENT_PRIVATE_KEY NULL
*/

/**
* @brief Microseconds to delay the start of test.
*
* @note This configuration is optional. Default is 5000.
*
* #define TEST_START_DELAY_MS 5000
*/

#define OTA_RSA_SHA1 1
#define OTA_RSA_SHA256 2
#define OTA_ECDSA_SHA256 3
/**
* @brief Certificate type for OTA PAL test.
* Valid options are: OTA_RSA_SHA1, OTA_RSA_SHA256, OTA_ECDSA_SHA256.
*
* #define OTA_PAL_TEST_CERT_TYPE OTA_ECDSA_SHA256
*/

/**
* @brief Path to cert for OTA test PAL. Used to verify signature.
* If applicable, the device must be pre-provisioned with this certificate. Please see
* test/common/ota/test_files for the set of certificates.
*
* #define OTA_PAL_CERTIFICATE_FILE "ecdsa-sha256-signer.crt.pem"
*/

/**
* @brief Some devices have a hard-coded name for the firmware image to boot.
*
* #define OTA_PAL_FIRMWARE_FILE "dummy.bin"
*/

/**
* @brief Some boards OTA PAL layers will use the file names passed into it for the
* image and the certificates because their non-volatile memory is abstracted by a
* file system. Set this to 1 if that is the case for your device.
*
* #define OTA_PAL_USE_FILE_SYSTEM 0
*/

/**
* @brief The PKCS #11 supports RSA key function.
*
Expand Down Expand Up @@ -303,29 +263,4 @@
* #define PKCS11_TEST_LABEL_ROOT_CERTIFICATE pkcs11configLABEL_ROOT_CERTIFICATE
*/

/**
* @brief The IoT Thing name for the device for OTA test.
*
* #define IOT_THING_NAME "PLACE_HOLDER"
*/

/**
* @brief Major version for OTA E2E test.
*
* #define OTA_APP_VERSION_MAJOR 0
*/

/**
* @brief Major version for OTA E2E test.
*
* #define OTA_APP_VERSION_MINOR 9
*/

/**
* @brief Major version for OTA E2E test.
*
* #define OTA_APP_VERSION_BUILD 1
*/


#endif /* TEST_PARAM_CONFIG_H */
85 changes: 0 additions & 85 deletions src/ota/README.md

This file was deleted.

69 changes: 0 additions & 69 deletions src/ota/aws_test_ota_pal_ecdsa_sha256_signature.h

This file was deleted.

Loading