From 79b0c9178dd35f95dfd2e0f571094029fc3c580c Mon Sep 17 00:00:00 2001 From: lienng_aws <66034203+LienNguyen2910@users.noreply.github.com> Date: Tue, 30 Aug 2022 19:01:39 -0700 Subject: [PATCH] Clarify the requirement and usage of pageSize --- src/ota/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ota/README.md b/src/ota/README.md index 0631963..db25055 100644 --- a/src/ota/README.md +++ b/src/ota/README.md @@ -69,7 +69,7 @@ typedef struct OtaPalTestParam void SetupOtaPalTestParam( OtaPalTestParam_t * pTestParam ); ``` - +The pageSize parameter is expected to be multiples of flash page size. The tests will handle page size alignment and OTA PAL implementation is not expected to handle page alignment explicitly. This is to align with [OTA platform interface specification](https://github.com/aws/ota-for-aws-iot-embedded-sdk/blob/1cd22fbe9cca9046c54bacbb2279098eccae13c2/source/include/ota_platform_interface.h#L213). ## 5. Running OTA PAL Test