-
Notifications
You must be signed in to change notification settings - Fork 29
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Description
We used in CI version 4.0.0. I used the same until yesterday. We installed 6.1.1 version and I installed today 7.0.0. I can confirm the latest versions (post 4.0) broke config for cellular example. The rest of examples are OK. Just this one target with one example.
This is now affecting the code freeze.
Example: mbed-os-example-cellular (development -> upstream)
mbedtools compile -m WIO_3G -t GCC_ARM
Error:
FAILED: CMakeFiles/mbed-os-example-cellular.dir/mbed-os/connectivity/lwipstack/lwip/src/api/lwip_err.c.obj
C:\gcc-arm92020-q2-update\bin\arm-none-eabi-gcc.exe @CMakeFiles\mbed-os-example-cellular.dir\mbed-os\connectivity\lwipstack\lwip\src\api\lwip_err.c.obj.rsp -MD -MT CMakeFiles/mbed-os-example-cellular.dir/mbed-os/connectivity/lwipstack/lwip/src/api/lwip_err.c.obj -MF CMakeFiles\mbed-os-example-cellular.dir\mbed-os\connectivity\lwipstack\lwip\src\api\lwip_err.c.obj.d -o CMakeFiles/mbed-os-example-cellular.dir/mbed-os/connectivity/lwipstack/lwip/src/api/lwip_err.c.obj -c ../../../../mbed-os/connectivity/lwipstack/lwip/src/api/lwip_err.c
In file included from ../../../../mbed-os/connectivity/lwipstack/./lwip/src/include/lwip/opt.h:51,
from ../../../../mbed-os/connectivity/lwipstack/./lwip/src/include/lwip/err.h:39,
from ../../../../mbed-os/connectivity/lwipstack/lwip/src/api/lwip_err.c:39:
../../../../mbed-os/connectivity/lwipstack/./include/lwipstack/lwipopts.h:304:2: error: #error LWIP: IPv6 PPP enabled but not IPv6
304 | #error LWIP: IPv6 PPP enabled but not IPv6
This comes from this check:
#if MBED_CONF_PPP_IPV6_ENABLED || MBED_CONF_LWIP_IPV6_ENABLED
#define LWIP 0x11991199
#if (MBED_CONF_NSAPI_DEFAULT_STACK == LWIP) && !MBED_CONF_LWIP_IPV6_ENABLED
#error LWIP: IPv6 PPP enabled but not IPv6
#endif
How the tools + config differ:
4.0.0: -DMBED_CONF_LWIP_IPV6_ENABLED=1
6.1.1/7.0.0: -DMBED_CONF_LWIP_IPV6_ENABLED=0
Cellular mbed_app.json:
"target_overrides": {
"*": {
"target.network-default-interface-type": "CELLULAR",
"mbed-trace.enable": false,
"lwip.ipv4-enabled": true,
"ppp.ipv4-enabled": true,
"lwip.ipv6-enabled": true,
"ppp.ipv6-enabled": true,
"lwip.ipv6-enabled": true, DMBED_CONF_LWIP_IPV6_ENABLED should be 1.
Issue request type
- Enhancement
- Bug
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working