File tree 2 files changed +9
-3
lines changed
2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 34
34
35
35
36
36
#include "logging_levels.h"
37
- /* define LOG_LEVEL here if you want to modify the logging level from the default */
37
+ /* Logging configuration for the OTA PAL library. */
38
+ #ifndef LIBRARY_LOG_NAME
39
+ #define LIBRARY_LOG_NAME "OTA_PAL"
40
+ #endif
38
41
39
- #define LOG_LEVEL LOG_INFO
42
+ /* define LIBRARY_LOG_LEVEL here if you want to modify the logging level from the default */
43
+ #define LIBRARY_LOG_LEVEL LOG_INFO
40
44
41
45
#include "logging_stack.h"
42
46
43
47
/* To provide appFirmwareVersion for OTA library. */
48
+ #include "ota_config.h"
44
49
#include "ota_appversion32.h"
45
50
46
51
/* OTA PAL Port include. */
@@ -382,7 +387,7 @@ static OtaPalStatus_t otaPal_CheckSignature( OtaFileContext_t * const pFileConte
382
387
ucSigBuffer = & ucECDSARAWSignature ;
383
388
usSigLength = ECDSA_SHA256_RAW_SIGNATURE_LENGTH ;
384
389
#else
385
- ucSigBuffer = & pFileContext -> pSignature -> data ;
390
+ ucSigBuffer = ( uint8_t * ) & pFileContext -> pSignature -> data ;
386
391
usSigLength = pFileContext -> pSignature -> size ;
387
392
#endif /* defined( OTA_PAL_SIGNATURE_FORMAT ) && ( OTA_PAL_SIGNATURE_FORMAT == OTA_PAL_SIGNATURE_ASN1_DER ) */
388
393
Original file line number Diff line number Diff line change 23
23
#ifndef APPLICATION_VERSION_H_
24
24
#define APPLICATION_VERSION_H_
25
25
26
+ #include "ota_config.h"
26
27
#include "ota_appversion32.h"
27
28
#include "psa/update.h"
28
29
You can’t perform that action at this time.
0 commit comments