Skip to content

Commit

Permalink
Update STM32 build image
Browse files Browse the repository at this point in the history
 * Update CubeL4 to 1.13.0
 * Rebuild OurTLS with `-DMBEDTLS_X509_CA_CHAIN_ON_DISK`
 * Add `-Wextra` and fix build issues

CL: Update STM32 build image

PUBLISHED_FROM=a7eacff7580bab6c6e40bdaf6164df575a717c55
  • Loading branch information
Deomid Ryabkov authored and cesantabot committed Sep 11, 2018
1 parent ab03590 commit f63d833
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 2 deletions.
6 changes: 5 additions & 1 deletion mongoose.c
Original file line number Diff line number Diff line change
Expand Up @@ -4999,6 +4999,8 @@ static void mg_ssl_mbed_log(void *ctx, int level, const char *file, int line,
}
/* mbedTLS passes strings with \n at the end, strip it. */
LOG(cs_level, ("%p %.*s", ctx, (int) (strlen(str) - 1), str));
(void) ctx;
(void) str;
(void) file;
(void) line;
(void) cs_level;
Expand Down Expand Up @@ -11964,7 +11966,9 @@ static void mg_resolve_async_eh(struct mg_connection *nc, int ev,
void *user_data = nc->user_data;
#endif

if (ev != MG_EV_POLL) DBG(("ev=%d user_data=%p", ev, user_data));
if (ev != MG_EV_POLL) {
DBG(("ev=%d user_data=%p", ev, user_data));
}

req = (struct mg_resolve_async_request *) user_data;

Expand Down
1 change: 1 addition & 0 deletions src/common/platforms/arm/arm_exc.c
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ void arm_exc_handler_bottom(uint8_t isr_no, struct arm_exc_frame *ef,
struct arm_gdb_reg_file *rf) {
char buf[8];
const char *name;
(void) ef;
portDISABLE_INTERRUPTS();
switch (isr_no) {
case 0:
Expand Down
4 changes: 3 additions & 1 deletion src/mg_resolv.c
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,9 @@ static void mg_resolve_async_eh(struct mg_connection *nc, int ev,
void *user_data = nc->user_data;
#endif

if (ev != MG_EV_POLL) DBG(("ev=%d user_data=%p", ev, user_data));
if (ev != MG_EV_POLL) {
DBG(("ev=%d user_data=%p", ev, user_data));
}

req = (struct mg_resolve_async_request *) user_data;

Expand Down
2 changes: 2 additions & 0 deletions src/mg_ssl_if_mbedtls.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ static void mg_ssl_mbed_log(void *ctx, int level, const char *file, int line,
}
/* mbedTLS passes strings with \n at the end, strip it. */
LOG(cs_level, ("%p %.*s", ctx, (int) (strlen(str) - 1), str));
(void) ctx;
(void) str;
(void) file;
(void) line;
(void) cs_level;
Expand Down

0 comments on commit f63d833

Please sign in to comment.