more esp32 cmake clean up

This commit is contained in:
hathach
2023-03-30 11:37:36 +07:00
parent 641613c428
commit cf7aad790c
9 changed files with 9 additions and 46 deletions

View File

@@ -1,10 +1,5 @@
cmake_minimum_required(VERSION 3.5)
# TOP is absolute path to root directory of TinyUSB git repo
# needed for esp32sx build. TODO could be removed later on
set(TOP "../../..")
get_filename_component(TOP "${TOP}" REALPATH)
include(${CMAKE_CURRENT_SOURCE_DIR}/../../../hw/bsp/family_support.cmake)
# gets PROJECT name for the example (e.g. <BOARD>-<DIR_NAME>)