arduino-libraries / SD

SD Library for Arduino
http://arduino.cc/
GNU General Public License v3.0
179 stars 155 forks source link

create/open file with DIR_ATTR_ARCHIVE 0x20 #91

Open NWS-NRC opened 3 years ago

NWS-NRC commented 3 years ago

I'm using the uTasker SD bootloader for a teensy 3.5 so that I can send remote updates via cellular XBee and then send the file over serial to write to SD Card. The SD card bootloader expects the files to have the attribute DIR_ATTR_ARCHIVE 0x20, but the SD Library writes x00 in this location.

Windows file creation: 0x204e4942

SD Library creation: 0x004e4942

Is there a way to open/create a file with that attribute set?