From ff2c2b260d7487d833a4e3f24274a3233686ebd8 Mon Sep 17 00:00:00 2001 From: Ahmed Ismail Date: Thu, 22 Feb 2024 15:54:41 +0000 Subject: [PATCH] aws-device-advisor: Remove unused references The current plan is to support AWS Device Advisor validation on keyword-detection application only. Hence, removing all unused AWS Device Advisor Validation references. Signed-off-by: Ahmed Ismail --- applications/blinky/configs/app_config/app_config.h | 6 ------ .../blinky/configs/freertos_config/FreeRTOSConfig.h | 7 ++----- .../configs/app_config/app_config.h | 6 ------ .../configs/freertos_config/FreeRTOSConfig.h | 7 ++----- .../speech_recognition/configs/app_config/app_config.h | 7 ------- .../configs/freertos_config/FreeRTOSConfig.h | 7 ++----- docs/speech_recognition.md | 3 --- 7 files changed, 6 insertions(+), 37 deletions(-) diff --git a/applications/blinky/configs/app_config/app_config.h b/applications/blinky/configs/app_config/app_config.h index d57061b9..c065a100 100644 --- a/applications/blinky/configs/app_config/app_config.h +++ b/applications/blinky/configs/app_config/app_config.h @@ -37,9 +37,3 @@ #define appCONFIG_LOGGING_TASK_PRIORITY ( configMAX_PRIORITIES - 1 ) #define appCONFIG_LOGGING_TASK_STACK_SIZE ( 2048 ) #define appCONFIG_LOGGING_MESSAGE_QUEUE_LENGTH ( 32 ) - -/** @brief Increase backoff algorithm timeout by 8 seconds when device advisor - * test is active. - */ - -#define appCONFIG_DEVICE_ADVISOR_TEST_ACTIVE 0 diff --git a/applications/blinky/configs/freertos_config/FreeRTOSConfig.h b/applications/blinky/configs/freertos_config/FreeRTOSConfig.h index 9ba2f722..aa2829eb 100644 --- a/applications/blinky/configs/freertos_config/FreeRTOSConfig.h +++ b/applications/blinky/configs/freertos_config/FreeRTOSConfig.h @@ -169,11 +169,8 @@ void vLoggingPrintf( const char * pcFormat, /* Sets the length of the buffers into which logging messages are written - so * also defines the maximum length of each log message. */ -#if ( appCONFIG_DEVICE_ADVISOR_TEST_ACTIVE == 1 ) - #define configLOGGING_MAX_MESSAGE_LENGTH 20480 -#else - #define configLOGGING_MAX_MESSAGE_LENGTH 1024 -#endif +#define configLOGGING_MAX_MESSAGE_LENGTH 1024 + /* Prepend each log message with a message number, the task name and a time stamp. */ #define configLOGGING_INCLUDE_TIME_AND_TASK_NAME 1 diff --git a/applications/freertos_iot_libraries_tests/configs/app_config/app_config.h b/applications/freertos_iot_libraries_tests/configs/app_config/app_config.h index afc0fc93..736f4c71 100644 --- a/applications/freertos_iot_libraries_tests/configs/app_config/app_config.h +++ b/applications/freertos_iot_libraries_tests/configs/app_config/app_config.h @@ -28,9 +28,3 @@ #define appCONFIG_LOGGING_TASK_PRIORITY ( configMAX_PRIORITIES - 1 ) #define appCONFIG_LOGGING_TASK_STACK_SIZE ( 2048 ) #define appCONFIG_LOGGING_MESSAGE_QUEUE_LENGTH ( 32 ) - -/** @brief Increase backoff algorithm timeout by 8 seconds when device advisor - * test is active. - */ - -#define appCONFIG_DEVICE_ADVISOR_TEST_ACTIVE 0 diff --git a/applications/freertos_iot_libraries_tests/configs/freertos_config/FreeRTOSConfig.h b/applications/freertos_iot_libraries_tests/configs/freertos_config/FreeRTOSConfig.h index 58560c6d..f71a1933 100644 --- a/applications/freertos_iot_libraries_tests/configs/freertos_config/FreeRTOSConfig.h +++ b/applications/freertos_iot_libraries_tests/configs/freertos_config/FreeRTOSConfig.h @@ -169,11 +169,8 @@ void vLoggingPrintf( const char * pcFormat, /* Sets the length of the buffers into which logging messages are written - so * also defines the maximum length of each log message. */ -#if ( appCONFIG_DEVICE_ADVISOR_TEST_ACTIVE == 1 ) - #define configLOGGING_MAX_MESSAGE_LENGTH 20480 -#else - #define configLOGGING_MAX_MESSAGE_LENGTH 1024 -#endif +#define configLOGGING_MAX_MESSAGE_LENGTH 1024 + /* Prepend each log message with a message number, the task name and a time stamp. */ #define configLOGGING_INCLUDE_TIME_AND_TASK_NAME 1 diff --git a/applications/speech_recognition/configs/app_config/app_config.h b/applications/speech_recognition/configs/app_config/app_config.h index 91a3fb8a..47b3f139 100644 --- a/applications/speech_recognition/configs/app_config/app_config.h +++ b/applications/speech_recognition/configs/app_config/app_config.h @@ -50,10 +50,3 @@ #define appCONFIG_VSI_CALLBACK_TASK_STACK_SIZE ( configMINIMAL_STACK_SIZE ) #define appCONFIG_VSI_CALLBACK_TASK_PRIORITY ( tskIDLE_PRIORITY + 2 ) - - -/** @brief Increase backoff algorithm timeout by 8 seconds when device advisor - * test is active. - */ - -#define appCONFIG_DEVICE_ADVISOR_TEST_ACTIVE 0 diff --git a/applications/speech_recognition/configs/freertos_config/FreeRTOSConfig.h b/applications/speech_recognition/configs/freertos_config/FreeRTOSConfig.h index 9ba2f722..aa2829eb 100644 --- a/applications/speech_recognition/configs/freertos_config/FreeRTOSConfig.h +++ b/applications/speech_recognition/configs/freertos_config/FreeRTOSConfig.h @@ -169,11 +169,8 @@ void vLoggingPrintf( const char * pcFormat, /* Sets the length of the buffers into which logging messages are written - so * also defines the maximum length of each log message. */ -#if ( appCONFIG_DEVICE_ADVISOR_TEST_ACTIVE == 1 ) - #define configLOGGING_MAX_MESSAGE_LENGTH 20480 -#else - #define configLOGGING_MAX_MESSAGE_LENGTH 1024 -#endif +#define configLOGGING_MAX_MESSAGE_LENGTH 1024 + /* Prepend each log message with a message number, the task name and a time stamp. */ #define configLOGGING_INCLUDE_TIME_AND_TASK_NAME 1 diff --git a/docs/speech_recognition.md b/docs/speech_recognition.md index 310846ff..95497785 100644 --- a/docs/speech_recognition.md +++ b/docs/speech_recognition.md @@ -307,6 +307,3 @@ Creating an empty PS flash layout. 4 0 [None] FreeRTOS_AddEndPoint: MAC: 44-21 IPv4: c0a80069ip 5 34 [OTA Task ] [INFO] OTA over MQTT, Application version from appFirmwareVersion 0.0.20 ``` - -## Running AWS IoT Core Device Advisor tests -Follow the instructions descrived in [Running AWS IoT Core Device Advisor tests](./running_aws_iot_core_device_advisor_tests.md).