mirror of
				https://github.com/eledio-devices/thirdparty-littlefs.git
				synced 2025-10-31 00:32:38 +01:00 
			
		
		
		
	
							
								
								
									
										10
									
								
								SPEC.md
									
									
									
									
									
								
							
							
						
						
									
										10
									
								
								SPEC.md
									
									
									
									
									
								
							| @@ -289,7 +289,7 @@ Layout of the name tag: | ||||
| ``` | ||||
|         tag                          data | ||||
| [--      32      --][---        variable length        ---] | ||||
| [1| 3| 8 | 10 | 10 ][---            (size)             ---] | ||||
| [1| 3| 8 | 10 | 10 ][---          (size * 8)           ---] | ||||
|  ^  ^  ^    ^    ^- size                   ^- file name | ||||
|  |  |  |    '------ id | ||||
|  |  |  '----------- file type | ||||
| @@ -470,7 +470,7 @@ Layout of the inline-struct tag: | ||||
| ``` | ||||
|         tag                          data | ||||
| [--      32      --][---        variable length        ---] | ||||
| [1|- 11 -| 10 | 10 ][---            (size)             ---] | ||||
| [1|- 11 -| 10 | 10 ][---           (size * 8)          ---] | ||||
|  ^    ^     ^    ^- size                    ^- inline data | ||||
|  |    |     '------ id | ||||
|  |    '------------ type (0x201) | ||||
| @@ -556,7 +556,7 @@ Layout of the user-attr tag: | ||||
| ``` | ||||
|         tag                          data | ||||
| [--      32      --][---        variable length        ---] | ||||
| [1| 3| 8 | 10 | 10 ][---            (size)             ---] | ||||
| [1| 3| 8 | 10 | 10 ][---           (size * 8)          ---] | ||||
|  ^  ^  ^    ^    ^- size                    ^- attr data | ||||
|  |  |  |    '------ id | ||||
|  |  |  '----------- attr type | ||||
| @@ -764,9 +764,9 @@ Layout of the CRC tag: | ||||
| ``` | ||||
|         tag                                    data | ||||
| [--      32      --][--      32      --|---        variable length        ---] | ||||
| [1| 3| 8 | 10 | 10 ][--      32      --|---            (size)             ---] | ||||
| [1| 3| 8 | 10 | 10 ][--      32      --|---        (size * 8 - 32)        ---] | ||||
|  ^  ^  ^    ^    ^            ^- crc                             ^- padding | ||||
|  |  |  |    |    '- size (12) | ||||
|  |  |  |    |    '- size | ||||
|  |  |  |    '------ id (0x3ff) | ||||
|  |  |  '----------- valid state | ||||
|  |  '-------------- type1 (0x5) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user