Rename Boards/ to Devices/ (#414)
This commit is contained in:
committed by
GitHub
parent
c7c9618f48
commit
c1ff024657
@@ -3,15 +3,15 @@ cmake_minimum_required(VERSION 3.20)
|
||||
file(GLOB_RECURSE SOURCE_FILES "Source/*.c*")
|
||||
|
||||
if (DEFINED ENV{ESP_IDF_VERSION})
|
||||
# Read board id/project
|
||||
include("../Buildscripts/board.cmake")
|
||||
# Read device id/project
|
||||
include("../Buildscripts/device.cmake")
|
||||
init_tactility_globals("../sdkconfig")
|
||||
get_property(TACTILITY_BOARD_PROJECT GLOBAL PROPERTY TACTILITY_BOARD_PROJECT)
|
||||
get_property(TACTILITY_DEVICE_PROJECT GLOBAL PROPERTY TACTILITY_DEVICE_PROJECT)
|
||||
|
||||
idf_component_register(
|
||||
SRCS ${SOURCE_FILES}
|
||||
REQUIRES ${BOARD_COMPONENTS}
|
||||
REQUIRES Tactility TactilityC ${TACTILITY_BOARD_PROJECT}
|
||||
REQUIRES ${DEVICE_COMPONENTS}
|
||||
REQUIRES Tactility TactilityC ${TACTILITY_DEVICE_PROJECT}
|
||||
)
|
||||
else ()
|
||||
|
||||
@@ -25,4 +25,4 @@ else ()
|
||||
|
||||
add_definitions(-D_Nullable=)
|
||||
add_definitions(-D_Nonnull=)
|
||||
endif ()
|
||||
endif ()
|
||||
|
||||
Reference in New Issue
Block a user