mirror of
https://github.com/erichelgeson/BlueSCSI.git
synced 2025-08-15 14:27:21 +00:00
Upgrade SdFat from 2.0.6 to 2.2.0
No change in perf
This commit is contained in:
@@ -6,7 +6,7 @@ default_envs = STM32F1
|
|||||||
[env]
|
[env]
|
||||||
framework = arduino
|
framework = arduino
|
||||||
lib_deps =
|
lib_deps =
|
||||||
greiman/SdFat @ 2.0.6
|
greiman/SdFat @ 2.2.0
|
||||||
upload_protocol = stlink
|
upload_protocol = stlink
|
||||||
; Different gcc versions produce much different binaries in terms of speed.
|
; Different gcc versions produce much different binaries in terms of speed.
|
||||||
platform_packages = platformio/toolchain-gccarmnoneeabi@1.90301.200702
|
platform_packages = platformio/toolchain-gccarmnoneeabi@1.90301.200702
|
||||||
@@ -66,7 +66,7 @@ board_build.mcu = stm32f103c8t6
|
|||||||
board_build.core = maple
|
board_build.core = maple
|
||||||
framework = arduino
|
framework = arduino
|
||||||
lib_deps =
|
lib_deps =
|
||||||
greiman/SdFat @ 2.0.6
|
greiman/SdFat @ 2.2.0
|
||||||
upload_protocol = dfu
|
upload_protocol = dfu
|
||||||
; Different gcc versions produce much different binaries in terms of speed.
|
; Different gcc versions produce much different binaries in terms of speed.
|
||||||
platform_packages = platformio/toolchain-gccarmnoneeabi@1.90301.200702
|
platform_packages = platformio/toolchain-gccarmnoneeabi@1.90301.200702
|
||||||
|
@@ -196,13 +196,12 @@ void readSDCardInfo()
|
|||||||
LOG_FILE.println(sd_cid.pnm[4]);
|
LOG_FILE.println(sd_cid.pnm[4]);
|
||||||
|
|
||||||
LOG_FILE.print("Sd Date:");
|
LOG_FILE.print("Sd Date:");
|
||||||
LOG_FILE.print(sd_cid.mdt_month);
|
LOG_FILE.print(sd_cid.mdtMonth());
|
||||||
LOG_FILE.print("/20"); // CID year is 2000 + high/low
|
LOG_FILE.print("/");
|
||||||
LOG_FILE.print(sd_cid.mdt_year_high);
|
LOG_FILE.println(sd_cid.mdtYear());
|
||||||
LOG_FILE.println(sd_cid.mdt_year_low);
|
|
||||||
|
|
||||||
LOG_FILE.print("Sd Serial:");
|
LOG_FILE.print("Sd Serial:");
|
||||||
LOG_FILE.println(sd_cid.psn);
|
LOG_FILE.println(sd_cid.psn());
|
||||||
LOG_FILE.sync();
|
LOG_FILE.sync();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user