Skip to content

Commit

Permalink
addressing build failures on 917 SOC due to GCC update
Browse files Browse the repository at this point in the history
  • Loading branch information
chirag-silabs committed Apr 26, 2023
1 parent c2a28c8 commit 75b1973
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions examples/platform/silabs/SiWx917/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,8 @@ config("siwx917-common-config") {
if (siwx917_commissionable_data) {
defines += [ "SIWX917_USE_COMISSIONABLE_DATA=1" ]
}

ldflags = [ "-Wl,--no-warn-rwx-segment" ]
}

config("silabs-wifi-config") {
Expand Down Expand Up @@ -238,6 +240,7 @@ source_set("siwx917-common") {
sources = [
"${silabs_common_plat_dir}/LEDWidget.cpp",
"${silabs_common_plat_dir}/heap_4_silabs.c",
"${silabs_common_plat_dir}/syscalls_stubs.cpp",
"${wifi_sdk_dir}/dhcp_client.cpp",
"${wifi_sdk_dir}/ethernetif.cpp",
"${wifi_sdk_dir}/lwip_netif.cpp",
Expand Down
1 change: 1 addition & 0 deletions src/platform/silabs/SiWx917/wifi/dhcp_client.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
#if LWIP_IPV4 && LWIP_DHCP

#pragma once
#include <stdint.h>
#ifdef __cplusplus
extern "C" {
#endif
Expand Down
2 changes: 2 additions & 0 deletions src/platform/silabs/SiWx917/wifi/wfx_msgs.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@

#ifndef _WFX_MSGS_H_
#define _WFX_MSGS_H_

#include <stdint.h>
/*
* Taken from sl_wfx firmware - so I can re-use.
* I need to do a better job than to use this stuff
Expand Down

0 comments on commit 75b1973

Please sign in to comment.