]> cloudbase.mooo.com Git - z180-stamp.git/blobdiff - avr/Tupfile
Merge branch 'fatfs-integration' into fatcommands
[z180-stamp.git] / avr / Tupfile
index e3ab922751432d9796d7bb48d589f6ea006f71c3..5e1f305229e38fddaa4c5a222a3b6e43a7ddbe21 100644 (file)
@@ -2,7 +2,8 @@ include_rules
 
 PROG           = stamp-monitor
 
-FATFS  = $(TOP)/fatfs/src/ff.c
+FATFSD = $(TOP)/fatfs/source
+FATFS  = $(FATFSD)/ff.c $(FATFSD)/ffunicode.c
 
 SRC            = main.c
 SRC            += cli.c cli_readline.c command.c command_tbl.c
@@ -12,7 +13,7 @@ SRC           += cmd_loadihex.c cmd_loadcpm3.c cmd_sd.c cmd_fat.c
 SRC            += env.c con-utils.c print-utils.c getopt-min.c eval_arg.c
 SRC            += timer.c serial.c i2c.c bcd.c pcf8583.c mmc.c
 SRC            += background.c z180-serv.c z80-if.c gpio.c
-SRC            += $(FATFS) $(TOP)/fatfs/src/option/unicode.c
+SRC            += $(FATFS)
 
 #TODO: time lib
 SRC            += ../time/asctime_r.c ../time/gmtime_r.c ../time/mk_gmtime.c