diff --git a/epicardium/fatfs.h b/epicardium/fatfs.h deleted file mode 100644 index 18891f43ff34b92e5e19a4c1bd18734feca1a28c..0000000000000000000000000000000000000000 --- a/epicardium/fatfs.h +++ /dev/null @@ -1,7 +0,0 @@ -#ifndef EPICARDIUM_FATFS_INCLUDED -#define EPICARDIUM_FATFS_INCLUDED - -void fatfs_init(void); - -#endif//EPICARDIUM_FATFS_INCLUDED - diff --git a/epicardium/main.c b/epicardium/main.c index 7609014000a1fd7b70d668ad9d19c9ff243c8e48..e61f533c23628d999696431860b1e9d3f349c1dd 100644 --- a/epicardium/main.c +++ b/epicardium/main.c @@ -4,7 +4,6 @@ #include "max32665.h" #include "uart.h" #include "cdcacm.h" -#include "fatfs.h" #include "card10.h" #include "pmic.h" diff --git a/epicardium/meson.build b/epicardium/meson.build index 0e6d4988f7971f3367d66f9f5eddb653cfefe969..26f36cd47e471bf658b35b6447a69489110197ea 100644 --- a/epicardium/meson.build +++ b/epicardium/meson.build @@ -67,7 +67,6 @@ subdir('modules/') elf = executable( name + '.elf', 'cdcacm.c', - 'fatfs.c', 'main.c', 'support.c', module_sources, diff --git a/epicardium/fatfs.c b/epicardium/modules/fatfs.c similarity index 100% rename from epicardium/fatfs.c rename to epicardium/modules/fatfs.c diff --git a/epicardium/modules/meson.build b/epicardium/modules/meson.build index 9f2d2c070b0978786fa00f1390f8d36788099427..d77973ad77efeff1f239ff6479e0725a196ede34 100644 --- a/epicardium/modules/meson.build +++ b/epicardium/modules/meson.build @@ -1,4 +1,5 @@ module_sources = files( + 'fatfs.c', 'leds.c', 'pmic.c', 'serial.c', diff --git a/epicardium/modules/modules.h b/epicardium/modules/modules.h index a66d8285cae6ecefc991696fa94f424a792577ed..8fe73d59755c6146bba1d364938a6305af9e1baa 100644 --- a/epicardium/modules/modules.h +++ b/epicardium/modules/modules.h @@ -1,6 +1,9 @@ #ifndef MODULES_H #define MODULES_H +/* FatFS */ +void fatfs_init(void); + /* ---------- Serial ------------------------------------------------------- */ #define SERIAL_READ_BUFFER_SIZE 128 void vSerialTask(void *pvParameters);