software/liblitesdcard: create fat directory for FatFs files.
This commit is contained in:
parent
f1aba7e45c
commit
a9e8860e49
|
@ -30,7 +30,7 @@
|
||||||
|
|
||||||
#include <liblitesdcard/spisdcard.h>
|
#include <liblitesdcard/spisdcard.h>
|
||||||
#include <liblitesdcard/sdcard.h>
|
#include <liblitesdcard/sdcard.h>
|
||||||
#include <liblitesdcard/ff.h>
|
#include <liblitesdcard/fat/ff.h>
|
||||||
|
|
||||||
extern void boot_helper(unsigned long r1, unsigned long r2, unsigned long r3, unsigned long addr);
|
extern void boot_helper(unsigned long r1, unsigned long r2, unsigned long r3, unsigned long addr);
|
||||||
|
|
||||||
|
|
|
@ -14,6 +14,9 @@ liblitesdcard.a: $(OBJECTS)
|
||||||
%.o: $(LIBLITESDCARD_DIRECTORY)/%.c
|
%.o: $(LIBLITESDCARD_DIRECTORY)/%.c
|
||||||
$(compile)
|
$(compile)
|
||||||
|
|
||||||
|
%.o: $(LIBLITESDCARD_DIRECTORY)/fat/%.c
|
||||||
|
$(compile)
|
||||||
|
|
||||||
%.o: %.S
|
%.o: %.S
|
||||||
$(assemble)
|
$(assemble)
|
||||||
|
|
||||||
|
|
|
@ -12,8 +12,8 @@
|
||||||
#include <generated/mem.h>
|
#include <generated/mem.h>
|
||||||
#include <system.h>
|
#include <system.h>
|
||||||
|
|
||||||
#include "ff.h"
|
#include "fat/ff.h"
|
||||||
#include "diskio.h"
|
#include "fat/diskio.h"
|
||||||
#include "spisdcard.h"
|
#include "spisdcard.h"
|
||||||
|
|
||||||
#ifdef CSR_SPISDCARD_BASE
|
#ifdef CSR_SPISDCARD_BASE
|
||||||
|
|
Loading…
Reference in New Issue