Initial commit
This commit is contained in:
23
CMakeLists.txt
Normal file
23
CMakeLists.txt
Normal file
@@ -0,0 +1,23 @@
|
||||
cmake_minimum_required(VERSION 4.1)
|
||||
|
||||
# Set target board
|
||||
set(YAHAL_BOARD "rp2350-launchpad")
|
||||
set(YAHAL_USE_NANO_SPECS 0)
|
||||
|
||||
# Locate the YAHAL library folder
|
||||
include(YAHAL_import.cmake)
|
||||
|
||||
project(MCRLController)
|
||||
|
||||
set(CMAKE_CXX_STANDARD 20)
|
||||
|
||||
add_executable(MCRLController main.cpp
|
||||
lib/sd_reader.h
|
||||
lib/rtlf.cpp)
|
||||
|
||||
# Add YAHAL to target
|
||||
yahal_add_me(MCRLController)
|
||||
yahal_add_library(MCRLController FatFs)
|
||||
|
||||
yahal_add_custom_targets(MCRLController)
|
||||
yahal_add_extra_outputs(MCRLController)
|
||||
Reference in New Issue
Block a user