refactor(simu): use SDL & ImGui (#6233)
Co-authored-by: raphaelcoeffic <1050031+raphaelcoeffic@users.noreply.github.com> Co-authored-by: Malte Langermann <malte@langermann.net>
This commit is contained in:
co-authored by
raphaelcoeffic
Malte Langermann
parent
14287cb91d
commit
4eddda034d
@@ -30,7 +30,7 @@ set(BOOTLOADER_SRC ${BOOTLOADER_SRC}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/hal/key_driver.cpp
|
||||
)
|
||||
|
||||
if (NOT NATIVE_BUILD)
|
||||
if ((NOT NATIVE_BUILD) OR SIMU_DISKIO)
|
||||
set(SRC ${SRC}
|
||||
hal/storage.cpp
|
||||
hal/fatfs_diskio.cpp
|
||||
|
||||
@@ -24,7 +24,10 @@
|
||||
|
||||
#include "debug.h"
|
||||
|
||||
#if defined(STORAGE_USE_SDIO)
|
||||
#if defined(SIMU_DISKIO)
|
||||
extern const diskio_driver_t simu_diskio_driver;
|
||||
#define _STORAGE_DRIVER simu_diskio_driver
|
||||
#elif defined(STORAGE_USE_SDIO)
|
||||
#include "diskio_sdio.h"
|
||||
#define _STORAGE_DRIVER sdio_diskio_driver
|
||||
#elif defined(STORAGE_USE_SDCARD_SPI)
|
||||
|
||||
Reference in New Issue
Block a user