A Hardware Hacking Tool with Web-Based CLI That Speaks Every Protocol
C arduinobluetoothcan-busdebuggingeepromesp32flipperzerogpiohardware-hackingi2cjtagopenocdprotocolspwmradiorfidspisubghzuartwifi
add uart emulation shell to provider
Geo4aea47a8e098
diff --git a/src/Providers/DependencyProvider.cpp b/src/Providers/DependencyProvider.cppindex 27d7f69c..f6b74426 100644--- a/src/Providers/DependencyProvider.cpp+++ b/src/Providers/DependencyProvider.cpp@@ -71,6 +71,7 @@ DependencyProvider::DependencyProvider(ITerminalView &terminalView, IDeviceViewoneWireEepromShell(terminalView, terminalInput, oneWireService, argTransformer, userInputManager, binaryAnalyzeManager),guideShell(terminalView, terminalInput, userInputManager),helpShell(terminalView, terminalInput, userInputManager),+ uartEmulationShell(terminalView, terminalInput, uartService, argTransformer, userInputManager),// SelectorshorizontalSelector(deviceView, deviceInput),@@ -79,7 +80,7 @@ DependencyProvider::DependencyProvider(ITerminalView &terminalView, IDeviceViewterminalTypeConfigurator(horizontalSelector),// Controllers- uartController(terminalView, terminalInput, deviceInput, uartService, sdService, hdUartService, argTransformer, userInputManager, uartAtShell, helpShell),+ uartController(terminalView, terminalInput, deviceInput, uartService, sdService, hdUartService, argTransformer, userInputManager, uartAtShell, helpShell, uartEmulationShell),i2cController(terminalView, terminalInput, i2cService, argTransformer, userInputManager, i2cEepromShell, helpShell),oneWireController(terminalView, terminalInput, oneWireService, argTransformer, userInputManager, ibuttonShell, oneWireEepromShell, helpShell),infraredController(terminalView, terminalInput, infraredService, littleFsService, argTransformer, infraredTransformer, userInputManager, universalRemoteShell, helpShell),@@ -89,7 +90,7 @@ DependencyProvider::DependencyProvider(ITerminalView &terminalView, IDeviceViewjtagController(terminalView, terminalInput, jtagService, userInputManager, helpShell),twoWireController(terminalView, terminalInput, userInputManager, twoWireService, smartCardShell, helpShell),threeWireController(terminalView, terminalInput, userInputManager, threeWireService, argTransformer, threeWireEepromShell, helpShell),- dioController(terminalView, terminalInput, pinService, argTransformer, helpShell),+ dioController(terminalView, terminalInput, pinService, argTransformer, helpShell, userInputManager),ledController(terminalView, terminalInput, ledService, argTransformer, userInputManager, helpShell),bluetoothController(terminalView, terminalInput, deviceInput, bluetoothService, argTransformer, userInputManager, helpShell),i2sController(terminalView, terminalInput, i2sService, argTransformer, userInputManager, helpShell),diff --git a/src/Providers/DependencyProvider.h b/src/Providers/DependencyProvider.hindex 4b4db1d5..709b76b5 100644--- a/src/Providers/DependencyProvider.h+++ b/src/Providers/DependencyProvider.h@@ -85,6 +85,7 @@ and injecting shared instances of core components#include "Shells/OneWireEepromShell.h"#include "Shells/GuideShell.h"#include "Shells/HelpShell.h"+#include "Shells/UartEmulationShell.h"#include "Config/TerminalTypeConfigurator.h"class DependencyProvider@@ -191,6 +192,7 @@ public:OneWireEepromShell &getOneWireEepromShell();GuideShell &getGuideShell();HelpShell &getHelpShell();+ UartEmulationShell &getUartEmulationShell();// SelectorsHorizontalSelector &getHorizontalSelector();@@ -296,6 +298,7 @@ private:OneWireEepromShell oneWireEepromShell;GuideShell guideShell;HelpShell helpShell;+ UartEmulationShell uartEmulationShell;// SelectorsHorizontalSelector horizontalSelector;