A Hardware Hacking Tool with Web-Based CLI That Speaks Every Protocol
C arduinobluetoothcan-busdebuggingeepromesp32flipperzerogpiohardware-hackingi2cjtagopenocdprotocolspwmradiorfidspisubghzuartwifi
add shell to provider
Geoe2e2342279fe
diff --git a/src/Providers/DependencyProvider.cpp b/src/Providers/DependencyProvider.cppindex 7c0cb47e..b1ac4be5 100644--- a/src/Providers/DependencyProvider.cpp+++ b/src/Providers/DependencyProvider.cpp@@ -31,14 +31,15 @@ DependencyProvider::DependencyProvider(ITerminalView &terminalView, IDeviceViewargTransformer(),webRequestTransformer(),commandHistoryManager(),- binaryAnalyzeManager(spiService, terminalView, terminalInput),+ binaryAnalyzeManager(terminalView, terminalInput),userInputManager(terminalView, terminalInput, argTransformer),sdCardShell(sdService, terminalView, terminalInput, argTransformer),universalRemoteShell(terminalView, terminalInput, infraredService, argTransformer, userInputManager),+ i2cEepromShell(terminalView, terminalInput, i2cService, argTransformer, userInputManager, binaryAnalyzeManager),horizontalSelector(deviceView, deviceInput),terminalTypeConfigurator(horizontalSelector),uartController(terminalView, terminalInput, deviceInput, uartService, sdService, hdUartService, argTransformer, userInputManager),- i2cController(terminalView, terminalInput, i2cService, argTransformer, userInputManager),+ i2cController(terminalView, terminalInput, i2cService, argTransformer, userInputManager, i2cEepromShell),oneWireController(terminalView, terminalInput, oneWireService, argTransformer, userInputManager),infraredController(terminalView, terminalInput, infraredService, argTransformer, userInputManager, universalRemoteShell),utilityController(terminalView, deviceView, terminalInput, pinService, userInputManager, argTransformer),@@ -117,6 +118,7 @@ BinaryAnalyzeManager &DependencyProvider::getBinaryAnalyzeManager() { return bin// ShellsSdCardShell &DependencyProvider::getSdCardShell() { return sdCardShell; }UniversalRemoteShell &DependencyProvider::getUniversalRemoteShell() { return universalRemoteShell; }+I2cEepromShell &DependencyProvider::getI2cEepromShell() { return i2cEepromShell; }// SelectorsHorizontalSelector &DependencyProvider::getHorizontalSelector() { return horizontalSelector; }diff --git a/src/Providers/DependencyProvider.h b/src/Providers/DependencyProvider.hindex bf5dd870..2e20b450 100644--- a/src/Providers/DependencyProvider.h+++ b/src/Providers/DependencyProvider.h@@ -55,6 +55,7 @@ and injecting shared instances of core components#include "Managers/UserInputManager.h"#include "Shells/SdCardShell.h"#include "Shells/UniversalRemoteShell.h"+#include "Shells/I2cEepromShell.h"#include "Config/TerminalTypeConfigurator.h"class DependencyProvider@@ -127,6 +128,7 @@ public:// ShellsSdCardShell &getSdCardShell();UniversalRemoteShell &getUniversalRemoteShell();+ I2cEepromShell &getI2cEepromShell();// SelectorsHorizontalSelector &getHorizontalSelector();@@ -199,6 +201,7 @@ private:// ShellsSdCardShell sdCardShell;UniversalRemoteShell universalRemoteShell;+ I2cEepromShell i2cEepromShell;// SelectorsHorizontalSelector horizontalSelector;