Skip to content

Commit 0a0a921

Browse files
authored
Remove OTA E2E and OTA PAL test for LTS 202406 release (#72)
* Update information for LTS 202406 release * Remove OTA_PAL and OTA_E2E test
1 parent 692d509 commit 0a0a921

16 files changed

+3
-1243
lines changed

README.md

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,13 @@
44
This repository contains tests that verify an integration of FreeRTOS IoT libraries
55
running on a specific microcontroller-based development board for robustness and
66
compatibility with AWS’s published best practices for AWS IoT Core connectivity.
7-
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.
8-
The tests are used by [AWS IoT Device Tester](https://docs.aws.amazon.com/freertos/latest/userguide/device-tester-for-freertos-ug.html) (IDT)
9-
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.
107

118
### Tests
129

1310
The following test groups are included in this repository:
1411
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.
1512
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.
16-
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.
17-
4. MQTT Test validates the integration with coreMQTT library.
13+
3. MQTT Test validates the integration with coreMQTT library.
1814

1915

2016
### Folder Structure
@@ -24,7 +20,6 @@ The folder inside the repository is organized as follows:
2420
├── src
2521
│   ├── common
2622
| |── mqtt
27-
| |── ota
2823
| |── pkcs11
2924
│   └── transport_interface
3025
└── tools
@@ -71,6 +66,8 @@ If testing using the [FreeRTOS-LTS](https://github.com/FreeRTOS/FreeRTOS-LTS) re
7166
| [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) |
7267
| [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) |
7368
| [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) |
69+
| [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) |
70+
| [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) |
7471

7572
4. Checkout the version of this repository needed with the following command:
7673
```

config_template/test_execution_config_template.h

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -46,18 +46,6 @@
4646
* #define TRANSPORT_INTERFACE_TEST_ENABLED (0)
4747
*/
4848

49-
/**
50-
* @brief Configuration to enable the OTA PAL test.
51-
*
52-
* #define OTA_PAL_TEST_ENABLED (0)
53-
*/
54-
55-
/**
56-
* @brief Configuration to enable the OTA End-to-end test.
57-
*
58-
* #define OTA_E2E_TEST_ENABLED (0)
59-
*/
60-
6149
/**
6250
* @brief Configuration to enable the corePKCS11 test.
6351
*

config_template/test_param_config_template.h

Lines changed: 0 additions & 65 deletions
Original file line numberDiff line numberDiff line change
@@ -156,46 +156,6 @@
156156
* #define TRANSPORT_CLIENT_PRIVATE_KEY NULL
157157
*/
158158

159-
/**
160-
* @brief Microseconds to delay the start of test.
161-
*
162-
* @note This configuration is optional. Default is 5000.
163-
*
164-
* #define TEST_START_DELAY_MS 5000
165-
*/
166-
167-
#define OTA_RSA_SHA1 1
168-
#define OTA_RSA_SHA256 2
169-
#define OTA_ECDSA_SHA256 3
170-
/**
171-
* @brief Certificate type for OTA PAL test.
172-
* Valid options are: OTA_RSA_SHA1, OTA_RSA_SHA256, OTA_ECDSA_SHA256.
173-
*
174-
* #define OTA_PAL_TEST_CERT_TYPE OTA_ECDSA_SHA256
175-
*/
176-
177-
/**
178-
* @brief Path to cert for OTA test PAL. Used to verify signature.
179-
* If applicable, the device must be pre-provisioned with this certificate. Please see
180-
* test/common/ota/test_files for the set of certificates.
181-
*
182-
* #define OTA_PAL_CERTIFICATE_FILE "ecdsa-sha256-signer.crt.pem"
183-
*/
184-
185-
/**
186-
* @brief Some devices have a hard-coded name for the firmware image to boot.
187-
*
188-
* #define OTA_PAL_FIRMWARE_FILE "dummy.bin"
189-
*/
190-
191-
/**
192-
* @brief Some boards OTA PAL layers will use the file names passed into it for the
193-
* image and the certificates because their non-volatile memory is abstracted by a
194-
* file system. Set this to 1 if that is the case for your device.
195-
*
196-
* #define OTA_PAL_USE_FILE_SYSTEM 0
197-
*/
198-
199159
/**
200160
* @brief The PKCS #11 supports RSA key function.
201161
*
@@ -303,29 +263,4 @@
303263
* #define PKCS11_TEST_LABEL_ROOT_CERTIFICATE pkcs11configLABEL_ROOT_CERTIFICATE
304264
*/
305265

306-
/**
307-
* @brief The IoT Thing name for the device for OTA test.
308-
*
309-
* #define IOT_THING_NAME "PLACE_HOLDER"
310-
*/
311-
312-
/**
313-
* @brief Major version for OTA E2E test.
314-
*
315-
* #define OTA_APP_VERSION_MAJOR 0
316-
*/
317-
318-
/**
319-
* @brief Major version for OTA E2E test.
320-
*
321-
* #define OTA_APP_VERSION_MINOR 9
322-
*/
323-
324-
/**
325-
* @brief Major version for OTA E2E test.
326-
*
327-
* #define OTA_APP_VERSION_BUILD 1
328-
*/
329-
330-
331266
#endif /* TEST_PARAM_CONFIG_H */

src/ota/README.md

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

src/ota/aws_test_ota_pal_ecdsa_sha256_signature.h

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

0 commit comments

Comments
 (0)