Skip to content
This repository was archived by the owner on Dec 20, 2023. It is now read-only.

Commit 9808b2d

Browse files
author
Jay Logue
authored
Merge pull request #431 from SiliconLabs/feature/efr32-openweave-core
[efr32] Initial commit for Silicon Labs EFR32 MG12 and MG21 support
2 parents 715fa56 + 71185e3 commit 9808b2d

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+7390
-3
lines changed

build/autoconf/m4/nl_with_lwip.m4

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,13 +113,13 @@ AC_DEFUN([NL_WITH_LWIP],
113113
114114
AC_ARG_WITH(lwip-target,
115115
AS_HELP_STRING([--with-lwip-target=target],
116-
[Specify the target environment for which LwIP will be built. Choose one of: standalone, nrf5, none @<:@default=standalone@:>@.]),
116+
[Specify the target environment for which LwIP will be built. Choose one of: standalone, nrf5, efr32, none @<:@default=standalone@:>@.]),
117117
[
118118
if test "${nl_with_lwip}" != "internal"; then
119119
AC_MSG_ERROR([--with-lwip-target can only be used when --with-lwip=internal is selected])
120120
else
121121
case "${withval}" in
122-
standalone|nrf5|none)
122+
standalone|nrf5|efr32|none)
123123
nl_with_lwip_target=${withval}
124124
;;
125125
*)
@@ -179,6 +179,9 @@ AC_DEFUN([NL_WITH_LWIP],
179179
nrf5)
180180
LWIP_CPPFLAGS="${LWIP_CPPFLAGS} -I${ac_abs_confdir}/src/lwip/nrf5 -I${ac_abs_confdir}/src/lwip/freertos"
181181
;;
182+
efr32)
183+
LWIP_CPPFLAGS="${LWIP_CPPFLAGS} -I${ac_abs_confdir}/src/lwip/efr32 -I${ac_abs_confdir}/src/lwip/freertos"
184+
;;
182185
*)
183186
;;
184187
esac
@@ -322,5 +325,6 @@ AC_DEFUN([NL_WITH_LWIP],
322325
AM_CONDITIONAL([WEAVE_WITH_LWIP_INTERNAL], [test "${nl_with_lwip}" = "internal"])
323326
AM_CONDITIONAL([WEAVE_LWIP_TARGET_STANDALONE], [test "${nl_with_lwip}" = "internal" -a "${nl_with_lwip_target}" = "standalone" ])
324327
AM_CONDITIONAL([WEAVE_LWIP_TARGET_NRF5], [test "${nl_with_lwip}" = "internal" -a "${nl_with_lwip_target}" = "nrf5" ])
328+
AM_CONDITIONAL([WEAVE_LWIP_TARGET_EFR32], [test "${nl_with_lwip}" = "internal" -a "${nl_with_lwip_target}" = "efr32" ])
325329
326330
])

0 commit comments

Comments
 (0)