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:
parent
96d2fd05a4
commit
7962a0c179
@ -1,5 +1,10 @@
|
|||||||
# additional modules dependencies
|
# additional modules dependencies
|
||||||
|
|
||||||
|
ifneq (,$(filter cpp,$(FEATURES_USED)))
|
||||||
|
USEMODULE += pthread
|
||||||
|
BASELIBS += -lstdc++
|
||||||
|
endif
|
||||||
|
|
||||||
ifneq (,$(filter esp_eth,$(USEMODULE)))
|
ifneq (,$(filter esp_eth,$(USEMODULE)))
|
||||||
USEMODULE += esp_idf_eth
|
USEMODULE += esp_idf_eth
|
||||||
USEMODULE += esp_idf_eth_phy
|
USEMODULE += esp_idf_eth_phy
|
||||||
|
|||||||
@ -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_cpuid
|
||||||
FEATURES_PROVIDED += periph_hwrng
|
FEATURES_PROVIDED += periph_hwrng
|
||||||
FEATURES_PROVIDED += periph_pm
|
FEATURES_PROVIDED += periph_pm
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user