Update HID examples to comply with the new requirements

pull/5345/head
me-no-dev 2020-04-29 14:56:13 +03:00
rodzic 18950d5780
commit 406d9d20a3
6 zmienionych plików z 23 dodań i 10 usunięć

Wyświetl plik

@ -3,5 +3,4 @@
cmake_minimum_required(VERSION 3.5)
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
set(SUPPORTED_TARGETS esp32)
project(esp_hid_device)

Wyświetl plik

@ -0,0 +1,5 @@
| Supported Targets | ESP32 |
| ----------------- | ----- |
# ESP-IDF BLE HID Device Demo

Wyświetl plik

@ -1,5 +1,8 @@
set(COMPONENT_SRCS "esp_hid_device_main.c"
"esp_hid_gap.c")
set(COMPONENT_ADD_INCLUDEDIRS ".")
set(srcs "esp_hid_device_main.c"
"esp_hid_gap.c")
set(include_dirs ".")
register_component()
idf_component_register(SRCS "${srcs}"
INCLUDE_DIRS "${include_dirs}"
REQUIRES esp_hid)

Wyświetl plik

@ -3,5 +3,4 @@
cmake_minimum_required(VERSION 3.5)
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
set(SUPPORTED_TARGETS esp32)
project(esp_hid_host)

Wyświetl plik

@ -0,0 +1,4 @@
| Supported Targets | ESP32 |
| ----------------- | ----- |
# ESP-IDF BT/BLE HID Host Demo

Wyświetl plik

@ -1,5 +1,8 @@
set(COMPONENT_SRCS "esp_hid_host_main.c"
"esp_hid_gap.c")
set(COMPONENT_ADD_INCLUDEDIRS ".")
set(srcs "esp_hid_host_main.c"
"esp_hid_gap.c")
set(include_dirs ".")
register_component()
idf_component_register(SRCS "${srcs}"
INCLUDE_DIRS "${include_dirs}"
REQUIRES esp_hid)