From 1e3ae7868040e66e2f57fb05b5aa6d959cadfcf0 Mon Sep 17 00:00:00 2001 From: Joshua Yan <52796499+yanjos-dev@users.noreply.github.com> Date: Mon, 27 Jul 2020 17:04:46 -0700 Subject: [PATCH] Add OTA port for rx65n-rsk to CMake files (#2315) * Update the rx65n-rsk CMake files to include a port for the OTA library --- .../rx_mcu_boards/boards/rx65n-rsk/CMakeLists.txt | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/vendors/renesas/rx_mcu_boards/boards/rx65n-rsk/CMakeLists.txt b/vendors/renesas/rx_mcu_boards/boards/rx65n-rsk/CMakeLists.txt index 5fa3f67069d..0860c12635e 100644 --- a/vendors/renesas/rx_mcu_boards/boards/rx65n-rsk/CMakeLists.txt +++ b/vendors/renesas/rx_mcu_boards/boards/rx65n-rsk/CMakeLists.txt @@ -239,6 +239,21 @@ target_link_libraries( INTERFACE AFR::secure_sockets_freertos_plus_tcp ) +# OTA +afr_mcu_port(ota) +target_sources( + AFR::ota::mcu_port + INTERFACE "${rx65nrsk_ports_dir}/ota/aws_ota_pal.c" +) +target_link_libraries( + AFR::ota::mcu_port + INTERFACE + AFR::crypto + AFR::pkcs11 + AFR::ota_mqtt + AFR::ota_http +) + # ------------------------------------------------------------------------------------------------- # FreeRTOS demos and tests # -------------------------------------------------------------------------------------------------