Skip to content

Commit 25b1075

Browse files
components: Add patch for FreeRTOS OTA PAL PSA
Add a patch for FreeRTOS OTA PAL PSA to allow it to work with the new modular OTA structure. This patch does the following: - Update header includes to remove headers from the old ota-for-aws-iot-embedded-sdk library, replace these with headers from the new Jobs-for-AWS-IoT-embedded-sdk library - Remove usage of data structures from ota-for-aws-iot-embedded-sdk library, replace these with data structures from Jobs-for-AWS-IoT-embedded-sdk library. Signed-off-by: Chuyue Luo <[email protected]>
1 parent ab09714 commit 25b1075

File tree

3 files changed

+769
-0
lines changed

3 files changed

+769
-0
lines changed

components/security/freertos_ota_pal_psa/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ if(CMAKE_CROSSCOMPILING)
1414
set(PATCH_FILES_DIRECTORY "${CMAKE_CURRENT_LIST_DIR}/integration/patches")
1515
set(PATCH_FILES
1616
"${PATCH_FILES_DIRECTORY}/0001-ota-abort-Fix-successful-abortion-check.patch"
17+
"${PATCH_FILES_DIRECTORY}/0002-Update-FreeRTOS-OTA-PAL-PSA-to-work-with-new-modular.patch"
1718
)
1819
iot_reference_arm_corstone3xx_apply_patches("${freertos_ota_pal_psa_SOURCE_DIR}" "${PATCH_FILES}")
1920

components/security/freertos_ota_pal_psa/integration/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,6 @@ target_link_libraries(freertos-ota-pal-psa
3434
freertos_kernel
3535
helpers-logging
3636
mbedtls
37+
jobs-for-aws-iot-embedded-sdk
38+
ota-update
3739
)

0 commit comments

Comments
 (0)