cpu/esp32: activate cpp feature

Adds module pthread and the libstdc++ to linked libraries to solve the problem with unresolved symbols when feature cpp is required.
This commit is contained in:
Gunar Schorcht 2019-07-29 16:06:04 +02:00
parent 96d2fd05a4
commit 7962a0c179
2 changed files with 7 additions and 1 deletions

View File

@ -1,5 +1,10 @@
# additional modules dependencies
ifneq (,$(filter cpp,$(FEATURES_USED)))
USEMODULE += pthread
BASELIBS += -lstdc++
endif
ifneq (,$(filter esp_eth,$(USEMODULE)))
USEMODULE += esp_idf_eth
USEMODULE += esp_idf_eth_phy

View File

@ -1,4 +1,5 @@
# Features that are provided by CPU independent on the board
# Features that are provided by the CPU independent on the board
FEATURES_PROVIDED += cpp
FEATURES_PROVIDED += periph_cpuid
FEATURES_PROVIDED += periph_hwrng
FEATURES_PROVIDED += periph_pm