Commit Graph

65 Commits (317db95c46578c399041f3f1a180bb1cd42a9faf)

Author SHA1 Message Date
Joel Bodenmann 9c0678a291 Avoid duplicate const specifier compiler warnings
The original code is perfectly valid standard C. However, some compilers (especially GCC) complain about duplicate const specifiers anyway.
At this point we cave in as there doesn't seem to be any efforts to fix this problem by the corresponding compiler vendors.

uGFX v3 will no longer suffer from this problem as the driver interface works differently in this area.
2021-08-12 12:20:07 +02:00
inmarket 8a9ed5195b Tidy u gfxSem, gfxMutex and various Macros by converting to new types gSem, gMutex etc 2018-11-03 12:29:30 +10:00
inmarket 7c5a6c928f For all source files update integer types to the new gI8 etc type names 2018-11-03 10:51:23 +10:00
Tibo Clausen 0840c8e784 Update license header 2018-10-01 17:34:15 +02:00
inmarket 215f31ee3d Added type gDelay to replace V2.x delaytime_t
Added type gTicks          to replace V2.x systemticks_t
Added type gThreadreturn   to replace V2.x threadreturn_t
Added type gThreadpriority to replace V2.x threadpriority_t
2018-07-08 14:30:31 +10:00
inmarket 41271d632b Added new type definitions - moving towards V3.0 2018-06-23 13:02:07 +10:00
inmarket f265924396 First set of V3 macro changes 2018-02-27 17:44:21 +10:00
inmarket fdaf636b5f Fix: ChibiOS V2 doesn't support dma cache handling at all 2017-10-02 13:33:38 +10:00
inmarket cd4c389e48 Work around yet another ChibiOS DMA/Cache bug 2017-10-02 13:25:54 +10:00
inmarket 8bf95a1128 Add cache flushing to the ChibiOS FATFS/PETITFS block routines. Required for STM32F7. This should really be in the ChibiOS DMA routines. 2017-10-02 11:26:54 +10:00
inmarket 8561671cb8 Upgrade to from FATFS-0.10b to FATFS-0.13 2017-06-24 16:35:31 +10:00
inmarket c7cce84274 Add support for a user provided file system. 2017-01-09 10:25:30 +10:00
Joel Bodenmann 1918d27460 Revert "Whitespaces"
This reverts commit c5d4eba3b5.
2016-07-25 17:47:46 +02:00
Joel Bodenmann c5d4eba3b5 Whitespaces 2016-07-25 17:47:21 +02:00
Matt Brejza 6832ae33df adding code to close all open files in gfile deinit 2016-07-19 22:38:35 +01:00
Andrew Hannam 9ac3c368b4 Add gwinPrintg() and fix null pointer handling in sprintg() 2016-07-10 10:42:21 +10:00
Andrew Hannam f8dac95e93 Add support for GFILE_PETITFS_EXTERNAL_LIB and GFILE_FATFS_EXTERNAL_LIB 2016-05-27 10:29:49 +10:00
inmarket c5a86757bd Make all include paths in ugfx relative.
The only include path now needed is for drivers (in particular GDISP drivers)
2015-11-21 19:27:08 +10:00
Joel Bodenmann de75da8d73 Doxygen 2015-11-07 16:59:59 +01:00
inmarket ccde54722f Added ability to compile ugfx as a single file (excluding driver and board files).
Simply compile src/gfx_mk.c
2015-06-08 14:14:40 +10:00
inmarket aa7ebf9c26 Add the license to the makefiles 2015-06-08 12:11:37 +10:00
inmarket 84ae564bfc Support ChibiOS V3 changes to the FileStream API 2015-03-11 00:16:09 +10:00
inmarket 07a63f7143 Compile error and emulation errors for GFILE_NEED_STDIO 2015-02-21 09:23:33 +10:00
inmarket 5e0a0bfd9b Compile error fix for GFILE_ALLOW_FLOAT 2015-02-21 09:23:00 +10:00
inmarket e63fab2ace Update vararg macro's to C99 standard syntax. 2015-02-05 00:21:22 +10:00
inmarket fa8167b94d Big file rename to reduce problems with brain-dead IDE's that don't handle project file hierarchies well.
Naming is more consistent with the new scheme.
May affect some third party drivers (header file renames).
2015-01-21 17:26:24 +10:00
inmarket 8e42404e7c Fixes bug with printf formatting of zero filled fields 2014-10-09 12:31:53 +10:00
inmarket b7a89b2ada doxygen updates 2014-09-29 16:09:08 +10:00
inmarket c28c4645c0 FATFS and PETITFS compile error fix (caused by prior file renaming). 2014-09-17 09:32:09 +10:00
inmarket 0f3f8f68f8 Rename lots of files to help prevent compile time name conflicts. 2014-08-20 17:42:53 +10:00
inmarket 75e1e7a5e2 Add GFILE support for PetitFS (a very tiny FAT implementation) 2014-08-15 02:22:02 +10:00
inmarket 9b570be049 Bug fix. Must close before freeing the structure. 2014-08-15 02:19:23 +10:00
inmarket 1105e38414 Separate GFILE into separate source files to prevent future name and include file conflicts. 2014-08-15 00:31:32 +10:00
inmarket efa13a879d Move 3rd Party source to a new directory.
Rationalise Fatfs code and fix a couple of configuration issues.
2014-08-13 15:48:16 +10:00
inmarket 10902154ae GFILE: restructure files, add File Listing, add C String files
Fix compile error for ChibiOS BaseStreamFile based GFILES'.
2014-08-12 16:43:45 +10:00
inmarket 0a5bfdd6ec Fix compile warning 2014-07-15 16:38:33 +10:00
Joel Bodenmann 54a0387bd4 fixing doxygen typo 2014-07-04 00:23:12 +02:00
inmarket 1a2e98af96 Use the GFILE_NEED_NOAUTOSYNC for syncing in the write as well. 2014-07-02 09:36:00 +10:00
Joel Bodenmann 5c13e08e76 added gfileSync() and autosync feature 2014-06-29 16:15:46 +02:00
inmarket e318ec02d6 Put back ffconf.h with a default configuration.
User can override by placing a ffconf.h in their project directory.
This works as the current directory is always checked for include files before the include path.
2014-06-28 16:07:58 +10:00
Joel Bodenmann a46dfbc20b ffconf.h is now a template. User has to supply his own 2014-06-28 06:36:10 +02:00
Joel Bodenmann 31d85d16e7 fatfs update 2014-06-28 06:33:59 +02:00
inmarket a9f1520e02 Fatfs Cleanup 2014-06-27 23:04:01 +10:00
Joel Bodenmann c2a27f3e7c working implementation with gfx syscalls 2014-06-27 16:16:42 +02:00
Joel Bodenmann 65602895a5 FatFS complete implementation 2014-06-27 06:10:18 +02:00
Joel Bodenmann 11e3d1fa22 first working FatFS implementation. Modes ToDo 2014-06-27 00:38:46 +02:00
Joel Bodenmann 1785f32976 added ToDo list 2014-06-25 05:31:41 +02:00
Joel Bodenmann f2bbe071f3 added fatfs/readme 2014-06-25 05:27:54 +02:00
Joel Bodenmann b054a7220f initial implementation - untested 2014-06-25 05:23:57 +02:00
Joel Bodenmann d7129e6058 adding fatfs directory 2014-06-24 05:56:13 +02:00