TODO: support conversions from BIN to YAML.
This commit is contained in:
Raphael Coeffic
2021-11-10 11:06:59 +01:00
parent ce75a1a48d
commit 6c73b5ba0a
5 changed files with 42 additions and 24 deletions
+3 -1
View File
@@ -160,7 +160,9 @@ if(${STORAGE} STREQUAL SDCARD)
set(SRC ${SRC} storage/sdcard_raw.cpp)
add_definitions(-DSDCARD_RAW)
elseif(${STORAGE_FORMAT} STREQUAL YAML)
set(SRC ${SRC} storage/sdcard_yaml.cpp)
# TODO: how do we check if the conversions
# should be done from SD card or EEPROM?
set(SRC ${SRC} storage/sdcard_yaml.cpp storage/sdcard_raw.cpp)
add_definitions(-DSDCARD_YAML)
include(storage/yaml/CMakeLists.txt)
#add_subdirectory(storage/yaml)