-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
keyword-detection: Add AWS Device Advisor validation
This addition is used to validate that the applications's software conforms with TLS, MQTT, Device Shadow, and IoT Jobs best practices. Signed-off-by: Ahmed Ismail <[email protected]>
- Loading branch information
1 parent
5a2b34f
commit 30edf72
Showing
5 changed files
with
30 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
/* Copyright 2023 Arm Limited and/or its affiliates | ||
/* Copyright 2023-2024 Arm Limited and/or its affiliates | ||
* <[email protected]> | ||
* SPDX-License-Identifier: MIT | ||
*/ | ||
|
@@ -12,6 +12,7 @@ | |
|
||
#include "app_config.h" | ||
#include "aws_clientcredential.h" | ||
#include "aws_device_advisor_task.h" | ||
#include "blink_task.h" | ||
#include "dev_mode_key_provisioning.h" | ||
#include "events.h" | ||
|
@@ -87,7 +88,9 @@ void vOtaActiveHook( void ) | |
|
||
void vOtaNotActiveHook( void ) | ||
{ | ||
vMlTaskInferenceStart(); | ||
#if ( appCONFIG_DEVICE_ADVISOR_TEST_ACTIVE == 0 ) | ||
vMlTaskInferenceStart(); | ||
#endif | ||
} | ||
|
||
void vAssertCalled( const char * pcFile, | ||
|
@@ -207,24 +210,30 @@ int main( void ) | |
return EXIT_FAILURE; | ||
} | ||
|
||
vStartMlMqttTask(); | ||
|
||
vStartMqttAgentTask(); | ||
|
||
vStartOtaTask(); | ||
|
||
#if ( appCONFIG_DEVICE_ADVISOR_TEST_ACTIVE == 1 ) | ||
vStartDeviceAdvisorTask(); | ||
#else | ||
vStartMlMqttTask(); | ||
#endif | ||
} | ||
else | ||
{ | ||
vMlTaskInferenceStart(); | ||
} | ||
|
||
vStartBlinkTask(); | ||
#if ( appCONFIG_DEVICE_ADVISOR_TEST_ACTIVE == 0 ) | ||
vStartBlinkTask(); | ||
|
||
#ifdef AUDIO_VSI | ||
prvStartVsiCallbackTask(); | ||
#endif | ||
#ifdef AUDIO_VSI | ||
prvStartVsiCallbackTask(); | ||
#endif | ||
|
||
vStartMlTask(); | ||
vStartMlTask(); | ||
#endif | ||
|
||
vTaskStartScheduler(); | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
aws-iot-example: Remove example. | ||
ci: Build ML apps in Github Actions | ||
keyword-detection: Add AWS Device Advisor validation. |