Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
arduino-esp32
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
arduino-esp32
Commits
777d0d70
Unverified
Commit
777d0d70
authored
Jun 25, 2024
by
Me No Dev
Committed by
GitHub
Jun 25, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(idf): Require openthread on H2 and C6 (#9934)
Fixes IDF builds for H2 and C6 when OpenThread is enabled
parent
65204d9e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
CMakeLists.txt
CMakeLists.txt
+8
-0
No files found.
CMakeLists.txt
View file @
777d0d70
...
...
@@ -296,6 +296,14 @@ set(priv_includes cores/esp32/libb64)
set
(
requires spi_flash esp_partition mbedtls wifi_provisioning wpa_supplicant esp_adc esp_eth http_parser
)
set
(
priv_requires fatfs nvs_flash app_update spiffs bootloader_support bt esp_hid usb esp_psram
${
ARDUINO_LIBRARIES_REQUIRES
}
)
if
(
NOT CONFIG_ARDUINO_SELECTIVE_COMPILATION OR CONFIG_ARDUINO_SELECTIVE_OpenThread
)
#if(CONFIG_SOC_IEEE802154_SUPPORTED) # Does not work!
#if(CONFIG_OPENTHREAD_ENABLED) # Does not work!
if
(
IDF_TARGET STREQUAL
"esp32c6"
OR IDF_TARGET STREQUAL
"esp32h2"
)
# Sadly only this works
list
(
APPEND requires openthread
)
endif
()
endif
()
idf_component_register
(
INCLUDE_DIRS
${
includedirs
}
PRIV_INCLUDE_DIRS
${
priv_includes
}
SRCS
${
srcs
}
REQUIRES
${
requires
}
PRIV_REQUIRES
${
priv_requires
}
)
if
(
NOT CONFIG_FREERTOS_HZ EQUAL 1000 AND NOT
"$ENV{ARDUINO_SKIP_TICK_CHECK}"
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment