07e46cef0e
Merge pull request #16412 from benpicco/pkg/fatfs-r0.14b
...
pkg/fatfs: bump version to r0.14b
2022-01-03 19:09:37 +01:00
Benjamin Valentin
49e609a631
pkg/fatfs: bump version to r0.14b
...
R0.14b (April 17, 2021)
Made FatFs uses standard library <string.h> for copy, compare and search instead of built-in string functions.
Added support for long long integer and floating point to f_printf(). (FF_STRF_LLI and FF_STRF_FP)
Made path name parser ignores the terminating separator to allow "dir/".
Improved the compatibility in Unix style path name feature.
Fixed the file gets dead-locked when f_open() failed with some conditions. (appeared at R0.12a)
Fixed f_mkfs() can create wrong exFAT volume due to a timing dependent error. (appeared at R0.12)
Fixed code page 855 cannot be set by f_setcp(). (appeared at R0.13)
Fixed some compiler warnings.
- http://elm-chan.org/fsw/ff/updates.txt
2022-01-03 17:23:46 +01:00
Marian Buschsieweke
83f86d471b
pkg/fatfs/fatfs_vfs: silence -Wcast-align
...
The -Wcast-align warnings are false positives. Hence, document
the reason why unaligned accesses cannot occur and silence the
warning.
2021-12-03 10:12:33 +01:00
Jan Romann
4384795cb9
treewide: Remove excessive newlines
2021-08-13 19:50:38 +02:00
9bd22dba79
pkg: silent make commands with RIOT_CI_BUILD=1
2021-03-12 16:05:18 +01:00
Benjamin Valentin
f3780bb00c
pkg/fatfs: bump version to r0.14a
...
R0.14a (December 05, 2020)
Limited number of recursive calls in f_findnext().
Fixed old floppy disks formatted with MS-DOS 2.x and 3.x cannot be mounted.
Fixed some compiler warnings.
- http://elm-chan.org/fsw/ff/updates.txt
2021-01-31 20:03:13 +01:00
Benjamin Valentin
60eb75da3c
mtd: rename mtd_write_page() -> mtd_write_page_raw()
...
The function will not abstract away the behavior of the underlying media
(e.g. whether only 1 -> 0 writes are possible without erase), thus rename it.
2021-01-26 11:48:26 +01:00
Benjamin Valentin
33449a4409
pkg/fatfs: bump version to r0.14
2020-11-17 11:29:28 +01:00
chrysn
b6392d63ef
vfs: Provide generic stat implementation (and use in fatfs)
...
When a file system has `fstat` and `open` implemented, `stat` can still
be missing. The new function is a generic implementation, and used in
fatfs to provide a `stat`.
2020-10-25 17:39:57 +01:00
Bas Stottelaar
38a5ff7d4b
pkg/*: realign ENABLE_DEBUG
2020-10-23 02:43:10 +02:00
Bas Stottelaar
970c72a0cb
pkg/*: add missing include of assert.h
2020-10-22 11:13:08 +02:00
Benjamin Valentin
c436c39ea8
pkg/fatfs: use page-wise read() and write()
...
The FAT file system operates on sectors (pages), so use the new
mtd_write_page() and mtd_read_page() functions.
This also avoids the wrap-around after reading/writing past 4 GiB.
2020-08-18 17:25:39 +02:00
Sven Herrmann
75a9ad0be1
pkg/fatfs/fatfs_vfs: fix fstat
2020-06-30 07:45:08 +00:00
benpicco
3af5efe5cd
Merge pull request #14175 from sven-hm/fatfs_vfs_open_flag_translation
...
pkg/fatfs/fatfs_vfs: fix flag translation in _open
2020-06-29 23:40:55 +02:00
Sven Herrmann
4469d8f0fb
pkg/fatfs/fatfs_vfs: fix flag translation in _open
2020-06-29 10:06:28 +00:00
385ad95701
pkg: adapt 'simple' packages to the new organization
2020-06-26 09:25:43 +02:00
a009684336
pkg: use Makefile.base to build pkg modules when possible
2020-06-12 18:44:49 +02:00
9464c34467
pkg: don't copy Makefile in package build directory
...
Instead use the '-f' option of the make command
2020-06-12 18:44:48 +02:00
eee5bf178d
Merge pull request #13993 from benpicco/examples/filesystem-fatfs
...
examples/filesystem: add support for fatfs on SD card
2020-05-26 19:20:47 +02:00
Benjamin Valentin
3b2cfa6478
drivers/sdcard_spi: add auto_init_storage to DEFAULT_MODULE
...
sdcard_spi is the only driver in auto_init_storage and was previously
pulled in by fatsfs (because it's used on SD cards)
It does however make much more sense if the SD card driver pulls that in
so other file systems can be used on SD card too.
2020-05-20 11:57:05 +02:00
fabian18
a3a1c160ee
mtd: Change API to return 0 on success
...
Returning the number of bytes written/read could return a negative integer
because a uint32_t is expected for the length in read()/write() operations.
2020-05-06 20:24:27 +02:00
Koos
b34b11a0c6
pkg/fatfs: fix day_of_month value of get_fattime()
2020-04-03 11:27:10 +02:00
Francisco Molina
7bfb855a86
Makefile.dep: auto_init_% as DEFAULT_MODULES
...
Having the modules as DEFAULT_MODULES allows disabling them.
2020-02-12 16:51:32 +01:00
Gaëtan Harter
ca5d13cc2a
pkg/*: adapt to new state file targets
...
Prepare for handling pkg state with files. So it requires having the
path defined before declaring targets. In addition, it cleans up the
old git-download target.
2020-01-08 20:55:19 +01:00
591d08500a
pkg/fatfs: fix typos
2019-11-23 22:39:38 +01:00
Francisco Molina
45c8eafd42
Makefile.include: remove repeated OS declaration
2019-10-18 10:36:43 +02:00
Francisco Molina
f3482de277
REMOVEME: add OS and OS_ARCH variable
2019-10-18 08:46:51 +02:00
ce9b1e3826
pkg: remove not needed git-downloaded dependencies
...
This is implicitly done by the "pkg-prepare"-step of the main make
instance.
2019-06-28 09:38:44 +02:00
Gaëtan Harter
c7de150ec3
pkg/fatfs: fix declaration of periph_rtc optional dependency
...
* Declare optional dependency to periph_rtc
* Move CFLAGS definition to Makefile.include
2018-11-19 15:59:54 +01:00
70407a1a3e
pkg*: fix doxygen grouping
2018-06-11 19:12:02 +02:00
Joakim Nohlgård
5fb07e89b4
pkg/fatfs: refactor absolute path handling
2018-03-14 11:56:51 +01:00
Michel Rottleuthner
7ad1d77786
pkg/fatfs: align to interface changes of FatFs R0.13a
2018-01-23 19:32:41 +01:00
Michel Rottleuthner
facfa3b23a
pkg/fatfs: bump version to R0.13a and switch to RIOT-OS/FatFS mirror
2018-01-23 19:23:03 +01:00
MichelRottleuthner
198ced4933
pkg/fatfs: integrate diskio layer to mtd interface
2018-01-09 14:46:40 +01:00
MichelRottleuthner
ee17dae5af
pkg/fatfs: add vfs integration
2018-01-09 14:46:40 +01:00
smlng
e381317fbf
make: fix sign-compare errors
...
cpu, nrf5x_common: fix sign-compare in periph/flashpage
drivers, periph_common: fix sign-compare in flashpage
cpu, sam0_common: fix sign-compare error in periph/gpio
cpu, cc2538: fix sign-compare in periph/timer
cpu, sam3: fix sign-compare in periph/gpio
cpu, stm32_common: fix sign-compare in periph/pwm
cpu, stm32_common: fix sign-compare in periph/timer
cpu, stm32_common: fix sign-compare in periph/flashpage
cpu, nrf5x_common: fix sign-compare in radio/nrfmin
cpu, samd21: fix sign-compare in periph/pwm
cpu, ezr32wg: fix sign-compare in periph/gpio
cpu, ezr32wg: fix sign-compare in periph/timer
drivers, ethos: fix sign-compare
sys, net: fix sign-compare
cpu, atmega_common: fix sign-compare error
cpu, msp430fxyz: fix sign-compare in periph/gpio
boards, msb-430-common: fix sign-compare in board_init
driver, cc2420: fix sign-compared
sys/net: fix sign-compare in gnrc_tftp
driver, pcd8544: fix sign-compare
driver, pn532: fix sign-compare
driver, sdcard_spi: fix sign-compare
tests: fix sign_compare
sys/net, lwmac: fix sign_compare
pkg, lwip: fix sign-compare
boards, waspmote: make CORECLOCK unsigned long to fix sign_compare error
tests, sock_ip: fix sign compare
tests, msg_avail: fix sign compare
tests, sock_udp: fix sign compare
boards: fix sign-compare for calliope and microbit matrix
2017-11-28 11:55:48 +01:00
Michel Rottleuthner
267199b497
pkg/fatfs: fix missing includes and disk_ioctl function in native diskio
2017-10-23 19:14:04 +02:00
Martine Lenders
19728dcf7f
pkg: fatfs: do not export CFLAGS in dependencies
2017-10-23 16:50:27 +02:00
a45a86b5ad
pkg: makefiles indentation cleanup
2017-09-22 14:53:01 +02:00
5dc834a72d
doxygen: fix typo on word 'successfully'
2017-08-29 15:12:44 +02:00
2802c1e5dd
fixup! pkg: enhance doxygen packages documentation
2017-07-03 11:18:47 +02:00
c4ebd18be2
pkg: enhance doxygen packages documentation
2017-07-03 09:56:07 +02:00
MichelRottleuthner
938fe26757
pkg/fatfs: switched to git mirror for downloading FatFs code instead of authors webserver, added Makefile.dep for fatfs, cleanup code for using rtc
2017-05-15 15:21:29 +02:00
MichelRottleuthner
e0f60ba10a
pkg: add package for FatFs with support for sdcard_spi and native
2017-05-10 12:38:56 +02:00