[riot-commits] [RIOT-OS/RIOT] 2ed448: cpu/esp32: cleanup of C++ hacks

Martine Lenders noreply at github.com
Wed Jul 29 11:21:02 CEST 2020


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: 2ed4486f212c7e5c8ac56c4d506546cf0c4f33b0
      https://github.com/RIOT-OS/RIOT/commit/2ed4486f212c7e5c8ac56c4d506546cf0c4f33b0
  Author: Gunar Schorcht <gunar at schorcht.net>
  Date:   2020-07-29 (Wed, 29 Jul 2020)

  Changed paths:
    M cpu/esp32/Makefile
    M cpu/esp32/Makefile.dep
    M cpu/esp32/Makefile.include
    R cpu/esp32/cxx/Makefile
    R cpu/esp32/cxx/cxa_guard.cpp

  Log Message:
  -----------
  cpu/esp32: cleanup of C++ hacks

Since former ESP32 toolchain versions used POSIX threads, module `pthread` was required. The built-in `cxa_ctor_guards` had to be replaced since they used the `pthread_once` function for singleton objects initialization where the parameter `once` was of incompatible type with that provided by RIOT's `pthread` module. The current ESP32 toolchain version no longer uses POSIX threads. The dependency on module `pthread` as well as according C++ hacks can be removed.


  Commit: 5cd3ded4859774f86ef11019acda18c74e3d90ad
      https://github.com/RIOT-OS/RIOT/commit/5cd3ded4859774f86ef11019acda18c74e3d90ad
  Author: Martine Lenders <m.lenders at fu-berlin.de>
  Date:   2020-07-29 (Wed, 29 Jul 2020)

  Changed paths:
    M cpu/esp32/Makefile
    M cpu/esp32/Makefile.dep
    M cpu/esp32/Makefile.include
    R cpu/esp32/cxx/Makefile
    R cpu/esp32/cxx/cxa_guard.cpp

  Log Message:
  -----------
  Merge pull request #14649 from gschorcht/cpu/esp32/cleanu_cpp

cpu/esp32: cleanup of C++ hacks


Compare: https://github.com/RIOT-OS/RIOT/compare/9adc79f91ae0...5cd3ded48597


More information about the commits mailing list