arduino-libraries / SD

SD Library for Arduino

Home Page:http://arduino.cc/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

create/open file with DIR_ATTR_ARCHIVE 0x20

NWS-NRC opened this issue · comments

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?