codebje opened a new pull request #2861: URL: https://github.com/apache/incubator-nuttx/pull/2861
## Summary This change reflects that the geometry isn't related to the largest allocatable unit on the platform but is related to geometries of SD cards (32 bit) and FAT32 file systems (also 32 bit). ## Impact On platforms where `size_t` is not 32 bits this allows larger SD cards to be mounted as FAT32 file systems. On the eZ80, for example, `size_t` is 24 bits. The most significant bits get discarded when transferring from the SD card's sector count to the geometry, and don't match the sector count in the FAT32 header. ## Testing A 16GB SD card can be mounted on an eZ80 device after this change. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org