Update chibios fatfs lfn2 dmastack (#2806)

* [sdlog] update chibios and fatfs, fix bug due to DMA/cache issue

- sdlog on F7 was not using a DMA compatible ram for log thread
- update chibios for latest fix in 20.3.x branch
- update fatfs to v0.14 with pprz patch to suppress warnings
- factorize the ffconf.h file for all chibios boards
- set LFN option to 2 (use stack for long file name memory space)

* [sdlog] increase stack size to avoid stack overflow

Co-authored-by: Gautier Hattenberger <gautier.hattenberger@enac.fr>
This commit is contained in:
alexandre bustico
2021-12-06 09:39:38 +01:00
committed by GitHub
parent 3265299718
commit 6e6e2f11ce
14 changed files with 102 additions and 1711 deletions
+3 -3
View File
@@ -1,10 +1,10 @@
# FATFS files.
FATFSSRC = $(CHIBIOS)/os/various/fatfs_bindings/fatfs_diskio.c \
$(CHIBIOS)/os/various/fatfs_bindings/fatfs_syscall.c \
$(PAPARAZZI_SRC)/sw/ext/fatfs/src/ff.c \
$(PAPARAZZI_SRC)/sw/ext/fatfs/src/ffunicode.c
$(PAPARAZZI_SRC)/sw/ext/fatfs/source/ff.c \
$(PAPARAZZI_SRC)/sw/ext/fatfs/source/ffunicode.c
FATFSINC = $(PAPARAZZI_SRC)/sw/ext/fatfs/src
FATFSINC = $(PAPARAZZI_SRC)/sw/ext/fatfs/source
# Shared variables
ALLCSRC += $(FATFSSRC)