A Hardware Hacking Tool with Web-Based CLI That Speaks Every Protocol
C arduinobluetoothcan-busdebuggingeepromesp32flipperzerogpiohardware-hackingi2cjtagopenocdprotocolspwmradiorfidspisubghzuartwifi
add spi eeprom shell to provider
Geo6aadb42ad9ff
diff --git a/src/Providers/DependencyProvider.cpp b/src/Providers/DependencyProvider.cppindex a349129f..25662421 100644--- a/src/Providers/DependencyProvider.cpp+++ b/src/Providers/DependencyProvider.cpp@@ -35,6 +35,7 @@ DependencyProvider::DependencyProvider(ITerminalView &terminalView, IDeviceViewuserInputManager(terminalView, terminalInput, argTransformer),sdCardShell(sdService, terminalView, terminalInput, argTransformer),spiFlashShell(spiService, terminalView, terminalInput, argTransformer, userInputManager, binaryAnalyzeManager),+ spiEepromShell(spiService, terminalView, terminalInput, argTransformer, userInputManager),smartCardShell(twoWireService, terminalView, terminalInput, argTransformer, userInputManager),universalRemoteShell(terminalView, terminalInput, infraredService, argTransformer, userInputManager),ibuttonShell(terminalView, terminalInput, userInputManager, argTransformer, oneWireService),@@ -48,7 +49,7 @@ DependencyProvider::DependencyProvider(ITerminalView &terminalView, IDeviceViewinfraredController(terminalView, terminalInput, infraredService, argTransformer, userInputManager, universalRemoteShell),utilityController(terminalView, deviceView, terminalInput, pinService, userInputManager, argTransformer),hdUartController(terminalView, terminalInput, deviceInput, hdUartService, uartService, argTransformer, userInputManager),- spiController(terminalView, terminalInput, spiService, sdService, argTransformer, userInputManager, binaryAnalyzeManager, sdCardShell, spiFlashShell),+ spiController(terminalView, terminalInput, spiService, sdService, argTransformer, userInputManager, binaryAnalyzeManager, sdCardShell, spiFlashShell, spiEepromShell),jtagController(terminalView, terminalInput, jtagService, userInputManager),twoWireController(terminalView, terminalInput, userInputManager, twoWireService, smartCardShell),threeWireController(terminalView, terminalInput, userInputManager, threeWireService, argTransformer, threeWireEepromShell),@@ -124,6 +125,7 @@ SdCardShell &DependencyProvider::getSdCardShell() { return sdCardShell; }UniversalRemoteShell &DependencyProvider::getUniversalRemoteShell() { return universalRemoteShell; }I2cEepromShell &DependencyProvider::getI2cEepromShell() { return i2cEepromShell; }SpiFlashShell &DependencyProvider::getSpiFlashShell() { return spiFlashShell; }+SpiEepromShell &DependencyProvider::getSpiEepromShell() { return spiEepromShell; }SmartCardShell &DependencyProvider::getSmartCardShell() { return smartCardShell; }ThreeWireEepromShell &DependencyProvider::getThreeWireEepromShell() { return threeWireEepromShell; }IbuttonShell &DependencyProvider::getIbuttonShell() { return ibuttonShell; }diff --git a/src/Providers/DependencyProvider.h b/src/Providers/DependencyProvider.hindex d878a1ac..6253e358 100644--- a/src/Providers/DependencyProvider.h+++ b/src/Providers/DependencyProvider.h@@ -57,6 +57,7 @@ and injecting shared instances of core components#include "Shells/UniversalRemoteShell.h"#include "Shells/I2cEepromShell.h"#include "Shells/SpiFlashShell.h"+#include "Shells/SpiEepromShell.h"#include "Shells/SmartCardShell.h"#include "Shells/ThreeWireEepromShell.h"#include "Shells/IbuttonShell.h"@@ -134,6 +135,7 @@ public:UniversalRemoteShell &getUniversalRemoteShell();I2cEepromShell &getI2cEepromShell();SpiFlashShell &getSpiFlashShell();+ SpiEepromShell &getSpiEepromShell();SmartCardShell &getSmartCardShell();ThreeWireEepromShell &getThreeWireEepromShell();IbuttonShell &getIbuttonShell();@@ -211,6 +213,7 @@ private:UniversalRemoteShell universalRemoteShell;I2cEepromShell i2cEepromShell;SpiFlashShell spiFlashShell;+ SpiEepromShell spiEepromShell;SmartCardShell smartCardShell;ThreeWireEepromShell threeWireEepromShell;IbuttonShell ibuttonShell;