Skip to content

Commit

Permalink
Board-specific LWIP options for silabs boards (rs911, wf200, thread) …
Browse files Browse the repository at this point in the history
…were never used (#31929)

* Add silabs-specific lwip options to GN

* Make the lwipopts conditional

* Revert "Make the lwipopts conditional"

This reverts commit ff91e81.

* Add another dependency for lwip
  • Loading branch information
andy31415 authored and pull[bot] committed Mar 5, 2024
1 parent 6c45909 commit 09310b9
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
6 changes: 6 additions & 0 deletions src/lwip/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,12 @@ if (current_os == "zephyr" || current_os == "mbed") {
[ "${chip_root}/third_party/lwip/repo/lwip/src/apps/mdns/mdns.c" ]
} else if (lwip_platform == "silabs") {
public_deps += [ "${efr32_sdk_build_root}:efr32_sdk" ]

sources += [
"${lwip_platform}/lwipopts-rs911x.h",
"${lwip_platform}/lwipopts-thread.h",
"${lwip_platform}/lwipopts-wf200.h",
]
} else if (lwip_platform == "standalone") {
public_deps += [ "${chip_root}/src/lib/support" ]
} else if (lwip_platform == "k32w0") {
Expand Down
7 changes: 6 additions & 1 deletion third_party/silabs/silabs_lwip/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,12 @@ lwip_target("silabs_lwip") {
"${chip_root}/src/lwip/silabs/lwippools.h",
]

sources = [ "${chip_root}/src/lwip/freertos/sys_arch.c" ]
sources = [
"${chip_root}/src/lwip/freertos/sys_arch.c",
"${chip_root}/src/lwip/silabs/lwipopts-rs911x.h",
"${chip_root}/src/lwip/silabs/lwipopts-thread.h",
"${chip_root}/src/lwip/silabs/lwipopts-wf200.h",
]

public_deps = [
"${chip_root}/src/lwip:lwip_buildconfig",
Expand Down

0 comments on commit 09310b9

Please sign in to comment.