[riot-commits] [RIOT-OS/RIOT] 5117da: lwip_tcp: fix build with DEVELHELP=0

Francisco noreply at github.com
Mon Aug 16 08:37:28 CEST 2021


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: 5117da1cb0264a433845ce25f5705a5f52b2581f
      https://github.com/RIOT-OS/RIOT/commit/5117da1cb0264a433845ce25f5705a5f52b2581f
  Author: Benjamin Valentin <benjamin.valentin at ml-pa.com>
  Date:   2021-08-15 (Sun, 15 Aug 2021)

  Changed paths:
    M pkg/lwip/contrib/sys_arch.c
    M pkg/lwip/include/arch/sys_arch.h

  Log Message:
  -----------
  lwip_tcp: fix build with DEVELHELP=0

If DEVELHELP is not set `LOCK_TCPIP_CORE()`/`UNLOCK_TCPIP_CORE()`
are not defined, leading to a build failure.

Defining them to no-op leads to a run-time segmentation fault, so
better always use those functions.


  Commit: c1d28d69a7f97a689f81d9e42717eb25cc2e0646
      https://github.com/RIOT-OS/RIOT/commit/c1d28d69a7f97a689f81d9e42717eb25cc2e0646
  Author: Francisco <femolina at uc.cl>
  Date:   2021-08-16 (Mon, 16 Aug 2021)

  Changed paths:
    M pkg/lwip/contrib/sys_arch.c
    M pkg/lwip/include/arch/sys_arch.h

  Log Message:
  -----------
  Merge pull request #16740 from benpicco/lwip_tcp-DEVELHELP

lwip_tcp: fix build with DEVELHELP=0


Compare: https://github.com/RIOT-OS/RIOT/compare/8d9ca8ef682d...c1d28d69a7f9


More information about the commits mailing list