This repository has been archived by the owner on Dec 8, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
cb09733
commit ea766b4
Showing
8 changed files
with
165 additions
and
66 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
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
Submodule azure-iot-middleware-freertos
added at
d99a55
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
46 changes: 46 additions & 0 deletions
46
vendors/st/boards/stm32l475_discovery/aws_demos/config_files/azure_iot_config.h
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,46 @@ | ||
/* Copyright (c) Microsoft Corporation. | ||
Licensed under the MIT License. */ | ||
|
||
#ifndef AZURE_IOT_CONFIG_H | ||
#define AZURE_IOT_CONFIG_H | ||
|
||
|
||
/**************************************************/ | ||
/******* DO NOT CHANGE the following order ********/ | ||
/**************************************************/ | ||
|
||
/* Include logging header files and define logging macros in the following order: | ||
* 1. Include the header file "logging_levels.h". | ||
* 2. Define the LIBRARY_LOG_NAME and LIBRARY_LOG_LEVEL macros depending on | ||
* the logging configuration for AzureIoT middleware. | ||
* 3. Include the header file "logging_stack.h", if logging is enabled for AzureIoT middleware. | ||
*/ | ||
|
||
#include "logging_levels.h" | ||
|
||
/* Logging configuration for the AzureIoT middleware library. */ | ||
#ifndef LIBRARY_LOG_NAME | ||
#define LIBRARY_LOG_NAME "AZ IOT" | ||
#endif | ||
|
||
#ifndef LIBRARY_LOG_LEVEL | ||
#define LIBRARY_LOG_LEVEL LOG_INFO | ||
#endif | ||
|
||
/* Prototype for the function used to print to console on Windows simulator | ||
* of FreeRTOS. | ||
* The function prints to the console before the network is connected; | ||
* then a UDP port after the network has connected. */ | ||
extern void vLoggingPrintf( const char * pcFormatString, | ||
... ); | ||
|
||
/* Map the SdkLog macro to the logging function to enable logging | ||
* on Windows simulator. */ | ||
#ifndef SdkLog | ||
#define SdkLog( message ) vLoggingPrintf message | ||
#endif | ||
|
||
#include "logging_stack.h" | ||
/************ End of logging configuration ****************/ | ||
|
||
#endif /* AZURE_IOT_CONFIG_H */ |
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