10 Commits

Author SHA1 Message Date
Soren Ptak
90281cb5ba CI-CD-Updates (#58)
* Remove exec privileges from c and h files
* Apply Formatting Changes
* Spelling Mistake Fixes
2023-12-05 17:34:02 -08:00
Aniruddha Kanhere
25129e5221 Added API allowing user to choose settings at runtime - replacement of PR#49 (#51)
* Adding in FF_SDDiskInitWithSettings optional initialization to support runtime initial mounting options.

* FAT-#50: Fixing duplicate definition of st_atime, st_mtime, st_ctime for linux.

* Fixing formatting with diff provided using uncrustify.

---------

Co-authored-by: Paul Helter <paulheltera@gmail.com>
2023-08-24 14:05:03 -07:00
phelter
08d0cff40d Feature/fixing clang gnu compiler warnings (#45)
* Support for CMake builds. Added Linux stub port for now to allow cross
compilation.

* Fixing misuse of doxygen documentation

* Converting prints from %lu to %u where possible as per request in comments related to (#35)

* Fixing clang compiler warnings.

* Fixing build test to work regardless of configuration.

* Adding in for Zynq port dependency on uncached_memory target.

* Excluding build_test from all build - must request it explicitly.

* Ensuring XPAR_XSDPS_0_IS_CACHE_COHERENT is 1 for this build since using
a modified xsdps driver that requires it.

* Updating compiler warnings.

* Fixing documentation, signed/unsigned conversion. Bugfix for time based code for removing failure in 2032 due to uint32_t used for time.

* Fixing error creation using FF_createERR everywhere missed.

* Fixing build_test in ci.yml

* Uncrustify: triggered by comment.

---------

Co-authored-by: Nikhil Kamath <110539926+amazonKamath@users.noreply.github.com>
Co-authored-by: GitHub Action <action@github.com>
2023-05-16 12:16:58 -07:00
Gaurav-Aggarwal-AWS
6a7c13c3d3 Update fomatting check to use Ubuntu 20.04 (#43)
* Update fomatting check to use Ubuntu 20.04

This ensures that the checks is same as in other repos. Also, run
uncrustify on all the files.
2023-02-27 11:47:34 +05:30
Pete Bone
1153e38830 Fix some warnings and re-enabled previously commented out, but now required code. (#37)
* Fix some warnings and remove #if 0 clause to re-enable required code

* Eliminate compiler warning and add explanation comment.

Co-authored-by: PeterB <PeterB@PETE-LT.otg.local>
2022-10-27 15:08:55 -07:00
Hein Tibosch
ade8d8da69 Call memcpy to copy a struct (#25)
* Call memcpy to copy a struct

* Insert 2 filler bytes to get better alignment.

* Sorry, typo

* Call sizeof with brackets - 1

Co-authored-by: Aniruddha Kanhere <60444055+AniruddhaKanhere@users.noreply.github.com>

* Call sizeof with brackets - 2

Co-authored-by: Aniruddha Kanhere <60444055+AniruddhaKanhere@users.noreply.github.com>

Co-authored-by: Hein Tibosch <hein@htibosch.net>
Co-authored-by: Aniruddha Kanhere <60444055+AniruddhaKanhere@users.noreply.github.com>
2022-06-27 14:30:58 -07:00
Hein Tibosch
50ea2f2568 Formatted sources using Uncrustify, updated copyright notices. (#16)
* Formatted sources using Uncrustify, updated copyright notices.

* Adding the uncrustify configuration file.

* Changed the copyright notices.

Co-authored-by: Hein Tibosch <hein@htibosch.net>
2021-05-10 11:12:02 -07:00
Kirill Zhumarin
c50b4b98e6 Fix warning in ff_stdio.c (#11)
* Fix warning in ff_stdio.c

This commit fixes warning:
warning: no previous prototype for 'prvABSPath' [-Wmissing-prototypes]

* Prototypes moved to a top of file
2021-04-13 11:04:12 -07:00
Yuhui Zheng
f90428e298 Sync with the distribution in FreeRTOS-Labs at commit 1ad51506443ab5550fbdde9c27a84b5879dd2a73. 2020-02-27 17:29:06 -08:00
Yuhui Zheng
7daf0485d8 Initial commit: FreeRTOS-Plus-FAT-160919a-MIT as-is. 2019-11-19 17:57:06 -08:00