mirror of
https://github.com/espruino/Espruino.git
synced 2025-12-08 19:06:15 +00:00
Increase default internal SD card bitrate to 4MHz (from 100k)
This commit is contained in:
parent
f78c10b85e
commit
1068563563
@ -40,6 +40,7 @@
|
||||
nRF5x: Add support for negating pins in software (eg. buttons/LEDs)
|
||||
Add `E.setFlags({unsyncFiles:1}` which doesn't sync the file to the SD card after each write - it's *much* faster
|
||||
Filesystem API now uses flat strings (avoiding the 512 byte copy for each call)
|
||||
Increase default internal SD card bitrate to 4MHz (from 100k)
|
||||
|
||||
1v94 : Allow Espruino boards to reset straight out of the DFU Bootloader
|
||||
Improvements in handling errors in code running in IRQs
|
||||
|
||||
@ -82,6 +82,7 @@ bool jsfsInit() {
|
||||
JsVar *spi = jsvSkipNameAndUnLock(jspGetNamedVariable(deviceStr));
|
||||
JshSPIInfo inf;
|
||||
jshSPIInitInfo(&inf);
|
||||
inf.baudRate = 4000000; // 4Mhz bit rate for onboard SD cards
|
||||
inf.pinMISO = SD_DO_PIN;
|
||||
inf.pinMOSI = SD_DI_PIN;
|
||||
inf.pinSCK = SD_CLK_PIN;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user