kopia lustrzana https://github.com/micropython/micropython-lib
The current code only calculates sectors for SDHC, with a max of 32G The new code will calculate sectors for SDXC, with a max of 2T C_SIZE is 22 bits[69:48] and the high 2 bits of csd[7] are required to be 0, currently, so i'm not masking them off. The max value for C_SIZE is 0x3FFEFF, so C_SIZE+1*1024 is a 32-bit number. bumped version in manifest.py Signed-off-by: Ben Wynn <bwynn@glowie.com> |
||
|---|---|---|
| .. | ||
| sdcard | ||