PaulStoffregen / SD

70 stars 41 forks source link

add macro switch for low-memory devices other than __AVR__ #44

Open bimac opened 2 years ago

bimac commented 2 years ago

Hi Paul,

not sure if this is useful, but I had some space issues compiling a project using SD.h on TeensyLC. By defining the macro SDFAT_LOWMEM the user can override the defaults and enable the limited feature-set on __arm__ platform as well.

Cheers, Florian

bimac commented 2 years ago

Before: Flash: [==========] 95.4% (used 60588 bytes from 63488 bytes)

After: Flash: [======== ] 83.5% (used 53016 bytes from 63488 bytes)