fastlink30 Posted August 24, 2014 Report Posted August 24, 2014 i'm starting to use the gfile module to read sd-card, but i not see information of how to use it, i mean how i can choose what spi to use? any simple example?thanks
Joel Bodenmann Posted August 24, 2014 Report Posted August 24, 2014 If you're using ChibiOS/RT everything should be working out of the box. Otherwise you have to implement the diskio interface as described in the FatFS documentation.~ Tectu
inmarket Posted August 25, 2014 Report Posted August 25, 2014 I may be stating the obvious but you will need to turn on the FATFS support (GFILE_NEED_FATFS). That is what provides the ability to read the FAT file system on the SD-Card.The connection between FATFS and the SD-Card itself is currently done using the FATFS method - see the FATFS documention about their diskio interface.We have already implemented that interface for ChibiOS and we intend to simplify this for other operating systems soon by creating a block device driver abstraction.For the moment for anything other than ChibiOS you need to do what Tectu said - implement the FATFS diskio.If it helps, the ChibiOS version is found in src/gfile/gfile_fatfs_diskio_chibios.cAlso of interest might be the PETITFS option (GFILE_NEED_PETITFS). It also provides a FAT file system interface but with much less code. That also means it has restrictions that FATFS doesn't; mainly it is read-only and only one file open at a time. It's diskio interface is similar but slightly different to that of FATFS.
Joel Bodenmann Posted August 25, 2014 Report Posted August 25, 2014 We have already implemented that interface for ChibiOS...However, this is only true for the SDC interface. Fhe user hast to submit his own diskio implementation when using the MMC mode (connected over SPI).~ Tectu
fastlink30 Posted September 11, 2014 Author Report Posted September 11, 2014 there are example of the use of opengfile() with mmc card?i have connected mmc and with fatfs functions all is ok, but with gfile i can't open filei have enabled GFILE_NEED_CHBIOSFS on gfxconf.h (i use chibios)fatfs i use 0.9patched (provided with chibios)thanks
Joel Bodenmann Posted September 11, 2014 Report Posted September 11, 2014 You don't use the ChibiOS FS, you use the FatFS. So please disable GFILE_NEED_CHIBIOSFS again and enable GFILE_NEED_FATFS.From then on you are forced to use the FatFS that comes with our repository. However, everything worked out of the box for many people so far.~ Tectu
fastlink30 Posted September 11, 2014 Author Report Posted September 11, 2014 ok, enabled GFILE_NEED_FATFS but i receive many of this errors when i compileIn file included from c:/ChibiStudio/ugfx/gfx.h:55:0, from c:/ChibiStudio/ugfx/src/gdisp/gdisp_image_gif.c:15:./gfxconf.h:237:0: note: this is the location of the previous definitionIn file included from c:/ChibiStudio/ugfx/gfx.h:157:0, from c:/ChibiStudio/ugfx/src/gdisp/gdisp_image_native.c:12:c:/ChibiStudio/ugfx/src/gfile/sys_options.h:130:0: warning: "GFILE_NEED_FATFS" redefined [enabled by default]In file included from c:/ChibiStudio/ugfx/gfx.h:55:0, from c:/ChibiStudio/ugfx/src/gdisp/gdisp_image_native.c:12:./gfxconf.h:237:0: note: this is the location of the previous definitionIn file included from c:/ChibiStudio/ugfx/gfx.h:157:0, from c:/ChibiStudio/ugfx/src/gdisp/gdisp_image_bmp.c:15:c:/ChibiStudio/ugfx/src/gfile/sys_options.h:130:0: warning: "GFILE_NEED_FATFS" redefined [enabled by default]In file included from c:/ChibiStudio/ugfx/gfx.h:55:0, from c:/ChibiStudio/ugfx/src/gdisp/gdisp_image_bmp.c:15:./gfxconf.h:237:0: note: this is the location of the previous definition
Joel Bodenmann Posted September 11, 2014 Report Posted September 11, 2014 These are warnings, not errors. Please paste the complete compiler output somewhere and link it so we can take a look.~ Tectu
fastlink30 Posted September 11, 2014 Author Report Posted September 11, 2014 here file with the log (text file)thanks for your time
Joel Bodenmann Posted September 11, 2014 Report Posted September 11, 2014 I can't see anything attached. Please use a pasting service or use the code tags of the forum.~ Tectu
fastlink30 Posted September 11, 2014 Author Report Posted September 11, 2014 sorry22:46:16 **** Incremental Build of configuration Default for project STM32_OVEN ****make -j8 all Compiling gfx.cCompiling gfx_chibios.cCompiling gfx_freertos.cCompiling gfx_win32.cCompiling gfx_linux.cCompiling gfx_osx.cCompiling gfx_raw32.cCompiling gfx_ecos.cIn file included from c:/ChibiStudio/ugfx/gfx.h:157:0, from c:/ChibiStudio/ugfx/src/gfx.c:16:c:/ChibiStudio/ugfx/src/gfile/sys_options.h:130:0: warning: "GFILE_NEED_FATFS" redefined [enabled by default]In file included from c:/ChibiStudio/ugfx/gfx.h:55:0, from c:/ChibiStudio/ugfx/src/gfx.c:16:./gfxconf.h:237:0: note: this is the location of the previous definitionIn file included from c:/ChibiStudio/ugfx/gfx.h:157:0, from c:/ChibiStudio/ugfx/src/gos/gfx_freertos.c:8:c:/ChibiStudio/ugfx/src/gfile/sys_options.h:130:0: warning: "GFILE_NEED_FATFS" redefined [enabled by default]In file included from c:/ChibiStudio/ugfx/gfx.h:55:0, from c:/ChibiStudio/ugfx/src/gos/gfx_freertos.c:8:./gfxconf.h:237:0: note: this is the location of the previous definitionIn file included from c:/ChibiStudio/ugfx/gfx.h:157:0, from c:/ChibiStudio/ugfx/src/gos/gfx_win32.c:12:c:/ChibiStudio/ugfx/src/gfile/sys_options.h:130:0: warning: "GFILE_NEED_FATFS" redefined [enabled by default]In file included from c:/ChibiStudio/ugfx/gfx.h:55:0, from c:/ChibiStudio/ugfx/src/gos/gfx_win32.c:12:./gfxconf.h:237:0: note: this is the location of the previous definitionIn file included from c:/ChibiStudio/ugfx/gfx.h:157:0, from c:/ChibiStudio/ugfx/src/gos/gfx_chibios.c:8:c:/ChibiStudio/ugfx/src/gfile/sys_options.h:130:0: warning: "GFILE_NEED_FATFS" redefined [enabled by default]In file included from c:/ChibiStudio/ugfx/gfx.h:55:0, from c:/ChibiStudio/ugfx/src/gos/gfx_chibios.c:8:./gfxconf.h:237:0: note: this is the location of the previous definitionIn file included from c:/ChibiStudio/ugfx/gfx.h:157:0, from c:/ChibiStudio/ugfx/src/gos/gfx_linux.c:8:c:/ChibiStudio/ugfx/src/gfile/sys_options.h:130:0: warning: "GFILE_NEED_FATFS" redefined [enabled by default]In file included from c:/ChibiStudio/ugfx/gfx.h:55:0, from c:/ChibiStudio/ugfx/src/gos/gfx_linux.c:8:./gfxconf.h:237:0: note: this is the location of the previous definitionIn file included from c:/ChibiStudio/ugfx/gfx.h:157:0, from c:/ChibiStudio/ugfx/src/gos/gfx_raw32.c:8:c:/ChibiStudio/ugfx/src/gfile/sys_options.h:130:0: warning: "GFILE_NEED_FATFS" redefined [enabled by default]In file included from c:/ChibiStudio/ugfx/gfx.h:55:0, from c:/ChibiStudio/ugfx/src/gos/gfx_raw32.c:8:./gfxconf.h:237:0: note: this is the location of the previous definitionIn file included from c:/ChibiStudio/ugfx/gfx.h:157:0, from c:/ChibiStudio/ugfx/src/gos/gfx_ecos.c:8:c:/ChibiStudio/ugfx/src/gfile/sys_options.h:130:0: warning: "GFILE_NEED_FATFS" redefined [enabled by default]Compiling gfx_rawrtos.cIn file included from c:/ChibiStudio/ugfx/gfx.h:55:0,Compiling gqueue_gqueue.c from c:/ChibiStudio/ugfx/src/gos/gfx_ecos.c:8:./gfxconf.h:237:0: note: this is the location of the previous definitionCompiling gdisp_gdisp.cIn file included from c:/ChibiStudio/ugfx/gfx.h:157:0, from c:/ChibiStudio/ugfx/src/gos/gfx_osx.c:8:c:/ChibiStudio/ugfx/src/gfile/sys_options.h:130:0: warning: "GFILE_NEED_FATFS" redefined [enabled by default]In file included from c:/ChibiStudio/ugfx/gfx.h:55:0, from c:/ChibiStudio/ugfx/src/gos/gfx_osx.c:8:./gfxconf.h:237:0: note: this is the location of the previous definitionCompiling gdisp_fonts.cIn file included from c:/ChibiStudio/ugfx/gfx.h:157:0, from c:/ChibiStudio/ugfx/src/gqueue/gqueue_gqueue.c:13:Compiling gdisp_image.cc:/ChibiStudio/ugfx/src/gfile/sys_options.h:130:0: warning: "GFILE_NEED_FATFS" redefined [enabled by default]In file included from c:/ChibiStudio/ugfx/gfx.h:55:0, from c:/ChibiStudio/ugfx/src/gqueue/gqueue_gqueue.c:13:./gfxconf.h:237:0: note: this is the location of the previous definitionIn file included from c:/ChibiStudio/ugfx/gfx.h:157:0, from c:/ChibiStudio/ugfx/src/gos/gfx_rawrtos.c:1:c:/ChibiStudio/ugfx/src/gfile/sys_options.h:130:0: warning: "GFILE_NEED_FATFS" redefined [enabled by default]Compiling gdisp_image_native.cIn file included from c:/ChibiStudio/ugfx/gfx.h:55:0, from c:/ChibiStudio/ugfx/src/gos/gfx_rawrtos.c:1:./gfxconf.h:237:0: note: this is the location of the previous definitionCompiling gdisp_image_gif.cIn file included from c:/ChibiStudio/ugfx/gfx.h:157:0, from c:/ChibiStudio/ugfx/src/gdisp/gdisp_gdisp.c:15:c:/ChibiStudio/ugfx/src/gfile/sys_options.h:130:0: warning: "GFILE_NEED_FATFS" redefined [enabled by default]In file included from c:/ChibiStudio/ugfx/gfx.h:55:0, from c:/ChibiStudio/ugfx/src/gdisp/gdisp_gdisp.c:15:./gfxconf.h:237:0: note: this is the location of the previous definitionIn file included from c:/ChibiStudio/ugfx/gfx.h:157:0, from c:/ChibiStudio/ugfx/src/gdisp/gdisp_fonts.c:16:c:/ChibiStudio/ugfx/src/gfile/sys_options.h:130:0: warning: "GFILE_NEED_FATFS" redefined [enabled by default]In file included from c:/ChibiStudio/ugfx/gfx.h:55:0, from c:/ChibiStudio/ugfx/src/gdisp/gdisp_fonts.c:16:./gfxconf.h:237:0: note: this is the location of the previous definitionIn file included from c:/ChibiStudio/ugfx/gfx.h:157:0, from c:/ChibiStudio/ugfx/src/gdisp/gdisp_image.c:15:c:/ChibiStudio/ugfx/src/gfile/sys_options.h:130:0: warning: "GFILE_NEED_FATFS" redefined [enabled by default]In file included from c:/ChibiStudio/ugfx/gfx.h:55:0, from c:/ChibiStudio/ugfx/src/gdisp/gdisp_image.c:15:./gfxconf.h:237:0: note: this is the location of the previous definitionIn file included from c:/ChibiStudio/ugfx/gfx.h:157:0, from c:/ChibiStudio/ugfx/src/gdisp/gdisp_image_native.c:12:c:/ChibiStudio/ugfx/src/gfile/sys_options.h:130:0: warning: "GFILE_NEED_FATFS" redefined [enabled by default]In file included from c:/ChibiStudio/ugfx/gfx.h:55:0, from c:/ChibiStudio/ugfx/src/gdisp/gdisp_image_native.c:12:./gfxconf.h:237:0: note: this is the location of the previous definitionIn file included from c:/ChibiStudio/ugfx/gfx.h:157:0, from c:/ChibiStudio/ugfx/src/gdisp/gdisp_image_gif.c:15:c:/ChibiStudio/ugfx/src/gfile/sys_options.h:130:0: warning: "GFILE_NEED_FATFS" redefined [enabled by default]In file included from c:/ChibiStudio/ugfx/gfx.h:55:0, from c:/ChibiStudio/ugfx/src/gdisp/gdisp_image_gif.c:15:./gfxconf.h:237:0: note: this is the location of the previous definitionCompiling gdisp_image_bmp.cCompiling gdisp_image_jpg.cCompiling gdisp_image_png.cIn file included from c:/ChibiStudio/ugfx/gfx.h:157:0, from c:/ChibiStudio/ugfx/src/gdisp/gdisp_image_bmp.c:15:c:/ChibiStudio/ugfx/src/gfile/sys_options.h:130:0: warning: "GFILE_NEED_FATFS" redefined [enabled by default]Compiling mf_encoding.cIn file included from c:/ChibiStudio/ugfx/gfx.h:55:0, from c:/ChibiStudio/ugfx/src/gdisp/gdisp_image_bmp.c:15:./gfxconf.h:237:0: note: this is the location of the previous definitionIn file included from c:/ChibiStudio/ugfx/gfx.h:157:0, from c:/ChibiStudio/ugfx/src/gdisp/gdisp_image_jpg.c:12:c:/ChibiStudio/ugfx/src/gfile/sys_options.h:130:0: warning: "GFILE_NEED_FATFS" redefined [enabled by default]In file included from c:/ChibiStudio/ugfx/gfx.h:55:0, from c:/ChibiStudio/ugfx/src/gdisp/gdisp_image_jpg.c:12:./gfxconf.h:237:0: note: this is the location of the previous definitionIn file included from c:/ChibiStudio/ugfx/gfx.h:157:0, from c:/ChibiStudio/ugfx/src/gdisp/gdisp_image_png.c:12:c:/ChibiStudio/ugfx/src/gfile/sys_options.h:130:0: warning: "GFILE_NEED_FATFS" redefined [enabled by default]Compiling mf_justify.cIn file included from c:/ChibiStudio/ugfx/gfx.h:55:0,Compiling mf_font.c from c:/ChibiStudio/ugfx/src/gdisp/gdisp_image_png.c:12:./gfxconf.h:237:0: note: this is the location of the previous definitionCompiling mf_kerning.cIn file included from c:/ChibiStudio/ugfx/gfx.h:157:0, from c:/ChibiStudio/ugfx/src/gdisp/mcufont/mf_config.h:17, from c:/ChibiStudio/ugfx/src/gdisp/mcufont/mf_encoding.h:15, from c:/ChibiStudio/ugfx/src/gdisp/mcufont/mf_encoding.c:8:c:/ChibiStudio/ugfx/src/gfile/sys_options.h:130:0: warning: "GFILE_NEED_FATFS" redefined [enabled by default]In file included from c:/ChibiStudio/ugfx/gfx.h:55:0, from c:/ChibiStudio/ugfx/src/gdisp/mcufont/mf_config.h:17, from c:/ChibiStudio/ugfx/src/gdisp/mcufont/mf_encoding.h:15,Compiling mf_rlefont.c from c:/ChibiStudio/ugfx/src/gdisp/mcufont/mf_encoding.c:8:./gfxconf.h:237:0: note: this is the location of the previous definitionCompiling mf_bwfont.cIn file included from c:/ChibiStudio/ugfx/gfx.h:157:0, from c:/ChibiStudio/ugfx/src/gdisp/mcufont/mf_config.h:17, from c:/ChibiStudio/ugfx/src/gdisp/mcufont/mf_encoding.h:15, from c:/ChibiStudio/ugfx/src/gdisp/mcufont/mf_font.h:15, from c:/ChibiStudio/ugfx/src/gdisp/mcufont/mf_rlefont.h:15, from c:/ChibiStudio/ugfx/src/gdisp/mcufont/mf_justify.h:15, from c:/ChibiStudio/ugfx/src/gdisp/mcufont/mf_justify.c:8:c:/ChibiStudio/ugfx/src/gfile/sys_options.h:130:0: warning: "GFILE_NEED_FATFS" redefined [enabled by default]Compiling mf_scaledfont.cIn file included from c:/ChibiStudio/ugfx/gfx.h:55:0, from c:/ChibiStudio/ugfx/src/gdisp/mcufont/mf_config.h:17, from c:/ChibiStudio/ugfx/src/gdisp/mcufont/mf_encoding.h:15, from c:/ChibiStudio/ugfx/src/gdisp/mcufont/mf_font.h:15, from c:/ChibiStudio/ugfx/src/gdisp/mcufont/mf_rlefont.h:15, from c:/ChibiStudio/ugfx/src/gdisp/mcufont/mf_justify.h:15, from c:/ChibiStudio/ugfx/src/gdisp/mcufont/mf_justify.c:8:./gfxconf.h:237:0: note: this is the location of the previous definitionIn file included from c:/ChibiStudio/ugfx/gfx.h:157:0, from c:/ChibiStudio/ugfx/src/gdisp/mcufont/mf_config.h:17, from c:/ChibiStudio/ugfx/src/gdisp/mcufont/mf_encoding.h:15, from c:/ChibiStudio/ugfx/src/gdisp/mcufont/mf_font.h:15, from c:/ChibiStudio/ugfx/src/gdisp/mcufont/mf_font.c:8:c:/ChibiStudio/ugfx/src/gfile/sys_options.h:130:0: warning: "GFILE_NEED_FATFS" redefined [enabled by default]In file included from c:/ChibiStudio/ugfx/gfx.h:55:0, from c:/ChibiStudio/ugfx/src/gdisp/mcufont/mf_config.h:17, from c:/ChibiStudio/ugfx/src/gdisp/mcufont/mf_encoding.h:15, from c:/ChibiStudio/ugfx/src/gdisp/mcufont/mf_font.h:15, from c:/ChibiStudio/ugfx/src/gdisp/mcufont/mf_font.c:8:./gfxconf.h:237:0: note: this is the location of the previous definitionIn file included from c:/ChibiStudio/ugfx/gfx.h:157:0, from c:/ChibiStudio/ugfx/src/gdisp/mcufont/mf_config.h:17, from c:/ChibiStudio/ugfx/src/gdisp/mcufont/mf_kerning.h:16, from c:/ChibiStudio/ugfx/src/gdisp/mcufont/mf_kerning.c:8:c:/ChibiStudio/ugfx/src/gfile/sys_options.h:130:0: warning: "GFILE_NEED_FATFS" redefined [enabled by default]In file included from c:/ChibiStudio/ugfx/gfx.h:55:0, from c:/ChibiStudio/ugfx/src/gdisp/mcufont/mf_config.h:17,Compiling mf_wordwrap.c from c:/ChibiStudio/ugfx/src/gdisp/mcufont/mf_kerning.h:16, from c:/ChibiStudio/ugfx/src/gdisp/mcufont/mf_kerning.c:8:./gfxconf.h:237:0: note: this is the location of the previous definitionIn file included from c:/ChibiStudio/ugfx/gfx.h:157:0, from c:/ChibiStudio/ugfx/src/gdisp/mcufont/mf_config.h:17, from c:/ChibiStudio/ugfx/src/gdisp/mcufont/mf_encoding.h:15, from c:/ChibiStudio/ugfx/src/gdisp/mcufont/mf_font.h:15, from c:/ChibiStudio/ugfx/src/gdisp/mcufont/mf_rlefont.h:15, from c:/ChibiStudio/ugfx/src/gdisp/mcufont/mf_rlefont.c:8:c:/ChibiStudio/ugfx/src/gfile/sys_options.h:130:0: warning: "GFILE_NEED_FATFS" redefined [enabled by default]In file included from c:/ChibiStudio/ugfx/gfx.h:55:0, from c:/ChibiStudio/ugfx/src/gdisp/mcufont/mf_config.h:17,Compiling gevent_gevent.c from c:/ChibiStudio/ugfx/src/gdisp/mcufont/mf_encoding.h:15, from c:/ChibiStudio/ugfx/src/gdisp/mcufont/mf_font.h:15, from c:/ChibiStudio/ugfx/src/gdisp/mcufont/mf_rlefont.h:15, from c:/ChibiStudio/ugfx/src/gdisp/mcufont/mf_rlefont.c:8:./gfxconf.h:237:0: note: this is the location of the previous definitionIn file included from c:/ChibiStudio/ugfx/gfx.h:157:0, from c:/ChibiStudio/ugfx/src/gdisp/mcufont/mf_config.h:17, from c:/ChibiStudio/ugfx/src/gdisp/mcufont/mf_encoding.h:15, from c:/ChibiStudio/ugfx/src/gdisp/mcufont/mf_font.h:15, from c:/ChibiStudio/ugfx/src/gdisp/mcufont/mf_scaledfont.h:15, from c:/ChibiStudio/ugfx/src/gdisp/mcufont/mf_scaledfont.c:8:c:/ChibiStudio/ugfx/src/gfile/sys_options.h:130:0: warning: "GFILE_NEED_FATFS" redefined [enabled by default]In file included from c:/ChibiStudio/ugfx/gfx.h:55:0, from c:/ChibiStudio/ugfx/src/gdisp/mcufont/mf_config.h:17, from c:/ChibiStudio/ugfx/src/gdisp/mcufont/mf_encoding.h:15, from c:/ChibiStudio/ugfx/src/gdisp/mcufont/mf_font.h:15, from c:/ChibiStudio/ugfx/src/gdisp/mcufont/mf_scaledfont.h:15, from c:/ChibiStudio/ugfx/src/gdisp/mcufont/mf_scaledfont.c:8:./gfxconf.h:237:0: note: this is the location of the previous definitionIn file included from c:/ChibiStudio/ugfx/gfx.h:157:0, from c:/ChibiStudio/ugfx/src/gdisp/mcufont/mf_config.h:17, from c:/ChibiStudio/ugfx/src/gdisp/mcufont/mf_encoding.h:15, from c:/ChibiStudio/ugfx/src/gdisp/mcufont/mf_font.h:15, from c:/ChibiStudio/ugfx/src/gdisp/mcufont/mf_rlefont.h:15, from c:/ChibiStudio/ugfx/src/gdisp/mcufont/mf_wordwrap.h:15, from c:/ChibiStudio/ugfx/src/gdisp/mcufont/mf_wordwrap.c:8:c:/ChibiStudio/ugfx/src/gfile/sys_options.h:130:0: warning: "GFILE_NEED_FATFS" redefined [enabled by default]In file included from c:/ChibiStudio/ugfx/gfx.h:55:0, from c:/ChibiStudio/ugfx/src/gdisp/mcufont/mf_config.h:17, from c:/ChibiStudio/ugfx/src/gdisp/mcufont/mf_encoding.h:15, from c:/ChibiStudio/ugfx/src/gdisp/mcufont/mf_font.h:15, from c:/ChibiStudio/ugfx/src/gdisp/mcufont/mf_rlefont.h:15, from c:/ChibiStudio/ugfx/src/gdisp/mcufont/mf_wordwrap.h:15, from c:/ChibiStudio/ugfx/src/gdisp/mcufont/mf_wordwrap.c:8:./gfxconf.h:237:0: note: this is the location of the previous definitionIn file included from c:/ChibiStudio/ugfx/gfx.h:157:0, from c:/ChibiStudio/ugfx/src/gevent/gevent_gevent.c:15:c:/ChibiStudio/ugfx/src/gfile/sys_options.h:130:0: warning: "GFILE_NEED_FATFS" redefined [enabled by default]In file included from c:/ChibiStudio/ugfx/gfx.h:55:0, from c:/ChibiStudio/ugfx/src/gevent/gevent_gevent.c:15:./gfxconf.h:237:0: note: this is the location of the previous definitionIn file included from c:/ChibiStudio/ugfx/gfx.h:157:0, from c:/ChibiStudio/ugfx/src/gdisp/mcufont/mf_config.h:17, from c:/ChibiStudio/ugfx/src/gdisp/mcufont/mf_encoding.h:15, from c:/ChibiStudio/ugfx/src/gdisp/mcufont/mf_font.h:15, from c:/ChibiStudio/ugfx/src/gdisp/mcufont/mf_bwfont.h:15, from c:/ChibiStudio/ugfx/src/gdisp/mcufont/mf_bwfont.c:8:c:/ChibiStudio/ugfx/src/gfile/sys_options.h:130:0: warning: "GFILE_NEED_FATFS" redefined [enabled by default]Compiling gtimer_gtimer.cIn file included from c:/ChibiStudio/ugfx/gfx.h:55:0, from c:/ChibiStudio/ugfx/src/gdisp/mcufont/mf_config.h:17, from c:/ChibiStudio/ugfx/src/gdisp/mcufont/mf_encoding.h:15, from c:/ChibiStudio/ugfx/src/gdisp/mcufont/mf_font.h:15, from c:/ChibiStudio/ugfx/src/gdisp/mcufont/mf_bwfont.h:15, from c:/ChibiStudio/ugfx/src/gdisp/mcufont/mf_bwfont.c:8:./gfxconf.h:237:0: note: this is the location of the previous definitionIn file included from c:/ChibiStudio/ugfx/gfx.h:157:0, from c:/ChibiStudio/ugfx/src/gtimer/gtimer_gtimer.c:15:c:/ChibiStudio/ugfx/src/gfile/sys_options.h:130:0: warning: "GFILE_NEED_FATFS" redefined [enabled by default]In file included from c:/ChibiStudio/ugfx/gfx.h:55:0, from c:/ChibiStudio/ugfx/src/gtimer/gtimer_gtimer.c:15:./gfxconf.h:237:0: note: this is the location of the previous definitionCompiling gwin_gwin.cCompiling gwin_widget.cCompiling gwin_wm.cIn file included from c:/ChibiStudio/ugfx/gfx.h:157:0, from c:/ChibiStudio/ugfx/src/gwin/gwin_gwin.c:13:c:/ChibiStudio/ugfx/src/gfile/sys_options.h:130:0: warning: "GFILE_NEED_FATFS" redefined [enabled by default]Compiling gwin_console.cIn file included from c:/ChibiStudio/ugfx/gfx.h:55:0, from c:/ChibiStudio/ugfx/src/gwin/gwin_gwin.c:13:./gfxconf.h:237:0: note: this is the location of the previous definitionIn file included from c:/ChibiStudio/ugfx/gfx.h:157:0, from c:/ChibiStudio/ugfx/src/gwin/gwin_widget.c:13:c:/ChibiStudio/ugfx/src/gfile/sys_options.h:130:0: warning: "GFILE_NEED_FATFS" redefined [enabled by default]In file included from c:/ChibiStudio/ugfx/gfx.h:55:0, from c:/ChibiStudio/ugfx/src/gwin/gwin_widget.c:13:./gfxconf.h:237:0: note: this is the location of the previous definitionIn file included from c:/ChibiStudio/ugfx/gfx.h:157:0, from c:/ChibiStudio/ugfx/src/gwin/gwin_wm.c:13:c:/ChibiStudio/ugfx/src/gfile/sys_options.h:130:0: warning: "GFILE_NEED_FATFS" redefined [enabled by default]In file included from c:/ChibiStudio/ugfx/gfx.h:55:0, from c:/ChibiStudio/ugfx/src/gwin/gwin_wm.c:13:./gfxconf.h:237:0: note: this is the location of the previous definitionCompiling gwin_graph.cIn file included from c:/ChibiStudio/ugfx/gfx.h:157:0, from c:/ChibiStudio/ugfx/src/gwin/gwin_console.c:13:c:/ChibiStudio/ugfx/src/gfile/sys_options.h:130:0: warning: "GFILE_NEED_FATFS" redefined [enabled by default]In file included from c:/ChibiStudio/ugfx/gfx.h:55:0, from c:/ChibiStudio/ugfx/src/gwin/gwin_console.c:13:./gfxconf.h:237:0: note: this is the location of the previous definitionCompiling gwin_button.cIn file included from c:/ChibiStudio/ugfx/gfx.h:157:0, from c:/ChibiStudio/ugfx/src/gwin/gwin_graph.c:13:c:/ChibiStudio/ugfx/src/gfile/sys_options.h:130:0: warning: "GFILE_NEED_FATFS" redefined [enabled by default]In file included from c:/ChibiStudio/ugfx/gfx.h:55:0, from c:/ChibiStudio/ugfx/src/gwin/gwin_graph.c:13:./gfxconf.h:237:0: note: this is the location of the previous definitionCompiling gwin_slider.cIn file included from c:/ChibiStudio/ugfx/gfx.h:157:0, from c:/ChibiStudio/ugfx/src/gwin/gwin_button.c:13:c:/ChibiStudio/ugfx/src/gfile/sys_options.h:130:0: warning: "GFILE_NEED_FATFS" redefined [enabled by default]In file included from c:/ChibiStudio/ugfx/gfx.h:55:0, from c:/ChibiStudio/ugfx/src/gwin/gwin_button.c:13:./gfxconf.h:237:0: note: this is the location of the previous definitionIn file included from c:/ChibiStudio/ugfx/gfx.h:157:0, from c:/ChibiStudio/ugfx/src/gwin/gwin_slider.c:13:c:/ChibiStudio/ugfx/src/gfile/sys_options.h:130:0: warning: "GFILE_NEED_FATFS" redefined [enabled by default]Compiling gwin_checkbox.cIn file included from c:/ChibiStudio/ugfx/gfx.h:55:0, from c:/ChibiStudio/ugfx/src/gwin/gwin_slider.c:13:./gfxconf.h:237:0: note: this is the location of the previous definitionCompiling gwin_image.cIn file included from c:/ChibiStudio/ugfx/gfx.h:157:0, from c:/ChibiStudio/ugfx/src/gwin/gwin_checkbox.c:13:c:/ChibiStudio/ugfx/src/gfile/sys_options.h:130:0: warning: "GFILE_NEED_FATFS" redefined [enabled by default]In file included from c:/ChibiStudio/ugfx/gfx.h:55:0, from c:/ChibiStudio/ugfx/src/gwin/gwin_checkbox.c:13:./gfxconf.h:237:0: note: this is the location of the previous definitionIn file included from c:/ChibiStudio/ugfx/gfx.h:157:0, from c:/ChibiStudio/ugfx/src/gwin/gwin_image.c:13:c:/ChibiStudio/ugfx/src/gfile/sys_options.h:130:0: warning: "GFILE_NEED_FATFS" redefined [enabled by default]In file included from c:/ChibiStudio/ugfx/gfx.h:55:0, from c:/ChibiStudio/ugfx/src/gwin/gwin_image.c:13:./gfxconf.h:237:0: note: this is the location of the previous definitionCompiling gwin_label.cCompiling gwin_radio.cCompiling gwin_list.cCompiling gwin_progressbar.cIn file included from c:/ChibiStudio/ugfx/gfx.h:157:0,Compiling gwin_container.c from c:/ChibiStudio/ugfx/src/gwin/gwin_label.c:13:c:/ChibiStudio/ugfx/src/gfile/sys_options.h:130:0: warning: "GFILE_NEED_FATFS" redefined [enabled by default]In file included from c:/ChibiStudio/ugfx/gfx.h:55:0,Compiling gwin_frame.c from c:/ChibiStudio/ugfx/src/gwin/gwin_label.c:13:./gfxconf.h:237:0: note: this is the location of the previous definitionCompiling gwin_gl3d.cIn file included from c:/ChibiStudio/ugfx/gfx.h:157:0, from c:/ChibiStudio/ugfx/src/gwin/gwin_radio.c:13:c:/ChibiStudio/ugfx/src/gfile/sys_options.h:130:0: warning: "GFILE_NEED_FATFS" redefined [enabled by default]In file included from c:/ChibiStudio/ugfx/gfx.h:55:0, from c:/ChibiStudio/ugfx/src/gwin/gwin_radio.c:13:./gfxconf.h:237:0: note: this is the location of the previous definitionIn file included from c:/ChibiStudio/ugfx/gfx.h:157:0, from c:/ChibiStudio/ugfx/src/gwin/gwin_list.c:13:c:/ChibiStudio/ugfx/src/gfile/sys_options.h:130:0: warning: "GFILE_NEED_FATFS" redefined [enabled by default]In file included from c:/ChibiStudio/ugfx/gfx.h:55:0, from c:/ChibiStudio/ugfx/src/gwin/gwin_list.c:13:./gfxconf.h:237:0: note: this is the location of the previous definitionIn file included from c:/ChibiStudio/ugfx/gfx.h:157:0, from c:/ChibiStudio/ugfx/src/gwin/gwin_progressbar.c:13:c:/ChibiStudio/ugfx/src/gfile/sys_options.h:130:0: warning: "GFILE_NEED_FATFS" redefined [enabled by default]In file included from c:/ChibiStudio/ugfx/gfx.h:55:0, from c:/ChibiStudio/ugfx/src/gwin/gwin_progressbar.c:13:./gfxconf.h:237:0: note: this is the location of the previous definitionIn file included from c:/ChibiStudio/ugfx/gfx.h:157:0, from c:/ChibiStudio/ugfx/src/gwin/gwin_container.c:13:c:/ChibiStudio/ugfx/src/gfile/sys_options.h:130:0: warning: "GFILE_NEED_FATFS" redefined [enabled by default]In file included from c:/ChibiStudio/ugfx/gfx.h:55:0, from c:/ChibiStudio/ugfx/src/gwin/gwin_container.c:13:./gfxconf.h:237:0: note: this is the location of the previous definitionIn file included from c:/ChibiStudio/ugfx/gfx.h:157:0, from c:/ChibiStudio/ugfx/src/gwin/gwin_frame.c:13:c:/ChibiStudio/ugfx/src/gfile/sys_options.h:130:0: warning: "GFILE_NEED_FATFS" redefined [enabled by default]Compiling ginput_ginput.cIn file included from c:/ChibiStudio/ugfx/gfx.h:55:0, from c:/ChibiStudio/ugfx/src/gwin/gwin_frame.c:13:./gfxconf.h:237:0: note: this is the location of the previous definitionIn file included from c:/ChibiStudio/ugfx/gfx.h:157:0, from c:/ChibiStudio/ugfx/src/gwin/gwin_gl3d.c:13:c:/ChibiStudio/ugfx/src/gfile/sys_options.h:130:0: warning: "GFILE_NEED_FATFS" redefined [enabled by default]Compiling ginput_mouse.cIn file included from c:/ChibiStudio/ugfx/gfx.h:55:0, from c:/ChibiStudio/ugfx/src/gwin/gwin_gl3d.c:13:./gfxconf.h:237:0: note: this is the location of the previous definitionCompiling ginput_keyboard.cCompiling ginput_toggle.cCompiling ginput_dial.cCompiling gadc_gadc.cIn file included from c:/ChibiStudio/ugfx/gfx.h:157:0, from c:/ChibiStudio/ugfx/src/ginput/ginput_ginput.c:15:c:/ChibiStudio/ugfx/src/gfile/sys_options.h:130:0: warning: "GFILE_NEED_FATFS" redefined [enabled by default]In file included from c:/ChibiStudio/ugfx/gfx.h:55:0, from c:/ChibiStudio/ugfx/src/ginput/ginput_ginput.c:15:Compiling gaudio_gaudio.c./gfxconf.h:237:0: note: this is the location of the previous definitionIn file included from c:/ChibiStudio/ugfx/gfx.h:157:0, from c:/ChibiStudio/ugfx/src/ginput/ginput_mouse.c:16:c:/ChibiStudio/ugfx/src/gfile/sys_options.h:130:0: warning: "GFILE_NEED_FATFS" redefined [enabled by default]In file included from c:/ChibiStudio/ugfx/gfx.h:55:0, from c:/ChibiStudio/ugfx/src/ginput/ginput_mouse.c:16:./gfxconf.h:237:0: note: this is the location of the previous definitionIn file included from c:/ChibiStudio/ugfx/gfx.h:157:0, from c:/ChibiStudio/ugfx/src/ginput/ginput_keyboard.c:18:c:/ChibiStudio/ugfx/src/gfile/sys_options.h:130:0: warning: "GFILE_NEED_FATFS" redefined [enabled by default]In file included from c:/ChibiStudio/ugfx/gfx.h:55:0, from c:/ChibiStudio/ugfx/src/ginput/ginput_keyboard.c:18:./gfxconf.h:237:0: note: this is the location of the previous definitionCompiling gmisc_gmisc.cIn file included from c:/ChibiStudio/ugfx/gfx.h:157:0, from c:/ChibiStudio/ugfx/src/ginput/ginput_toggle.c:16:c:/ChibiStudio/ugfx/src/gfile/sys_options.h:130:0: warning: "GFILE_NEED_FATFS" redefined [enabled by default]In file included from c:/ChibiStudio/ugfx/gfx.h:55:0, from c:/ChibiStudio/ugfx/src/ginput/ginput_toggle.c:16:./gfxconf.h:237:0: note: this is the location of the previous definitionIn file included from c:/ChibiStudio/ugfx/gfx.h:157:0, from c:/ChibiStudio/ugfx/src/ginput/ginput_dial.c:16:c:/ChibiStudio/ugfx/src/gfile/sys_options.h:130:0: warning: "GFILE_NEED_FATFS" redefined [enabled by default]In file included from c:/ChibiStudio/ugfx/gfx.h:55:0, from c:/ChibiStudio/ugfx/src/ginput/ginput_dial.c:16:./gfxconf.h:237:0: note: this is the location of the previous definitionIn file included from c:/ChibiStudio/ugfx/gfx.h:157:0, from c:/ChibiStudio/ugfx/src/gadc/gadc_gadc.c:15:c:/ChibiStudio/ugfx/src/gfile/sys_options.h:130:0: warning: "GFILE_NEED_FATFS" redefined [enabled by default]In file included from c:/ChibiStudio/ugfx/gfx.h:55:0, from c:/ChibiStudio/ugfx/src/gadc/gadc_gadc.c:15:./gfxconf.h:237:0: note: this is the location of the previous definitionIn file included from c:/ChibiStudio/ugfx/gfx.h:157:0, from c:/ChibiStudio/ugfx/src/gaudio/gaudio_gaudio.c:15:c:/ChibiStudio/ugfx/src/gfile/sys_options.h:130:0: warning: "GFILE_NEED_FATFS" redefined [enabled by default]Compiling gmisc_arrayops.cIn file included from c:/ChibiStudio/ugfx/gfx.h:55:0, from c:/ChibiStudio/ugfx/src/gaudio/gaudio_gaudio.c:15:./gfxconf.h:237:0: note: this is the location of the previous definitionIn file included from c:/ChibiStudio/ugfx/gfx.h:157:0, from c:/ChibiStudio/ugfx/src/gmisc/gmisc_gmisc.c:13:c:/ChibiStudio/ugfx/src/gfile/sys_options.h:130:0: warning: "GFILE_NEED_FATFS" redefined [enabled by default]In file included from c:/ChibiStudio/ugfx/gfx.h:55:0, from c:/ChibiStudio/ugfx/src/gmisc/gmisc_gmisc.c:13:./gfxconf.h:237:0: note: this is the location of the previous definitionCompiling gmisc_trig.cCompiling gfile_gfile.cCompiling gfile_fs_native.cCompiling gfile_fs_ram.cIn file included from c:/ChibiStudio/ugfx/gfx.h:157:0, from c:/ChibiStudio/ugfx/src/gmisc/gmisc_arrayops.c:15:c:/ChibiStudio/ugfx/src/gfile/sys_options.h:130:0: warning: "GFILE_NEED_FATFS" redefined [enabled by default]In file included from c:/ChibiStudio/ugfx/gfx.h:55:0, from c:/ChibiStudio/ugfx/src/gmisc/gmisc_arrayops.c:15:./gfxconf.h:237:0: note: this is the location of the previous definitionCompiling gfile_fs_rom.cIn file included from c:/ChibiStudio/ugfx/gfx.h:157:0, from c:/ChibiStudio/ugfx/src/gmisc/gmisc_trig.c:15:c:/ChibiStudio/ugfx/src/gfile/sys_options.h:130:0: warning: "GFILE_NEED_FATFS" redefined [enabled by default]Compiling gfile_fs_fatfs.cIn file included from c:/ChibiStudio/ugfx/gfx.h:55:0, from c:/ChibiStudio/ugfx/src/gmisc/gmisc_trig.c:15:./gfxconf.h:237:0: note: this is the location of the previous definitionIn file included from c:/ChibiStudio/ugfx/gfx.h:157:0, from c:/ChibiStudio/ugfx/src/gfile/gfile_gfile.c:14:c:/ChibiStudio/ugfx/src/gfile/sys_options.h:130:0: warning: "GFILE_NEED_FATFS" redefined [enabled by default]In file included from c:/ChibiStudio/ugfx/gfx.h:55:0, from c:/ChibiStudio/ugfx/src/gfile/gfile_gfile.c:14:./gfxconf.h:237:0: note: this is the location of the previous definitionIn file included from c:/ChibiStudio/ugfx/gfx.h:157:0, from c:/ChibiStudio/ugfx/src/gfile/gfile_fs_native.c:12:c:/ChibiStudio/ugfx/src/gfile/sys_options.h:130:0: warning: "GFILE_NEED_FATFS" redefined [enabled by default]In file included from c:/ChibiStudio/ugfx/gfx.h:55:0, from c:/ChibiStudio/ugfx/src/gfile/gfile_fs_native.c:12:./gfxconf.h:237:0: note: this is the location of the previous definitionIn file included from c:/ChibiStudio/ugfx/gfx.h:157:0, from c:/ChibiStudio/ugfx/src/gfile/gfile_fs_ram.c:12:c:/ChibiStudio/ugfx/src/gfile/sys_options.h:130:0: warning: "GFILE_NEED_FATFS" redefined [enabled by default]In file included from c:/ChibiStudio/ugfx/gfx.h:55:0, from c:/ChibiStudio/ugfx/src/gfile/gfile_fs_ram.c:12:./gfxconf.h:237:0: note: this is the location of the previous definitionIn file included from c:/ChibiStudio/ugfx/gfx.h:157:0, from c:/ChibiStudio/ugfx/src/gfile/gfile_fs_rom.c:12:c:/ChibiStudio/ugfx/src/gfile/sys_options.h:130:0: warning: "GFILE_NEED_FATFS" redefined [enabled by default]In file included from c:/ChibiStudio/ugfx/gfx.h:55:0, from c:/ChibiStudio/ugfx/src/gfile/gfile_fs_rom.c:12:./gfxconf.h:237:0: note: this is the location of the previous definitionIn file included from c:/ChibiStudio/ugfx/gfx.h:157:0, from c:/ChibiStudio/ugfx/src/gfile/gfile_fs_fatfs.c:12:c:/ChibiStudio/ugfx/src/gfile/sys_options.h:130:0: warning: "GFILE_NEED_FATFS" redefined [enabled by default]In file included from c:/ChibiStudio/ugfx/gfx.h:55:0, from c:/ChibiStudio/ugfx/src/gfile/gfile_fs_fatfs.c:12:Compiling gfile_fs_petitfs.c./gfxconf.h:237:0: note: this is the location of the previous definitionCompiling gfile_fs_mem.cCompiling gfile_fs_chibios.cCompiling gfile_fs_strings.cIn file included from c:/ChibiStudio/ugfx/gfx.h:157:0, from c:/ChibiStudio/ugfx/src/gfile/gfile_fs_petitfs.c:12:c:/ChibiStudio/ugfx/src/gfile/sys_options.h:130:0: warning: "GFILE_NEED_FATFS" redefined [enabled by default]Compiling gfile_printg.cIn file included from c:/ChibiStudio/ugfx/gfx.h:55:0, from c:/ChibiStudio/ugfx/src/gfile/gfile_fs_petitfs.c:12:./gfxconf.h:237:0: note: this is the location of the previous definitionCompiling gfile_scang.cIn file included from c:/ChibiStudio/ugfx/gfx.h:157:0, from c:/ChibiStudio/ugfx/src/gfile/gfile_fs_mem.c:12:c:/ChibiStudio/ugfx/src/gfile/sys_options.h:130:0: warning: "GFILE_NEED_FATFS" redefined [enabled by default]In file included from c:/ChibiStudio/ugfx/gfx.h:55:0, from c:/ChibiStudio/ugfx/src/gfile/gfile_fs_mem.c:12:./gfxconf.h:237:0: note: this is the location of the previous definitionIn file included from c:/ChibiStudio/ugfx/gfx.h:157:0, from c:/ChibiStudio/ugfx/src/gfile/gfile_fs_strings.c:12:c:/ChibiStudio/ugfx/src/gfile/sys_options.h:130:0: warning: "GFILE_NEED_FATFS" redefined [enabled by default]In file included from c:/ChibiStudio/ugfx/gfx.h:55:0, from c:/ChibiStudio/ugfx/src/gfile/gfile_fs_strings.c:12:./gfxconf.h:237:0: note: this is the location of the previous definitionIn file included from c:/ChibiStudio/ugfx/gfx.h:157:0, from c:/ChibiStudio/ugfx/src/gfile/gfile_fs_chibios.c:12:c:/ChibiStudio/ugfx/src/gfile/sys_options.h:130:0: warning: "GFILE_NEED_FATFS" redefined [enabled by default]In file included from c:/ChibiStudio/ugfx/gfx.h:55:0, from c:/ChibiStudio/ugfx/src/gfile/gfile_fs_chibios.c:12:./gfxconf.h:237:0: note: this is the location of the previous definitionIn file included from c:/ChibiStudio/ugfx/gfx.h:157:0, from c:/ChibiStudio/ugfx/src/gfile/gfile_printg.c:12:c:/ChibiStudio/ugfx/src/gfile/sys_options.h:130:0: warning: "GFILE_NEED_FATFS" redefined [enabled by default]In file included from c:/ChibiStudio/ugfx/gfx.h:55:0, from c:/ChibiStudio/ugfx/src/gfile/gfile_printg.c:12:./gfxconf.h:237:0: note: this is the location of the previous definitionIn file included from c:/ChibiStudio/ugfx/gfx.h:157:0, from c:/ChibiStudio/ugfx/src/gfile/gfile_scang.c:12:c:/ChibiStudio/ugfx/src/gfile/sys_options.h:130:0: warning: "GFILE_NEED_FATFS" redefined [enabled by default]In file included from c:/ChibiStudio/ugfx/gfx.h:55:0, from c:/ChibiStudio/ugfx/src/gfile/gfile_scang.c:12:./gfxconf.h:237:0: note: this is the location of the previous definitionCompiling gfile_stdio.cCompiling gfile_fatfs_wrapper.cCompiling gfile_fatfs_diskio_chibios.cCompiling gfile_petitfs_wrapper.cCompiling gfile_petitfs_diskio_chibios.cCompiling gdisp_lld_SSD1289.cIn file included from c:/ChibiStudio/ugfx/gfx.h:157:0, from c:/ChibiStudio/ugfx/src/gfile/gfile_stdio.c:12:c:/ChibiStudio/ugfx/src/gfile/sys_options.h:130:0: warning: "GFILE_NEED_FATFS" redefined [enabled by default]In file included from c:/ChibiStudio/ugfx/gfx.h:55:0, from c:/ChibiStudio/ugfx/src/gfile/gfile_stdio.c:12:./gfxconf.h:237:0: note: this is the location of the previous definitionCompiling ginput_lld_mouse.cIn file included from c:/ChibiStudio/ugfx/gfx.h:157:0, from c:/ChibiStudio/ugfx/src/gfile/gfile_fatfs_diskio_chibios.c:14:c:/ChibiStudio/ugfx/src/gfile/sys_options.h:130:0: warning: "GFILE_NEED_FATFS" redefined [enabled by default]In file included from c:/ChibiStudio/ugfx/gfx.h:55:0, from c:/ChibiStudio/ugfx/src/gfile/gfile_fatfs_diskio_chibios.c:14:./gfxconf.h:237:0: note: this is the location of the previous definitionIn file included from c:/ChibiStudio/ugfx/gfx.h:157:0, from c:/ChibiStudio/ugfx/src/gfile/gfile_fatfs_wrapper.c:14:c:/ChibiStudio/ugfx/src/gfile/sys_options.h:130:0: warning: "GFILE_NEED_FATFS" redefined [enabled by default]In file included from c:/ChibiStudio/ugfx/gfx.h:55:0, from c:/ChibiStudio/ugfx/src/gfile/gfile_fatfs_wrapper.c:14:./gfxconf.h:237:0: note: this is the location of the previous definitionIn file included from c:/ChibiStudio/ugfx/gfx.h:157:0, from c:/ChibiStudio/ugfx/src/gfile/gfile_petitfs_wrapper.c:14:c:/ChibiStudio/ugfx/src/gfile/sys_options.h:130:0: warning: "GFILE_NEED_FATFS" redefined [enabled by default]In file included from c:/ChibiStudio/ugfx/gfx.h:55:0, from c:/ChibiStudio/ugfx/src/gfile/gfile_petitfs_wrapper.c:14:./gfxconf.h:237:0: note: this is the location of the previous definitionIn file included from c:/ChibiStudio/ugfx/gfx.h:157:0, from c:/ChibiStudio/ugfx/src/gfile/gfile_petitfs_diskio_chibios.c:14:c:/ChibiStudio/ugfx/src/gfile/sys_options.h:130:0: warning: "GFILE_NEED_FATFS" redefined [enabled by default]In file included from c:/ChibiStudio/ugfx/gfx.h:55:0, from c:/ChibiStudio/ugfx/src/gfile/gfile_petitfs_diskio_chibios.c:14:./gfxconf.h:237:0: note: this is the location of the previous definitionIn file included from c:/ChibiStudio/ugfx/gfx.h:157:0, from c:/ChibiStudio/ugfx/drivers/gdisp/SSD1289/gdisp_lld_SSD1289.c:8:c:/ChibiStudio/ugfx/src/gfile/sys_options.h:130:0: warning: "GFILE_NEED_FATFS" redefined [enabled by default]In file included from c:/ChibiStudio/ugfx/gfx.h:55:0,Compiling page_intro.c from c:/ChibiStudio/ugfx/drivers/gdisp/SSD1289/gdisp_lld_SSD1289.c:8:Compiling sd_card.c./gfxconf.h:237:0: note: this is the location of the previous definitionCompiling main.cIn file included from c:/ChibiStudio/ugfx/gfx.h:157:0, from c:/ChibiStudio/ugfx/drivers/ginput/touch/ADS7843/ginput_lld_mouse.c:8:c:/ChibiStudio/ugfx/src/gfile/sys_options.h:130:0: warning: "GFILE_NEED_FATFS" redefined [enabled by default]In file included from c:/ChibiStudio/ugfx/gfx.h:55:0, from c:/ChibiStudio/ugfx/drivers/ginput/touch/ADS7843/ginput_lld_mouse.c:8:./gfxconf.h:237:0: note: this is the location of the previous definitionIn file included from c:/ChibiStudio/ugfx/gfx.h:157:0, from PAGE/page_intro.c:8:c:/ChibiStudio/ugfx/src/gfile/sys_options.h:130:0: warning: "GFILE_NEED_FATFS" redefined [enabled by default]In file included from c:/ChibiStudio/ugfx/gfx.h:55:0, from PAGE/page_intro.c:8:./gfxconf.h:237:0: note: this is the location of the previous definitionIn file included from c:/ChibiStudio/ugfx/gfx.h:157:0, from main.c:18:c:/ChibiStudio/ugfx/src/gfile/sys_options.h:130:0: warning: "GFILE_NEED_FATFS" redefined [enabled by default]In file included from c:/ChibiStudio/ugfx/gfx.h:55:0, from main.c:18:./gfxconf.h:237:0: note: this is the location of the previous definitionIn file included from c:/ChibiStudio/ugfx/gfx.h:157:0, from OVEN/sd_card.c:9:c:/ChibiStudio/ugfx/src/gfile/sys_options.h:130:0: warning: "GFILE_NEED_FATFS" redefined [enabled by default]In file included from c:/ChibiStudio/ugfx/gfx.h:55:0, from OVEN/sd_card.c:9:./gfxconf.h:237:0: note: this is the location of the previous definitionOVEN/sd_card.c: In function 'sd_init':OVEN/sd_card.c:91:9: warning: variable 'errmsg' set but not used [-Wunused-but-set-variable]Linking build/ch.elfCreating build/ch.hexCreating build/ch.binCreating build/ch.dmp text data bss dec hex filename 87668 2736 9172 99576 184f8 build/ch.elfDone22:46:39 Build Finished (took 22s.969ms)
Joel Bodenmann Posted September 16, 2014 Report Posted September 16, 2014 Sorry for the late reply. I hit the post "Submit" button whilst being in the train it seems like I lost the signal there... Apologies.I confirm that there is a problem with the defines (the warnings that you see). I will try to fix this tonight.However, you are still able to create a successful build. Does it work for you? If not, can you describe the symptoms? (eg. does mounting work and just read() or open() fails etc).~ Tectu
inmarket Posted September 16, 2014 Report Posted September 16, 2014 This is now fixed in the repository. Sorry for the delay.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now