mirror of
https://github.com/espressif/esp-idf.git
synced 2025-11-26 20:53:11 +00:00
Merge branch 'feature/enable-variable-partition-size-fatfs' into 'master'
fatfs: enabled reading sector size and sectors count from boot sector in rawflash Closes IDF-4130 See merge request espressif/esp-idf!20412
This commit is contained in:
@@ -185,9 +185,7 @@ class FATFS:
|
||||
|
||||
|
||||
def main() -> None:
|
||||
args = get_args_for_partition_generator('Create a FAT filesystem and populate it with directory content')
|
||||
if args.sector_size != 0x1000:
|
||||
raise NotImplementedError('The sector size not equal to 4096 is currently not supported for read-only mode!')
|
||||
args = get_args_for_partition_generator('Create a FAT filesystem and populate it with directory content', wl=False)
|
||||
fatfs = FATFS(sector_size=args.sector_size,
|
||||
sectors_per_cluster=args.sectors_per_cluster,
|
||||
size=args.partition_size,
|
||||
|
||||
Reference in New Issue
Block a user