Błażej Sowa e23ce7da3f Fix usage of FF_createERR macro in prvGetFAT12Entry (#62)
Description
-----------
#45 introduced a compilation error about implicit `FF_CreateError`
function when using FAT12 support. I assume it was supposed to be
`FF_createERR` macro instead so I changed it.

Checklist:
----------
<!--- Go over all the following points, and put an `x` in all the boxes
that apply. -->
<!--- If you're unsure about any of these, don't hesitate to ask. We're
here to help! -->
- [x] I have tested my changes. No regression in existing tests.
- [ ] I have modified and/or added unit-tests to cover the code changes
in this Pull Request.

By submitting this pull request, I confirm that you can use, modify,
copy, and redistribute this contribution, under the terms of your
choice.
2024-01-30 14:28:01 -08:00
2023-12-05 17:34:02 -08:00
2023-12-05 17:34:02 -08:00
2024-01-30 14:20:38 -08:00
2023-12-05 17:34:02 -08:00
2023-12-05 17:34:02 -08:00
2023-12-05 17:34:02 -08:00
2023-12-05 17:34:02 -08:00
2023-12-05 17:34:02 -08:00
2023-12-05 17:34:02 -08:00
2023-12-05 17:34:02 -08:00
2023-12-05 17:34:02 -08:00
2023-12-05 17:34:02 -08:00
2023-12-05 17:34:02 -08:00
2023-12-05 17:34:02 -08:00
2023-12-05 17:34:02 -08:00
2023-12-05 17:34:02 -08:00
2023-12-05 17:34:02 -08:00
2023-12-05 17:34:02 -08:00
2023-12-05 17:34:02 -08:00
2023-12-05 17:34:02 -08:00

FreeRTOS+FAT: DOS Compatible Embedded FAT File System

FreeRTOS+FAT is an open source, thread aware and scalable FAT12/FAT16/FAT32 DOS /Windows compatible embedded FAT file system which was recently acquired by Real Time Engineers ltd. for use with and without FreeRTOS.

FreeRTOS+FAT is already used in commercial products, and is the file system used in the FTP and HTTP server examples that are documented on the FreeRTOS+TCP pages.

The standard C library style API includes a thread local errno value, and the lower level native API provides a rich set of detailed error codes.

For more details, please visit FreeRTOS+FAT page.

To consume FreeRTOS+FAT

Consume with CMake

If using CMake, it is recommended to use this repository using FetchContent. Add the following into your project's main or a subdirectory's CMakeLists.txt:

include(FetchContent)

FetchContent_Declare( freertos_plus_fat
  GIT_REPOSITORY https://github.com/FreeRTOS/Lab-Project-FreeRTOS-FAT.git
  GIT_TAG        master #Note: Best practice to use specific git-hash or tagged version
  GIT_SUBMODULES "" # Don't grab any submodules since not latest
)

# ...

set( FREERTOS_PLUS_FAT_DEV_SUPPORT OFF CACHE BOOL "" FORCE)
# Select the native compile PORT
set( FREERTOS_PLUS_FAT_PORT "POSIX" CACHE STRING "" FORCE)
# Select the cross-compile PORT
if (CMAKE_CROSSCOMPILING)
  # Eg. Zynq 2019_3 version of port
  set(FREERTOS_PLUS_FAT_PORT "ZYNQ_2019_3" CACHE STRING "" FORCE)
endif()

FetchContent_MakeAvailable(freertos_plus_fat)

If you already have FreeRTOS in your project, you may skip the fetch content by setting FREERTOS_PLUS_FAT_FETCH_FREERTOS to OFF.

Consuming stand-alone

It is recommended to use this repository as a submodule. Please refer to Git Tools — Submodules.

Notes

This project is undergoing optimizations or refactoring to improve memory usage, modularity, documentation, demo usability, or test coverage.

Description
No description provided
Readme 953 KiB
Languages
C 99.3%
CMake 0.7%