File tree Expand file tree Collapse file tree 3 files changed +6
-9
lines changed
STMicroelectronics/STM32L4_L4+/app Expand file tree Collapse file tree 3 files changed +6
-9
lines changed Original file line number Diff line number Diff line change 19
19
#include "azure_device_x509_cert_config.h"
20
20
#include "azure_pnp_info.h"
21
21
22
- #define TELEMETRY_SCRATCH_BUFFER_SIZE 128
23
- #define CALLBACK_SCRATCH_BUFFER_SIZE 128
24
-
25
22
#define IOT_MODEL_ID "dtmi:azurertos:devkit:gsg;2"
26
23
27
24
#define TELEMETRY_TEMPERATURE "temperature"
Original file line number Diff line number Diff line change @@ -48,15 +48,15 @@ set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
48
48
set (CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY )
49
49
set (CMAKE_FIND_ROOT_PATH_MODE_PACKAGE ONLY )
50
50
51
- set (CMAKE_COMMON_FLAGS "--specs=nano.specs -ffunction-sections -fdata-sections -fno-strict-aliasing -fno-builtin -fshort-enums -Wall -Wextra -Wuninitialized -Wshadow -Wdouble-promotion -Werror -Wno-unused-parameter" )
51
+ set (CMAKE_COMMON_FLAGS "-g3 - -specs=nano.specs -ffunction-sections -fdata-sections -fno-strict-aliasing -fno-builtin -fshort-enums -Wall -Wextra -Wuninitialized -Wshadow -Wdouble-promotion -Werror -Wno-unused-parameter" )
52
52
set (CMAKE_C_FLAGS "${MCPU_FLAGS} ${VFP_FLAGS} ${CMAKE_COMMON_FLAGS} " )
53
53
set (CMAKE_CXX_FLAGS "${MCPU_FLAGS} ${VFP_FLAGS} ${CMAKE_COMMON_FLAGS} " )
54
54
set (CMAKE_ASM_FLAGS "${MCPU_FLAGS} ${VFP_FLAGS} " )
55
55
set (CMAKE_EXE_LINKER_FLAGS "${LD_FLAGS} -fno-common -Wl,--gc-sections,-print-memory-usage" )
56
56
57
- set (CMAKE_C_FLAGS_DEBUG "-O0 -g3 " )
58
- set (CMAKE_CXX_ASM_FLAGS_DEBUG "-O0 -g3 " )
59
- set (CMAKE_ASM_FLAGS_DEBUG "-g3 " )
57
+ set (CMAKE_C_FLAGS_DEBUG "-O0" )
58
+ set (CMAKE_CXX_ASM_FLAGS_DEBUG "-O0" )
59
+ set (CMAKE_ASM_FLAGS_DEBUG "" )
60
60
61
61
set (CMAKE_C_FLAGS_RELEASE "-Os" )
62
62
set (CMAKE_CXX_FLAGS_RELEASE "-Os" )
Original file line number Diff line number Diff line change @@ -319,7 +319,7 @@ static VOID process_writable_properties(AZURE_IOT_NX_CONTEXT* nx_context)
319
319
320
320
static VOID event_thread (ULONG parameter )
321
321
{
322
- ULONG app_events ;
322
+ ULONG app_events = 0 ;
323
323
324
324
AZURE_IOT_NX_CONTEXT * context = (AZURE_IOT_NX_CONTEXT * )parameter ;
325
325
@@ -800,7 +800,7 @@ UINT azure_iot_nx_client_disconnect(AZURE_IOT_NX_CONTEXT* context)
800
800
UINT azure_iot_nx_client_properties_request_and_wait (AZURE_IOT_NX_CONTEXT * context )
801
801
{
802
802
UINT status ;
803
- ULONG app_events ;
803
+ ULONG app_events = 0 ;
804
804
805
805
// Request the properties
806
806
if ((status = nx_azure_iot_hub_client_properties_request (& context -> iothub_client , NX_WAIT_FOREVER )))
You can’t perform that action at this time.
0 commit comments