Jump to content

Recommended Posts

Posted

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.c

Also 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.

  • 3 weeks later...
Posted

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 file

i have enabled GFILE_NEED_CHBIOSFS on gfxconf.h (i use chibios)

fatfs i use 0.9patched (provided with chibios)

thanks

Posted

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

Posted

ok, enabled GFILE_NEED_FATFS but i receive many of this errors when i compile

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 definition

In 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 definition

In 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

Posted

sorry


22:46:16 **** Incremental Build of configuration Default for project STM32_OVEN ****
make -j8 all
Compiling gfx.c
Compiling gfx_chibios.c
Compiling gfx_freertos.c
Compiling gfx_win32.c
Compiling gfx_linux.c
Compiling gfx_osx.c
Compiling gfx_raw32.c
Compiling gfx_ecos.c
In 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 definition
In 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 definition
In 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 definition
In 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 definition
In 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 definition
In 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 definition
In 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.c
In 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 definition
Compiling gdisp_gdisp.c
In 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 definition
Compiling gdisp_fonts.c
In file included from c:/ChibiStudio/ugfx/gfx.h:157:0,
from c:/ChibiStudio/ugfx/src/gqueue/gqueue_gqueue.c:13:
Compiling gdisp_image.c
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/gqueue/gqueue_gqueue.c:13:
./gfxconf.h:237:0: note: this is the location of the previous definition
In 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.c
In 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 definition
Compiling gdisp_image_gif.c
In 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 definition
In 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 definition
In 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 definition
In 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 definition
In 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 definition
Compiling gdisp_image_bmp.c
Compiling gdisp_image_jpg.c
Compiling gdisp_image_png.c
In 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.c
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
In 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 definition
In 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.c
In 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 definition
Compiling mf_kerning.c
In 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 definition
Compiling mf_bwfont.c
In 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.c
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_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 definition
In 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 definition
In 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 definition
In 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 definition
In 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 definition
In 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 definition
In 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 definition
In 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.c
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_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 definition
In 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 definition
Compiling gwin_gwin.c
Compiling gwin_widget.c
Compiling gwin_wm.c
In 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.c
In 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 definition
In 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 definition
In 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 definition
Compiling gwin_graph.c
In 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 definition
Compiling gwin_button.c
In 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 definition
Compiling gwin_slider.c
In 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 definition
In 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.c
In 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 definition
Compiling gwin_image.c
In 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 definition
In 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 definition
Compiling gwin_label.c
Compiling gwin_radio.c
Compiling gwin_list.c
Compiling gwin_progressbar.c
In 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 definition
Compiling gwin_gl3d.c
In 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 definition
In 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 definition
In 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 definition
In 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 definition
In 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.c
In 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 definition
In 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.c
In 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 definition
Compiling ginput_keyboard.c
Compiling ginput_toggle.c
Compiling ginput_dial.c
Compiling gadc_gadc.c
In 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 definition
In 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 definition
In 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 definition
Compiling gmisc_gmisc.c
In 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 definition
In 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 definition
In 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 definition
In 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.c
In 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 definition
In 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 definition
Compiling gmisc_trig.c
Compiling gfile_gfile.c
Compiling gfile_fs_native.c
Compiling gfile_fs_ram.c
In 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 definition
Compiling gfile_fs_rom.c
In 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.c
In 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 definition
In 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 definition
In 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 definition
In 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 definition
In 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 definition
In 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 definition
Compiling gfile_fs_mem.c
Compiling gfile_fs_chibios.c
Compiling gfile_fs_strings.c
In 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.c
In 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 definition
Compiling gfile_scang.c
In 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 definition
In 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 definition
In 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 definition
In 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 definition
In 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 definition
Compiling gfile_stdio.c
Compiling gfile_fatfs_wrapper.c
Compiling gfile_fatfs_diskio_chibios.c
Compiling gfile_petitfs_wrapper.c
Compiling gfile_petitfs_diskio_chibios.c
Compiling gdisp_lld_SSD1289.c
In 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 definition
Compiling ginput_lld_mouse.c
In 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 definition
In 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 definition
In 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 definition
In 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 definition
In 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 definition
Compiling main.c
In 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 definition
In 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 definition
In 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 definition
In 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 definition
OVEN/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.elf
Creating build/ch.hex
Creating build/ch.bin
Creating build/ch.dmp

text data bss dec hex filename
87668 2736 9172 99576 184f8 build/ch.elf

Done

22:46:39 Build Finished (took 22s.969ms)

Posted

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...