mirror of
				https://github.com/eledio-devices/thirdparty-littlefs.git
				synced 2025-10-31 16:14:16 +01:00 
			
		
		
		
	WIP Initial branch for exploring B-trees
This commit is contained in:
		| @@ -4,18 +4,19 @@ import struct | ||||
| import binascii | ||||
|  | ||||
| TYPES = { | ||||
|     (0x1ff, 0x001): 'reg', | ||||
|     (0x1ff, 0x002): 'dir', | ||||
|     (0x1ff, 0x011): 'superblock', | ||||
|     (0x1ff, 0x010): 'root', | ||||
|     (0x1ff, 0x030): 'delete', | ||||
|     (0x1f0, 0x080): 'globals', | ||||
|     (0x1ff, 0x0c0): 'tail soft', | ||||
|     (0x1ff, 0x0c1): 'tail hard', | ||||
|     (0x1f0, 0x0f0): 'crc', | ||||
|     (0x1ff, 0x040): 'struct dir', | ||||
|     (0x1ff, 0x041): 'struct inline', | ||||
|     (0x1ff, 0x042): 'struct ctz', | ||||
|     (0x1ff, 0x004): 'reg', | ||||
|     (0x1ff, 0x005): 'dir', | ||||
|     (0x1ff, 0x002): 'superblock', | ||||
|     (0x1ff, 0x003): 'root', | ||||
|     (0x1ff, 0x001): 'child', | ||||
|     (0x1ff, 0x060): 'delete', | ||||
|     (0x1f0, 0x0e0): 'globals', | ||||
|     (0x1ff, 0x080): 'tail soft', | ||||
|     (0x1ff, 0x081): 'tail hard', | ||||
|     (0x1f0, 0x0a0): 'crc', | ||||
|     (0x1ff, 0x020): 'struct dir', | ||||
|     (0x1ff, 0x021): 'struct inline', | ||||
|     (0x1ff, 0x022): 'struct ctz', | ||||
|     (0x100, 0x100): 'attr', | ||||
| } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user