Skip to content

Commit eae0412

Browse files
committed
Add esp-hosted as requirement
1 parent 7439e0b commit eae0412

2 files changed

Lines changed: 10 additions & 1 deletion

File tree

CMakeLists.txt

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,17 @@
1+
if("${IDF_TARGET}" STREQUAL "esp32p4")
2+
if (USE_GENERIC_ESP_HOSTED)
3+
set(TM_LORA_EXTRA_REQUIREMENTS "esp_hosted")
4+
else()
5+
set(TM_LORA_EXTRA_REQUIREMENTS "esp-hosted-tanmatsu")
6+
endif()
7+
endif()
8+
19
idf_component_register(
210
SRCS
311
lora.c
412
INCLUDE_DIRS
513
"include"
614
REQUIRES
715
sx126x
16+
${TM_LORA_EXTRA_REQUIREMENTS}
817
)

idf_component.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ url: https://github.com/nicolai-electronics/esp32-component-tanmatsu-lora
33
repository: git://git@github.com:nicolai-electronics/esp32-component-tanmatsu-lora.git
44
issues: https://github.com/nicolai-electronics/esp32-component-tanmatsu-lora/issues
55
dependencies:
6-
idf: ">=5.5"
6+
idf: ">=5.5.1"
77
nicolaielectronics/esp-hosted-tanmatsu:
88
rules:
99
- if: "target == esp32p4 && $CONFIG{USE_GENERIC_ESP_HOSTED} == False"

0 commit comments

Comments
 (0)