From ced1845508cb30f9c5a76bf648b148f0d4e08d82 Mon Sep 17 00:00:00 2001 From: Archit Gupta <71798289+archigup@users.noreply.github.com> Date: Mon, 23 Nov 2020 16:57:44 -0800 Subject: [PATCH] Fix missing includes in defender demo (#418) report_builder.c was missing FreeRTOS includes. Additionally fixes root CA comments in AWS demos. --- .../Device_Defender_Demo/demo_config.h | 1 + .../Device_Defender_Demo/report_builder.c | 4 ++++ .../Device_Shadow_Demo/demo_config.h | 7 ++++--- .../AWS/Jobs_Windows_Simulator/Jobs_Demo/demo_config.h | 7 ++++--- 4 files changed, 13 insertions(+), 6 deletions(-) diff --git a/FreeRTOS-Plus/Demo/AWS/Device_Defender_Windows_Simulator/Device_Defender_Demo/demo_config.h b/FreeRTOS-Plus/Demo/AWS/Device_Defender_Windows_Simulator/Device_Defender_Demo/demo_config.h index 303470b09c..6b7acd0f6c 100644 --- a/FreeRTOS-Plus/Demo/AWS/Device_Defender_Windows_Simulator/Device_Defender_Demo/demo_config.h +++ b/FreeRTOS-Plus/Demo/AWS/Device_Defender_Windows_Simulator/Device_Defender_Demo/demo_config.h @@ -133,6 +133,7 @@ extern void vLoggingPrintf( const char * pcFormatString, * "...base64 data...\n"\ * "-----END CERTIFICATE-----\n" * + * #define democonfigROOT_CA_PEM "...insert here..." */ /** diff --git a/FreeRTOS-Plus/Demo/AWS/Device_Defender_Windows_Simulator/Device_Defender_Demo/report_builder.c b/FreeRTOS-Plus/Demo/AWS/Device_Defender_Windows_Simulator/Device_Defender_Demo/report_builder.c index b4a05b07ca..fe82220071 100644 --- a/FreeRTOS-Plus/Demo/AWS/Device_Defender_Windows_Simulator/Device_Defender_Demo/report_builder.c +++ b/FreeRTOS-Plus/Demo/AWS/Device_Defender_Windows_Simulator/Device_Defender_Demo/report_builder.c @@ -29,6 +29,10 @@ #include #include +/* Kernel includes. */ +#include "FreeRTOS.h" +#include "task.h" + /* Demo config. */ #include "demo_config.h" diff --git a/FreeRTOS-Plus/Demo/AWS/Device_Shadow_Windows_Simulator/Device_Shadow_Demo/demo_config.h b/FreeRTOS-Plus/Demo/AWS/Device_Shadow_Windows_Simulator/Device_Shadow_Demo/demo_config.h index 7d47ffd8fb..190b0aa9ea 100644 --- a/FreeRTOS-Plus/Demo/AWS/Device_Shadow_Windows_Simulator/Device_Shadow_Demo/demo_config.h +++ b/FreeRTOS-Plus/Demo/AWS/Device_Shadow_Windows_Simulator/Device_Shadow_Demo/demo_config.h @@ -1,5 +1,5 @@ /* - * FreeRTOS Kernel V10.3.0 + * FreeRTOS V202011.00 * Copyright (C) 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Permission is hereby granted, free of charge, to any person obtaining a copy of @@ -19,8 +19,8 @@ * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. * - * http://www.FreeRTOS.org - * http://aws.amazon.com/freertos + * https://www.FreeRTOS.org + * https://github.com/FreeRTOS * */ @@ -132,6 +132,7 @@ extern void vLoggingPrintf( const char * pcFormatString, * "...base64 data...\n"\ * "-----END CERTIFICATE-----\n" * + * #define democonfigROOT_CA_PEM "...insert here..." */ /** diff --git a/FreeRTOS-Plus/Demo/AWS/Jobs_Windows_Simulator/Jobs_Demo/demo_config.h b/FreeRTOS-Plus/Demo/AWS/Jobs_Windows_Simulator/Jobs_Demo/demo_config.h index 696344421c..be265ed9f0 100644 --- a/FreeRTOS-Plus/Demo/AWS/Jobs_Windows_Simulator/Jobs_Demo/demo_config.h +++ b/FreeRTOS-Plus/Demo/AWS/Jobs_Windows_Simulator/Jobs_Demo/demo_config.h @@ -1,5 +1,5 @@ /* - * FreeRTOS Kernel V10.3.0 + * FreeRTOS V202011.00 * Copyright (C) 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Permission is hereby granted, free of charge, to any person obtaining a copy of @@ -19,8 +19,8 @@ * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. * - * http://www.FreeRTOS.org - * http://aws.amazon.com/freertos + * https://www.FreeRTOS.org + * https://github.com/FreeRTOS * */ @@ -125,6 +125,7 @@ extern void vLoggingPrintf( const char * pcFormatString, * "...base64 data...\n"\ * "-----END CERTIFICATE-----\n" * + * #define democonfigROOT_CA_PEM "...insert here..." */ /**