Skip to content

Commit

Permalink
Adds fix 917SoC Apps build failure (#27859)
Browse files Browse the repository at this point in the history
  • Loading branch information
silabs-srishylam authored and pull[bot] committed Oct 24, 2023
1 parent a69dd97 commit 8f6b5f5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions examples/platform/silabs/SiWx917/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,7 @@ source_set("siwx917-common") {

sources = [
"${silabs_common_plat_dir}/LEDWidget.cpp",
"${silabs_common_plat_dir}/SoftwareFaultReports.cpp",
"${silabs_common_plat_dir}/heap_4_silabs.c",
"${silabs_common_plat_dir}/silabs_utils.cpp",
"${silabs_common_plat_dir}/syscalls_stubs.cpp",
Expand Down
4 changes: 4 additions & 0 deletions examples/platform/silabs/SoftwareFaultReports.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@
#endif
#endif // BRD4325A

#ifdef BRD4325A // For SiWx917 Platform only
#include "core_cm4.h"
#endif

// Technically FaultRecording is an octstr up to 1024 bytes.
// We currently only report short strings. 100 char will more than enough for now.
constexpr uint8_t kMaxFaultStringLen = 100;
Expand Down

0 comments on commit 8f6b5f5

Please sign in to comment.