esp-idf/examples/peripherals/mcpwm/mcpwm_bldc_control/CMakeLists.txt

9 lines
321 B
CMake
Raw Normal View History

# The following four lines of boilerplate have to be in your project's CMakeLists
# in this exact order for cmake to work correctly
cmake_minimum_required(VERSION 3.5)
set(MAIN_SRCS main/mcpwm_bldc_control_hall_sensor_example.c)
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
project(mcpwm_bldc_control_hall_sensor)