From e3d9edc51449155c6909bdddb31a2e3d8a3ddfc4 Mon Sep 17 00:00:00 2001 From: lienng_aws <66034203+LienNguyen2910@users.noreply.github.com> Date: Thu, 22 Sep 2022 17:42:48 -0700 Subject: [PATCH] Clarify the requirement and usage of pageSize (#48) --- 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