Skip to content

Commit

Permalink
Fix SD card init issues
Browse files Browse the repository at this point in the history
Copy SD lib from arduino-esp32 v2.0.4 to replace SD lib from arduino-esp32 v2.0.0-rc2
  • Loading branch information
justcallmekoko committed Sep 8, 2022
1 parent d2b8cf7 commit 8769103
Show file tree
Hide file tree
Showing 14 changed files with 12 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<!---[![Build Status](https://travis-ci.com/justcallmekoko/ESP32Marauder.svg?branch=master)](https://travis-ci.com/justcallmekoko/ESP32Marauder)--->
<!---Shields/Badges https://shields.io/--->

# ESP32 Marauder v0.9.13
# ESP32 Marauder v0.9.15
<p align="center"><img alt="Marauder logo" src="https://github.com/justcallmekoko/ESP32Marauder/blob/master/pictures/marauder3L.jpg?raw=true" width="300"></p>
<p align="center">
<b>A suite of WiFi/Bluetooth offensive and defensive tools for the ESP32</b>
Expand Down
4 changes: 4 additions & 0 deletions esp32_marauder/SDInterface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ bool SDInterface::initSD() {
return false;
}
#endif

pinMode(SD_CS, OUTPUT);

delay(10);

if (!SD.begin(SD_CS)) {
Serial.println(F("Failed to mount SD Card"));
Expand Down
2 changes: 1 addition & 1 deletion esp32_marauder/configs.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
//#define GENERIC_ESP32
#define MARAUDER_FLIPPER

#define MARAUDER_VERSION "v0.9.14"
#define MARAUDER_VERSION "v0.9.15"

//// BUTTON DEFINITIONS
#ifdef MARAUDER_MINI
Expand Down
6 changes: 6 additions & 0 deletions esp32_marauder/esp32_marauder.ino
Original file line number Diff line number Diff line change
Expand Up @@ -119,9 +119,15 @@ void setup()
#ifdef HAS_SCREEN
digitalWrite(TFT_CS, HIGH);
#endif

pinMode(SD_CS, OUTPUT);

delay(10);

digitalWrite(SD_CS, HIGH);

delay(10);

Serial.begin(115200);

//Serial.begin(115200);
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 comments on commit 8769103

Please sign in to comment.