File tree 8 files changed +488
-2
lines changed
8 files changed +488
-2
lines changed Original file line number Diff line number Diff line change 106
106
/components /hal / @ esp-idf-codeowners/peripherals
107
107
/components /heap / @ esp-idf-codeowners/system
108
108
/components /idf_test / @ esp-idf-codeowners/ci
109
+ /components /ieee802154 / @ esp-idf-codeowners/ieee802154
109
110
/components /jsmn / @ esp-idf-codeowners/app-utilities
110
111
/components /json / @ esp-idf-codeowners/app-utilities
111
112
/components /libsodium / @ esp-idf-codeowners/security
Original file line number Diff line number Diff line change 106
106
[submodule "components/openthread/lib "]
107
107
path = components/openthread/lib
108
108
url = ../../espressif/esp-thread-lib.git
109
+
110
+ [submodule "components/ieee802154/lib "]
111
+ path = components/ieee802154/lib
112
+ url = ../../espressif/esp-ieee802154-lib.git
Original file line number Diff line number Diff line change
1
+ idf_component_register(
2
+ INCLUDE_DIRS include
3
+ )
4
+
5
+ if (CONFIG_IEEE802154_ENABLED)
6
+ if (CONFIG_IEEE802154_LIB_FROM_INTERNAL_SRC)
7
+ idf_component_get_property(ieee802154_lib ieee802154_driver COMPONENT_LIB)
8
+ target_link_libraries (${COMPONENT_LIB} INTERFACE $<TARGET_FILE:${ieee802154_lib} >)
9
+ else ()
10
+ add_prebuilt_library(ieee802154_lib "${CMAKE_CURRENT_SOURCE_DIR} /lib/${idf_target} /lib802154.a" )
11
+ target_link_libraries (${COMPONENT_LIB} INTERFACE ieee802154_lib)
12
+ endif ()
13
+
14
+ # force the phy libraries to be linked behind ieee802154
15
+ idf_component_get_property(esp_phy_lib esp_phy COMPONENT_LIB)
16
+ target_link_libraries (${COMPONENT_LIB} INTERFACE $<TARGET_FILE:${esp_phy_lib} > libphy.a libbtbb.a
17
+ $<TARGET_FILE:${esp_phy_lib} >)
18
+ endif ()
Original file line number Diff line number Diff line change
1
+ menu "IEEE 802.15.4"
2
+ visible if IDF_TARGET_ESP32H2
3
+
4
+ config IEEE802154_ENABLED
5
+ bool
6
+ default "y" if IDF_TARGET_ESP32H2
7
+
8
+ config IEEE802154_LIB_FROM_INTERNAL_SRC
9
+ bool "Build IEEE 802.15.4 libraries from source"
10
+ depends on IEEE802154_ENABLED
11
+ default n
12
+ help
13
+ Override the shipped lib802154.a for internal builds.
14
+
15
+ endmenu # IEEE 802.15.4
You can’t perform that action at this time.
0 commit comments