File tree Expand file tree Collapse file tree 3 files changed +4
-7
lines changed
components/FreeRTOS-Libraries-Integration-Tests
main/demo_tasks/ota_over_mqtt_demo Expand file tree Collapse file tree 3 files changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -7,9 +7,6 @@ include(${CMAKE_CURRENT_LIST_DIR}/FreeRTOS-Libraries-Integration-Tests/src/trans
77# This gives MQTT_TEST_SOURCES, and MQTT_TEST_INCLUDE_DIRS
88include (${CMAKE_CURRENT_LIST_DIR} /FreeRTOS-Libraries-Integration-Tests/src/mqtt_test.cmake)
99
10- # This gives OTA_PAL_TEST_SOURCES, and OTA_PAL_TEST_INCLUDE_DIRS
11- # include(${CMAKE_CURRENT_LIST_DIR}/FreeRTOS-Libraries-Integration-Tests/src/ota_pal_test.cmake)
12-
1310# This gives PKCS11_TEST_SOURCES, and PKCS11_TEST_INCLUDE_DIRS
1411include (${CMAKE_CURRENT_LIST_DIR} /FreeRTOS-Libraries-Integration-Tests/src/pkcs11_test.cmake)
1512
Original file line number Diff line number Diff line change @@ -228,7 +228,7 @@ static uint8_t currentFileId = 0;
228228static uint32_t totalBytesReceived = 0 ;
229229char globalJobId [ MAX_JOB_ID_LENGTH ] = { 0 };
230230
231- static OtaDataEvent_t dataBuffers [ otaconfigMAX_NUM_OTA_DATA_BUFFERS ] = { 0 };
231+ static OtaDataEvent_t dataBuffers [ otademoconfigMAX_NUM_OTA_DATA_BUFFERS ] = { 0 };
232232static OtaJobEventData_t jobDocBuffer = { 0 };
233233static AfrOtaJobDocumentFields_t jobFields = { 0 };
234234static uint8_t OtaImageSignatureDecoded [ OTA_MAX_SIGNATURE_SIZE ] = { 0 };
@@ -897,7 +897,7 @@ static uint16_t getFreeOTABuffers( void )
897897
898898 if ( xSemaphoreTake ( bufferSemaphore , portMAX_DELAY ) == pdTRUE )
899899 {
900- for ( ulIndex = 0 ; ulIndex < otaconfigMAX_NUM_OTA_DATA_BUFFERS ; ulIndex ++ )
900+ for ( ulIndex = 0 ; ulIndex < otademoconfigMAX_NUM_OTA_DATA_BUFFERS ; ulIndex ++ )
901901 {
902902 if ( dataBuffers [ ulIndex ].bufferUsed == false )
903903 {
@@ -939,7 +939,7 @@ static OtaDataEvent_t * getOtaDataEventBuffer( void )
939939
940940 if ( xSemaphoreTake ( bufferSemaphore , portMAX_DELAY ) == pdTRUE )
941941 {
942- for ( ulIndex = 0 ; ulIndex < otaconfigMAX_NUM_OTA_DATA_BUFFERS ; ulIndex ++ )
942+ for ( ulIndex = 0 ; ulIndex < otademoconfigMAX_NUM_OTA_DATA_BUFFERS ; ulIndex ++ )
943943 {
944944 if ( dataBuffers [ ulIndex ].bufferUsed == false )
945945 {
Original file line number Diff line number Diff line change 9292/**
9393 * @brief The number of OTA data buffer.
9494 */
95- #define otaconfigMAX_NUM_OTA_DATA_BUFFERS ( CONFIG_GRI_OTA_MAX_NUM_DATA_BUFFERS )
95+ #define otademoconfigMAX_NUM_OTA_DATA_BUFFERS ( CONFIG_GRI_OTA_MAX_NUM_DATA_BUFFERS )
9696
9797/**
9898 * @brief The version for the firmware which is running. OTA agent uses this
You can’t perform that action at this time.
0 commit comments