forked from qt-creator/qt-creator
BareMetal: Convert to Tr::tr
Change-Id: I7ac423c13d95b33cad332d2ce9fafb4f658980bc Reviewed-by: Alessandro Portale <alessandro.portale@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
This commit is contained in:
@@ -56809,7 +56809,7 @@ Tento průvodce vás provede základními kroky, které jsou nutné pro nasazen
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::BareMetalDeviceConfigurationWidget</name>
|
||||
<name>BareMetal</name>
|
||||
<message>
|
||||
<source>Form</source>
|
||||
<translation>Formulář</translation>
|
||||
@@ -56826,13 +56826,6 @@ Tento průvodce vás provede základními kroky, které jsou nutné pro nasazen
|
||||
<source>GDB commands:</source>
|
||||
<translation>Příkazy GDB:</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::BareMetalDeviceConfigurationWizardSetupPage</name>
|
||||
<message>
|
||||
<source>Form</source>
|
||||
<translation>Formulář</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Name:</source>
|
||||
<translation>Název:</translation>
|
||||
@@ -56841,18 +56834,6 @@ Tento průvodce vás provede základními kroky, které jsou nutné pro nasazen
|
||||
<source>localhost</source>
|
||||
<translation>localhost</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>GDB port:</source>
|
||||
<translation>Port GDB:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>GDB host:</source>
|
||||
<translation>Hostitel GDB:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>GDB commands:</source>
|
||||
<translation>Příkazy GDB:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>load
|
||||
monitor reset</source>
|
||||
@@ -57779,53 +57760,27 @@ Soubory ve zdrojovém adresáři balíčku pro Android jsou zkopírovány do adr
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::BareMetalDevice</name>
|
||||
<name>BareMetal</name>
|
||||
<message>
|
||||
<source>Bare Metal</source>
|
||||
<translation>Bare Metal</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::BareMetalDeviceConfigurationFactory</name>
|
||||
<message>
|
||||
<source>Bare Metal Device</source>
|
||||
<translation>Zařízení Bare Metal</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::BareMetalDeviceConfigurationWizard</name>
|
||||
<message>
|
||||
<source>New Bare Metal Device Configuration Setup</source>
|
||||
<translation>Zřízení nového nastavení zařízení Bare Metal</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::BareMetalDeviceConfigurationWizardSetupPage</name>
|
||||
<message>
|
||||
<source>Set up GDB Server or Hardware Debugger</source>
|
||||
<translation>Nastavit server GDB nebo hardwarový ladicí program</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Bare Metal Device</source>
|
||||
<translation>Zařízení Bare Metal</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::BareMetalGdbCommandsDeployStepWidget</name>
|
||||
<message>
|
||||
<source>GDB commands:</source>
|
||||
<translation>Příkazy GDB:</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::BareMetalGdbCommandsDeployStep</name>
|
||||
<message>
|
||||
<source>GDB commands</source>
|
||||
<translation>Příkazy GDB</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::BareMetalRunConfiguration</name>
|
||||
<message>
|
||||
<source>%1 (via GDB server or hardware debugger)</source>
|
||||
<translation>%1 (pomocí serveru GDB nebo hardwarového ladicího programu)</translation>
|
||||
@@ -57835,16 +57790,10 @@ Soubory ve zdrojovém adresáři balíčku pro Android jsou zkopírovány do adr
|
||||
<extracomment>Bare Metal run configuration default run name</extracomment>
|
||||
<translation>Spustit na serveru GDB nebo hardwarovém ladicím programu</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::BareMetalRunConfigurationFactory</name>
|
||||
<message>
|
||||
<source>%1 (on GDB server or hardware debugger)</source>
|
||||
<translation>%1 (na serveru GDB nebo hardwarovém ladicím programu)</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::BareMetalRunConfigurationWidget</name>
|
||||
<message>
|
||||
<source>Executable:</source>
|
||||
<translation>Spustitelný soubor:</translation>
|
||||
@@ -57865,9 +57814,6 @@ Soubory ve zdrojovém adresáři balíčku pro Android jsou zkopírovány do adr
|
||||
<source>Unknown</source>
|
||||
<translation>Neznámý</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::BareMetalRunControlFactory</name>
|
||||
<message>
|
||||
<source>Cannot debug: Kit has no device.</source>
|
||||
<translation>Nelze ladit: Kit nemá žádné zařízení.</translation>
|
||||
|
@@ -2340,16 +2340,10 @@ Advarsel: dette er en eksperimentel facilitet og kan lede til at test-eksekverba
|
||||
<source>Enter GDB commands to reset the hardware. The MCU should be halted after these commands.</source>
|
||||
<translation>Indtast GDB-kommandoer for at nulstille hardwaren. MCU'en bør standses efter disse kommandoer.</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::GdbServerProvider</name>
|
||||
<message>
|
||||
<source>Clone of %1</source>
|
||||
<translation>Klon af %1</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::BareMetalCustomRunConfiguration</name>
|
||||
<message>
|
||||
<source>Unknown</source>
|
||||
<translation>Ukendt</translation>
|
||||
@@ -2366,9 +2360,6 @@ Advarsel: dette er en eksperimentel facilitet og kan lede til at test-eksekverba
|
||||
<source>Custom Executable</source>
|
||||
<translation>Brugerdefineret eksekverbar</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::BareMetalDebugSupport</name>
|
||||
<message>
|
||||
<source>Cannot debug: Kit has no device.</source>
|
||||
<translation>Kan ikke fejlrette: kit har ingen enhed.</translation>
|
||||
@@ -2385,37 +2376,22 @@ Advarsel: dette er en eksperimentel facilitet og kan lede til at test-eksekverba
|
||||
<source>Cannot debug: Could not find executable for "%1".</source>
|
||||
<translation>Kan ikke fejlrette: kunne ikke finde eksekverbar for "%1".</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::BareMetalDevice</name>
|
||||
<message>
|
||||
<source>Bare Metal</source>
|
||||
<translation>Bare Metal</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::BareMetalDeviceConfigurationFactory</name>
|
||||
<message>
|
||||
<source>Bare Metal Device</source>
|
||||
<translation>Bare Metal-enhed</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::BareMetalDeviceConfigurationWidget</name>
|
||||
<message>
|
||||
<source>GDB server provider:</source>
|
||||
<translation>GDB-serverudbyder:</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::BareMetalDeviceConfigurationWizard</name>
|
||||
<message>
|
||||
<source>New Bare Metal Device Configuration Setup</source>
|
||||
<translation>Ny Bare Metal-enhed konfigurationsopsætning</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::BareMetalDeviceConfigurationWizardSetupPage</name>
|
||||
<message>
|
||||
<source>Set up GDB Server or Hardware Debugger</source>
|
||||
<translation>Opsæt GDB-server eller hardware-fejlretter</translation>
|
||||
@@ -2424,38 +2400,14 @@ Advarsel: dette er en eksperimentel facilitet og kan lede til at test-eksekverba
|
||||
<source>Name:</source>
|
||||
<translation>Navn:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>GDB server provider:</source>
|
||||
<translation>GDB-serverudbyder:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Bare Metal Device</source>
|
||||
<translation>Bare Metal-enhed</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::BareMetalGdbCommandsDeployStep</name>
|
||||
<message>
|
||||
<source>GDB commands</source>
|
||||
<translation>GDB-kommandoer</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::BareMetalGdbCommandsDeployStepWidget</name>
|
||||
<message>
|
||||
<source>GDB commands:</source>
|
||||
<translation>GDB-kommandoer:</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::BareMetalRunConfiguration</name>
|
||||
<message>
|
||||
<source>Unknown</source>
|
||||
<translation>Ukendt</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::DefaultGdbServerProviderConfigWidget</name>
|
||||
<message>
|
||||
<source>Host:</source>
|
||||
<translation>Vært:</translation>
|
||||
@@ -2468,16 +2420,10 @@ Advarsel: dette er en eksperimentel facilitet og kan lede til at test-eksekverba
|
||||
<source>Reset commands:</source>
|
||||
<translation>Nulstil-kommandoer:</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::DefaultGdbServerProviderFactory</name>
|
||||
<message>
|
||||
<source>Default</source>
|
||||
<translation>Standard</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::GdbServerProviderChooser</name>
|
||||
<message>
|
||||
<source>Manage...</source>
|
||||
<translation>Håndter...</translation>
|
||||
@@ -2486,17 +2432,10 @@ Advarsel: dette er en eksperimentel facilitet og kan lede til at test-eksekverba
|
||||
<source>None</source>
|
||||
<translation>Ingen</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::GdbServerProviderConfigWidget</name>
|
||||
<message>
|
||||
<source>Enter the name of the GDB server provider.</source>
|
||||
<translation>Indtast navnet på GDB-serverudbyderen.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Name:</source>
|
||||
<translation>Navn:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Choose the desired startup mode of the GDB server provider.</source>
|
||||
<translation>Vælg den ønskede opstart-tilstand af GDB-serverudbyderen.</translation>
|
||||
@@ -2517,9 +2456,6 @@ Advarsel: dette er en eksperimentel facilitet og kan lede til at test-eksekverba
|
||||
<source>Startup in Pipe Mode</source>
|
||||
<translation>Opstart i pipe-tilstand</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::GdbServerProviderModel</name>
|
||||
<message>
|
||||
<source>Name</source>
|
||||
<translation>Navn</translation>
|
||||
@@ -2536,9 +2472,6 @@ Advarsel: dette er en eksperimentel facilitet og kan lede til at test-eksekverba
|
||||
<source>The following providers were already configured:<br>&nbsp;%1<br>They were not configured again.</source>
|
||||
<translation>Følgende udbydere var allerede konfigureret:<br>&nbsp;%1<br>De blev ikke konfigureret igen.</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::GdbServerProvidersSettingsPage</name>
|
||||
<message>
|
||||
<source>Add</source>
|
||||
<translation>Tilføj</translation>
|
||||
@@ -2555,13 +2488,6 @@ Advarsel: dette er en eksperimentel facilitet og kan lede til at test-eksekverba
|
||||
<source>GDB Server Providers</source>
|
||||
<translation>GDB-serverudbydere</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Bare Metal</source>
|
||||
<translation>Bare Metal</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::HostWidget</name>
|
||||
<message>
|
||||
<source>Enter TCP/IP hostname of the GDB server provider, like "localhost" or "192.0.2.1".</source>
|
||||
<translation>Indtast TCP/IP-værtsnavn af GDB-serverudbyderen, såsom "localhost" eller "192.0.2.1".</translation>
|
||||
@@ -2570,13 +2496,6 @@ Advarsel: dette er en eksperimentel facilitet og kan lede til at test-eksekverba
|
||||
<source>Enter TCP/IP port which will be listened by the GDB server provider.</source>
|
||||
<translation>Indtast TCP/IP-port som skal lyttes på af GDB-serverudbyderen.</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::OpenOcdGdbServerProviderConfigWidget</name>
|
||||
<message>
|
||||
<source>Host:</source>
|
||||
<translation>Vært:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Executable file:</source>
|
||||
<translation>Eksekverbar fil:</translation>
|
||||
@@ -2593,32 +2512,10 @@ Advarsel: dette er en eksperimentel facilitet og kan lede til at test-eksekverba
|
||||
<source>Additional arguments:</source>
|
||||
<translation>Yderligere argumenter:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Init commands:</source>
|
||||
<translation>Init-kommandoer:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Reset commands:</source>
|
||||
<translation>Nulstil-kommandoer:</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::OpenOcdGdbServerProviderFactory</name>
|
||||
<message>
|
||||
<source>OpenOCD</source>
|
||||
<translation>OpenOCD</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::StLinkUtilGdbServerProviderConfigWidget</name>
|
||||
<message>
|
||||
<source>Host:</source>
|
||||
<translation>Vært:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Executable file:</source>
|
||||
<translation>Eksekverbar fil:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Specify the verbosity level (0..99).</source>
|
||||
<translation>Angiv detaljeniveauet (0..99).</translation>
|
||||
@@ -2651,14 +2548,6 @@ Advarsel: dette er en eksperimentel facilitet og kan lede til at test-eksekverba
|
||||
<source>Version:</source>
|
||||
<translation>Version:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Init commands:</source>
|
||||
<translation>Init-kommandoer:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Reset commands:</source>
|
||||
<translation>Nulstil-kommandoer:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>ST-LINK/V1</source>
|
||||
<translation>ST-LINK/V1</translation>
|
||||
@@ -2667,9 +2556,6 @@ Advarsel: dette er en eksperimentel facilitet og kan lede til at test-eksekverba
|
||||
<source>ST-LINK/V2</source>
|
||||
<translation>ST-LINK/V2</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::StLinkUtilGdbServerProviderFactory</name>
|
||||
<message>
|
||||
<source>ST-LINK Utility</source>
|
||||
<translation>ST-LINK-redskab</translation>
|
||||
|
@@ -23474,7 +23474,7 @@ Bitte schließen Sie alle laufenden Instanzen Ihrer Anwendung vor dem Erstellen.
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::BareMetalDeviceConfigurationWizardSetupPage</name>
|
||||
<name>BareMetal</name>
|
||||
<message>
|
||||
<source>Set up Debug Server or Hardware Debugger</source>
|
||||
<translation>Debug-Server oder Hardware-Debugger einrichten</translation>
|
||||
@@ -23885,7 +23885,7 @@ Möchten Sie das vorhandene Paket deinstallieren?</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::BareMetalDevice</name>
|
||||
<name>BareMetal</name>
|
||||
<message>
|
||||
<source>Bare Metal</source>
|
||||
<translation>Bare Metal</translation>
|
||||
@@ -23894,9 +23894,6 @@ Möchten Sie das vorhandene Paket deinstallieren?</translation>
|
||||
<source>Bare Metal Device</source>
|
||||
<translation>Bare-Metal-Gerät</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::BareMetalGdbCommandsDeployStepWidget</name>
|
||||
<message>
|
||||
<source>GDB commands:</source>
|
||||
<translation>GDB-Kommandos:</translation>
|
||||
@@ -26963,30 +26960,14 @@ Bitte installieren Sie ein Android-SDK der API-Version %1 oder neuer.</translati
|
||||
<source>Enter GDB commands to reset the hardware. The MCU should be halted after these commands.</source>
|
||||
<translation>Geben Sie GDB-Kommandos ein, um die Hardware zurückzusetzen. Die MCU sollte danach angehalten sein.</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::BareMetalDeviceConfigurationWidget</name>
|
||||
<message>
|
||||
<source>Debug server provider:</source>
|
||||
<translation>Debug-Server-Provider:</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::BareMetalDeviceConfigurationWizard</name>
|
||||
<message>
|
||||
<source>New Bare Metal Device Configuration Setup</source>
|
||||
<translation>Einrichtung der Konfiguration für neues Bare-Metal-Gerät</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::BareMetalGdbCommandsDeployStep</name>
|
||||
<message>
|
||||
<source>GDB commands</source>
|
||||
<translation>GDB-Kommandos</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::BareMetalRunConfiguration</name>
|
||||
<message>
|
||||
<source>Unknown</source>
|
||||
<translation>Unbekannt</translation>
|
||||
@@ -31414,11 +31395,7 @@ Senden selbst auch Zeit benötigt.</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::BareMetalCustomRunConfiguration</name>
|
||||
<message>
|
||||
<source>Unknown</source>
|
||||
<translation>Unbekannt</translation>
|
||||
</message>
|
||||
<name>BareMetal</name>
|
||||
<message>
|
||||
<source>The remote executable must be set in order to run a custom remote run configuration.</source>
|
||||
<translation>Die entfernte ausführbare Datei muss eingestellt sein um eine benutzerdefinierte enternte Ausführungskonfiguration zu verwenden.</translation>
|
||||
@@ -31427,9 +31404,6 @@ Senden selbst auch Zeit benötigt.</translation>
|
||||
<source>Custom Executable</source>
|
||||
<translation>Benutzerdefinierte ausführbare Datei</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::BareMetalDebugSupport</name>
|
||||
<message>
|
||||
<source>Cannot debug: Kit has no device.</source>
|
||||
<translation>Kann nicht debuggen: Das Kit hat kein Gerät.</translation>
|
||||
@@ -31458,9 +31432,6 @@ Senden selbst auch Zeit benötigt.</translation>
|
||||
<source>Unable to create an uVision project options template.</source>
|
||||
<translation>Es kann keine uVision-Projekteinstellungsvorlage erzeugt werden.</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::GdbServerProviderConfigWidget</name>
|
||||
<message>
|
||||
<source>Choose the desired startup mode of the GDB server provider.</source>
|
||||
<translation>Wählen Sie den gewünschten Startmodus des GDB-Server-Providers.</translation>
|
||||
@@ -31473,10 +31444,6 @@ Senden selbst auch Zeit benötigt.</translation>
|
||||
<source>Peripheral description files (*.svd)</source>
|
||||
<translation>Peripherie-Beschreibungsdatei (*.svd)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Select Peripheral Description File</source>
|
||||
<translation>Wählen Sie eine Peripherie-Beschreibungsdateien</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Peripheral description file:</source>
|
||||
<translation>Peripherie-Beschreibungsdatei:</translation>
|
||||
@@ -31489,9 +31456,6 @@ Senden selbst auch Zeit benötigt.</translation>
|
||||
<source>Startup in Pipe Mode</source>
|
||||
<translation>Im Pipe-Modus starten</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::HostWidget</name>
|
||||
<message>
|
||||
<source>Enter TCP/IP hostname of the debug server, like "localhost" or "192.0.2.1".</source>
|
||||
<translation>Geben Sie den TCP/IP-Hostnamen des Debug-Servers ein, etwa "localhost" oder "192.0.2.1".</translation>
|
||||
@@ -31500,9 +31464,6 @@ Senden selbst auch Zeit benötigt.</translation>
|
||||
<source>Enter TCP/IP port which will be listened by the debug server.</source>
|
||||
<translation>Geben Sie den TCP/IP-Port ein, an dem der Debug-Server Verbindungen annehmen wird.</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::OpenOcdGdbServerProviderConfigWidget</name>
|
||||
<message>
|
||||
<source>Host:</source>
|
||||
<translation>Host:</translation>
|
||||
@@ -31531,17 +31492,6 @@ Senden selbst auch Zeit benötigt.</translation>
|
||||
<source>Reset commands:</source>
|
||||
<translation>Kommandos zum Zurücksetzen:</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::StLinkUtilGdbServerProviderConfigWidget</name>
|
||||
<message>
|
||||
<source>Host:</source>
|
||||
<translation>Host:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Executable file:</source>
|
||||
<translation>Ausführbare Datei:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Specify the verbosity level (0..99).</source>
|
||||
<translation>Geben Sie den Detailgrad an (0..99).</translation>
|
||||
@@ -31574,14 +31524,6 @@ Senden selbst auch Zeit benötigt.</translation>
|
||||
<source>Version:</source>
|
||||
<translation>Version:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Init commands:</source>
|
||||
<translation>Kommandos zum Einrichten:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Reset commands:</source>
|
||||
<translation>Kommandos zum Zurücksetzen:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>ST-LINK/V1</source>
|
||||
<translation>ST-LINK/V1</translation>
|
||||
@@ -44363,7 +44305,7 @@ Wenn Sie noch keinen privaten Schlüssel besitzen, können Sie hier auch einen e
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::DebugServerProviderChooser</name>
|
||||
<name>BareMetal</name>
|
||||
<message>
|
||||
<source>Manage...</source>
|
||||
<translation>Verwalten...</translation>
|
||||
@@ -44372,9 +44314,6 @@ Wenn Sie noch keinen privaten Schlüssel besitzen, können Sie hier auch einen e
|
||||
<source>None</source>
|
||||
<translation>Keine</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::DebugServerProviderModel</name>
|
||||
<message>
|
||||
<source>Not recognized</source>
|
||||
<translation>Nicht erkannt</translation>
|
||||
@@ -44399,9 +44338,6 @@ Wenn Sie noch keinen privaten Schlüssel besitzen, können Sie hier auch einen e
|
||||
<source>The following providers were already configured:<br>&nbsp;%1<br>They were not configured again.</source>
|
||||
<translation>Die folgenden Provider wurden bereits konfiguriert:<br>&nbsp;%1<br>Sie wurden nicht noch einmal konfiguriert.</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::DebugServerProvidersSettingsPage</name>
|
||||
<message>
|
||||
<source>Add</source>
|
||||
<translation>Hinzufügen</translation>
|
||||
@@ -44422,13 +44358,6 @@ Wenn Sie noch keinen privaten Schlüssel besitzen, können Sie hier auch einen e
|
||||
<source>Clone of %1</source>
|
||||
<translation>Kopie von %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Bare Metal</source>
|
||||
<translation>Bare Metal</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::GdbServerProvider</name>
|
||||
<message>
|
||||
<source>EBlink</source>
|
||||
<translation>EBlink</translation>
|
||||
@@ -44445,25 +44374,10 @@ Wenn Sie noch keinen privaten Schlüssel besitzen, können Sie hier auch einen e
|
||||
<source>ST-LINK Utility</source>
|
||||
<translation>ST-LINK-Werkzeug</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::EBlinkGdbServerProviderConfigWidget</name>
|
||||
<message>
|
||||
<source>Host:</source>
|
||||
<translation>Host:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Executable file:</source>
|
||||
<translation>Ausführbare Datei:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Script file:</source>
|
||||
<translation>Skriptdatei:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Verbosity level:</source>
|
||||
<translation>Detailgrad:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Type:</source>
|
||||
<translation>Typ:</translation>
|
||||
@@ -44472,14 +44386,6 @@ Wenn Sie noch keinen privaten Schlüssel besitzen, können Sie hier auch einen e
|
||||
<source>Speed:</source>
|
||||
<translation>Geschwindigkeit:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Init commands:</source>
|
||||
<translation>Kommandos zum Einrichten:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Reset commands:</source>
|
||||
<translation>Kommandos zum Zurücksetzen:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>SWD</source>
|
||||
<translation>SWD</translation>
|
||||
@@ -44488,13 +44394,6 @@ Wenn Sie noch keinen privaten Schlüssel besitzen, können Sie hier auch einen e
|
||||
<source>JTAG</source>
|
||||
<translation>JTAG</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::JLinkGdbServerProviderConfigWidget</name>
|
||||
<message>
|
||||
<source>Host:</source>
|
||||
<translation>Host:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>JLink GDB Server (JLinkGDBServerCL.exe)</source>
|
||||
<translation>JLink GDB-Server (JLinkGDBServerCL.exe)</translation>
|
||||
@@ -44503,10 +44402,6 @@ Wenn Sie noch keinen privaten Schlüssel besitzen, können Sie hier auch einen e
|
||||
<source>JLink GDB Server (JLinkGDBServer)</source>
|
||||
<translation>JLink GDB-Server (JLinkGDBServer)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Executable file:</source>
|
||||
<translation>Ausführbare Datei:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Default</source>
|
||||
<translation>Vorgabe</translation>
|
||||
@@ -44527,21 +44422,6 @@ Wenn Sie noch keinen privaten Schlüssel besitzen, können Sie hier auch einen e
|
||||
<source>Device:</source>
|
||||
<translation>Geräte:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Additional arguments:</source>
|
||||
<translation>Zusätzliche Argumente:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Init commands:</source>
|
||||
<translation>Kommandos zum Einrichten:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Reset commands:</source>
|
||||
<translation>Kommandos zum Zurücksetzen:</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::UvscServerProvider</name>
|
||||
<message>
|
||||
<source>uVision Simulator</source>
|
||||
<translation>uVision Simulator</translation>
|
||||
@@ -44550,25 +44430,10 @@ Wenn Sie noch keinen privaten Schlüssel besitzen, können Sie hier auch einen e
|
||||
<source>uVision St-Link</source>
|
||||
<translation>uVision St-Link</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::StLinkUvscAdapterOptionsWidget</name>
|
||||
<message>
|
||||
<source>Port:</source>
|
||||
<translation>Port:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Speed:</source>
|
||||
<translation>Geschwindigkeit:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>JTAG</source>
|
||||
<translation>JTAG</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>SWD</source>
|
||||
<translation>SWD</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>9MHz</source>
|
||||
<translation>9MHz</translation>
|
||||
@@ -44641,20 +44506,6 @@ Wenn Sie noch keinen privaten Schlüssel besitzen, können Sie hier auch einen e
|
||||
<source>5kHz</source>
|
||||
<translation>5kHz</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::UvscServerProviderConfigWidget</name>
|
||||
<message>
|
||||
<source>Host:</source>
|
||||
<translation>Host:</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::Uv::DeviceSelectionModel</name>
|
||||
<message>
|
||||
<source>Name</source>
|
||||
<translation>Name</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Version</source>
|
||||
<translation>Version</translation>
|
||||
@@ -44663,9 +44514,6 @@ Wenn Sie noch keinen privaten Schlüssel besitzen, können Sie hier auch einen e
|
||||
<source>Vendor</source>
|
||||
<translation>Anbieter</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::Uv::DeviceSelectionMemoryModel</name>
|
||||
<message>
|
||||
<source>ID</source>
|
||||
<translation>ID</translation>
|
||||
@@ -44678,23 +44526,6 @@ Wenn Sie noch keinen privaten Schlüssel besitzen, können Sie hier auch einen e
|
||||
<source>Size</source>
|
||||
<translation>Größe</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::Uv::DeviceSelectionAlgorithmModel</name>
|
||||
<message>
|
||||
<source>Name</source>
|
||||
<translation>Name</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::Uv::DeviceSelectorToolPanel</name>
|
||||
<message>
|
||||
<source>Manage...</source>
|
||||
<translation>Verwalten...</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::Uv::DeviceSelectorDetailsPanel</name>
|
||||
<message>
|
||||
<source>Vendor:</source>
|
||||
<translation>Anbieter:</translation>
|
||||
@@ -44711,42 +44542,14 @@ Wenn Sie noch keinen privaten Schlüssel besitzen, können Sie hier auch einen e
|
||||
<source>Memory:</source>
|
||||
<translation>Speicher:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Peripheral description files (*.svd)</source>
|
||||
<translation>Peripherie-Beschreibungsdatei (*.svd)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Select Peripheral Description File</source>
|
||||
<translation>Wählen Sie eine Peripherie-Beschreibungsdatei</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Peripheral description file:</source>
|
||||
<translation>Peripherie-Beschreibungsdatei:</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::Uv::DriverSelectionModel</name>
|
||||
<message>
|
||||
<source>Path</source>
|
||||
<translation>Pfad</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::Uv::DriverSelectionCpuDllModel</name>
|
||||
<message>
|
||||
<source>Name</source>
|
||||
<translation>Name</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::Uv::DriverSelectorToolPanel</name>
|
||||
<message>
|
||||
<source>Manage...</source>
|
||||
<translation>Verwalten...</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::IarToolChainConfigWidget</name>
|
||||
<message>
|
||||
<source>&Compiler path:</source>
|
||||
<translation>&Compiler-Pfad:</translation>
|
||||
@@ -44759,20 +44562,10 @@ Wenn Sie noch keinen privaten Schlüssel besitzen, können Sie hier auch einen e
|
||||
<source>&ABI:</source>
|
||||
<translation>&ABI:</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::IDebugServerProviderConfigWidget</name>
|
||||
<message>
|
||||
<source>Enter the name of the debugger server provider.</source>
|
||||
<translation>Geben Sie den Namen des Debug-Server-Providers ein.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Name:</source>
|
||||
<translation>Name:</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>SdccToolChain</name>
|
||||
<message>
|
||||
<source>SDCC %1 (%2, %3)</source>
|
||||
<translation>SDCC %1 (%2, %3)</translation>
|
||||
@@ -44782,17 +44575,6 @@ Wenn Sie noch keinen privaten Schlüssel besitzen, können Sie hier auch einen e
|
||||
<translation>SDCC</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::SdccToolChainConfigWidget</name>
|
||||
<message>
|
||||
<source>&Compiler path:</source>
|
||||
<translation>&Compiler-Pfad:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>&ABI:</source>
|
||||
<translation>&ABI:</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Beautifier::Internal::ArtisticStyle</name>
|
||||
<message>
|
||||
@@ -48174,23 +47956,7 @@ Wenn Sie noch keinen privaten Schlüssel besitzen, können Sie hier auch einen e
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::JLinkUvscAdapterOptionsWidget</name>
|
||||
<message>
|
||||
<source>Port:</source>
|
||||
<translation>Port:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Speed:</source>
|
||||
<translation>Geschwindigkeit:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>JTAG</source>
|
||||
<translation>JTAG</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>SWD</source>
|
||||
<translation>SWD</translation>
|
||||
</message>
|
||||
<name>BareMetal</name>
|
||||
<message>
|
||||
<source>50MHz</source>
|
||||
<translation>50MHz</translation>
|
||||
@@ -48235,13 +48001,6 @@ Wenn Sie noch keinen privaten Schlüssel besitzen, können Sie hier auch einen e
|
||||
<source>200kHz</source>
|
||||
<translation>200kHz</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>100kHz</source>
|
||||
<translation>100kHz</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>KeilToolChain</name>
|
||||
<message>
|
||||
<source>KEIL %1 (%2, %3)</source>
|
||||
<translation>KEIL %1 (%2, %3)</translation>
|
||||
@@ -48251,21 +48010,6 @@ Wenn Sie noch keinen privaten Schlüssel besitzen, können Sie hier auch einen e
|
||||
<translation>KEIL</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::KeilToolChainConfigWidget</name>
|
||||
<message>
|
||||
<source>&Compiler path:</source>
|
||||
<translation>&Compiler-Pfad:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Platform codegen flags:</source>
|
||||
<translation>Plattformspezifische Optionen für codegen:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>&ABI:</source>
|
||||
<translation>&ABI:</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Beautifier::Internal</name>
|
||||
<message>
|
||||
|
@@ -54923,7 +54923,7 @@ Cet assistant vous guidera à travers les étapes essentielles pour déployez un
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::BareMetalDeviceConfigurationWidget</name>
|
||||
<name>BareMetal</name>
|
||||
<message>
|
||||
<source>Form</source>
|
||||
<translation>Formulaire</translation>
|
||||
@@ -54940,13 +54940,6 @@ Cet assistant vous guidera à travers les étapes essentielles pour déployez un
|
||||
<source>GDB commands:</source>
|
||||
<translation>Commandes GDB :</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::BareMetalDeviceConfigurationWizardSetupPage</name>
|
||||
<message>
|
||||
<source>Form</source>
|
||||
<translation>Formulaire</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Name:</source>
|
||||
<translation>Nom :</translation>
|
||||
@@ -54955,18 +54948,6 @@ Cet assistant vous guidera à travers les étapes essentielles pour déployez un
|
||||
<source>localhost</source>
|
||||
<translation>localhost</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>GDB port:</source>
|
||||
<translation>Port GDB :</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>GDB host:</source>
|
||||
<translation>Hôte GDB :</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>GDB commands:</source>
|
||||
<translation>Commandes GDB :</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>load
|
||||
monitor reset</source>
|
||||
@@ -55834,53 +55815,27 @@ réinitialisation du moniteur</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::BareMetalDevice</name>
|
||||
<name>BareMetal</name>
|
||||
<message>
|
||||
<source>Bare Metal</source>
|
||||
<translation>Bare Metal</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::BareMetalDeviceConfigurationFactory</name>
|
||||
<message>
|
||||
<source>Bare Metal Device</source>
|
||||
<translation>Périphérique Bare Metal</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::BareMetalDeviceConfigurationWizard</name>
|
||||
<message>
|
||||
<source>New Bare Metal Device Configuration Setup</source>
|
||||
<translation>Nouveau paramètres de configuration du périphérique Bare Metal</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::BareMetalDeviceConfigurationWizardSetupPage</name>
|
||||
<message>
|
||||
<source>Set up GDB Server or Hardware Debugger</source>
|
||||
<translation>Définir un serveur GDB ou un débogueur hardware</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Bare Metal Device</source>
|
||||
<translation>Périphérique Bare Metal</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::BareMetalGdbCommandsDeployStepWidget</name>
|
||||
<message>
|
||||
<source>GDB commands:</source>
|
||||
<translation>Commandes GDB :</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::BareMetalGdbCommandsDeployStep</name>
|
||||
<message>
|
||||
<source>GDB commands</source>
|
||||
<translation>Commandes GDB</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::BareMetalRunConfiguration</name>
|
||||
<message>
|
||||
<source>%1 (via GDB server or hardware debugger)</source>
|
||||
<translation>%1 (via le serveur GDB ou le débogueur hardware)</translation>
|
||||
@@ -55890,16 +55845,10 @@ réinitialisation du moniteur</translation>
|
||||
<extracomment>Bare Metal run configuration default run name</extracomment>
|
||||
<translation>Exécuter sur un serveur GDB ou un débogueur hardware</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::BareMetalRunConfigurationFactory</name>
|
||||
<message>
|
||||
<source>%1 (on GDB server or hardware debugger)</source>
|
||||
<translation>%1 (via le serveur GDB ou le débogueur hardware)</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::BareMetalRunConfigurationWidget</name>
|
||||
<message>
|
||||
<source>Executable:</source>
|
||||
<translation>Exécutable :</translation>
|
||||
@@ -55920,9 +55869,6 @@ réinitialisation du moniteur</translation>
|
||||
<source>Unknown</source>
|
||||
<translation>Inconnue</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::BareMetalRunControlFactory</name>
|
||||
<message>
|
||||
<source>Cannot debug: Kit has no device.</source>
|
||||
<translation>Impossible de déboguer : le kit n'a pas de périphérique.</translation>
|
||||
|
@@ -15273,7 +15273,7 @@ Check the test environment.</source>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::BareMetalCustomRunConfiguration</name>
|
||||
<name>BareMetal</name>
|
||||
<message>
|
||||
<source>Unknown</source>
|
||||
<translation>Nepoznato</translation>
|
||||
@@ -15286,9 +15286,6 @@ Check the test environment.</source>
|
||||
<source>The remote executable must be set in order to run a custom remote run configuration.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::BareMetalDebugSupport</name>
|
||||
<message>
|
||||
<source>Cannot debug: Kit has no device.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
@@ -15305,37 +15302,22 @@ Check the test environment.</source>
|
||||
<source>Cannot debug: Could not find executable for "%1".</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::BareMetalDevice</name>
|
||||
<message>
|
||||
<source>Bare Metal</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::BareMetalDeviceConfigurationFactory</name>
|
||||
<message>
|
||||
<source>Bare Metal Device</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::BareMetalDeviceConfigurationWidget</name>
|
||||
<message>
|
||||
<source>GDB server provider:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::BareMetalDeviceConfigurationWizard</name>
|
||||
<message>
|
||||
<source>New Bare Metal Device Configuration Setup</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::BareMetalDeviceConfigurationWizardSetupPage</name>
|
||||
<message>
|
||||
<source>Set up GDB Server or Hardware Debugger</source>
|
||||
<translation type="unfinished"></translation>
|
||||
@@ -15344,45 +15326,18 @@ Check the test environment.</source>
|
||||
<source>Name:</source>
|
||||
<translation>Naziv:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>GDB server provider:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Bare Metal Device</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::BareMetalGdbCommandsDeployStepWidget</name>
|
||||
<message>
|
||||
<source>GDB commands:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::BareMetalGdbCommandsDeployStep</name>
|
||||
<message>
|
||||
<source>GDB commands</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::BareMetalRunConfiguration</name>
|
||||
<message>
|
||||
<source>Unknown</source>
|
||||
<translation>Nepoznato</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::DefaultGdbServerProviderFactory</name>
|
||||
<message>
|
||||
<source>Default</source>
|
||||
<translation>Standardno</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::DefaultGdbServerProviderConfigWidget</name>
|
||||
<message>
|
||||
<source>Host:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
@@ -15395,24 +15350,14 @@ Check the test environment.</source>
|
||||
<source>Reset commands:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::GdbServerProvider</name>
|
||||
<message>
|
||||
<source>Clone of %1</source>
|
||||
<translation>Klon od %1</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::GdbServerProviderConfigWidget</name>
|
||||
<message>
|
||||
<source>Enter the name of the GDB server provider.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Name:</source>
|
||||
<translation>Naziv:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Choose the desired startup mode of the GDB server provider.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
@@ -15433,9 +15378,6 @@ Check the test environment.</source>
|
||||
<source>Startup in Pipe Mode</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal</name>
|
||||
<message>
|
||||
<source>Enter GDB commands to reset the board and to write the nonvolatile memory.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
@@ -15444,9 +15386,6 @@ Check the test environment.</source>
|
||||
<source>Enter GDB commands to reset the hardware. The MCU should be halted after these commands.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::HostWidget</name>
|
||||
<message>
|
||||
<source>Enter TCP/IP hostname of the GDB server provider, like "localhost" or "192.0.2.1".</source>
|
||||
<translation type="unfinished"></translation>
|
||||
@@ -15455,9 +15394,6 @@ Check the test environment.</source>
|
||||
<source>Enter TCP/IP port which will be listened by the GDB server provider.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::GdbServerProviderChooser</name>
|
||||
<message>
|
||||
<source>Manage...</source>
|
||||
<translation type="unfinished"></translation>
|
||||
@@ -15466,9 +15402,6 @@ Check the test environment.</source>
|
||||
<source>None</source>
|
||||
<translation>Bez</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::GdbServerProviderModel</name>
|
||||
<message>
|
||||
<source>Name</source>
|
||||
<translation>Naziv</translation>
|
||||
@@ -15485,9 +15418,6 @@ Check the test environment.</source>
|
||||
<source>The following providers were already configured:<br>&nbsp;%1<br>They were not configured again.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::GdbServerProvidersSettingsPage</name>
|
||||
<message>
|
||||
<source>Add</source>
|
||||
<translation>Dodaj</translation>
|
||||
@@ -15504,24 +15434,10 @@ Check the test environment.</source>
|
||||
<source>GDB Server Providers</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Bare Metal</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::OpenOcdGdbServerProviderFactory</name>
|
||||
<message>
|
||||
<source>OpenOCD</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::OpenOcdGdbServerProviderConfigWidget</name>
|
||||
<message>
|
||||
<source>Host:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Executable file:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
@@ -15538,32 +15454,10 @@ Check the test environment.</source>
|
||||
<source>Additional arguments:</source>
|
||||
<translation type="unfinished">Dodatni argumenti:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Init commands:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Reset commands:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::StLinkUtilGdbServerProviderFactory</name>
|
||||
<message>
|
||||
<source>ST-LINK Utility</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::StLinkUtilGdbServerProviderConfigWidget</name>
|
||||
<message>
|
||||
<source>Host:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Executable file:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Specify the verbosity level (0..99).</source>
|
||||
<translation type="unfinished"></translation>
|
||||
@@ -15596,14 +15490,6 @@ Check the test environment.</source>
|
||||
<source>Version:</source>
|
||||
<translation>Verzija:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Init commands:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Reset commands:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>ST-LINK/V1</source>
|
||||
<translation type="unfinished"></translation>
|
||||
|
@@ -858,7 +858,7 @@
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::BareMetalDeviceConfigurationWizardSetupPage</name>
|
||||
<name>BareMetal</name>
|
||||
<message>
|
||||
<source>Set up Debug Server or Hardware Debugger</source>
|
||||
<translation>デバッグサーバーまたはハードウェアデバッガをセットアップ</translation>
|
||||
@@ -867,10 +867,6 @@
|
||||
<source>Name:</source>
|
||||
<translation>名前:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Debug server provider:</source>
|
||||
<translation>デバッグサーバーを選択:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>GDB server provider:</source>
|
||||
<translation>GDB サーバープロバイダ:</translation>
|
||||
@@ -12181,40 +12177,19 @@ in the system's browser for manual download.</source>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::BareMetalDevice</name>
|
||||
<name>BareMetal</name>
|
||||
<message>
|
||||
<source>Bare Metal</source>
|
||||
<translation>ベアメタル</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Bare Metal Device</source>
|
||||
<translation>ベアメタルデバイス</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::BareMetalGdbCommandsDeployStepWidget</name>
|
||||
<message>
|
||||
<source>GDB commands:</source>
|
||||
<translation>GDB コマンド:</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::BareMetalRunConfigurationFactory</name>
|
||||
<message>
|
||||
<source>%1 (on GDB server or hardware debugger)</source>
|
||||
<translation>%1 (GDB サーバーあるいはハードウェアデバッガ経由)</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::BareMetalRunControlFactory</name>
|
||||
<message>
|
||||
<source>Cannot debug: Local executable is not set.</source>
|
||||
<translation>デバッグエラー: ローカル実行ファイルが設定されていません。</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Cannot debug: Could not find executable for "%1".</source>
|
||||
<translation>デバッグエラー: "%1" に実行ファイルが見つかりませんでした。</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Cannot debug: Kit has no device.</source>
|
||||
<translation>デバッグエラー: キットにデバイスがありません。</translation>
|
||||
@@ -34900,28 +34875,15 @@ API バージョンが %1 以上の SDK をインストールしてください
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::BareMetalDeviceConfigurationFactory</name>
|
||||
<message>
|
||||
<source>Bare Metal Device</source>
|
||||
<translation>ベアメタルデバイス</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::BareMetalDeviceConfigurationWizard</name>
|
||||
<name>BareMetal</name>
|
||||
<message>
|
||||
<source>New Bare Metal Device Configuration Setup</source>
|
||||
<translation>新しいベアメタルデバイスの設定</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::BareMetalGdbCommandsDeployStep</name>
|
||||
<message>
|
||||
<source>GDB commands</source>
|
||||
<translation>GDB コマンド</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::BareMetalRunConfiguration</name>
|
||||
<message>
|
||||
<source>%1 (via GDB server or hardware debugger)</source>
|
||||
<translation>%1 (GDB サーバーあるいはハードウェアデバッガ経由)</translation>
|
||||
@@ -34935,9 +34897,6 @@ API バージョンが %1 以上の SDK をインストールしてください
|
||||
<source>Unknown</source>
|
||||
<translation>不明</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::BareMetalRunConfigurationWidget</name>
|
||||
<message>
|
||||
<source>Executable:</source>
|
||||
<translation>実行ファイル:</translation>
|
||||
@@ -34950,10 +34909,6 @@ API バージョンが %1 以上の SDK をインストールしてください
|
||||
<source>Working directory:</source>
|
||||
<translation>作業ディレクトリ:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Unknown</source>
|
||||
<translation>不明</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Core::BaseFileWizardFactory</name>
|
||||
@@ -37774,10 +37729,6 @@ Only desktop kits are supported. Make sure the currently active kit is a desktop
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal</name>
|
||||
<message>
|
||||
<source>Bare Metal</source>
|
||||
<translation>ベアメタル</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Enter GDB commands to reset the board and to write the nonvolatile memory.</source>
|
||||
<translation>ボードのリセットと不揮発メモリに書き込むための GDB コマンドを入力してください。</translation>
|
||||
@@ -37786,24 +37737,10 @@ Only desktop kits are supported. Make sure the currently active kit is a desktop
|
||||
<source>Enter GDB commands to reset the hardware. The MCU should be halted after these commands.</source>
|
||||
<translation>ハードウェアリセットコマンドを入力してください。実行後に MCU が停止するコマンドを入力してください。</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::BareMetalCustomRunConfigWidget</name>
|
||||
<message>
|
||||
<source>Executable:</source>
|
||||
<translation>実行ファイル:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Work directory:</source>
|
||||
<translation>作業ディレクトリ:</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::BareMetalCustomRunConfiguration</name>
|
||||
<message>
|
||||
<source>Unknown</source>
|
||||
<translation>不明</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Custom Executable</source>
|
||||
<translation>カスタム実行ファイル</translation>
|
||||
@@ -37816,9 +37753,6 @@ Only desktop kits are supported. Make sure the currently active kit is a desktop
|
||||
<source>Custom Executable (on GDB server or hardware debugger)</source>
|
||||
<translation>カスタム実行ファイル (GDB サーバーあるいはハードウェアデバッガ経由)</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::BareMetalDebugSupport</name>
|
||||
<message>
|
||||
<source>Debugging failed.</source>
|
||||
<translation>デバッグに失敗しました。</translation>
|
||||
@@ -37831,35 +37765,18 @@ Only desktop kits are supported. Make sure the currently active kit is a desktop
|
||||
<source>Starting GDB server...</source>
|
||||
<translation>GDB サーバー起動中...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Cannot debug: Kit has no device.</source>
|
||||
<translation>デバッグエラー: キットにデバイスがありません。</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>No debug server provider found for %1</source>
|
||||
<translation>デバッグ・サーバー・プロバイダが見つかりませんでした。%1</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::BareMetalDeviceConfigurationWidget</name>
|
||||
<message>
|
||||
<source>GDB server provider:</source>
|
||||
<translation>GDB サーバープロバイダ:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Debug server provider:</source>
|
||||
<translation>サーバー・プロバイダーをデバッグする:</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::DefaultGdbServerProviderFactory</name>
|
||||
<message>
|
||||
<source>Default</source>
|
||||
<translation>既定</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::DefaultGdbServerProviderConfigWidget</name>
|
||||
<message>
|
||||
<source>Host:</source>
|
||||
<translation>ホスト:</translation>
|
||||
@@ -37872,24 +37789,14 @@ Only desktop kits are supported. Make sure the currently active kit is a desktop
|
||||
<source>Reset commands:</source>
|
||||
<translation>リセットコマンド:</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::GdbServerProvider</name>
|
||||
<message>
|
||||
<source>Clone of %1</source>
|
||||
<translation>%1 を複製</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::GdbServerProviderConfigWidget</name>
|
||||
<message>
|
||||
<source>Enter the name of the GDB server provider.</source>
|
||||
<translation>GDB サーバープロバイダの名前を入力してください。</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Name:</source>
|
||||
<translation>名前:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Choose the desired startup mode of the GDB server provider.</source>
|
||||
<translation>GDB サーバープロバイダーに適切な起動モードを選択してください。</translation>
|
||||
@@ -37922,9 +37829,6 @@ Only desktop kits are supported. Make sure the currently active kit is a desktop
|
||||
<source>Startup in Pipe Mode</source>
|
||||
<translation>パイプモードで起動</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::HostWidget</name>
|
||||
<message>
|
||||
<source>Enter TCP/IP hostname of the GDB server provider, like "localhost" or "192.0.2.1".</source>
|
||||
<translation>GDB サーバープロバイダの TCP/IP ホスト名を入力してください。例: "localhost" や "192.0.2.1".</translation>
|
||||
@@ -37941,28 +37845,14 @@ Only desktop kits are supported. Make sure the currently active kit is a desktop
|
||||
<source>Enter TCP/IP port which will be listened by the debug server.</source>
|
||||
<translation>デバッグ サーバーが待ち受けに使用している TCP/IP ポート番号を入力してください。</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::GdbServerProviderChooser</name>
|
||||
<message>
|
||||
<source>Manage...</source>
|
||||
<translation>管理...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>None</source>
|
||||
<translation>なし</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::GdbServerProviderModel</name>
|
||||
<message>
|
||||
<source>Name</source>
|
||||
<translation>名前</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Type</source>
|
||||
<translation>タイプ</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Duplicate Providers Detected</source>
|
||||
<translation>重複したプロバイダの検出</translation>
|
||||
@@ -37971,9 +37861,6 @@ Only desktop kits are supported. Make sure the currently active kit is a desktop
|
||||
<source>The following providers were already configured:<br>&nbsp;%1<br>They were not configured again.</source>
|
||||
<translation>以下のプロバイダは既に設定済みです。<br>&nbsp;%1<br>重複した設定は行いません。</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::GdbServerProvidersSettingsPage</name>
|
||||
<message>
|
||||
<source>GDB Server Providers</source>
|
||||
<translation>GDB サーバープロバイダ</translation>
|
||||
@@ -37990,20 +37877,10 @@ Only desktop kits are supported. Make sure the currently active kit is a desktop
|
||||
<source>Remove</source>
|
||||
<translation>削除</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::OpenOcdGdbServerProviderFactory</name>
|
||||
<message>
|
||||
<source>OpenOCD</source>
|
||||
<translation>OpenOCD</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::OpenOcdGdbServerProviderConfigWidget</name>
|
||||
<message>
|
||||
<source>Host:</source>
|
||||
<translation>ホスト:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Executable file:</source>
|
||||
<translation>実行ファイル:</translation>
|
||||
@@ -38020,32 +37897,10 @@ Only desktop kits are supported. Make sure the currently active kit is a desktop
|
||||
<source>Additional arguments:</source>
|
||||
<translation>追加の引数:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Init commands:</source>
|
||||
<translation>初期化コマンド:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Reset commands:</source>
|
||||
<translation>リセットコマンド:</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::StLinkUtilGdbServerProviderFactory</name>
|
||||
<message>
|
||||
<source>ST-LINK Utility</source>
|
||||
<translation>ST-LINK ユーティリティ</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::StLinkUtilGdbServerProviderConfigWidget</name>
|
||||
<message>
|
||||
<source>Host:</source>
|
||||
<translation>ホスト:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Executable file:</source>
|
||||
<translation>実行ファイル:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Specify the verbosity level (0..99).</source>
|
||||
<translation>詳細レベル(0..99)を指定してください。</translation>
|
||||
@@ -38078,14 +37933,6 @@ Only desktop kits are supported. Make sure the currently active kit is a desktop
|
||||
<source>Version:</source>
|
||||
<translation>バージョン:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Init commands:</source>
|
||||
<translation>初期化コマンド:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Reset commands:</source>
|
||||
<translation>リセットコマンド:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>ST-LINK/V1</source>
|
||||
<translation>ST-LINK/V1</translation>
|
||||
@@ -47073,25 +46920,15 @@ The name of the release build configuration created by default for a qmake proje
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetalDeployConfiguration</name>
|
||||
<name>BareMetal</name>
|
||||
<message>
|
||||
<source>Deploy to BareMetal Device</source>
|
||||
<translation>ベアメタルデバイスにデプロイ</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::DebugServerProviderChooser</name>
|
||||
<message>
|
||||
<source>Manage...</source>
|
||||
<translation>管理...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>None</source>
|
||||
<translation>しない</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::DebugServerProviderModel</name>
|
||||
<message>
|
||||
<source>Not recognized</source>
|
||||
<translation>不明</translation>
|
||||
@@ -47116,10 +46953,6 @@ The name of the release build configuration created by default for a qmake proje
|
||||
<translation>UVSC 対応プロバイダーエンジン
|
||||
(KEIL uVision と併用)。</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Name</source>
|
||||
<translation>名前</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Type</source>
|
||||
<translation>型</translation>
|
||||
@@ -47128,44 +46961,10 @@ The name of the release build configuration created by default for a qmake proje
|
||||
<source>Engine</source>
|
||||
<translation>エンジン</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Duplicate Providers Detected</source>
|
||||
<translation>重複したプロバイダの検出</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>The following providers were already configured:<br>&nbsp;%1<br>They were not configured again.</source>
|
||||
<translation>以下のプロバイダは既に設定済みです。<br>&nbsp;%1<br>重複した設定は行いません。</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::DebugServerProvidersSettingsPage</name>
|
||||
<message>
|
||||
<source>Add</source>
|
||||
<translation>追加</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Clone</source>
|
||||
<translation>複製</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Remove</source>
|
||||
<translation>削除</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Debug Server Providers</source>
|
||||
<translation>サーバー・プロバイダーをデバッグする</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Clone of %1</source>
|
||||
<translation>%1 を複製</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Bare Metal</source>
|
||||
<translation>ベアメタル</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::GdbServerProvider</name>
|
||||
<message>
|
||||
<source>EBlink</source>
|
||||
<translation>EBlink</translation>
|
||||
@@ -47178,25 +46977,6 @@ The name of the release build configuration created by default for a qmake proje
|
||||
<source>JLink</source>
|
||||
<translation>JLink</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>OpenOCD</source>
|
||||
<translation>OpenOCD</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>ST-LINK Utility</source>
|
||||
<translation>ST-LINK ユーティリティ</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::EBlinkGdbServerProviderConfigWidget</name>
|
||||
<message>
|
||||
<source>Host:</source>
|
||||
<translation>ホスト:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Executable file:</source>
|
||||
<translation>実行ファイル:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Script file:</source>
|
||||
<translation>スクリプトファイル:</translation>
|
||||
@@ -47205,10 +46985,6 @@ The name of the release build configuration created by default for a qmake proje
|
||||
<source>Specify the verbosity level (0 to 7).</source>
|
||||
<translation>詳細レベル (0 ~ 7) を指定してください。</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Verbosity level:</source>
|
||||
<translation>詳細レベル:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Connect under reset (hotplug).</source>
|
||||
<translation>リセット状態での接続(ホットプラグ)。</translation>
|
||||
@@ -47249,25 +47025,6 @@ The name of the release build configuration created by default for a qmake proje
|
||||
<source>Auto shutdown:</source>
|
||||
<translation>自動シャットダウン:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Init commands:</source>
|
||||
<translation>初期化コマンド:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Reset commands:</source>
|
||||
<translation>リセットコマンド:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>SWD</source>
|
||||
<translation>SWD</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>JTAG</source>
|
||||
<translation>JTAG</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetalDebugSupport</name>
|
||||
<message>
|
||||
<source>Cannot debug: Local executable is not set.</source>
|
||||
<translation>デバッグエラー: ローカル実行ファイルが設定されていません。</translation>
|
||||
@@ -47284,40 +47041,6 @@ The name of the release build configuration created by default for a qmake proje
|
||||
<source>Unable to create a uVision project template.</source>
|
||||
<translation>uVision プロジェクトのテンプレートを作成できません。</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::GenericGdbServerProviderConfigWidget</name>
|
||||
<message>
|
||||
<source>Host:</source>
|
||||
<translation>ホスト:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Extended mode:</source>
|
||||
<translation>拡張モード:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Init commands:</source>
|
||||
<translation>初期化コマンド:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Reset commands:</source>
|
||||
<translation>リセットコマンド:</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::JLinkGdbServerProviderConfigWidget</name>
|
||||
<message>
|
||||
<source>Host:</source>
|
||||
<translation>ホスト:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Executable file:</source>
|
||||
<translation>実行ファイル:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Default</source>
|
||||
<translation>既定</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>JTAG</source>
|
||||
<translation type="unfinished">JTAG</translation>
|
||||
@@ -47330,21 +47053,6 @@ The name of the release build configuration created by default for a qmake proje
|
||||
<source>Device:</source>
|
||||
<translation>デバイス:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Additional arguments:</source>
|
||||
<translation>追加の引数:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Init commands:</source>
|
||||
<translation>初期化コマンド:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Reset commands:</source>
|
||||
<translation>リセットコマンド:</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::UvscServerProvider</name>
|
||||
<message>
|
||||
<source>uVision JLink</source>
|
||||
<translation>uVision JLink</translation>
|
||||
@@ -47357,32 +47065,14 @@ The name of the release build configuration created by default for a qmake proje
|
||||
<source>uVision St-Link</source>
|
||||
<translation>uVision St-Link</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::JLinkUvscServerProviderConfigWidget</name>
|
||||
<message>
|
||||
<source>Adapter options:</source>
|
||||
<translation>アダプタオプション:</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::JLinkUvscAdapterOptionsWidget</name>
|
||||
<message>
|
||||
<source>Port:</source>
|
||||
<translation>ポート:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Speed:</source>
|
||||
<translation>速度:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>JTAG</source>
|
||||
<translation>JTAG</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>SWD</source>
|
||||
<translation>SWD</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>50MHz</source>
|
||||
<translation>50MHz</translation>
|
||||
@@ -47431,9 +47121,6 @@ The name of the release build configuration created by default for a qmake proje
|
||||
<source>100kHz</source>
|
||||
<translation>100kHz</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::SimulatorUvscServerProviderConfigWidget</name>
|
||||
<message>
|
||||
<source>Limit speed to real-time.</source>
|
||||
<translation>速度をリアルタイムに制限する。</translation>
|
||||
@@ -47442,32 +47129,6 @@ The name of the release build configuration created by default for a qmake proje
|
||||
<source>Limit speed to real-time:</source>
|
||||
<translation>速度をリアルタイムに制限する:</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::StLinkUvscServerProviderConfigWidget</name>
|
||||
<message>
|
||||
<source>Adapter options:</source>
|
||||
<translation>アダプタオプション:</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::StLinkUvscAdapterOptionsWidget</name>
|
||||
<message>
|
||||
<source>Port:</source>
|
||||
<translation>ポート:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Speed:</source>
|
||||
<translation>速度:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>JTAG</source>
|
||||
<translation>JTAG</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>SWD</source>
|
||||
<translation>SWD</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>9MHz</source>
|
||||
<translation>9MHz</translation>
|
||||
@@ -47520,10 +47181,6 @@ The name of the release build configuration created by default for a qmake proje
|
||||
<source>125kHz</source>
|
||||
<translation>125kHz</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>100kHz</source>
|
||||
<translation>100kHz</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>50kHz</source>
|
||||
<translation>50kHz</translation>
|
||||
@@ -47540,13 +47197,6 @@ The name of the release build configuration created by default for a qmake proje
|
||||
<source>5kHz</source>
|
||||
<translation>5kHz</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::UvscServerProviderConfigWidget</name>
|
||||
<message>
|
||||
<source>Host:</source>
|
||||
<translation>ホスト:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Choose Keil Toolset Configuration File</source>
|
||||
<translation>Keil Toolset の設定ファイルを選択する</translation>
|
||||
@@ -47580,11 +47230,7 @@ The name of the release build configuration created by default for a qmake proje
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::Uv::DeviceSelectionModel</name>
|
||||
<message>
|
||||
<source>Name</source>
|
||||
<translation>名前</translation>
|
||||
</message>
|
||||
<name>BareMetal</name>
|
||||
<message>
|
||||
<source>Version</source>
|
||||
<translation>バージョン</translation>
|
||||
@@ -47593,9 +47239,6 @@ The name of the release build configuration created by default for a qmake proje
|
||||
<source>Vendor</source>
|
||||
<translation>ベンダー</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::Uv::DeviceSelectionMemoryModel</name>
|
||||
<message>
|
||||
<source>ID</source>
|
||||
<translation>ID</translation>
|
||||
@@ -47608,13 +47251,6 @@ The name of the release build configuration created by default for a qmake proje
|
||||
<source>Size</source>
|
||||
<translation>サイズ</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::Uv::DeviceSelectionAlgorithmModel</name>
|
||||
<message>
|
||||
<source>Name</source>
|
||||
<translation>名前</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>FLASH Start</source>
|
||||
<translation>FLASH スタート</translation>
|
||||
@@ -47631,9 +47267,6 @@ The name of the release build configuration created by default for a qmake proje
|
||||
<source>RAM Size</source>
|
||||
<translation>RAM サイズ</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::Uv::DeviceSelectionAlgorithmView</name>
|
||||
<message>
|
||||
<source>Algorithm path.</source>
|
||||
<translation>アルゴリズムのパス。</translation>
|
||||
@@ -47654,16 +47287,6 @@ The name of the release build configuration created by default for a qmake proje
|
||||
<source>RAM:</source>
|
||||
<translation>RAM:</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::Uv::DeviceSelectorToolPanel</name>
|
||||
<message>
|
||||
<source>Manage...</source>
|
||||
<translation>管理...</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::Uv::DeviceSelectorDetailsPanel</name>
|
||||
<message>
|
||||
<source>Vendor:</source>
|
||||
<translation>ベンダー:</translation>
|
||||
@@ -47684,63 +47307,22 @@ The name of the release build configuration created by default for a qmake proje
|
||||
<source>Flash algorithm:</source>
|
||||
<translation>FLASH アルゴリズム:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Peripheral description files (*.svd)</source>
|
||||
<translation>ペリフェラル説明ファイル (*.svd)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Select Peripheral Description File</source>
|
||||
<translation>ペリフェラル説明ファイルを選択する</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Peripheral description file:</source>
|
||||
<translation>ペリフェラル説明ファイル:</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::Uv::DeviceSelector</name>
|
||||
<message>
|
||||
<source>Target device not selected.</source>
|
||||
<translation>ターゲットデバイスが選択されていません。</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::Uv::DeviceSelectionDialog</name>
|
||||
<message>
|
||||
<source>Available Target Devices</source>
|
||||
<translation>使用可能なターゲットデバイス</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::Uv::DriverSelectionModel</name>
|
||||
<message>
|
||||
<source>Path</source>
|
||||
<translation>パス</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::Uv::DriverSelectionCpuDllModel</name>
|
||||
<message>
|
||||
<source>Name</source>
|
||||
<translation>名前</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::Uv::DriverSelectionCpuDllView</name>
|
||||
<message>
|
||||
<source>Debugger CPU library (depends on a CPU core).</source>
|
||||
<translation>デバッガ CPU ライブラリ(CPU コアに依存)。</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::Uv::DriverSelectorToolPanel</name>
|
||||
<message>
|
||||
<source>Manage...</source>
|
||||
<translation>管理...</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::Uv::DriverSelectorDetailsPanel</name>
|
||||
<message>
|
||||
<source>Debugger driver library.</source>
|
||||
<translation>デバッガドライバライブラリ。</translation>
|
||||
@@ -47753,23 +47335,14 @@ The name of the release build configuration created by default for a qmake proje
|
||||
<source>CPU library:</source>
|
||||
<translation>CPU ライブラリ:</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::Uv::DriverSelector</name>
|
||||
<message>
|
||||
<source>Target driver not selected.</source>
|
||||
<translation>ターゲットドライバーが選択されていません。</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::Uv::DriverSelectionDialog</name>
|
||||
<message>
|
||||
<source>Available Target Drivers</source>
|
||||
<translation>使用可能なターゲットドライバー</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>IarToolChain</name>
|
||||
<message>
|
||||
<source>IAREW %1 (%2, %3)</source>
|
||||
<translation>IAREW %1 (%2, %3)</translation>
|
||||
@@ -47778,9 +47351,6 @@ The name of the release build configuration created by default for a qmake proje
|
||||
<source>IAREW</source>
|
||||
<translation>IAREW</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::IarToolChainConfigWidget</name>
|
||||
<message>
|
||||
<source>&Compiler path:</source>
|
||||
<translation>コンパイラのパス(&C):</translation>
|
||||
@@ -47793,20 +47363,10 @@ The name of the release build configuration created by default for a qmake proje
|
||||
<source>&ABI:</source>
|
||||
<translation>&ABI:</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::IDebugServerProviderConfigWidget</name>
|
||||
<message>
|
||||
<source>Enter the name of the debugger server provider.</source>
|
||||
<translation>デバッガ サーバー プロバイダの名前を入力してください。</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Name:</source>
|
||||
<translation>名前:</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>KeilToolChain</name>
|
||||
<message>
|
||||
<source>KEIL %1 (%2, %3)</source>
|
||||
<translation>KEIL %1 (%2, %3)</translation>
|
||||
@@ -47815,24 +47375,6 @@ The name of the release build configuration created by default for a qmake proje
|
||||
<source>KEIL</source>
|
||||
<translation>KEIL</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::KeilToolChainConfigWidget</name>
|
||||
<message>
|
||||
<source>&Compiler path:</source>
|
||||
<translation>コンパイラのパス(&C):</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Platform codegen flags:</source>
|
||||
<translation>プラットフォーム用コード生成オプション:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>&ABI:</source>
|
||||
<translation>&ABI:</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>SdccToolChain</name>
|
||||
<message>
|
||||
<source>SDCC %1 (%2, %3)</source>
|
||||
<translation>SDCC %1 (%2, %3)</translation>
|
||||
@@ -47842,17 +47384,6 @@ The name of the release build configuration created by default for a qmake proje
|
||||
<translation>SDCC</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::SdccToolChainConfigWidget</name>
|
||||
<message>
|
||||
<source>&Compiler path:</source>
|
||||
<translation>コンパイラのパス(&C):</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>&ABI:</source>
|
||||
<translation>&ABI:</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Bazaar</name>
|
||||
<message>
|
||||
|
@@ -26284,7 +26284,7 @@ Zdalny: %4</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::BareMetalDeviceConfigurationWizardSetupPage</name>
|
||||
<name>BareMetal</name>
|
||||
<message>
|
||||
<source>Set up GDB Server or Hardware Debugger</source>
|
||||
<translation>Ustaw serwer GDB lub debugger sprzętowy</translation>
|
||||
@@ -27062,21 +27062,15 @@ Czy odinstalować istniejący pakiet?</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::BareMetalDevice</name>
|
||||
<name>BareMetal</name>
|
||||
<message>
|
||||
<source>Bare Metal</source>
|
||||
<translation>Bare Metal</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::BareMetalGdbCommandsDeployStepWidget</name>
|
||||
<message>
|
||||
<source>GDB commands:</source>
|
||||
<translation>Komendy GDB:</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::BareMetalRunConfigurationFactory</name>
|
||||
<message>
|
||||
<source>%1 (on GDB server or hardware debugger)</source>
|
||||
<translation>%1 (na serwerze GDB lub debuggerze sprzętowym)</translation>
|
||||
@@ -29876,37 +29870,14 @@ Zainstaluj SDK o wersji %1 lub wyższej.</translation>
|
||||
<source>Enter GDB commands to reset the hardware. The MCU should be halted after these commands.</source>
|
||||
<translation>Wprowadź komendy GDB resetujące sprzęt. MCU powinien zostać zatrzymany po tych komendach.</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::BareMetalDeviceConfigurationFactory</name>
|
||||
<message>
|
||||
<source>Bare Metal Device</source>
|
||||
<translation>Urządzenie Bare Metal</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::BareMetalDeviceConfigurationWidget</name>
|
||||
<message>
|
||||
<source>GDB server provider:</source>
|
||||
<translation>Dostawca serwera GDB:</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::BareMetalDeviceConfigurationWizard</name>
|
||||
<message>
|
||||
<source>New Bare Metal Device Configuration Setup</source>
|
||||
<translation>Nowa konfiguracja urządzenia Bare Metal</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::BareMetalGdbCommandsDeployStep</name>
|
||||
<message>
|
||||
<source>GDB commands</source>
|
||||
<translation>Komendy GDB</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::BareMetalRunConfiguration</name>
|
||||
<message>
|
||||
<source>%1 (via GDB server or hardware debugger)</source>
|
||||
<translation>%1 (poprzez serwer GDB lub debugger sprzętowy)</translation>
|
||||
@@ -29916,9 +29887,6 @@ Zainstaluj SDK o wersji %1 lub wyższej.</translation>
|
||||
<extracomment>Bare Metal run configuration default run name</extracomment>
|
||||
<translation>Uruchom na serwerze GDB lub debuggerze sprzętowym</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::BareMetalRunConfigurationWidget</name>
|
||||
<message>
|
||||
<source>Executable:</source>
|
||||
<translation>Plik wykonywalny:</translation>
|
||||
@@ -33396,18 +33364,11 @@ Pliki z katalogu źródłowego pakietu Android są kopiowane do katalogu budowan
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::BareMetalCustomRunConfigWidget</name>
|
||||
<message>
|
||||
<source>Executable:</source>
|
||||
<translation>Plik wykonywalny:</translation>
|
||||
</message>
|
||||
<name>BareMetal</name>
|
||||
<message>
|
||||
<source>Work directory:</source>
|
||||
<translation>Katalog roboczy:</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::BareMetalCustomRunConfiguration</name>
|
||||
<message>
|
||||
<source>The remote executable must be set in order to run a custom remote run configuration.</source>
|
||||
<translation>W celu uruchomienia własnej, zdalnej konfiguracji uruchamiania, należy ustawić zdalny plik wykonywalny.</translation>
|
||||
@@ -33416,9 +33377,6 @@ Pliki z katalogu źródłowego pakietu Android są kopiowane do katalogu budowan
|
||||
<source>Custom Executable (on GDB server or hardware debugger)</source>
|
||||
<translation>Własny plik wykonywalny (na serwerze GDB lub debuggerze sprzętowym)</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::BareMetalDebugSupport</name>
|
||||
<message>
|
||||
<source>Cannot debug: Kit has no device.</source>
|
||||
<translation>Nie można debugować: brak urządzenia w zestawie narzędzi.</translation>
|
||||
@@ -33431,16 +33389,10 @@ Pliki z katalogu źródłowego pakietu Android są kopiowane do katalogu budowan
|
||||
<source>Cannot debug: Could not find executable for "%1".</source>
|
||||
<translation>Nie można debugować: nie można odnaleźć pliku wykonywalnego dla "%1".</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::DefaultGdbServerProviderFactory</name>
|
||||
<message>
|
||||
<source>Default</source>
|
||||
<translation>Domyślny</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::DefaultGdbServerProviderConfigWidget</name>
|
||||
<message>
|
||||
<source>Host:</source>
|
||||
<translation>Host:</translation>
|
||||
@@ -33453,24 +33405,14 @@ Pliki z katalogu źródłowego pakietu Android są kopiowane do katalogu budowan
|
||||
<source>Reset commands:</source>
|
||||
<translation>Komendy resetujące:</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::GdbServerProvider</name>
|
||||
<message>
|
||||
<source>Clone of %1</source>
|
||||
<translation>Klon %1</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::GdbServerProviderConfigWidget</name>
|
||||
<message>
|
||||
<source>Enter the name of the GDB server provider.</source>
|
||||
<translation>Podaj nazwę dostawcy serwera GDB.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Name:</source>
|
||||
<translation>Nazwa:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Choose the desired startup mode of the GDB server provider.</source>
|
||||
<translation>Wybierz tryb startowy dostarczyciela serwera GDB.</translation>
|
||||
@@ -33491,9 +33433,6 @@ Pliki z katalogu źródłowego pakietu Android są kopiowane do katalogu budowan
|
||||
<source>Startup in Pipe Mode</source>
|
||||
<translation>Start w trybie potokowym</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::HostWidget</name>
|
||||
<message>
|
||||
<source>Enter TCP/IP hostname of the GDB server provider, like "localhost" or "192.0.2.1".</source>
|
||||
<translation>Podaj nazwę TCP/IP hosta dostawcy serwera GDB, np. "localhost" lub "192.0.2.1".</translation>
|
||||
@@ -33502,9 +33441,6 @@ Pliki z katalogu źródłowego pakietu Android są kopiowane do katalogu budowan
|
||||
<source>Enter TCP/IP port which will be listened by the GDB server provider.</source>
|
||||
<translation>Podaj port TCP/IP, na którym będzie nasłuchiwał dostawca serwera GDB.</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::GdbServerProviderChooser</name>
|
||||
<message>
|
||||
<source>Manage...</source>
|
||||
<translation>Zarządzaj...</translation>
|
||||
@@ -33513,9 +33449,6 @@ Pliki z katalogu źródłowego pakietu Android są kopiowane do katalogu budowan
|
||||
<source>None</source>
|
||||
<translation>Brak</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::GdbServerProviderModel</name>
|
||||
<message>
|
||||
<source>Name</source>
|
||||
<translation>Nazwa</translation>
|
||||
@@ -33532,9 +33465,6 @@ Pliki z katalogu źródłowego pakietu Android są kopiowane do katalogu budowan
|
||||
<source>The following providers were already configured:<br>&nbsp;%1<br>They were not configured again.</source>
|
||||
<translation>Następujący dostawcy zostali już skonfigurowani:<br>&nbsp;%1<br>Nie zostali oni ponownie skonfigurowani.</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::GdbServerProvidersSettingsPage</name>
|
||||
<message>
|
||||
<source>Add</source>
|
||||
<translation>Dodaj</translation>
|
||||
@@ -33551,24 +33481,10 @@ Pliki z katalogu źródłowego pakietu Android są kopiowane do katalogu budowan
|
||||
<source>GDB Server Providers</source>
|
||||
<translation>Dostawcy serwera GDB</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Bare Metal</source>
|
||||
<translation>Bare Metal</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::OpenOcdGdbServerProviderFactory</name>
|
||||
<message>
|
||||
<source>OpenOCD</source>
|
||||
<translation>OpenOCD</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::OpenOcdGdbServerProviderConfigWidget</name>
|
||||
<message>
|
||||
<source>Host:</source>
|
||||
<translation>Host:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Executable file:</source>
|
||||
<translation>Plik wykonywalny:</translation>
|
||||
@@ -33585,32 +33501,10 @@ Pliki z katalogu źródłowego pakietu Android są kopiowane do katalogu budowan
|
||||
<source>Additional arguments:</source>
|
||||
<translation>Dodatkowe argumenty:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Init commands:</source>
|
||||
<translation>Komendy inicjalizujące:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Reset commands:</source>
|
||||
<translation>Komendy resetujące:</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::StLinkUtilGdbServerProviderFactory</name>
|
||||
<message>
|
||||
<source>ST-LINK Utility</source>
|
||||
<translation>Narzędzie ST-LINK</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::StLinkUtilGdbServerProviderConfigWidget</name>
|
||||
<message>
|
||||
<source>Host:</source>
|
||||
<translation>Host:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Executable file:</source>
|
||||
<translation>Plik wykonywalny:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Specify the verbosity level (0..99).</source>
|
||||
<translation>Poziom gadatliwości (0..99).</translation>
|
||||
@@ -33643,14 +33537,6 @@ Pliki z katalogu źródłowego pakietu Android są kopiowane do katalogu budowan
|
||||
<source>Version:</source>
|
||||
<translation>Wersja:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Init commands:</source>
|
||||
<translation>Komendy inicjalizujące:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Reset commands:</source>
|
||||
<translation>Komendy resetujące:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>ST-LINK/V1</source>
|
||||
<translation>ST-LINK/V1</translation>
|
||||
|
@@ -3402,9 +3402,6 @@ Warning: this is an experimental feature and might lead to failing to execute th
|
||||
<source>Enter GDB commands to reset the hardware. The MCU should be halted after these commands.</source>
|
||||
<translation>Введите команды GDB для аппаратного сброса. После этих команд процессор должен быть остановлен.</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::BareMetalCustomRunConfiguration</name>
|
||||
<message>
|
||||
<source>Unknown</source>
|
||||
<translation>Неизвестно</translation>
|
||||
@@ -3417,9 +3414,6 @@ Warning: this is an experimental feature and might lead to failing to execute th
|
||||
<source>Custom Executable</source>
|
||||
<translation>Особая программа</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::BareMetalDebugSupport</name>
|
||||
<message>
|
||||
<source>Cannot debug: Kit has no device.</source>
|
||||
<translation>Отладка невозможна: отсутствует устройство в комплекте.</translation>
|
||||
@@ -3448,70 +3442,30 @@ Warning: this is an experimental feature and might lead to failing to execute th
|
||||
<source>Unable to create an uVision project options template.</source>
|
||||
<translation>Не удалось создать шаблон проекта настроек uVision.</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::BareMetalDevice</name>
|
||||
<message>
|
||||
<source>Bare Metal</source>
|
||||
<translation>Голое железо</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Bare Metal Device</source>
|
||||
<translation>Устройство на голом железе</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::BareMetalDeviceConfigurationWidget</name>
|
||||
<message>
|
||||
<source>Debug server provider:</source>
|
||||
<translation>Тип сервера отладки:</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::BareMetalDeviceConfigurationWizard</name>
|
||||
<message>
|
||||
<source>New Bare Metal Device Configuration Setup</source>
|
||||
<translation>Настройка новой конфигурации голого устройства</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::BareMetalDeviceConfigurationWizardSetupPage</name>
|
||||
<message>
|
||||
<source>Set up Debug Server or Hardware Debugger</source>
|
||||
<translation>Настройка сервера отладки или аппаратного отладчика</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Name:</source>
|
||||
<translation>Название:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Debug server provider:</source>
|
||||
<translation>Тип сервера отладки:</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::BareMetalGdbCommandsDeployStep</name>
|
||||
<message>
|
||||
<source>GDB commands</source>
|
||||
<translation>Команды GDB</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::BareMetalGdbCommandsDeployStepWidget</name>
|
||||
<message>
|
||||
<source>GDB commands:</source>
|
||||
<translation>Команды GDB:</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::BareMetalRunConfiguration</name>
|
||||
<message>
|
||||
<source>Unknown</source>
|
||||
<translation>Неизвестно</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::DebugServerProviderChooser</name>
|
||||
<message>
|
||||
<source>Manage...</source>
|
||||
<translation>Управление...</translation>
|
||||
@@ -3520,9 +3474,6 @@ Warning: this is an experimental feature and might lead to failing to execute th
|
||||
<source>None</source>
|
||||
<translation>Нет</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::DebugServerProviderModel</name>
|
||||
<message>
|
||||
<source>Not recognized</source>
|
||||
<translation>Не определён</translation>
|
||||
@@ -3547,10 +3498,6 @@ Warning: this is an experimental feature and might lead to failing to execute th
|
||||
<translation>UVSC-совместимый провайдер отладчика
|
||||
(используется совместно с KEIL uVision).</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Name</source>
|
||||
<translation>Имя</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Type</source>
|
||||
<translation>Тип</translation>
|
||||
@@ -3567,9 +3514,6 @@ Warning: this is an experimental feature and might lead to failing to execute th
|
||||
<source>The following providers were already configured:<br>&nbsp;%1<br>They were not configured again.</source>
|
||||
<translation>Следующие провайдеры уже настроены:<br>&nbsp;%1<br>Повторно настраиваться не будут.</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::DebugServerProvidersSettingsPage</name>
|
||||
<message>
|
||||
<source>Add</source>
|
||||
<translation>Добавить</translation>
|
||||
@@ -3594,9 +3538,6 @@ Warning: this is an experimental feature and might lead to failing to execute th
|
||||
<source>Bare Metal</source>
|
||||
<translation>Bare Metal</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::EBlinkGdbServerProviderConfigWidget</name>
|
||||
<message>
|
||||
<source>Host:</source>
|
||||
<translation>Хост:</translation>
|
||||
@@ -3673,9 +3614,6 @@ Warning: this is an experimental feature and might lead to failing to execute th
|
||||
<source>JTAG</source>
|
||||
<translation>JTAG</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::GdbServerProvider</name>
|
||||
<message>
|
||||
<source>EBlink</source>
|
||||
<translation>EBlink</translation>
|
||||
@@ -3692,9 +3630,6 @@ Warning: this is an experimental feature and might lead to failing to execute th
|
||||
<source>ST-LINK Utility</source>
|
||||
<translation>Утилита ST-LINK</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::GdbServerProviderConfigWidget</name>
|
||||
<message>
|
||||
<source>Choose the desired startup mode of the GDB server provider.</source>
|
||||
<translation>Выберите желаемый метод запуска сервера GDB.</translation>
|
||||
@@ -3723,9 +3658,6 @@ Warning: this is an experimental feature and might lead to failing to execute th
|
||||
<source>Startup in Pipe Mode</source>
|
||||
<translation>Запуск в локальном режиме (pipe)</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::HostWidget</name>
|
||||
<message>
|
||||
<source>Enter TCP/IP hostname of the debug server, like "localhost" or "192.0.2.1".</source>
|
||||
<translation>Введите TCP/IP имя сервера отладки, например: «localhost» или «192.0.2.1».</translation>
|
||||
@@ -3734,9 +3666,6 @@ Warning: this is an experimental feature and might lead to failing to execute th
|
||||
<source>Enter TCP/IP port which will be listened by the debug server.</source>
|
||||
<translation>Введите порт TCP/IP, который будет прослушиваться сервером отладки.</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::IDebugServerProviderConfigWidget</name>
|
||||
<message>
|
||||
<source>Enter the name of the debugger server provider.</source>
|
||||
<translation>Введите имя провайдера сервера отладки.</translation>
|
||||
@@ -3745,9 +3674,6 @@ Warning: this is an experimental feature and might lead to failing to execute th
|
||||
<source>Name:</source>
|
||||
<translation>Имя:</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::IarToolChainConfigWidget</name>
|
||||
<message>
|
||||
<source>&Compiler path:</source>
|
||||
<translation>Путь к &компилятору:</translation>
|
||||
@@ -3760,13 +3686,6 @@ Warning: this is an experimental feature and might lead to failing to execute th
|
||||
<source>&ABI:</source>
|
||||
<translation>&ABI:</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::JLinkGdbServerProviderConfigWidget</name>
|
||||
<message>
|
||||
<source>Host:</source>
|
||||
<translation>Хост:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>JLink GDB Server (JLinkGDBServerCL.exe)</source>
|
||||
<translation>JLink сервер GDB (JLinkGDBServerCL.exe)</translation>
|
||||
@@ -3775,10 +3694,6 @@ Warning: this is an experimental feature and might lead to failing to execute th
|
||||
<source>JLink GDB Server (JLinkGDBServer)</source>
|
||||
<translation>JLink сервер GDB (JLinkGDBServer)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Executable file:</source>
|
||||
<translation>Исполняемый файл:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Default</source>
|
||||
<translation>По умолчанию</translation>
|
||||
@@ -3811,33 +3726,10 @@ Warning: this is an experimental feature and might lead to failing to execute th
|
||||
<source>Additional arguments:</source>
|
||||
<translation>Дополнительные параметры:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Init commands:</source>
|
||||
<translation>Команды инициализации:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Reset commands:</source>
|
||||
<translation>Команды сброса:</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::JLinkUvscAdapterOptionsWidget</name>
|
||||
<message>
|
||||
<source>Port:</source>
|
||||
<translation>Порт:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Speed:</source>
|
||||
<translation>Скорость:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>JTAG</source>
|
||||
<translation>JTAG</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>SWD</source>
|
||||
<translation>SWD</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>50MHz</source>
|
||||
<translation>50 МГц</translation>
|
||||
@@ -3886,39 +3778,10 @@ Warning: this is an experimental feature and might lead to failing to execute th
|
||||
<source>100kHz</source>
|
||||
<translation>100 кГц</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::JLinkUvscServerProviderConfigWidget</name>
|
||||
<message>
|
||||
<source>Adapter options:</source>
|
||||
<translation>Параметры адаптера:</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::KeilToolChainConfigWidget</name>
|
||||
<message>
|
||||
<source>&Compiler path:</source>
|
||||
<translation>Путь к &компилятору:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Platform codegen flags:</source>
|
||||
<translation>Флаги генерации кода для платформы:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>&ABI:</source>
|
||||
<translation>&ABI:</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::OpenOcdGdbServerProviderConfigWidget</name>
|
||||
<message>
|
||||
<source>Host:</source>
|
||||
<translation>Хост:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Executable file:</source>
|
||||
<translation>Исполняемый файл:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Root scripts directory:</source>
|
||||
<translation>Корень каталога скриптов:</translation>
|
||||
@@ -3927,32 +3790,6 @@ Warning: this is an experimental feature and might lead to failing to execute th
|
||||
<source>Configuration file:</source>
|
||||
<translation>Файл конфигурации:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Additional arguments:</source>
|
||||
<translation>Дополнительные параметры:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Init commands:</source>
|
||||
<translation>Команды инициализации:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Reset commands:</source>
|
||||
<translation>Команды сброса:</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::SdccToolChainConfigWidget</name>
|
||||
<message>
|
||||
<source>&Compiler path:</source>
|
||||
<translation>Путь к &компилятору:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>&ABI:</source>
|
||||
<translation>&ABI:</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::SimulatorUvscServerProviderConfigWidget</name>
|
||||
<message>
|
||||
<source>Limit speed to real-time.</source>
|
||||
<translation>Ограничить скорость реальным временем.</translation>
|
||||
@@ -3961,25 +3798,10 @@ Warning: this is an experimental feature and might lead to failing to execute th
|
||||
<source>Limit speed to real-time:</source>
|
||||
<translation>Ограничить скорость:</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::StLinkUtilGdbServerProviderConfigWidget</name>
|
||||
<message>
|
||||
<source>Host:</source>
|
||||
<translation>Хост:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Executable file:</source>
|
||||
<translation>Исполняемый файл:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Specify the verbosity level (0..99).</source>
|
||||
<translation>Укажите уровень информативности (0...99).</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Verbosity level:</source>
|
||||
<translation>Уровень информативности:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Continue listening for connections after disconnect.</source>
|
||||
<translation>Продолжать ожидание подключений после отключения.</translation>
|
||||
@@ -4004,14 +3826,6 @@ Warning: this is an experimental feature and might lead to failing to execute th
|
||||
<source>Version:</source>
|
||||
<translation>Версия:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Init commands:</source>
|
||||
<translation>Команды инициализации:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Reset commands:</source>
|
||||
<translation>Команды сброса:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>ST-LINK/V1</source>
|
||||
<translation>ST-LINK/V1</translation>
|
||||
@@ -4020,25 +3834,6 @@ Warning: this is an experimental feature and might lead to failing to execute th
|
||||
<source>ST-LINK/V2</source>
|
||||
<translation>ST-LINK/V2</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::StLinkUvscAdapterOptionsWidget</name>
|
||||
<message>
|
||||
<source>Port:</source>
|
||||
<translation>Порт:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Speed:</source>
|
||||
<translation>Скорость:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>JTAG</source>
|
||||
<translation>JTAG</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>SWD</source>
|
||||
<translation>SWD</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>9MHz</source>
|
||||
<translation>9 МГц</translation>
|
||||
@@ -4091,10 +3886,6 @@ Warning: this is an experimental feature and might lead to failing to execute th
|
||||
<source>125kHz</source>
|
||||
<translation>125 кГц</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>100kHz</source>
|
||||
<translation>100 кГц</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>50kHz</source>
|
||||
<translation>50 кГц</translation>
|
||||
@@ -4111,16 +3902,6 @@ Warning: this is an experimental feature and might lead to failing to execute th
|
||||
<source>5kHz</source>
|
||||
<translation>5 кГц</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::StLinkUvscServerProviderConfigWidget</name>
|
||||
<message>
|
||||
<source>Adapter options:</source>
|
||||
<translation>Параметры адаптера:</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::Uv::DeviceSelectionAlgorithmModel</name>
|
||||
<message>
|
||||
<source>Name</source>
|
||||
<translation>Название</translation>
|
||||
@@ -4141,9 +3922,6 @@ Warning: this is an experimental feature and might lead to failing to execute th
|
||||
<source>RAM Size</source>
|
||||
<translation>RAM Объём</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::Uv::DeviceSelectionAlgorithmView</name>
|
||||
<message>
|
||||
<source>Algorithm path.</source>
|
||||
<translation>Путь к алгоритму.</translation>
|
||||
@@ -4164,16 +3942,10 @@ Warning: this is an experimental feature and might lead to failing to execute th
|
||||
<source>RAM:</source>
|
||||
<translation>RAM:</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::Uv::DeviceSelectionDialog</name>
|
||||
<message>
|
||||
<source>Available Target Devices</source>
|
||||
<translation>Доступные устройства</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::Uv::DeviceSelectionMemoryModel</name>
|
||||
<message>
|
||||
<source>ID</source>
|
||||
<translation>ID</translation>
|
||||
@@ -4186,13 +3958,6 @@ Warning: this is an experimental feature and might lead to failing to execute th
|
||||
<source>Size</source>
|
||||
<translation>Размер</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::Uv::DeviceSelectionModel</name>
|
||||
<message>
|
||||
<source>Name</source>
|
||||
<translation>Название</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Version</source>
|
||||
<translation>Версия</translation>
|
||||
@@ -4201,16 +3966,10 @@ Warning: this is an experimental feature and might lead to failing to execute th
|
||||
<source>Vendor</source>
|
||||
<translation>Поставщик</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::Uv::DeviceSelector</name>
|
||||
<message>
|
||||
<source>Target device not selected.</source>
|
||||
<translation>Устройство не выбрано.</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::Uv::DeviceSelectorDetailsPanel</name>
|
||||
<message>
|
||||
<source>Vendor:</source>
|
||||
<translation>Поставщик:</translation>
|
||||
@@ -4231,63 +3990,22 @@ Warning: this is an experimental feature and might lead to failing to execute th
|
||||
<source>Flash algorithm:</source>
|
||||
<translation>Алгоритм прошивания:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Peripheral description files (*.svd)</source>
|
||||
<translation>Файлы описания устройств (*.svd)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Select Peripheral Description File</source>
|
||||
<translation>Выбор файла описания внешнего устройства</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Peripheral description file:</source>
|
||||
<translation>Файл описания устройства:</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::Uv::DeviceSelectorToolPanel</name>
|
||||
<message>
|
||||
<source>Manage...</source>
|
||||
<translation>Управление...</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::Uv::DriverSelectionCpuDllModel</name>
|
||||
<message>
|
||||
<source>Name</source>
|
||||
<translation>Название</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::Uv::DriverSelectionCpuDllView</name>
|
||||
<message>
|
||||
<source>Debugger CPU library (depends on a CPU core).</source>
|
||||
<translation>Библиотека поддержки процессора для отладчика (зависит от ядра процессора).</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::Uv::DriverSelectionDialog</name>
|
||||
<message>
|
||||
<source>Available Target Drivers</source>
|
||||
<translation>Доступные драйвера</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::Uv::DriverSelectionModel</name>
|
||||
<message>
|
||||
<source>Path</source>
|
||||
<translation>Путь</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::Uv::DriverSelector</name>
|
||||
<message>
|
||||
<source>Target driver not selected.</source>
|
||||
<translation>Драйвер не выбран.</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::Uv::DriverSelectorDetailsPanel</name>
|
||||
<message>
|
||||
<source>Debugger driver library.</source>
|
||||
<translation>Библиотека драйвера отладчика.</translation>
|
||||
@@ -4300,16 +4018,6 @@ Warning: this is an experimental feature and might lead to failing to execute th
|
||||
<source>CPU library:</source>
|
||||
<translation>Библиотека процессора:</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::Uv::DriverSelectorToolPanel</name>
|
||||
<message>
|
||||
<source>Manage...</source>
|
||||
<translation>Управление...</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::UvscServerProvider</name>
|
||||
<message>
|
||||
<source>uVision Simulator</source>
|
||||
<translation>Симулятор uVision</translation>
|
||||
@@ -4322,13 +4030,6 @@ Warning: this is an experimental feature and might lead to failing to execute th
|
||||
<source>uVision JLink</source>
|
||||
<translation>uVision JLink</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::UvscServerProviderConfigWidget</name>
|
||||
<message>
|
||||
<source>Host:</source>
|
||||
<translation>Хост:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Choose Keil Toolset Configuration File</source>
|
||||
<translation>Выбор файла конфигурации инструментария Keil</translation>
|
||||
@@ -4345,9 +4046,6 @@ Warning: this is an experimental feature and might lead to failing to execute th
|
||||
<source>Target driver:</source>
|
||||
<translation>Драйвер:</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetalDeployConfiguration</name>
|
||||
<message>
|
||||
<source>Deploy to BareMetal Device</source>
|
||||
<translation>Развёртывание на устройство на голом железе</translation>
|
||||
@@ -23728,7 +23426,7 @@ Add, modify, and remove document filters, which determine the documentation set
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>IarToolChain</name>
|
||||
<name>BareMetal</name>
|
||||
<message>
|
||||
<source>IAREW %1 (%2, %3)</source>
|
||||
<translation>IAREW %1 (%2, %3)</translation>
|
||||
@@ -25092,7 +24790,7 @@ Error: %5</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>KeilToolChain</name>
|
||||
<name>BareMetal</name>
|
||||
<message>
|
||||
<source>KEIL %1 (%2, %3)</source>
|
||||
<translation>KEIL %1 (%2, %3)</translation>
|
||||
@@ -44893,7 +44591,7 @@ Row: %4, Column: %5
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>SdccToolChain</name>
|
||||
<name>BareMetal</name>
|
||||
<message>
|
||||
<source>SDCC %1 (%2, %3)</source>
|
||||
<translation>SDCC %1 (%2, %3)</translation>
|
||||
|
@@ -36314,7 +36314,7 @@ This wizard will guide you through the essential steps to deploy a ready-to-go d
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::BareMetalDeviceConfigurationWidget</name>
|
||||
<name>BareMetal</name>
|
||||
<message>
|
||||
<source>Form</source>
|
||||
<translation type="vanished">Форма</translation>
|
||||
@@ -36323,25 +36323,6 @@ This wizard will guide you through the essential steps to deploy a ready-to-go d
|
||||
<source>GDB host:</source>
|
||||
<translation type="vanished">Вузол GDB:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>GDB port:</source>
|
||||
<translation type="vanished">Порт GDB:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>GDB commands:</source>
|
||||
<translation type="vanished">Команди GDB:</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::BareMetalDeviceConfigurationWizardSetupPage</name>
|
||||
<message>
|
||||
<source>Form</source>
|
||||
<translation type="vanished">Форма</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Set up GDB Server or Hardware Debugger</source>
|
||||
<translation>Налаштування сервера GDB або апаратного зневаджувача</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Name:</source>
|
||||
<translation>Назва:</translation>
|
||||
@@ -36350,34 +36331,10 @@ This wizard will guide you through the essential steps to deploy a ready-to-go d
|
||||
<source>GDB server provider:</source>
|
||||
<translation>Постачальник сервера GDB:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Init commands:</source>
|
||||
<translation type="vanished">Команди ініціалізації:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Reset commands:</source>
|
||||
<translation type="vanished">Команди скидання:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Bare Metal Device</source>
|
||||
<translation>Голий пристрій</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>localhost</source>
|
||||
<translation type="vanished">localhost</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>GDB port:</source>
|
||||
<translation type="vanished">Порт GDB:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>GDB host:</source>
|
||||
<translation type="vanished">Вузол GDB:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>GDB commands:</source>
|
||||
<translation type="vanished">Команди GDB:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>load
|
||||
monitor reset</source>
|
||||
@@ -37410,95 +37367,27 @@ Do you want to uninstall the existing package next time?</source>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::BareMetalDevice</name>
|
||||
<name>BareMetal</name>
|
||||
<message>
|
||||
<source>Bare Metal</source>
|
||||
<translation>Голе залізо</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::BareMetalDeviceConfigurationFactory</name>
|
||||
<message>
|
||||
<source>Bare Metal Device</source>
|
||||
<translation type="vanished">Голий пристрій</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::BareMetalDeviceConfigurationWizard</name>
|
||||
<message>
|
||||
<source>New Bare Metal Device Configuration Setup</source>
|
||||
<translation type="vanished">Налаштування нової конфігурації голого пристрою</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::BareMetalDeviceConfigurationWizardSetupPage</name>
|
||||
<message>
|
||||
<source>Set up GDB Server or Hardware Debugger</source>
|
||||
<translation type="vanished">Налаштування сервера GDB або апаратного зневаджувача</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Bare Metal Device</source>
|
||||
<translation type="vanished">Голий пристрій</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::BareMetalGdbCommandsDeployStepWidget</name>
|
||||
<message>
|
||||
<source>GDB commands:</source>
|
||||
<translation>Команди GDB:</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::BareMetalGdbCommandsDeployStep</name>
|
||||
<message>
|
||||
<source>GDB commands</source>
|
||||
<translation type="vanished">Команди GDB</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::BareMetalRunConfiguration</name>
|
||||
<message>
|
||||
<source>%1 (via GDB server or hardware debugger)</source>
|
||||
<translation type="vanished">%1 (через сервер GDB або апаратний зневаджувач)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Run on GDB server or hardware debugger</source>
|
||||
<extracomment>Bare Metal run configuration default run name</extracomment>
|
||||
<translation type="vanished">Виконати на сервері GDB або апаратному зневаджувачі</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::BareMetalRunConfigurationFactory</name>
|
||||
<message>
|
||||
<source>%1 (on GDB server or hardware debugger)</source>
|
||||
<translation>%1 (через сервер GDB або апаратний зневаджувач)</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::BareMetalRunConfigurationWidget</name>
|
||||
<message>
|
||||
<source>Executable:</source>
|
||||
<translation type="vanished">Виконуваний модуль:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Arguments:</source>
|
||||
<translation type="vanished">Аргументи:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source><default></source>
|
||||
<translation type="vanished"><типово></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Working directory:</source>
|
||||
<translation type="vanished">Робоча тека:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Unknown</source>
|
||||
<translation type="vanished">Невідомо</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::BareMetalRunControlFactory</name>
|
||||
<message>
|
||||
<source>Cannot debug: Local executable is not set.</source>
|
||||
<translation>Неможливо зневадити: локальний виконуваний модуль не задано.</translation>
|
||||
@@ -41067,57 +40956,14 @@ Install an SDK of at least API version %1.</source>
|
||||
<source>Enter GDB commands to reset the hardware. The MCU should be halted after these commands.</source>
|
||||
<translation>Введіть команди GDB для апаратного скидання. Мікроконтролер має бути зупинено після цих команд.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Bare Metal</source>
|
||||
<translation>Голе залізо</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::BareMetalDeviceConfigurationFactory</name>
|
||||
<message>
|
||||
<source>Bare Metal Device</source>
|
||||
<translation>Голий пристрій</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::BareMetalDeviceConfigurationWidget</name>
|
||||
<message>
|
||||
<source>GDB host:</source>
|
||||
<translation type="vanished">Вузол GDB:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>GDB port:</source>
|
||||
<translation type="vanished">Порт GDB:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Init commands:</source>
|
||||
<translation type="vanished">Команди ініціалізації:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Reset commands:</source>
|
||||
<translation type="vanished">Команди скидання:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>GDB server provider:</source>
|
||||
<translation>Постачальник сервера GDB:</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::BareMetalDeviceConfigurationWizard</name>
|
||||
<message>
|
||||
<source>New Bare Metal Device Configuration Setup</source>
|
||||
<translation>Налаштування нової конфігурації голого пристрою</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::BareMetalGdbCommandsDeployStep</name>
|
||||
<message>
|
||||
<source>GDB commands</source>
|
||||
<translation>Команди GDB</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::BareMetalRunConfiguration</name>
|
||||
<message>
|
||||
<source>%1 (via GDB server or hardware debugger)</source>
|
||||
<translation>%1 (через сервер GDB або апаратний зневаджувач)</translation>
|
||||
@@ -41127,17 +40973,10 @@ Install an SDK of at least API version %1.</source>
|
||||
<extracomment>Bare Metal run configuration default run name</extracomment>
|
||||
<translation>Виконати на сервері GDB або апаратному зневаджувачі</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::BareMetalRunConfigurationWidget</name>
|
||||
<message>
|
||||
<source>Executable:</source>
|
||||
<translation>Виконуваний модуль:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Arguments:</source>
|
||||
<translation type="vanished">Аргументи:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source><default></source>
|
||||
<translation><типово></translation>
|
||||
@@ -45881,22 +45720,11 @@ Affected are breakpoints %1</source>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::BareMetalCustomRunConfigWidget</name>
|
||||
<message>
|
||||
<source>Executable:</source>
|
||||
<translation>Виконуваний модуль:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Arguments:</source>
|
||||
<translation type="vanished">Аргументи:</translation>
|
||||
</message>
|
||||
<name>BareMetal</name>
|
||||
<message>
|
||||
<source>Work directory:</source>
|
||||
<translation>Робоча тека:</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::BareMetalCustomRunConfiguration</name>
|
||||
<message>
|
||||
<source>The remote executable must be set in order to run a custom remote run configuration.</source>
|
||||
<translation>Має бути заданий віддалений виконуваний модуль, щоб виконати користувацьку віддалену конфігурацію запуску.</translation>
|
||||
@@ -45905,9 +45733,6 @@ Affected are breakpoints %1</source>
|
||||
<source>Custom Executable (on GDB server or hardware debugger)</source>
|
||||
<translation>Виконуваний модуль (через сервер GDB або апаратний зневаджувач)</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::BareMetalDebugSupport</name>
|
||||
<message>
|
||||
<source>Debugging failed.</source>
|
||||
<translation>Збій зневадження.</translation>
|
||||
@@ -45920,16 +45745,10 @@ Affected are breakpoints %1</source>
|
||||
<source>Starting GDB server...</source>
|
||||
<translation>Запуск сервера GDB...</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::DefaultGdbServerProviderFactory</name>
|
||||
<message>
|
||||
<source>Default</source>
|
||||
<translation>Типовий</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::DefaultGdbServerProviderConfigWidget</name>
|
||||
<message>
|
||||
<source>Host:</source>
|
||||
<translation>Вузол:</translation>
|
||||
@@ -45942,24 +45761,14 @@ Affected are breakpoints %1</source>
|
||||
<source>Reset commands:</source>
|
||||
<translation>Команди скидання:</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::GdbServerProvider</name>
|
||||
<message>
|
||||
<source>Clone of %1</source>
|
||||
<translation>Клон %1</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::GdbServerProviderConfigWidget</name>
|
||||
<message>
|
||||
<source>Enter the name of the GDB server provider.</source>
|
||||
<translation>Введіть назву постачальника сервера GDB.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Name:</source>
|
||||
<translation>Назва:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Choose the desired startup mode of the GDB server provider.</source>
|
||||
<translation>Оберіть бажаний режим запуску постачальника сервера GDB.</translation>
|
||||
@@ -45980,9 +45789,6 @@ Affected are breakpoints %1</source>
|
||||
<source>Startup in Pipe Mode</source>
|
||||
<translation>Запуск в режимі конвеєра</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::HostWidget</name>
|
||||
<message>
|
||||
<source>Enter TCP/IP hostname of the GDB server provider, like "localhost" or "192.0.2.1".</source>
|
||||
<translation>Введіть назву вузла постачальника сервера GDB (напр., "localhost" або "192.0.2.1").</translation>
|
||||
@@ -45991,9 +45797,6 @@ Affected are breakpoints %1</source>
|
||||
<source>Enter TCP/IP port which will be listened by the GDB server provider.</source>
|
||||
<translation>Введіть порт, на якому буде слухати постачальник сервера GDB.</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::GdbServerProviderChooser</name>
|
||||
<message>
|
||||
<source>Manage...</source>
|
||||
<translation>Управління...</translation>
|
||||
@@ -46002,9 +45805,6 @@ Affected are breakpoints %1</source>
|
||||
<source>None</source>
|
||||
<translation>Немає</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::GdbServerProviderModel</name>
|
||||
<message>
|
||||
<source>Name</source>
|
||||
<translation>Назва</translation>
|
||||
@@ -46025,9 +45825,6 @@ Affected are breakpoints %1</source>
|
||||
<source>The following providers were already configured:<br>&nbsp;%1<br>They were not configured again.</source>
|
||||
<translation>Наступні постачальники вже сконфігуровано:<br>&nbsp;%1<br>Їх не буде сконфігуровано знову.</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::GdbServerProvidersSettingsPage</name>
|
||||
<message>
|
||||
<source>GDB Server Providers</source>
|
||||
<translation>Постачальники сервера GDB</translation>
|
||||
@@ -46044,20 +45841,10 @@ Affected are breakpoints %1</source>
|
||||
<source>Remove</source>
|
||||
<translation>Видалити</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::OpenOcdGdbServerProviderFactory</name>
|
||||
<message>
|
||||
<source>OpenOCD</source>
|
||||
<translation>OpenOCD</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::OpenOcdGdbServerProviderConfigWidget</name>
|
||||
<message>
|
||||
<source>Host:</source>
|
||||
<translation>Вузол:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Executable file:</source>
|
||||
<translation>Виконуваний файл:</translation>
|
||||
@@ -46074,32 +45861,10 @@ Affected are breakpoints %1</source>
|
||||
<source>Additional arguments:</source>
|
||||
<translation>Додаткові аргументи:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Init commands:</source>
|
||||
<translation>Команди ініціалізації:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Reset commands:</source>
|
||||
<translation>Команди скидання:</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::StLinkUtilGdbServerProviderFactory</name>
|
||||
<message>
|
||||
<source>ST-LINK Utility</source>
|
||||
<translation>Утиліта ST-LINK</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BareMetal::Internal::StLinkUtilGdbServerProviderConfigWidget</name>
|
||||
<message>
|
||||
<source>Host:</source>
|
||||
<translation>Вузол:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Executable file:</source>
|
||||
<translation>Виконуваний файл:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Specify the verbosity level (0..99).</source>
|
||||
<translation>Вкажіть рівень деталізації (0..99).</translation>
|
||||
@@ -46132,14 +45897,6 @@ Affected are breakpoints %1</source>
|
||||
<source>Version:</source>
|
||||
<translation>Версія:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Init commands:</source>
|
||||
<translation>Команди ініціалізації:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Reset commands:</source>
|
||||
<translation>Команди скидання:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>ST-LINK/V1</source>
|
||||
<translation>ST-LINK/V1</translation>
|
||||
|
@@ -2,7 +2,9 @@
|
||||
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0
|
||||
|
||||
#include "baremetaldebugsupport.h"
|
||||
|
||||
#include "baremetaldevice.h"
|
||||
#include "baremetaltr.h"
|
||||
|
||||
#include "debugserverprovidermanager.h"
|
||||
#include "idebugserverprovider.h"
|
||||
@@ -27,24 +29,21 @@ using namespace Debugger;
|
||||
using namespace ProjectExplorer;
|
||||
using namespace Utils;
|
||||
|
||||
namespace BareMetal {
|
||||
namespace Internal {
|
||||
|
||||
// BareMetalDebugSupport
|
||||
namespace BareMetal::Internal {
|
||||
|
||||
BareMetalDebugSupport::BareMetalDebugSupport(RunControl *runControl)
|
||||
: Debugger::DebuggerRunTool(runControl)
|
||||
{
|
||||
const auto dev = qSharedPointerCast<const BareMetalDevice>(device());
|
||||
if (!dev) {
|
||||
reportFailure(tr("Cannot debug: Kit has no device."));
|
||||
reportFailure(Tr::tr("Cannot debug: Kit has no device."));
|
||||
return;
|
||||
}
|
||||
|
||||
const QString providerId = dev->debugServerProviderId();
|
||||
IDebugServerProvider *p = DebugServerProviderManager::findProvider(providerId);
|
||||
if (!p) {
|
||||
reportFailure(tr("No debug server provider found for %1").arg(providerId));
|
||||
reportFailure(Tr::tr("No debug server provider found for %1").arg(providerId));
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -67,5 +66,4 @@ void BareMetalDebugSupport::start()
|
||||
DebuggerRunTool::start();
|
||||
}
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace BareMetal
|
||||
} // BareMetal::Internal
|
||||
|
@@ -5,21 +5,10 @@
|
||||
|
||||
#include <debugger/debuggerruncontrol.h>
|
||||
|
||||
namespace ProjectExplorer {
|
||||
class RunControl;
|
||||
}
|
||||
|
||||
namespace BareMetal {
|
||||
namespace Internal {
|
||||
|
||||
class IDebugServerProvider;
|
||||
|
||||
// BareMetalDebugSupport
|
||||
namespace BareMetal::Internal {
|
||||
|
||||
class BareMetalDebugSupport final : public Debugger::DebuggerRunTool
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit BareMetalDebugSupport(ProjectExplorer::RunControl *runControl);
|
||||
|
||||
@@ -27,5 +16,4 @@ private:
|
||||
void start() final;
|
||||
};
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace BareMetal
|
||||
} // BareMetal::Internal
|
||||
|
@@ -2,10 +2,12 @@
|
||||
// Copyright (C) 2016 Denis Shienkov <denis.shienkov@gmail.com>
|
||||
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0
|
||||
|
||||
#include "baremetalconstants.h"
|
||||
#include "baremetaldevice.h"
|
||||
|
||||
#include "baremetalconstants.h"
|
||||
#include "baremetaldeviceconfigurationwidget.h"
|
||||
#include "baremetaldeviceconfigurationwizard.h"
|
||||
#include "baremetaltr.h"
|
||||
#include "debugserverprovidermanager.h"
|
||||
#include "idebugserverprovider.h"
|
||||
|
||||
@@ -13,8 +15,7 @@
|
||||
|
||||
using namespace ProjectExplorer;
|
||||
|
||||
namespace BareMetal {
|
||||
namespace Internal {
|
||||
namespace BareMetal::Internal {
|
||||
|
||||
const char debugServerProviderIdKeyC[] = "IDebugServerProviderId";
|
||||
|
||||
@@ -22,7 +23,7 @@ const char debugServerProviderIdKeyC[] = "IDebugServerProviderId";
|
||||
|
||||
BareMetalDevice::BareMetalDevice()
|
||||
{
|
||||
setDisplayType(tr("Bare Metal"));
|
||||
setDisplayType(Tr::tr("Bare Metal"));
|
||||
setDefaultDisplayName(defaultDisplayName());
|
||||
setOsType(Utils::OsTypeOther);
|
||||
}
|
||||
@@ -36,7 +37,7 @@ BareMetalDevice::~BareMetalDevice()
|
||||
|
||||
QString BareMetalDevice::defaultDisplayName()
|
||||
{
|
||||
return tr("Bare Metal Device");
|
||||
return Tr::tr("Bare Metal Device");
|
||||
}
|
||||
|
||||
QString BareMetalDevice::debugServerProviderId() const
|
||||
@@ -100,7 +101,7 @@ IDeviceWidget *BareMetalDevice::createWidget()
|
||||
BareMetalDeviceFactory::BareMetalDeviceFactory()
|
||||
: IDeviceFactory(Constants::BareMetalOsType)
|
||||
{
|
||||
setDisplayName(BareMetalDevice::tr("Bare Metal Device"));
|
||||
setDisplayName(Tr::tr("Bare Metal Device"));
|
||||
setCombinedIcon(":/baremetal/images/baremetaldevicesmall.png",
|
||||
":/baremetal/images/baremetaldevice.png");
|
||||
setConstructionFunction(&BareMetalDevice::create);
|
||||
@@ -112,5 +113,4 @@ BareMetalDeviceFactory::BareMetalDeviceFactory()
|
||||
});
|
||||
}
|
||||
|
||||
} //namespace Internal
|
||||
} //namespace BareMetal
|
||||
} // BareMetal::Internal
|
||||
|
@@ -7,8 +7,7 @@
|
||||
#include <projectexplorer/devicesupport/idevice.h>
|
||||
#include <projectexplorer/devicesupport/idevicefactory.h>
|
||||
|
||||
namespace BareMetal {
|
||||
namespace Internal {
|
||||
namespace BareMetal::Internal {
|
||||
|
||||
class IDebugServerProvider;
|
||||
|
||||
@@ -16,8 +15,6 @@ class IDebugServerProvider;
|
||||
|
||||
class BareMetalDevice final : public ProjectExplorer::IDevice
|
||||
{
|
||||
Q_DECLARE_TR_FUNCTIONS(BareMetal::Internal::BareMetalDevice)
|
||||
|
||||
public:
|
||||
using Ptr = QSharedPointer<BareMetalDevice>;
|
||||
using ConstPtr = QSharedPointer<const BareMetalDevice>;
|
||||
@@ -52,5 +49,4 @@ public:
|
||||
BareMetalDeviceFactory();
|
||||
};
|
||||
|
||||
} //namespace Internal
|
||||
} //namespace BareMetal
|
||||
} // BareMetal::Internal
|
||||
|
@@ -3,8 +3,9 @@
|
||||
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0
|
||||
|
||||
#include "baremetaldevice.h"
|
||||
#include "baremetaldeviceconfigurationwidget.h"
|
||||
|
||||
#include "baremetaldeviceconfigurationwidget.h"
|
||||
#include "baremetaltr.h"
|
||||
#include "debugserverproviderchooser.h"
|
||||
|
||||
#include <utils/qtcassert.h>
|
||||
@@ -12,10 +13,7 @@
|
||||
|
||||
#include <QFormLayout>
|
||||
|
||||
namespace BareMetal {
|
||||
namespace Internal {
|
||||
|
||||
// BareMetalDeviceConfigurationWidget
|
||||
namespace BareMetal::Internal {
|
||||
|
||||
BareMetalDeviceConfigurationWidget::BareMetalDeviceConfigurationWidget(
|
||||
const ProjectExplorer::IDevice::Ptr &deviceConfig)
|
||||
@@ -30,7 +28,7 @@ BareMetalDeviceConfigurationWidget::BareMetalDeviceConfigurationWidget(
|
||||
m_debugServerProviderChooser = new DebugServerProviderChooser(true, this);
|
||||
m_debugServerProviderChooser->populate();
|
||||
m_debugServerProviderChooser->setCurrentProviderId(dev->debugServerProviderId());
|
||||
formLayout->addRow(tr("Debug server provider:"), m_debugServerProviderChooser);
|
||||
formLayout->addRow(Tr::tr("Debug server provider:"), m_debugServerProviderChooser);
|
||||
|
||||
connect(m_debugServerProviderChooser, &DebugServerProviderChooser::providerChanged,
|
||||
this, &BareMetalDeviceConfigurationWidget::debugServerProviderChanged);
|
||||
@@ -48,5 +46,4 @@ void BareMetalDeviceConfigurationWidget::updateDeviceFromUi()
|
||||
debugServerProviderChanged();
|
||||
}
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace BareMetal
|
||||
} // BareMetal::Internal
|
||||
|
@@ -6,18 +6,13 @@
|
||||
|
||||
#include <projectexplorer/devicesupport/idevicewidget.h>
|
||||
|
||||
namespace BareMetal {
|
||||
namespace Internal {
|
||||
namespace BareMetal::Internal {
|
||||
|
||||
class DebugServerProviderChooser;
|
||||
|
||||
// BareMetalDeviceConfigurationWidget
|
||||
|
||||
class BareMetalDeviceConfigurationWidget final
|
||||
: public ProjectExplorer::IDeviceWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit BareMetalDeviceConfigurationWidget(const ProjectExplorer::IDevicePtr &deviceConfig);
|
||||
|
||||
@@ -28,5 +23,4 @@ private:
|
||||
DebugServerProviderChooser *m_debugServerProviderChooser = nullptr;
|
||||
};
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace BareMetal
|
||||
} // BareMetal::Internal
|
||||
|
@@ -2,25 +2,22 @@
|
||||
// Copyright (C) 2016 Denis Shienkov <denis.shienkov@gmail.com>
|
||||
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0
|
||||
|
||||
#include "baremetaldeviceconfigurationwizard.h"
|
||||
|
||||
#include "baremetalconstants.h"
|
||||
#include "baremetaldevice.h"
|
||||
#include "baremetaldeviceconfigurationwizard.h"
|
||||
#include "baremetaldeviceconfigurationwizardpages.h"
|
||||
#include "baremetaltr.h"
|
||||
|
||||
#include <utils/fileutils.h>
|
||||
|
||||
namespace BareMetal {
|
||||
namespace Internal {
|
||||
namespace BareMetal::Internal {
|
||||
|
||||
enum PageId { SetupPageId };
|
||||
|
||||
// BareMetalDeviceConfigurationWizard
|
||||
|
||||
BareMetalDeviceConfigurationWizard::BareMetalDeviceConfigurationWizard(QWidget *parent) :
|
||||
Utils::Wizard(parent),
|
||||
m_setupPage(new BareMetalDeviceConfigurationWizardSetupPage(this))
|
||||
{
|
||||
setWindowTitle(tr("New Bare Metal Device Configuration Setup"));
|
||||
setWindowTitle(Tr::tr("New Bare Metal Device Configuration Setup"));
|
||||
setPage(SetupPageId, m_setupPage);
|
||||
m_setupPage->setCommitPage(true);
|
||||
}
|
||||
@@ -36,5 +33,4 @@ ProjectExplorer::IDevice::Ptr BareMetalDeviceConfigurationWizard::device() const
|
||||
return dev;
|
||||
}
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace BareMetal
|
||||
} // BareMetal::Internal
|
||||
|
@@ -6,17 +6,12 @@
|
||||
#include <projectexplorer/devicesupport/idevicefwd.h>
|
||||
#include <utils/wizard.h>
|
||||
|
||||
namespace BareMetal {
|
||||
namespace Internal {
|
||||
namespace BareMetal::Internal {
|
||||
|
||||
class BareMetalDeviceConfigurationWizardSetupPage;
|
||||
|
||||
// BareMetalDeviceConfigurationWizard
|
||||
|
||||
class BareMetalDeviceConfigurationWizard final : public Utils::Wizard
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit BareMetalDeviceConfigurationWizard(QWidget *parent = nullptr);
|
||||
|
||||
@@ -26,5 +21,4 @@ private:
|
||||
BareMetalDeviceConfigurationWizardSetupPage *m_setupPage = nullptr;
|
||||
};
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace BareMetal
|
||||
} // BareMetal::Internal
|
||||
|
@@ -2,9 +2,10 @@
|
||||
// Copyright (C) 2016 Denis Shienkov <denis.shienkov@gmail.com>
|
||||
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0
|
||||
|
||||
#include "baremetaldevice.h"
|
||||
#include "baremetaldeviceconfigurationwizardpages.h"
|
||||
|
||||
#include "baremetaldevice.h"
|
||||
#include "baremetaltr.h"
|
||||
#include "debugserverproviderchooser.h"
|
||||
|
||||
#include <utils/variablechooser.h>
|
||||
@@ -14,24 +15,21 @@
|
||||
#include <QFormLayout>
|
||||
#include <QLineEdit>
|
||||
|
||||
namespace BareMetal {
|
||||
namespace Internal {
|
||||
|
||||
// BareMetalDeviceConfigurationWizardSetupPage
|
||||
namespace BareMetal::Internal {
|
||||
|
||||
BareMetalDeviceConfigurationWizardSetupPage::BareMetalDeviceConfigurationWizardSetupPage(
|
||||
QWidget *parent)
|
||||
: QWizardPage(parent)
|
||||
{
|
||||
setTitle(tr("Set up Debug Server or Hardware Debugger"));
|
||||
setTitle(Tr::tr("Set up Debug Server or Hardware Debugger"));
|
||||
|
||||
const auto formLayout = new QFormLayout(this);
|
||||
formLayout->setFieldGrowthPolicy(QFormLayout::AllNonFixedFieldsGrow);
|
||||
m_nameLineEdit = new QLineEdit(this);
|
||||
formLayout->addRow(tr("Name:"), m_nameLineEdit);
|
||||
formLayout->addRow(Tr::tr("Name:"), m_nameLineEdit);
|
||||
m_debugServerProviderChooser = new DebugServerProviderChooser(false, this);
|
||||
m_debugServerProviderChooser->populate();
|
||||
formLayout->addRow(tr("Debug server provider:"), m_debugServerProviderChooser);
|
||||
formLayout->addRow(Tr::tr("Debug server provider:"), m_debugServerProviderChooser);
|
||||
|
||||
connect(m_nameLineEdit, &QLineEdit::textChanged,
|
||||
this, &BareMetalDeviceConfigurationWizardSetupPage::completeChanged);
|
||||
@@ -59,5 +57,4 @@ QString BareMetalDeviceConfigurationWizardSetupPage::debugServerProviderId() con
|
||||
return m_debugServerProviderChooser->currentProviderId();
|
||||
}
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace BareMetal
|
||||
} // BareMetal::Internal
|
||||
|
@@ -10,17 +10,12 @@ QT_BEGIN_NAMESPACE
|
||||
class QLineEdit;
|
||||
QT_END_NAMESPACE
|
||||
|
||||
namespace BareMetal {
|
||||
namespace Internal {
|
||||
namespace BareMetal::Internal {
|
||||
|
||||
class DebugServerProviderChooser;
|
||||
|
||||
// BareMetalDeviceConfigurationWizardSetupPage
|
||||
|
||||
class BareMetalDeviceConfigurationWizardSetupPage final : public QWizardPage
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit BareMetalDeviceConfigurationWizardSetupPage(QWidget *parent = nullptr);
|
||||
|
||||
@@ -34,5 +29,4 @@ private:
|
||||
DebugServerProviderChooser *m_debugServerProviderChooser = nullptr;
|
||||
};
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace BareMetal
|
||||
} // BareMetal::Internal
|
||||
|
@@ -22,7 +22,7 @@ BareMetalGdbCommandsDeployStepWidget::BareMetalGdbCommandsDeployStepWidget(BareM
|
||||
fl->setFieldGrowthPolicy(QFormLayout::ExpandingFieldsGrow);
|
||||
setLayout(fl);
|
||||
m_commands = new QPlainTextEdit(this);
|
||||
fl->addRow(tr("GDB commands:"), m_commands);
|
||||
fl->addRow(Tr::tr("GDB commands:"), m_commands);
|
||||
m_commands->setPlainText(m_step.gdbCommands());
|
||||
connect(m_commands, &QPlainTextEdit::textChanged, this, &BareMetalGdbCommandsDeployStepWidget::update);
|
||||
}
|
||||
@@ -82,7 +82,7 @@ Core::Id BareMetalGdbCommandsDeployStep::stepId()
|
||||
|
||||
QString BareMetalGdbCommandsDeployStep::displayName()
|
||||
{
|
||||
return tr("GDB commands");
|
||||
return Tr::tr("GDB commands");
|
||||
}
|
||||
|
||||
void BareMetalGdbCommandsDeployStep::updateGdbCommands(const QString &newCommands)
|
||||
|
@@ -2,11 +2,13 @@
|
||||
// Copyright (C) 2016 Denis Shienkov <denis.shienkov@gmail.com>
|
||||
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0
|
||||
|
||||
#include "baremetalplugin.h"
|
||||
|
||||
#include "baremetalconstants.h"
|
||||
#include "baremetaldebugsupport.h"
|
||||
#include "baremetaldevice.h"
|
||||
#include "baremetalplugin.h"
|
||||
#include "baremetalrunconfiguration.h"
|
||||
#include "baremetaltr.h"
|
||||
|
||||
#include "debugserverprovidermanager.h"
|
||||
#include "debugserverproviderssettingspage.h"
|
||||
@@ -27,8 +29,7 @@
|
||||
|
||||
using namespace ProjectExplorer;
|
||||
|
||||
namespace BareMetal {
|
||||
namespace Internal {
|
||||
namespace BareMetal::Internal {
|
||||
|
||||
class BareMetalDeployConfigurationFactory : public DeployConfigurationFactory
|
||||
{
|
||||
@@ -36,8 +37,7 @@ public:
|
||||
BareMetalDeployConfigurationFactory()
|
||||
{
|
||||
setConfigBaseId("BareMetal.DeployConfiguration");
|
||||
setDefaultDisplayName(QCoreApplication::translate("BareMetalDeployConfiguration",
|
||||
"Deploy to BareMetal Device"));
|
||||
setDefaultDisplayName(Tr::tr("Deploy to BareMetal Device"));
|
||||
addSupportedTargetDeviceType(Constants::BareMetalOsType);
|
||||
}
|
||||
};
|
||||
@@ -87,5 +87,4 @@ void BareMetalPlugin::extensionsInitialized()
|
||||
DebugServerProviderManager::instance()->restoreProviders();
|
||||
}
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace BareMetal
|
||||
} // BareMetal::Internal
|
||||
|
@@ -6,10 +6,7 @@
|
||||
|
||||
#include <extensionsystem/iplugin.h>
|
||||
|
||||
namespace BareMetal {
|
||||
namespace Internal {
|
||||
|
||||
// BareMetalPlugin
|
||||
namespace BareMetal::Internal {
|
||||
|
||||
class BareMetalPlugin final : public ExtensionSystem::IPlugin
|
||||
{
|
||||
@@ -34,5 +31,4 @@ private slots:
|
||||
#endif // WITH_TESTS
|
||||
};
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace BareMetal
|
||||
} // BareMetal::Internal
|
||||
|
@@ -1,9 +1,11 @@
|
||||
// Copyright (C) 2016 Tim Sander <tim@krieglstein.org>
|
||||
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0
|
||||
|
||||
#include "baremetalconstants.h"
|
||||
#include "baremetalrunconfiguration.h"
|
||||
|
||||
#include "baremetalconstants.h"
|
||||
#include "baremetaltr.h"
|
||||
|
||||
#include <projectexplorer/buildsystem.h>
|
||||
#include <projectexplorer/buildtargetinfo.h>
|
||||
#include <projectexplorer/project.h>
|
||||
@@ -13,22 +15,19 @@
|
||||
using namespace ProjectExplorer;
|
||||
using namespace Utils;
|
||||
|
||||
namespace BareMetal {
|
||||
namespace Internal {
|
||||
namespace BareMetal::Internal {
|
||||
|
||||
// RunConfigurations
|
||||
|
||||
class BareMetalRunConfiguration final : public RunConfiguration
|
||||
{
|
||||
Q_DECLARE_TR_FUNCTIONS(BareMetal::Internal::BareMetalRunConfiguration)
|
||||
|
||||
public:
|
||||
explicit BareMetalRunConfiguration(Target *target, Id id)
|
||||
: RunConfiguration(target, id)
|
||||
{
|
||||
const auto exeAspect = addAspect<ExecutableAspect>(target, ExecutableAspect::RunDevice);
|
||||
exeAspect->setDisplayStyle(StringAspect::LabelDisplay);
|
||||
exeAspect->setPlaceHolderText(tr("Unknown"));
|
||||
exeAspect->setPlaceHolderText(Tr::tr("Unknown"));
|
||||
|
||||
addAspect<ArgumentsAspect>(macroExpander());
|
||||
addAspect<WorkingDirectoryAspect>(macroExpander(), nullptr);
|
||||
@@ -44,15 +43,13 @@ public:
|
||||
|
||||
class BareMetalCustomRunConfiguration final : public RunConfiguration
|
||||
{
|
||||
Q_DECLARE_TR_FUNCTIONS(BareMetal::Internal::BareMetalCustomRunConfiguration)
|
||||
|
||||
public:
|
||||
explicit BareMetalCustomRunConfiguration(Target *target, Id id)
|
||||
: RunConfiguration(target, id)
|
||||
{
|
||||
const auto exeAspect = addAspect<ExecutableAspect>(target, ExecutableAspect::RunDevice);
|
||||
exeAspect->setSettingsKey("BareMetal.CustomRunConfig.Executable");
|
||||
exeAspect->setPlaceHolderText(tr("Unknown"));
|
||||
exeAspect->setPlaceHolderText(Tr::tr("Unknown"));
|
||||
exeAspect->setDisplayStyle(StringAspect::PathChooserDisplay);
|
||||
exeAspect->setHistoryCompleter("BareMetal.CustomRunConfig.History");
|
||||
exeAspect->setExpectedKind(PathChooser::Any);
|
||||
@@ -60,7 +57,8 @@ public:
|
||||
addAspect<ArgumentsAspect>(macroExpander());
|
||||
addAspect<WorkingDirectoryAspect>(macroExpander(), nullptr);
|
||||
|
||||
setDefaultDisplayName(RunConfigurationFactory::decoratedTargetName(tr("Custom Executable"), target));
|
||||
setDefaultDisplayName(RunConfigurationFactory::decoratedTargetName(
|
||||
Tr::tr("Custom Executable"), target));
|
||||
}
|
||||
|
||||
public:
|
||||
@@ -71,8 +69,8 @@ Tasks BareMetalCustomRunConfiguration::checkForIssues() const
|
||||
{
|
||||
Tasks tasks;
|
||||
if (aspect<ExecutableAspect>()->executable().isEmpty()) {
|
||||
tasks << createConfigurationIssue(tr("The remote executable must be set in order to run "
|
||||
"a custom remote run configuration."));
|
||||
tasks << createConfigurationIssue(Tr::tr("The remote executable must be set in order to "
|
||||
"run a custom remote run configuration."));
|
||||
}
|
||||
return tasks;
|
||||
}
|
||||
@@ -89,12 +87,10 @@ BareMetalRunConfigurationFactory::BareMetalRunConfigurationFactory()
|
||||
// BaseMetalCustomRunConfigurationFactory
|
||||
|
||||
BareMetalCustomRunConfigurationFactory::BareMetalCustomRunConfigurationFactory()
|
||||
: FixedRunConfigurationFactory(BareMetalCustomRunConfiguration::tr("Custom Executable"), true)
|
||||
: FixedRunConfigurationFactory(Tr::tr("Custom Executable"), true)
|
||||
{
|
||||
registerRunConfiguration<BareMetalCustomRunConfiguration>("BareMetal");
|
||||
addSupportedTargetDeviceType(BareMetal::Constants::BareMetalOsType);
|
||||
}
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace BareMetal
|
||||
|
||||
} // BareMetal::Internal
|
||||
|
@@ -5,8 +5,7 @@
|
||||
|
||||
#include <projectexplorer/runconfiguration.h>
|
||||
|
||||
namespace BareMetal {
|
||||
namespace Internal {
|
||||
namespace BareMetal::Internal {
|
||||
|
||||
class BareMetalRunConfigurationFactory final
|
||||
: public ProjectExplorer::RunConfigurationFactory
|
||||
@@ -22,5 +21,4 @@ public:
|
||||
BareMetalCustomRunConfigurationFactory();
|
||||
};
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace BareMetal
|
||||
} // BareMetal::Internal
|
||||
|
@@ -3,6 +3,7 @@
|
||||
|
||||
#include "baremetalconstants.h"
|
||||
|
||||
#include "baremetaltr.h"
|
||||
#include "debugserverproviderchooser.h"
|
||||
#include "debugserverprovidermanager.h"
|
||||
#include "idebugserverprovider.h"
|
||||
@@ -14,8 +15,7 @@
|
||||
#include <QPushButton>
|
||||
#include <QSettings>
|
||||
|
||||
namespace BareMetal {
|
||||
namespace Internal {
|
||||
namespace BareMetal::Internal {
|
||||
|
||||
// DebugServerProviderChooser
|
||||
|
||||
@@ -25,7 +25,7 @@ DebugServerProviderChooser::DebugServerProviderChooser(
|
||||
{
|
||||
m_chooser = new QComboBox(this);
|
||||
m_chooser->setSizePolicy(QSizePolicy::MinimumExpanding, QSizePolicy::Fixed);
|
||||
m_manageButton = new QPushButton(tr("Manage..."), this);
|
||||
m_manageButton = new QPushButton(Tr::tr("Manage..."), this);
|
||||
m_manageButton->setEnabled(useManageButton);
|
||||
m_manageButton->setVisible(useManageButton);
|
||||
|
||||
@@ -83,7 +83,7 @@ void DebugServerProviderChooser::populate()
|
||||
{
|
||||
const QSignalBlocker blocker(m_chooser);
|
||||
m_chooser->clear();
|
||||
m_chooser->addItem(tr("None"));
|
||||
m_chooser->addItem(Tr::tr("None"));
|
||||
|
||||
for (const IDebugServerProvider *p : DebugServerProviderManager::providers()) {
|
||||
if (!providerMatches(p))
|
||||
@@ -92,5 +92,4 @@ void DebugServerProviderChooser::populate()
|
||||
}
|
||||
}
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace BareMetal
|
||||
} // BareMetal::Internal
|
||||
|
@@ -10,13 +10,10 @@ class QComboBox;
|
||||
class QPushButton;
|
||||
QT_END_NAMESPACE
|
||||
|
||||
namespace BareMetal {
|
||||
namespace Internal {
|
||||
namespace BareMetal::Internal {
|
||||
|
||||
class IDebugServerProvider;
|
||||
|
||||
// DebugServerProviderChooser
|
||||
|
||||
class DebugServerProviderChooser final : public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
@@ -42,5 +39,4 @@ private:
|
||||
QPushButton *m_manageButton = nullptr;
|
||||
};
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace BareMetal
|
||||
} // BareMetal::Internal
|
||||
|
@@ -24,10 +24,7 @@
|
||||
#include <utils/persistentsettings.h>
|
||||
#include <utils/qtcassert.h>
|
||||
|
||||
#include <QDir>
|
||||
|
||||
namespace BareMetal {
|
||||
namespace Internal {
|
||||
namespace BareMetal::Internal {
|
||||
|
||||
const char dataKeyC[] = "DebugServerProvider.";
|
||||
const char countKeyC[] = "DebugServerProvider.Count";
|
||||
@@ -199,5 +196,4 @@ void DebugServerProviderManager::deregisterProvider(IDebugServerProvider *provid
|
||||
delete provider;
|
||||
}
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace BareMetal
|
||||
} // BareMetal::Internal
|
||||
|
@@ -10,8 +10,7 @@
|
||||
|
||||
namespace Utils { class PersistentSettingsWriter; }
|
||||
|
||||
namespace BareMetal {
|
||||
namespace Internal {
|
||||
namespace BareMetal::Internal {
|
||||
|
||||
class BareMetalPlugin;
|
||||
class BareMetalPluginPrivate;
|
||||
@@ -59,5 +58,4 @@ private:
|
||||
friend class IDebugServerProvider;
|
||||
};
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace BareMetal
|
||||
} // BareMetal::Internal
|
||||
|
@@ -1,10 +1,11 @@
|
||||
// Copyright (C) 2016 Denis Shienkov <denis.shienkov@gmail.com>
|
||||
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0
|
||||
|
||||
#include "baremetalconstants.h"
|
||||
|
||||
#include "debugserverprovidermanager.h"
|
||||
#include "debugserverproviderssettingspage.h"
|
||||
|
||||
#include "baremetalconstants.h"
|
||||
#include "baremetaltr.h"
|
||||
#include "debugserverprovidermanager.h"
|
||||
#include "idebugserverprovider.h"
|
||||
|
||||
#include <coreplugin/icore.h>
|
||||
@@ -32,8 +33,7 @@
|
||||
using namespace Debugger;
|
||||
using namespace Utils;
|
||||
|
||||
namespace BareMetal {
|
||||
namespace Internal {
|
||||
namespace BareMetal::Internal {
|
||||
|
||||
// DebugServerProviderNode
|
||||
|
||||
@@ -47,11 +47,11 @@ static QString engineTypeName(DebuggerEngineType engineType)
|
||||
{
|
||||
switch (engineType) {
|
||||
case NoEngineType:
|
||||
return DebugServerProviderModel::tr("Not recognized");
|
||||
return Tr::tr("Not recognized");
|
||||
case GdbEngineType:
|
||||
return DebugServerProviderModel::tr("GDB");
|
||||
return Tr::tr("GDB");
|
||||
case UvscEngineType:
|
||||
return DebugServerProviderModel::tr("UVSC");
|
||||
return Tr::tr("UVSC");
|
||||
default:
|
||||
return {};
|
||||
}
|
||||
@@ -61,12 +61,12 @@ static QString engineTypeDescription(DebuggerEngineType engineType)
|
||||
{
|
||||
switch (engineType) {
|
||||
case NoEngineType:
|
||||
return DebugServerProviderModel::tr("Not recognized");
|
||||
return Tr::tr("Not recognized");
|
||||
case GdbEngineType:
|
||||
return DebugServerProviderModel::tr("GDB compatible provider engine\n" \
|
||||
return Tr::tr("GDB compatible provider engine\n" \
|
||||
"(used together with the GDB debuggers).");
|
||||
case UvscEngineType:
|
||||
return DebugServerProviderModel::tr("UVSC compatible provider engine\n" \
|
||||
return Tr::tr("UVSC compatible provider engine\n" \
|
||||
"(used together with the KEIL uVision).");
|
||||
default:
|
||||
return {};
|
||||
@@ -114,7 +114,7 @@ public:
|
||||
|
||||
DebugServerProviderModel::DebugServerProviderModel()
|
||||
{
|
||||
setHeader({tr("Name"), tr("Type"), tr("Engine")});
|
||||
setHeader({Tr::tr("Name"), Tr::tr("Type"), Tr::tr("Engine")});
|
||||
|
||||
const DebugServerProviderManager *manager = DebugServerProviderManager::instance();
|
||||
|
||||
@@ -175,8 +175,8 @@ void DebugServerProviderModel::apply()
|
||||
|
||||
if (!skippedProviders.isEmpty()) {
|
||||
QMessageBox::warning(Core::ICore::dialogParent(),
|
||||
tr("Duplicate Providers Detected"),
|
||||
tr("The following providers were already configured:<br>"
|
||||
Tr::tr("Duplicate Providers Detected"),
|
||||
Tr::tr("The following providers were already configured:<br>"
|
||||
" %1<br>"
|
||||
"They were not configured again.")
|
||||
.arg(skippedProviders.join(",<br> ")));
|
||||
@@ -254,8 +254,6 @@ void DebugServerProviderModel::removeProvider(IDebugServerProvider *provider)
|
||||
|
||||
class DebugServerProvidersSettingsWidget final : public Core::IOptionsPageWidget
|
||||
{
|
||||
Q_DECLARE_TR_FUNCTIONS(BareMetal::Internal::DebugServerProvidersSettingsPage)
|
||||
|
||||
public:
|
||||
DebugServerProvidersSettingsWidget();
|
||||
|
||||
@@ -284,9 +282,9 @@ DebugServerProvidersSettingsWidget::DebugServerProvidersSettingsWidget()
|
||||
m_providerView->setUniformRowHeights(true);
|
||||
m_providerView->header()->setStretchLastSection(false);
|
||||
|
||||
m_addButton = new QPushButton(tr("Add"), this);
|
||||
m_cloneButton = new QPushButton(tr("Clone"), this);
|
||||
m_delButton = new QPushButton(tr("Remove"), this);
|
||||
m_addButton = new QPushButton(Tr::tr("Add"), this);
|
||||
m_cloneButton = new QPushButton(Tr::tr("Clone"), this);
|
||||
m_delButton = new QPushButton(Tr::tr("Remove"), this);
|
||||
|
||||
m_container = new Utils::DetailsWidget(this);
|
||||
m_container->setState(Utils::DetailsWidget::NoSummary);
|
||||
@@ -310,7 +308,7 @@ DebugServerProvidersSettingsWidget::DebugServerProvidersSettingsWidget()
|
||||
horizontalLayout->addLayout(verticalLayout);
|
||||
horizontalLayout->addWidget(m_container);
|
||||
|
||||
const auto groupBox = new QGroupBox(tr("Debug Server Providers"), this);
|
||||
const auto groupBox = new QGroupBox(Tr::tr("Debug Server Providers"), this);
|
||||
groupBox->setLayout(horizontalLayout);
|
||||
|
||||
const auto topLayout = new QVBoxLayout(this);
|
||||
@@ -351,7 +349,7 @@ DebugServerProvidersSettingsWidget::DebugServerProvidersSettingsWidget()
|
||||
if (id.startsWith(f->id())) {
|
||||
IDebugServerProvider *p = f->create();
|
||||
p->fromMap(old->toMap());
|
||||
p->setDisplayName(tr("Clone of %1").arg(old->displayName()));
|
||||
p->setDisplayName(Tr::tr("Clone of %1").arg(old->displayName()));
|
||||
p->resetId();
|
||||
addProviderToModel(p);
|
||||
}
|
||||
@@ -432,10 +430,9 @@ QModelIndex DebugServerProvidersSettingsWidget::currentIndex() const
|
||||
DebugServerProvidersSettingsPage::DebugServerProvidersSettingsPage()
|
||||
{
|
||||
setId(Constants::DEBUG_SERVER_PROVIDERS_SETTINGS_ID);
|
||||
setDisplayName(DebugServerProvidersSettingsWidget::tr("Bare Metal"));
|
||||
setDisplayName(Tr::tr("Bare Metal"));
|
||||
setCategory(ProjectExplorer::Constants::DEVICE_SETTINGS_CATEGORY);
|
||||
setWidgetCreator([] { return new DebugServerProvidersSettingsWidget; });
|
||||
}
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace BareMetal
|
||||
} // BareMetal::Internal
|
||||
|
@@ -15,8 +15,7 @@ QT_END_NAMESPACE
|
||||
|
||||
namespace Utils { class DetailsWidget; }
|
||||
|
||||
namespace BareMetal {
|
||||
namespace Internal {
|
||||
namespace BareMetal::Internal {
|
||||
|
||||
class DebugServerProviderNode;
|
||||
class DebugServerProvidersSettingsWidget;
|
||||
@@ -66,5 +65,4 @@ public:
|
||||
DebugServerProvidersSettingsPage();
|
||||
};
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace BareMetal
|
||||
} // BareMetal::Internal
|
||||
|
@@ -4,6 +4,7 @@
|
||||
#include "eblinkgdbserverprovider.h"
|
||||
|
||||
#include <baremetal/baremetalconstants.h>
|
||||
#include <baremetal/baremetaltr.h>
|
||||
#include <baremetal/debugserverprovidermanager.h>
|
||||
|
||||
#include <utils/fileutils.h>
|
||||
@@ -16,13 +17,10 @@
|
||||
#include <QFormLayout>
|
||||
#include <QPlainTextEdit>
|
||||
#include <QSpinBox>
|
||||
#include <QFileInfo>
|
||||
#include <QDir>
|
||||
|
||||
using namespace Utils;
|
||||
|
||||
namespace BareMetal {
|
||||
namespace Internal {
|
||||
namespace BareMetal::Internal {
|
||||
|
||||
const char executableFileKeyC[] = "ExecutableFile";
|
||||
const char verboseLevelKeyC[] = "VerboseLevel";
|
||||
@@ -44,7 +42,7 @@ EBlinkGdbServerProvider::EBlinkGdbServerProvider()
|
||||
setInitCommands(defaultInitCommands());
|
||||
setResetCommands(defaultResetCommands());
|
||||
setChannel("127.0.0.1", 2331);
|
||||
setTypeDisplayName(GdbServerProvider::tr("EBlink"));
|
||||
setTypeDisplayName(Tr::tr("EBlink"));
|
||||
setConfigurationWidgetCreator([this] { return new EBlinkGdbServerProviderConfigWidget(this); });
|
||||
}
|
||||
|
||||
@@ -208,7 +206,7 @@ bool EBlinkGdbServerProvider::operator==(const IDebugServerProvider &other) cons
|
||||
EBlinkGdbServerProviderFactory::EBlinkGdbServerProviderFactory()
|
||||
{
|
||||
setId(Constants::GDBSERVER_EBLINK_PROVIDER_ID);
|
||||
setDisplayName(GdbServerProvider::tr("EBlink"));
|
||||
setDisplayName(Tr::tr("EBlink"));
|
||||
setCreator([] { return new EBlinkGdbServerProvider; });
|
||||
}
|
||||
|
||||
@@ -221,52 +219,52 @@ EBlinkGdbServerProviderConfigWidget::EBlinkGdbServerProviderConfigWidget(
|
||||
Q_ASSERT(p);
|
||||
|
||||
m_gdbHostWidget = new HostWidget(this);
|
||||
m_mainLayout->addRow(tr("Host:"), m_gdbHostWidget);
|
||||
m_mainLayout->addRow(Tr::tr("Host:"), m_gdbHostWidget);
|
||||
|
||||
m_executableFileChooser = new PathChooser;
|
||||
m_executableFileChooser->setExpectedKind(Utils::PathChooser::ExistingCommand);
|
||||
m_mainLayout->addRow(tr("Executable file:"), m_executableFileChooser);
|
||||
m_mainLayout->addRow(Tr::tr("Executable file:"), m_executableFileChooser);
|
||||
|
||||
m_scriptFileChooser = new Utils::PathChooser;
|
||||
m_scriptFileChooser->setExpectedKind(Utils::PathChooser::File);
|
||||
m_scriptFileChooser->setPromptDialogFilter("*.script");
|
||||
m_mainLayout->addRow(tr("Script file:"), m_scriptFileChooser);
|
||||
m_mainLayout->addRow(Tr::tr("Script file:"), m_scriptFileChooser);
|
||||
|
||||
m_verboseLevelSpinBox = new QSpinBox;
|
||||
m_verboseLevelSpinBox->setRange(0, 7);
|
||||
m_verboseLevelSpinBox->setMaximumWidth(80);
|
||||
m_verboseLevelSpinBox->setToolTip(tr("Specify the verbosity level (0 to 7)."));
|
||||
m_mainLayout->addRow(tr("Verbosity level:"), m_verboseLevelSpinBox);
|
||||
m_verboseLevelSpinBox->setToolTip(Tr::tr("Specify the verbosity level (0 to 7)."));
|
||||
m_mainLayout->addRow(Tr::tr("Verbosity level:"), m_verboseLevelSpinBox);
|
||||
|
||||
m_resetOnConnectCheckBox = new QCheckBox;
|
||||
m_resetOnConnectCheckBox->setToolTip(tr("Connect under reset (hotplug)."));
|
||||
m_mainLayout->addRow(tr("Connect under reset:"), m_resetOnConnectCheckBox);
|
||||
m_resetOnConnectCheckBox->setToolTip(Tr::tr("Connect under reset (hotplug)."));
|
||||
m_mainLayout->addRow(Tr::tr("Connect under reset:"), m_resetOnConnectCheckBox);
|
||||
|
||||
m_interfaceTypeComboBox = new QComboBox;
|
||||
m_interfaceTypeComboBox->setToolTip(tr("Interface type."));
|
||||
m_mainLayout->addRow(tr("Type:"), m_interfaceTypeComboBox);
|
||||
m_interfaceTypeComboBox->setToolTip(Tr::tr("Interface type."));
|
||||
m_mainLayout->addRow(Tr::tr("Type:"), m_interfaceTypeComboBox);
|
||||
|
||||
m_interfaceSpeedSpinBox = new QSpinBox;
|
||||
m_interfaceSpeedSpinBox->setRange(120, 8000);
|
||||
m_interfaceSpeedSpinBox->setMaximumWidth(120);
|
||||
m_interfaceSpeedSpinBox->setToolTip(tr("Specify the speed of the interface (120 to 8000) in kilohertz (kHz)."));
|
||||
m_mainLayout->addRow(tr("Speed:"), m_interfaceSpeedSpinBox);
|
||||
m_interfaceSpeedSpinBox->setToolTip(Tr::tr("Specify the speed of the interface (120 to 8000) in kilohertz (kHz)."));
|
||||
m_mainLayout->addRow(Tr::tr("Speed:"), m_interfaceSpeedSpinBox);
|
||||
|
||||
m_notUseCacheCheckBox = new QCheckBox;
|
||||
m_notUseCacheCheckBox->setToolTip(tr("Do not use EBlink flash cache."));
|
||||
m_mainLayout->addRow(tr("Disable cache:"), m_notUseCacheCheckBox);
|
||||
m_notUseCacheCheckBox->setToolTip(Tr::tr("Do not use EBlink flash cache."));
|
||||
m_mainLayout->addRow(Tr::tr("Disable cache:"), m_notUseCacheCheckBox);
|
||||
|
||||
m_shutDownAfterDisconnectCheckBox = new QCheckBox;
|
||||
m_shutDownAfterDisconnectCheckBox->setEnabled(false);
|
||||
m_shutDownAfterDisconnectCheckBox->setToolTip(tr("Shut down EBlink server after disconnect."));
|
||||
m_mainLayout->addRow(tr("Auto shutdown:"), m_shutDownAfterDisconnectCheckBox);
|
||||
m_shutDownAfterDisconnectCheckBox->setToolTip(Tr::tr("Shut down EBlink server after disconnect."));
|
||||
m_mainLayout->addRow(Tr::tr("Auto shutdown:"), m_shutDownAfterDisconnectCheckBox);
|
||||
|
||||
m_initCommandsTextEdit = new QPlainTextEdit(this);
|
||||
m_initCommandsTextEdit->setToolTip(defaultInitCommandsTooltip());
|
||||
m_mainLayout->addRow(tr("Init commands:"), m_initCommandsTextEdit);
|
||||
m_mainLayout->addRow(Tr::tr("Init commands:"), m_initCommandsTextEdit);
|
||||
m_resetCommandsTextEdit = new QPlainTextEdit(this);
|
||||
m_resetCommandsTextEdit->setToolTip(defaultResetCommandsTooltip());
|
||||
m_mainLayout->addRow(tr("Reset commands:"), m_resetCommandsTextEdit);
|
||||
m_mainLayout->addRow(Tr::tr("Reset commands:"), m_resetCommandsTextEdit);
|
||||
|
||||
populateInterfaceTypes();
|
||||
addErrorLabel();
|
||||
@@ -316,9 +314,9 @@ EBlinkGdbServerProviderConfigWidget::interfaceTypeFromWidget() const
|
||||
|
||||
void EBlinkGdbServerProviderConfigWidget::populateInterfaceTypes()
|
||||
{
|
||||
m_interfaceTypeComboBox->insertItem(EBlinkGdbServerProvider::SWD, tr("SWD"),
|
||||
m_interfaceTypeComboBox->insertItem(EBlinkGdbServerProvider::SWD, Tr::tr("SWD"),
|
||||
EBlinkGdbServerProvider::SWD);
|
||||
m_interfaceTypeComboBox->insertItem(EBlinkGdbServerProvider::JTAG, tr("JTAG"),
|
||||
m_interfaceTypeComboBox->insertItem(EBlinkGdbServerProvider::JTAG, Tr::tr("JTAG"),
|
||||
EBlinkGdbServerProvider::JTAG);
|
||||
}
|
||||
|
||||
@@ -368,5 +366,4 @@ void EBlinkGdbServerProviderConfigWidget::discard()
|
||||
GdbServerProviderConfigWidget::discard();
|
||||
}
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace BareMetal
|
||||
} // BareMetal::Internal
|
||||
|
@@ -12,8 +12,7 @@ QT_END_NAMESPACE
|
||||
|
||||
namespace Utils { class PathChooser; }
|
||||
|
||||
namespace BareMetal {
|
||||
namespace Internal {
|
||||
namespace BareMetal::Internal {
|
||||
|
||||
// EBlinkGdbServerProvider
|
||||
|
||||
@@ -71,8 +70,6 @@ public:
|
||||
class EBlinkGdbServerProviderConfigWidget final
|
||||
: public GdbServerProviderConfigWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit EBlinkGdbServerProviderConfigWidget(
|
||||
EBlinkGdbServerProvider *provider);
|
||||
@@ -101,6 +98,5 @@ private:
|
||||
QPlainTextEdit *m_resetCommandsTextEdit = nullptr;
|
||||
};
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace BareMetal
|
||||
} // BareMetal::Internal
|
||||
|
||||
|
@@ -5,6 +5,7 @@
|
||||
|
||||
#include <baremetal/baremetaldebugsupport.h>
|
||||
#include <baremetal/baremetaldevice.h>
|
||||
#include <baremetal/baremetaltr.h>
|
||||
#include <baremetal/debugserverprovidermanager.h>
|
||||
|
||||
#include <projectexplorer/runconfigurationaspects.h>
|
||||
@@ -22,8 +23,7 @@ using namespace Debugger;
|
||||
using namespace ProjectExplorer;
|
||||
using namespace Utils;
|
||||
|
||||
namespace BareMetal {
|
||||
namespace Internal {
|
||||
namespace BareMetal::Internal {
|
||||
|
||||
const char startupModeKeyC[] = "Mode";
|
||||
const char peripheralDescriptionFileKeyC[] = "PeripheralDescriptionFile";
|
||||
@@ -144,13 +144,11 @@ bool GdbServerProvider::aboutToRun(DebuggerRunTool *runTool,
|
||||
|
||||
const FilePath bin = FilePath::fromString(exeAspect->executable.path());
|
||||
if (bin.isEmpty()) {
|
||||
errorMessage = BareMetalDebugSupport::tr(
|
||||
"Cannot debug: Local executable is not set.");
|
||||
errorMessage = Tr::tr("Cannot debug: Local executable is not set.");
|
||||
return false;
|
||||
}
|
||||
if (!bin.exists()) {
|
||||
errorMessage = BareMetalDebugSupport::tr(
|
||||
"Cannot debug: Could not find executable for \"%1\".")
|
||||
errorMessage = Tr::tr("Cannot debug: Could not find executable for \"%1\".")
|
||||
.arg(bin.toString());
|
||||
return false;
|
||||
}
|
||||
@@ -201,17 +199,17 @@ GdbServerProviderConfigWidget::GdbServerProviderConfigWidget(
|
||||
: IDebugServerProviderConfigWidget(provider)
|
||||
{
|
||||
m_startupModeComboBox = new QComboBox(this);
|
||||
m_startupModeComboBox->setToolTip(tr("Choose the desired startup mode "
|
||||
m_startupModeComboBox->setToolTip(Tr::tr("Choose the desired startup mode "
|
||||
"of the GDB server provider."));
|
||||
m_mainLayout->addRow(tr("Startup mode:"), m_startupModeComboBox);
|
||||
m_mainLayout->addRow(Tr::tr("Startup mode:"), m_startupModeComboBox);
|
||||
|
||||
m_peripheralDescriptionFileChooser = new PathChooser(this);
|
||||
m_peripheralDescriptionFileChooser->setExpectedKind(PathChooser::File);
|
||||
m_peripheralDescriptionFileChooser->setPromptDialogFilter(
|
||||
tr("Peripheral description files (*.svd)"));
|
||||
Tr::tr("Peripheral description files (*.svd)"));
|
||||
m_peripheralDescriptionFileChooser->setPromptDialogTitle(
|
||||
tr("Select Peripheral Description File"));
|
||||
m_mainLayout->addRow(tr("Peripheral description file:"),
|
||||
Tr::tr("Select Peripheral Description File"));
|
||||
m_mainLayout->addRow(Tr::tr("Peripheral description file:"),
|
||||
m_peripheralDescriptionFileChooser);
|
||||
|
||||
populateStartupModes();
|
||||
@@ -264,9 +262,9 @@ static QString startupModeName(GdbServerProvider::StartupMode m)
|
||||
{
|
||||
switch (m) {
|
||||
case GdbServerProvider::StartupOnNetwork:
|
||||
return GdbServerProviderConfigWidget::tr("Startup in TCP/IP Mode");
|
||||
return Tr::tr("Startup in TCP/IP Mode");
|
||||
case GdbServerProvider::StartupOnPipe:
|
||||
return GdbServerProviderConfigWidget::tr("Startup in Pipe Mode");
|
||||
return Tr::tr("Startup in Pipe Mode");
|
||||
default:
|
||||
return {};
|
||||
}
|
||||
@@ -299,15 +297,13 @@ void GdbServerProviderConfigWidget::setFromProvider()
|
||||
|
||||
QString GdbServerProviderConfigWidget::defaultInitCommandsTooltip()
|
||||
{
|
||||
return QCoreApplication::translate("BareMetal",
|
||||
"Enter GDB commands to reset the board "
|
||||
return Tr::tr("Enter GDB commands to reset the board "
|
||||
"and to write the nonvolatile memory.");
|
||||
}
|
||||
|
||||
QString GdbServerProviderConfigWidget::defaultResetCommandsTooltip()
|
||||
{
|
||||
return QCoreApplication::translate("BareMetal",
|
||||
"Enter GDB commands to reset the hardware. "
|
||||
return Tr::tr("Enter GDB commands to reset the hardware. "
|
||||
"The MCU should be halted after these commands.");
|
||||
}
|
||||
|
||||
@@ -325,5 +321,4 @@ GdbServerProviderRunner::GdbServerProviderRunner(ProjectExplorer::RunControl *ru
|
||||
});
|
||||
}
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace BareMetal
|
||||
} // BareMetal::Internal
|
||||
|
@@ -7,23 +7,18 @@
|
||||
|
||||
#include <projectexplorer/runcontrol.h>
|
||||
|
||||
#include <utils/fileutils.h>
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
class QComboBox;
|
||||
QT_END_NAMESPACE
|
||||
|
||||
namespace Utils { class PathChooser; }
|
||||
|
||||
namespace BareMetal {
|
||||
namespace Internal {
|
||||
namespace BareMetal::Internal {
|
||||
|
||||
// GdbServerProvider
|
||||
|
||||
class GdbServerProvider : public IDebugServerProvider
|
||||
{
|
||||
Q_DECLARE_TR_FUNCTIONS(BareMetal::Internal::GdbServerProvider)
|
||||
|
||||
public:
|
||||
enum StartupMode {
|
||||
StartupOnNetwork,
|
||||
@@ -75,8 +70,6 @@ protected:
|
||||
|
||||
class GdbServerProviderConfigWidget : public IDebugServerProviderConfigWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit GdbServerProviderConfigWidget(GdbServerProvider *provider);
|
||||
void apply() override;
|
||||
@@ -107,5 +100,4 @@ public:
|
||||
const Utils::CommandLine &commandLine);
|
||||
};
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace BareMetal
|
||||
} // BareMetal::Internal
|
||||
|
@@ -4,6 +4,7 @@
|
||||
#include "genericgdbserverprovider.h"
|
||||
|
||||
#include <baremetal/baremetalconstants.h>
|
||||
#include <baremetal/baremetaltr.h>
|
||||
#include <baremetal/debugserverprovidermanager.h>
|
||||
|
||||
#include <utils/qtcassert.h>
|
||||
@@ -13,8 +14,7 @@
|
||||
#include <QFormLayout>
|
||||
#include <QPlainTextEdit>
|
||||
|
||||
namespace BareMetal {
|
||||
namespace Internal {
|
||||
namespace BareMetal::Internal {
|
||||
|
||||
// GenericGdbServerProvider
|
||||
|
||||
@@ -22,7 +22,7 @@ GenericGdbServerProvider::GenericGdbServerProvider()
|
||||
: GdbServerProvider(Constants::GDBSERVER_GENERIC_PROVIDER_ID)
|
||||
{
|
||||
setChannel("localhost", 3333);
|
||||
setTypeDisplayName(GdbServerProvider::tr("Generic"));
|
||||
setTypeDisplayName(Tr::tr("Generic"));
|
||||
setConfigurationWidgetCreator([this] { return new GenericGdbServerProviderConfigWidget(this); });
|
||||
}
|
||||
|
||||
@@ -36,7 +36,7 @@ QSet<GdbServerProvider::StartupMode> GenericGdbServerProvider::supportedStartupM
|
||||
GenericGdbServerProviderFactory::GenericGdbServerProviderFactory()
|
||||
{
|
||||
setId(Constants::GDBSERVER_GENERIC_PROVIDER_ID);
|
||||
setDisplayName(GdbServerProvider::tr("Generic"));
|
||||
setDisplayName(Tr::tr("Generic"));
|
||||
setCreator([] { return new GenericGdbServerProvider; });
|
||||
}
|
||||
|
||||
@@ -49,17 +49,17 @@ GenericGdbServerProviderConfigWidget::GenericGdbServerProviderConfigWidget(
|
||||
Q_ASSERT(provider);
|
||||
|
||||
m_hostWidget = new HostWidget(this);
|
||||
m_mainLayout->addRow(tr("Host:"), m_hostWidget);
|
||||
m_mainLayout->addRow(Tr::tr("Host:"), m_hostWidget);
|
||||
|
||||
m_useExtendedRemoteCheckBox = new QCheckBox(this);
|
||||
m_useExtendedRemoteCheckBox->setToolTip("Use GDB target extended-remote");
|
||||
m_mainLayout->addRow(tr("Extended mode:"), m_useExtendedRemoteCheckBox);
|
||||
m_useExtendedRemoteCheckBox->setToolTip(Tr::tr("Use GDB target extended-remote"));
|
||||
m_mainLayout->addRow(Tr::tr("Extended mode:"), m_useExtendedRemoteCheckBox);
|
||||
m_initCommandsTextEdit = new QPlainTextEdit(this);
|
||||
m_initCommandsTextEdit->setToolTip(defaultInitCommandsTooltip());
|
||||
m_mainLayout->addRow(tr("Init commands:"), m_initCommandsTextEdit);
|
||||
m_mainLayout->addRow(Tr::tr("Init commands:"), m_initCommandsTextEdit);
|
||||
m_resetCommandsTextEdit = new QPlainTextEdit(this);
|
||||
m_resetCommandsTextEdit->setToolTip(defaultResetCommandsTooltip());
|
||||
m_mainLayout->addRow(tr("Reset commands:"), m_resetCommandsTextEdit);
|
||||
m_mainLayout->addRow(Tr::tr("Reset commands:"), m_resetCommandsTextEdit);
|
||||
|
||||
addErrorLabel();
|
||||
setFromProvider();
|
||||
@@ -108,5 +108,4 @@ void GenericGdbServerProviderConfigWidget::setFromProvider()
|
||||
m_resetCommandsTextEdit->setPlainText(p->resetCommands());
|
||||
}
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace ProjectExplorer
|
||||
} // ProjectExplorer::Internal
|
||||
|
@@ -10,8 +10,7 @@ class QCheckBox;
|
||||
class QPlainTextEdit;
|
||||
QT_END_NAMESPACE
|
||||
|
||||
namespace BareMetal {
|
||||
namespace Internal {
|
||||
namespace BareMetal::Internal {
|
||||
|
||||
// GenericGdbServerProvider
|
||||
|
||||
@@ -39,8 +38,6 @@ public:
|
||||
class GenericGdbServerProviderConfigWidget final
|
||||
: public GdbServerProviderConfigWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit GenericGdbServerProviderConfigWidget(
|
||||
GenericGdbServerProvider *provider);
|
||||
@@ -57,5 +54,4 @@ private:
|
||||
QPlainTextEdit *m_resetCommandsTextEdit = nullptr;
|
||||
};
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace BareMetal
|
||||
} // BareMetal::Internal
|
||||
|
@@ -4,6 +4,7 @@
|
||||
#include "jlinkgdbserverprovider.h"
|
||||
|
||||
#include <baremetal/baremetalconstants.h>
|
||||
#include <baremetal/baremetaltr.h>
|
||||
#include <baremetal/debugserverprovidermanager.h>
|
||||
|
||||
#include <utils/fileutils.h>
|
||||
@@ -21,8 +22,7 @@
|
||||
|
||||
using namespace Utils;
|
||||
|
||||
namespace BareMetal {
|
||||
namespace Internal {
|
||||
namespace BareMetal::Internal {
|
||||
|
||||
const char executableFileKeyC[] = "ExecutableFile";
|
||||
const char jlinkDeviceKeyC[] = "JLinkDevice";
|
||||
@@ -40,7 +40,7 @@ JLinkGdbServerProvider::JLinkGdbServerProvider()
|
||||
setInitCommands(defaultInitCommands());
|
||||
setResetCommands(defaultResetCommands());
|
||||
setChannel("localhost", 2331);
|
||||
setTypeDisplayName(GdbServerProvider::tr("JLink"));
|
||||
setTypeDisplayName(Tr::tr("JLink"));
|
||||
setConfigurationWidgetCreator([this] { return new JLinkGdbServerProviderConfigWidget(this); });
|
||||
}
|
||||
|
||||
@@ -166,7 +166,7 @@ bool JLinkGdbServerProvider::operator==(const IDebugServerProvider &other) const
|
||||
JLinkGdbServerProviderFactory::JLinkGdbServerProviderFactory()
|
||||
{
|
||||
setId(Constants::GDBSERVER_JLINK_PROVIDER_ID);
|
||||
setDisplayName(GdbServerProvider::tr("JLink"));
|
||||
setDisplayName(Tr::tr("JLink"));
|
||||
setCreator([] { return new JLinkGdbServerProvider; });
|
||||
}
|
||||
|
||||
@@ -179,58 +179,58 @@ JLinkGdbServerProviderConfigWidget::JLinkGdbServerProviderConfigWidget(
|
||||
Q_ASSERT(provider);
|
||||
|
||||
m_hostWidget = new HostWidget(this);
|
||||
m_mainLayout->addRow(tr("Host:"), m_hostWidget);
|
||||
m_mainLayout->addRow(Tr::tr("Host:"), m_hostWidget);
|
||||
|
||||
m_executableFileChooser = new Utils::PathChooser;
|
||||
m_executableFileChooser->setExpectedKind(Utils::PathChooser::ExistingCommand);
|
||||
m_executableFileChooser->setCommandVersionArguments({"--version"});
|
||||
if (HostOsInfo::hostOs() == OsTypeWindows) {
|
||||
m_executableFileChooser->setPromptDialogFilter(tr("JLink GDB Server (JLinkGDBServerCL.exe)"));
|
||||
m_executableFileChooser->setPromptDialogFilter(Tr::tr("JLink GDB Server (JLinkGDBServerCL.exe)"));
|
||||
m_executableFileChooser->lineEdit()->setPlaceholderText("JLinkGDBServerCL.exe");
|
||||
} else {
|
||||
m_executableFileChooser->setPromptDialogFilter(tr("JLink GDB Server (JLinkGDBServer)"));
|
||||
m_executableFileChooser->setPromptDialogFilter(Tr::tr("JLink GDB Server (JLinkGDBServer)"));
|
||||
m_executableFileChooser->lineEdit()->setPlaceholderText("JLinkGDBServer");
|
||||
}
|
||||
m_mainLayout->addRow(tr("Executable file:"), m_executableFileChooser);
|
||||
m_mainLayout->addRow(Tr::tr("Executable file:"), m_executableFileChooser);
|
||||
|
||||
// Host interface settings.
|
||||
m_hostInterfaceWidget = new QWidget(this);
|
||||
m_hostInterfaceComboBox = new QComboBox(m_hostInterfaceWidget);
|
||||
m_hostInterfaceAddressLabel = new QLabel(m_hostInterfaceWidget);
|
||||
m_hostInterfaceAddressLabel->setText(tr("IP Address"));
|
||||
m_hostInterfaceAddressLabel->setText(Tr::tr("IP Address"));
|
||||
m_hostInterfaceAddressLineEdit = new QLineEdit(m_hostInterfaceWidget);
|
||||
const auto hostInterfaceLayout = new QHBoxLayout(m_hostInterfaceWidget);
|
||||
hostInterfaceLayout->setContentsMargins(0, 0, 0, 0);
|
||||
hostInterfaceLayout->addWidget(m_hostInterfaceComboBox);
|
||||
hostInterfaceLayout->addWidget(m_hostInterfaceAddressLabel);
|
||||
hostInterfaceLayout->addWidget(m_hostInterfaceAddressLineEdit);
|
||||
m_mainLayout->addRow(tr("Host interface:"), m_hostInterfaceWidget);
|
||||
m_mainLayout->addRow(Tr::tr("Host interface:"), m_hostInterfaceWidget);
|
||||
|
||||
// Target interface settings.
|
||||
m_targetInterfaceWidget = new QWidget(this);
|
||||
m_targetInterfaceComboBox = new QComboBox(m_targetInterfaceWidget);
|
||||
m_targetInterfaceSpeedLabel = new QLabel(m_targetInterfaceWidget);
|
||||
m_targetInterfaceSpeedLabel->setText(tr("Speed"));
|
||||
m_targetInterfaceSpeedLabel->setText(Tr::tr("Speed"));
|
||||
m_targetInterfaceSpeedComboBox = new QComboBox(m_targetInterfaceWidget);
|
||||
const auto targetInterfaceLayout = new QHBoxLayout(m_targetInterfaceWidget);
|
||||
targetInterfaceLayout->setContentsMargins(0, 0, 0, 0);
|
||||
targetInterfaceLayout->addWidget(m_targetInterfaceComboBox);
|
||||
targetInterfaceLayout->addWidget(m_targetInterfaceSpeedLabel);
|
||||
targetInterfaceLayout->addWidget(m_targetInterfaceSpeedComboBox);
|
||||
m_mainLayout->addRow(tr("Target interface:"), m_targetInterfaceWidget);
|
||||
m_mainLayout->addRow(Tr::tr("Target interface:"), m_targetInterfaceWidget);
|
||||
|
||||
m_jlinkDeviceLineEdit = new QLineEdit(this);
|
||||
m_mainLayout->addRow(tr("Device:"), m_jlinkDeviceLineEdit);
|
||||
m_mainLayout->addRow(Tr::tr("Device:"), m_jlinkDeviceLineEdit);
|
||||
|
||||
m_additionalArgumentsTextEdit = new QPlainTextEdit(this);
|
||||
m_mainLayout->addRow(tr("Additional arguments:"), m_additionalArgumentsTextEdit);
|
||||
m_mainLayout->addRow(Tr::tr("Additional arguments:"), m_additionalArgumentsTextEdit);
|
||||
|
||||
m_initCommandsTextEdit = new QPlainTextEdit(this);
|
||||
m_initCommandsTextEdit->setToolTip(defaultInitCommandsTooltip());
|
||||
m_mainLayout->addRow(tr("Init commands:"), m_initCommandsTextEdit);
|
||||
m_mainLayout->addRow(Tr::tr("Init commands:"), m_initCommandsTextEdit);
|
||||
m_resetCommandsTextEdit = new QPlainTextEdit(this);
|
||||
m_resetCommandsTextEdit->setToolTip(defaultResetCommandsTooltip());
|
||||
m_mainLayout->addRow(tr("Reset commands:"), m_resetCommandsTextEdit);
|
||||
m_mainLayout->addRow(Tr::tr("Reset commands:"), m_resetCommandsTextEdit);
|
||||
|
||||
populateHostInterfaces();
|
||||
populateTargetInterfaces();
|
||||
@@ -297,26 +297,26 @@ void JLinkGdbServerProviderConfigWidget::discard()
|
||||
|
||||
void JLinkGdbServerProviderConfigWidget::populateHostInterfaces()
|
||||
{
|
||||
m_hostInterfaceComboBox->addItem(tr("Default"));
|
||||
m_hostInterfaceComboBox->addItem(tr("USB"), "USB");
|
||||
m_hostInterfaceComboBox->addItem(tr("TCP/IP"), "IP");
|
||||
m_hostInterfaceComboBox->addItem(Tr::tr("Default"));
|
||||
m_hostInterfaceComboBox->addItem(Tr::tr("USB"), "USB");
|
||||
m_hostInterfaceComboBox->addItem(Tr::tr("TCP/IP"), "IP");
|
||||
}
|
||||
|
||||
void JLinkGdbServerProviderConfigWidget::populateTargetInterfaces()
|
||||
{
|
||||
m_targetInterfaceComboBox->addItem(tr("Default"));
|
||||
m_targetInterfaceComboBox->addItem(tr("JTAG"), "JTAG");
|
||||
m_targetInterfaceComboBox->addItem(tr("Compact JTAG"), "cJTAG");
|
||||
m_targetInterfaceComboBox->addItem(tr("SWD"), "SWD");
|
||||
m_targetInterfaceComboBox->addItem(tr("Renesas RX FINE"), "FINE");
|
||||
m_targetInterfaceComboBox->addItem(tr("ICSP"), "ICSP");
|
||||
m_targetInterfaceComboBox->addItem(Tr::tr("Default"));
|
||||
m_targetInterfaceComboBox->addItem(Tr::tr("JTAG"), "JTAG");
|
||||
m_targetInterfaceComboBox->addItem(Tr::tr("Compact JTAG"), "cJTAG");
|
||||
m_targetInterfaceComboBox->addItem(Tr::tr("SWD"), "SWD");
|
||||
m_targetInterfaceComboBox->addItem(Tr::tr("Renesas RX FINE"), "FINE");
|
||||
m_targetInterfaceComboBox->addItem(Tr::tr("ICSP"), "ICSP");
|
||||
}
|
||||
|
||||
void JLinkGdbServerProviderConfigWidget::populateTargetSpeeds()
|
||||
{
|
||||
m_targetInterfaceSpeedComboBox->addItem(tr("Default"));
|
||||
m_targetInterfaceSpeedComboBox->addItem(tr("Auto"), "auto");
|
||||
m_targetInterfaceSpeedComboBox->addItem(tr("Adaptive"), "adaptive");
|
||||
m_targetInterfaceSpeedComboBox->addItem(Tr::tr("Default"));
|
||||
m_targetInterfaceSpeedComboBox->addItem(Tr::tr("Auto"), "auto");
|
||||
m_targetInterfaceSpeedComboBox->addItem(Tr::tr("Adaptive"), "adaptive");
|
||||
|
||||
const QStringList fixedSpeeds = {"1", "5", "10", "20", "30", "50", "100", "200", "300",
|
||||
"400", "500", "600", "750", "800", "900", "1000", "1334",
|
||||
@@ -324,7 +324,7 @@ void JLinkGdbServerProviderConfigWidget::populateTargetSpeeds()
|
||||
"6000", "8000", "9600", "12000", "15000", "20000", "25000",
|
||||
"30000", "40000", "50000"};
|
||||
for (const auto &fixedSpeed : fixedSpeeds)
|
||||
m_targetInterfaceSpeedComboBox->addItem(tr("%1 kHz").arg(fixedSpeed), fixedSpeed);
|
||||
m_targetInterfaceSpeedComboBox->addItem(Tr::tr("%1 kHz").arg(fixedSpeed), fixedSpeed);
|
||||
}
|
||||
|
||||
void JLinkGdbServerProviderConfigWidget::setHostInterface(const QString &newIface)
|
||||
@@ -389,7 +389,6 @@ void JLinkGdbServerProviderConfigWidget::setFromProvider()
|
||||
m_hostWidget->setChannel(p->channel());
|
||||
m_initCommandsTextEdit->setPlainText(p->initCommands());
|
||||
m_jlinkDeviceLineEdit->setText(p->m_jlinkDevice);
|
||||
m_jlinkDeviceLineEdit->setText(p->m_jlinkDevice);
|
||||
m_resetCommandsTextEdit->setPlainText(p->resetCommands());
|
||||
|
||||
setHostInterface(p->m_jlinkHost);
|
||||
@@ -399,5 +398,4 @@ void JLinkGdbServerProviderConfigWidget::setFromProvider()
|
||||
updateAllowedControls();
|
||||
}
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace BareMetal
|
||||
} // BareMetal::Internal
|
||||
|
@@ -11,8 +11,7 @@ QT_END_NAMESPACE
|
||||
|
||||
namespace Utils { class PathChooser; }
|
||||
|
||||
namespace BareMetal {
|
||||
namespace Internal {
|
||||
namespace BareMetal::Internal {
|
||||
|
||||
// JLinkGdbServerProvider
|
||||
|
||||
@@ -62,11 +61,8 @@ public:
|
||||
class JLinkGdbServerProviderConfigWidget final
|
||||
: public GdbServerProviderConfigWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit JLinkGdbServerProviderConfigWidget(
|
||||
JLinkGdbServerProvider *provider);
|
||||
explicit JLinkGdbServerProviderConfigWidget(JLinkGdbServerProvider *provider);
|
||||
|
||||
private:
|
||||
void apply() final;
|
||||
@@ -103,5 +99,4 @@ private:
|
||||
QPlainTextEdit *m_resetCommandsTextEdit = nullptr;
|
||||
};
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace BareMetal
|
||||
} // BareMetal::Internal
|
||||
|
@@ -4,6 +4,7 @@
|
||||
#include "openocdgdbserverprovider.h"
|
||||
|
||||
#include <baremetal/baremetalconstants.h>
|
||||
#include <baremetal/baremetaltr.h>
|
||||
#include <baremetal/debugserverprovidermanager.h>
|
||||
|
||||
#include <utils/fileutils.h>
|
||||
@@ -19,8 +20,7 @@
|
||||
|
||||
using namespace Utils;
|
||||
|
||||
namespace BareMetal {
|
||||
namespace Internal {
|
||||
namespace BareMetal::Internal {
|
||||
|
||||
const char executableFileKeyC[] = "ExecutableFile";
|
||||
const char rootScriptsDirKeyC[] = "RootScriptsDir";
|
||||
@@ -35,7 +35,7 @@ OpenOcdGdbServerProvider::OpenOcdGdbServerProvider()
|
||||
setInitCommands(defaultInitCommands());
|
||||
setResetCommands(defaultResetCommands());
|
||||
setChannel("localhost", 3333);
|
||||
setTypeDisplayName(GdbServerProvider::tr("OpenOCD"));
|
||||
setTypeDisplayName(Tr::tr("OpenOCD"));
|
||||
setConfigurationWidgetCreator([this] { return new OpenOcdGdbServerProviderConfigWidget(this); });
|
||||
}
|
||||
|
||||
@@ -164,7 +164,7 @@ bool OpenOcdGdbServerProvider::operator==(const IDebugServerProvider &other) con
|
||||
OpenOcdGdbServerProviderFactory::OpenOcdGdbServerProviderFactory()
|
||||
{
|
||||
setId(Constants::GDBSERVER_OPENOCD_PROVIDER_ID);
|
||||
setDisplayName(GdbServerProvider::tr("OpenOCD"));
|
||||
setDisplayName(Tr::tr("OpenOCD"));
|
||||
setCreator([] { return new OpenOcdGdbServerProvider; });
|
||||
}
|
||||
|
||||
@@ -177,31 +177,31 @@ OpenOcdGdbServerProviderConfigWidget::OpenOcdGdbServerProviderConfigWidget(
|
||||
Q_ASSERT(provider);
|
||||
|
||||
m_hostWidget = new HostWidget(this);
|
||||
m_mainLayout->addRow(tr("Host:"), m_hostWidget);
|
||||
m_mainLayout->addRow(Tr::tr("Host:"), m_hostWidget);
|
||||
|
||||
m_executableFileChooser = new Utils::PathChooser;
|
||||
m_executableFileChooser->setExpectedKind(Utils::PathChooser::ExistingCommand);
|
||||
m_executableFileChooser->setCommandVersionArguments({"--version"});
|
||||
m_mainLayout->addRow(tr("Executable file:"), m_executableFileChooser);
|
||||
m_mainLayout->addRow(Tr::tr("Executable file:"), m_executableFileChooser);
|
||||
|
||||
m_rootScriptsDirChooser = new Utils::PathChooser;
|
||||
m_rootScriptsDirChooser->setExpectedKind(Utils::PathChooser::Directory);
|
||||
m_mainLayout->addRow(tr("Root scripts directory:"), m_rootScriptsDirChooser);
|
||||
m_mainLayout->addRow(Tr::tr("Root scripts directory:"), m_rootScriptsDirChooser);
|
||||
|
||||
m_configurationFileChooser = new Utils::PathChooser;
|
||||
m_configurationFileChooser->setExpectedKind(Utils::PathChooser::File);
|
||||
m_configurationFileChooser->setPromptDialogFilter("*.cfg");
|
||||
m_mainLayout->addRow(tr("Configuration file:"), m_configurationFileChooser);
|
||||
m_mainLayout->addRow(Tr::tr("Configuration file:"), m_configurationFileChooser);
|
||||
|
||||
m_additionalArgumentsLineEdit = new QLineEdit(this);
|
||||
m_mainLayout->addRow(tr("Additional arguments:"), m_additionalArgumentsLineEdit);
|
||||
m_mainLayout->addRow(Tr::tr("Additional arguments:"), m_additionalArgumentsLineEdit);
|
||||
|
||||
m_initCommandsTextEdit = new QPlainTextEdit(this);
|
||||
m_initCommandsTextEdit->setToolTip(defaultInitCommandsTooltip());
|
||||
m_mainLayout->addRow(tr("Init commands:"), m_initCommandsTextEdit);
|
||||
m_mainLayout->addRow(Tr::tr("Init commands:"), m_initCommandsTextEdit);
|
||||
m_resetCommandsTextEdit = new QPlainTextEdit(this);
|
||||
m_resetCommandsTextEdit->setToolTip(defaultResetCommandsTooltip());
|
||||
m_mainLayout->addRow(tr("Reset commands:"), m_resetCommandsTextEdit);
|
||||
m_mainLayout->addRow(Tr::tr("Reset commands:"), m_resetCommandsTextEdit);
|
||||
|
||||
addErrorLabel();
|
||||
setFromProvider();
|
||||
@@ -274,5 +274,4 @@ void OpenOcdGdbServerProviderConfigWidget::setFromProvider()
|
||||
m_resetCommandsTextEdit->setPlainText(p->resetCommands());
|
||||
}
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace ProjectExplorer
|
||||
} // BareMetal::Internal
|
||||
|
@@ -11,8 +11,7 @@ QT_END_NAMESPACE
|
||||
|
||||
namespace Utils { class PathChooser; }
|
||||
|
||||
namespace BareMetal {
|
||||
namespace Internal {
|
||||
namespace BareMetal::Internal {
|
||||
|
||||
// OpenOcdGdbServerProvider
|
||||
|
||||
@@ -59,11 +58,8 @@ public:
|
||||
class OpenOcdGdbServerProviderConfigWidget final
|
||||
: public GdbServerProviderConfigWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit OpenOcdGdbServerProviderConfigWidget(
|
||||
OpenOcdGdbServerProvider *provider);
|
||||
explicit OpenOcdGdbServerProviderConfigWidget(OpenOcdGdbServerProvider *provider);
|
||||
|
||||
private:
|
||||
void apply() final;
|
||||
@@ -81,5 +77,4 @@ private:
|
||||
QPlainTextEdit *m_resetCommandsTextEdit = nullptr;
|
||||
};
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace BareMetal
|
||||
} // BareMetal::Internal
|
||||
|
@@ -4,9 +4,10 @@
|
||||
#include "stlinkutilgdbserverprovider.h"
|
||||
|
||||
#include <baremetal/baremetalconstants.h>
|
||||
#include <baremetal/baremetaltr.h>
|
||||
#include <baremetal/debugserverprovidermanager.h>
|
||||
|
||||
#include <utils/fileutils.h>
|
||||
#include <utils/filepath.h>
|
||||
#include <utils/pathchooser.h>
|
||||
#include <utils/qtcassert.h>
|
||||
#include <utils/variablechooser.h>
|
||||
@@ -19,8 +20,7 @@
|
||||
|
||||
using namespace Utils;
|
||||
|
||||
namespace BareMetal {
|
||||
namespace Internal {
|
||||
namespace BareMetal::Internal {
|
||||
|
||||
const char executableFileKeyC[] = "ExecutableFile";
|
||||
const char verboseLevelKeyC[] = "VerboseLevel";
|
||||
@@ -36,7 +36,7 @@ StLinkUtilGdbServerProvider::StLinkUtilGdbServerProvider()
|
||||
setInitCommands(defaultInitCommands());
|
||||
setResetCommands(defaultResetCommands());
|
||||
setChannel("localhost", 4242);
|
||||
setTypeDisplayName(GdbServerProvider::tr("ST-LINK Utility"));
|
||||
setTypeDisplayName(Tr::tr("ST-LINK Utility"));
|
||||
setConfigurationWidgetCreator([this] { return new StLinkUtilGdbServerProviderConfigWidget(this); });
|
||||
}
|
||||
|
||||
@@ -151,7 +151,7 @@ bool StLinkUtilGdbServerProvider::operator==(const IDebugServerProvider &other)
|
||||
StLinkUtilGdbServerProviderFactory::StLinkUtilGdbServerProviderFactory()
|
||||
{
|
||||
setId(Constants::GDBSERVER_STLINK_UTIL_PROVIDER_ID);
|
||||
setDisplayName(GdbServerProvider::tr("ST-LINK Utility"));
|
||||
setDisplayName(Tr::tr("ST-LINK Utility"));
|
||||
setCreator([] { return new StLinkUtilGdbServerProvider; });
|
||||
}
|
||||
|
||||
@@ -164,36 +164,36 @@ StLinkUtilGdbServerProviderConfigWidget::StLinkUtilGdbServerProviderConfigWidget
|
||||
Q_ASSERT(p);
|
||||
|
||||
m_hostWidget = new HostWidget(this);
|
||||
m_mainLayout->addRow(tr("Host:"), m_hostWidget);
|
||||
m_mainLayout->addRow(Tr::tr("Host:"), m_hostWidget);
|
||||
|
||||
m_executableFileChooser = new Utils::PathChooser;
|
||||
m_executableFileChooser->setExpectedKind(Utils::PathChooser::ExistingCommand);
|
||||
m_mainLayout->addRow(tr("Executable file:"), m_executableFileChooser);
|
||||
m_mainLayout->addRow(Tr::tr("Executable file:"), m_executableFileChooser);
|
||||
|
||||
m_verboseLevelSpinBox = new QSpinBox;
|
||||
m_verboseLevelSpinBox->setRange(0, 99);
|
||||
m_verboseLevelSpinBox->setToolTip(tr("Specify the verbosity level (0..99)."));
|
||||
m_mainLayout->addRow(tr("Verbosity level:"), m_verboseLevelSpinBox);
|
||||
m_verboseLevelSpinBox->setToolTip(Tr::tr("Specify the verbosity level (0..99)."));
|
||||
m_mainLayout->addRow(Tr::tr("Verbosity level:"), m_verboseLevelSpinBox);
|
||||
|
||||
m_extendedModeCheckBox = new QCheckBox;
|
||||
m_extendedModeCheckBox->setToolTip(tr("Continue listening for connections "
|
||||
m_extendedModeCheckBox->setToolTip(Tr::tr("Continue listening for connections "
|
||||
"after disconnect."));
|
||||
m_mainLayout->addRow(tr("Extended mode:"), m_extendedModeCheckBox);
|
||||
m_mainLayout->addRow(Tr::tr("Extended mode:"), m_extendedModeCheckBox);
|
||||
|
||||
m_resetBoardCheckBox = new QCheckBox;
|
||||
m_resetBoardCheckBox->setToolTip(tr("Reset board on connection."));
|
||||
m_mainLayout->addRow(tr("Reset on connection:"), m_resetBoardCheckBox);
|
||||
m_resetBoardCheckBox->setToolTip(Tr::tr("Reset board on connection."));
|
||||
m_mainLayout->addRow(Tr::tr("Reset on connection:"), m_resetBoardCheckBox);
|
||||
|
||||
m_transportLayerComboBox = new QComboBox;
|
||||
m_transportLayerComboBox->setToolTip(tr("Transport layer type."));
|
||||
m_mainLayout->addRow(tr("Version:"), m_transportLayerComboBox);
|
||||
m_transportLayerComboBox->setToolTip(Tr::tr("Transport layer type."));
|
||||
m_mainLayout->addRow(Tr::tr("Version:"), m_transportLayerComboBox);
|
||||
|
||||
m_initCommandsTextEdit = new QPlainTextEdit(this);
|
||||
m_initCommandsTextEdit->setToolTip(defaultInitCommandsTooltip());
|
||||
m_mainLayout->addRow(tr("Init commands:"), m_initCommandsTextEdit);
|
||||
m_mainLayout->addRow(Tr::tr("Init commands:"), m_initCommandsTextEdit);
|
||||
m_resetCommandsTextEdit = new QPlainTextEdit(this);
|
||||
m_resetCommandsTextEdit->setToolTip(defaultResetCommandsTooltip());
|
||||
m_mainLayout->addRow(tr("Reset commands:"), m_resetCommandsTextEdit);
|
||||
m_mainLayout->addRow(Tr::tr("Reset commands:"), m_resetCommandsTextEdit);
|
||||
|
||||
populateTransportLayers();
|
||||
addErrorLabel();
|
||||
@@ -273,13 +273,13 @@ void StLinkUtilGdbServerProviderConfigWidget::setTransportLayer(
|
||||
void StLinkUtilGdbServerProviderConfigWidget::populateTransportLayers()
|
||||
{
|
||||
m_transportLayerComboBox->insertItem(
|
||||
m_transportLayerComboBox->count(), tr("ST-LINK/V1"),
|
||||
m_transportLayerComboBox->count(), Tr::tr("ST-LINK/V1"),
|
||||
StLinkUtilGdbServerProvider::ScsiOverUsb);
|
||||
m_transportLayerComboBox->insertItem(
|
||||
m_transportLayerComboBox->count(), tr("ST-LINK/V2"),
|
||||
m_transportLayerComboBox->count(), Tr::tr("ST-LINK/V2"),
|
||||
StLinkUtilGdbServerProvider::RawUsb);
|
||||
m_transportLayerComboBox->insertItem(
|
||||
m_transportLayerComboBox->count(), tr("Keep unspecified"),
|
||||
m_transportLayerComboBox->count(), Tr::tr("Keep unspecified"),
|
||||
StLinkUtilGdbServerProvider::UnspecifiedTransport);
|
||||
}
|
||||
|
||||
@@ -299,5 +299,4 @@ void StLinkUtilGdbServerProviderConfigWidget::setFromProvider()
|
||||
m_resetCommandsTextEdit->setPlainText(p->resetCommands());
|
||||
}
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace ProjectExplorer
|
||||
} // ProjectExplorer::Internal
|
||||
|
@@ -12,8 +12,7 @@ QT_END_NAMESPACE
|
||||
|
||||
namespace Utils { class PathChooser; }
|
||||
|
||||
namespace BareMetal {
|
||||
namespace Internal {
|
||||
namespace BareMetal::Internal {
|
||||
|
||||
// StLinkUtilGdbServerProvider
|
||||
|
||||
@@ -63,11 +62,8 @@ public:
|
||||
class StLinkUtilGdbServerProviderConfigWidget final
|
||||
: public GdbServerProviderConfigWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit StLinkUtilGdbServerProviderConfigWidget(
|
||||
StLinkUtilGdbServerProvider *provider);
|
||||
explicit StLinkUtilGdbServerProviderConfigWidget(StLinkUtilGdbServerProvider *provider);
|
||||
|
||||
private:
|
||||
void apply() final;
|
||||
@@ -90,5 +86,4 @@ private:
|
||||
QPlainTextEdit *m_resetCommandsTextEdit = nullptr;
|
||||
};
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace BareMetal
|
||||
} // BareMetal::Internal
|
||||
|
@@ -8,6 +8,7 @@
|
||||
|
||||
#include <baremetal/baremetalconstants.h>
|
||||
#include <baremetal/baremetaldebugsupport.h>
|
||||
#include <baremetal/baremetaltr.h>
|
||||
#include <baremetal/debugserverprovidermanager.h>
|
||||
|
||||
#include <debugger/debuggerruncontrol.h>
|
||||
@@ -25,8 +26,7 @@ using namespace Debugger;
|
||||
using namespace ProjectExplorer;
|
||||
using namespace Utils;
|
||||
|
||||
namespace BareMetal {
|
||||
namespace Internal {
|
||||
namespace BareMetal::Internal {
|
||||
|
||||
using namespace Uv;
|
||||
|
||||
@@ -155,7 +155,7 @@ bool JLinkUvscAdapterOptions::operator==(const JLinkUvscAdapterOptions &other) c
|
||||
JLinkUvscServerProvider::JLinkUvscServerProvider()
|
||||
: UvscServerProvider(Constants::UVSC_JLINK_PROVIDER_ID)
|
||||
{
|
||||
setTypeDisplayName(UvscServerProvider::tr("uVision JLink"));
|
||||
setTypeDisplayName(Tr::tr("uVision JLink"));
|
||||
setConfigurationWidgetCreator([this] { return new JLinkUvscServerProviderConfigWidget(this); });
|
||||
setSupportedDrivers({"Segger\\JL2CM3.dll"});
|
||||
}
|
||||
@@ -192,8 +192,7 @@ FilePath JLinkUvscServerProvider::optionsFilePath(DebuggerRunTool *runTool,
|
||||
Uv::ProjectOptionsWriter writer(&ofs);
|
||||
const JLinkUvProjectOptions projectOptions(this);
|
||||
if (!writer.write(&projectOptions)) {
|
||||
errorMessage = BareMetalDebugSupport::tr(
|
||||
"Unable to create a uVision project options template.");
|
||||
errorMessage = Tr::tr("Unable to create a uVision project options template.");
|
||||
return {};
|
||||
}
|
||||
return optionsPath;
|
||||
@@ -204,7 +203,7 @@ FilePath JLinkUvscServerProvider::optionsFilePath(DebuggerRunTool *runTool,
|
||||
JLinkUvscServerProviderFactory::JLinkUvscServerProviderFactory()
|
||||
{
|
||||
setId(Constants::UVSC_JLINK_PROVIDER_ID);
|
||||
setDisplayName(UvscServerProvider::tr("uVision JLink"));
|
||||
setDisplayName(Tr::tr("uVision JLink"));
|
||||
setCreator([] { return new JLinkUvscServerProvider; });
|
||||
}
|
||||
|
||||
@@ -217,7 +216,7 @@ JLinkUvscServerProviderConfigWidget::JLinkUvscServerProviderConfigWidget(
|
||||
Q_ASSERT(p);
|
||||
|
||||
m_adapterOptionsWidget = new JLinkUvscAdapterOptionsWidget;
|
||||
m_mainLayout->addRow(tr("Adapter options:"), m_adapterOptionsWidget);
|
||||
m_mainLayout->addRow(Tr::tr("Adapter options:"), m_adapterOptionsWidget);
|
||||
|
||||
setFromProvider();
|
||||
|
||||
@@ -265,10 +264,10 @@ JLinkUvscAdapterOptionsWidget::JLinkUvscAdapterOptionsWidget(QWidget *parent)
|
||||
{
|
||||
const auto layout = new QHBoxLayout;
|
||||
layout->setContentsMargins(0, 0, 0, 0);
|
||||
layout->addWidget(new QLabel(tr("Port:")));
|
||||
layout->addWidget(new QLabel(Tr::tr("Port:")));
|
||||
m_portBox = new QComboBox;
|
||||
layout->addWidget(m_portBox);
|
||||
layout->addWidget(new QLabel(tr("Speed:")));
|
||||
layout->addWidget(new QLabel(Tr::tr("Speed:")));
|
||||
m_speedBox = new QComboBox;
|
||||
layout->addWidget(m_speedBox);
|
||||
setLayout(layout);
|
||||
@@ -324,26 +323,25 @@ JLinkUvscAdapterOptions::Speed JLinkUvscAdapterOptionsWidget::speedAt(int index)
|
||||
|
||||
void JLinkUvscAdapterOptionsWidget::populatePorts()
|
||||
{
|
||||
m_portBox->addItem(tr("JTAG"), JLinkUvscAdapterOptions::JTAG);
|
||||
m_portBox->addItem(tr("SWD"), JLinkUvscAdapterOptions::SWD);
|
||||
m_portBox->addItem(Tr::tr("JTAG"), JLinkUvscAdapterOptions::JTAG);
|
||||
m_portBox->addItem(Tr::tr("SWD"), JLinkUvscAdapterOptions::SWD);
|
||||
}
|
||||
|
||||
void JLinkUvscAdapterOptionsWidget::populateSpeeds()
|
||||
{
|
||||
m_speedBox->clear();
|
||||
m_speedBox->addItem(tr("50MHz"), JLinkUvscAdapterOptions::Speed_50MHz);
|
||||
m_speedBox->addItem(tr("33MHz"), JLinkUvscAdapterOptions::Speed_33MHz);
|
||||
m_speedBox->addItem(tr("25MHz"), JLinkUvscAdapterOptions::Speed_25MHz);
|
||||
m_speedBox->addItem(tr("20MHz"), JLinkUvscAdapterOptions::Speed_20MHz);
|
||||
m_speedBox->addItem(tr("10MHz"), JLinkUvscAdapterOptions::Speed_10MHz);
|
||||
m_speedBox->addItem(tr("5MHz"), JLinkUvscAdapterOptions::Speed_5MHz);
|
||||
m_speedBox->addItem(tr("3MHz"), JLinkUvscAdapterOptions::Speed_3MHz);
|
||||
m_speedBox->addItem(tr("2MHz"), JLinkUvscAdapterOptions::Speed_2MHz);
|
||||
m_speedBox->addItem(tr("1MHz"), JLinkUvscAdapterOptions::Speed_1MHz);
|
||||
m_speedBox->addItem(tr("500kHz"), JLinkUvscAdapterOptions::Speed_500kHz);
|
||||
m_speedBox->addItem(tr("200kHz"), JLinkUvscAdapterOptions::Speed_200kHz);
|
||||
m_speedBox->addItem(tr("100kHz"), JLinkUvscAdapterOptions::Speed_100kHz);
|
||||
m_speedBox->addItem(Tr::tr("50MHz"), JLinkUvscAdapterOptions::Speed_50MHz);
|
||||
m_speedBox->addItem(Tr::tr("33MHz"), JLinkUvscAdapterOptions::Speed_33MHz);
|
||||
m_speedBox->addItem(Tr::tr("25MHz"), JLinkUvscAdapterOptions::Speed_25MHz);
|
||||
m_speedBox->addItem(Tr::tr("20MHz"), JLinkUvscAdapterOptions::Speed_20MHz);
|
||||
m_speedBox->addItem(Tr::tr("10MHz"), JLinkUvscAdapterOptions::Speed_10MHz);
|
||||
m_speedBox->addItem(Tr::tr("5MHz"), JLinkUvscAdapterOptions::Speed_5MHz);
|
||||
m_speedBox->addItem(Tr::tr("3MHz"), JLinkUvscAdapterOptions::Speed_3MHz);
|
||||
m_speedBox->addItem(Tr::tr("2MHz"), JLinkUvscAdapterOptions::Speed_2MHz);
|
||||
m_speedBox->addItem(Tr::tr("1MHz"), JLinkUvscAdapterOptions::Speed_1MHz);
|
||||
m_speedBox->addItem(Tr::tr("500kHz"), JLinkUvscAdapterOptions::Speed_500kHz);
|
||||
m_speedBox->addItem(Tr::tr("200kHz"), JLinkUvscAdapterOptions::Speed_200kHz);
|
||||
m_speedBox->addItem(Tr::tr("100kHz"), JLinkUvscAdapterOptions::Speed_100kHz);
|
||||
}
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace BareMetal
|
||||
} // BareMetal::Internal
|
||||
|
@@ -9,8 +9,7 @@ QT_BEGIN_NAMESPACE
|
||||
class QComboBox;
|
||||
QT_END_NAMESPACE
|
||||
|
||||
namespace BareMetal {
|
||||
namespace Internal {
|
||||
namespace BareMetal::Internal {
|
||||
|
||||
// JLinkUvscAdapterOptions
|
||||
|
||||
@@ -66,8 +65,6 @@ public:
|
||||
class JLinkUvscAdapterOptionsWidget;
|
||||
class JLinkUvscServerProviderConfigWidget final : public UvscServerProviderConfigWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit JLinkUvscServerProviderConfigWidget(JLinkUvscServerProvider *provider);
|
||||
|
||||
@@ -107,5 +104,4 @@ private:
|
||||
QComboBox *m_speedBox = nullptr;
|
||||
};
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace BareMetal
|
||||
} // BareMetal::Internal
|
||||
|
@@ -8,6 +8,7 @@
|
||||
|
||||
#include <baremetal/baremetalconstants.h>
|
||||
#include <baremetal/baremetaldebugsupport.h>
|
||||
#include <baremetal/baremetaltr.h>
|
||||
#include <baremetal/debugserverprovidermanager.h>
|
||||
|
||||
#include <debugger/debuggerruncontrol.h>
|
||||
@@ -23,8 +24,7 @@ using namespace Debugger;
|
||||
using namespace ProjectExplorer;
|
||||
using namespace Utils;
|
||||
|
||||
namespace BareMetal {
|
||||
namespace Internal {
|
||||
namespace BareMetal::Internal {
|
||||
|
||||
using namespace Uv;
|
||||
|
||||
@@ -60,7 +60,7 @@ public:
|
||||
SimulatorUvscServerProvider::SimulatorUvscServerProvider()
|
||||
: UvscServerProvider(Constants::UVSC_SIMULATOR_PROVIDER_ID)
|
||||
{
|
||||
setTypeDisplayName(UvscServerProvider::tr("uVision Simulator"));
|
||||
setTypeDisplayName(Tr::tr("uVision Simulator"));
|
||||
setConfigurationWidgetCreator([this] { return new SimulatorUvscServerProviderConfigWidget(this); });
|
||||
setDriverSelection(defaultSimulatorDriverSelection());
|
||||
}
|
||||
@@ -96,8 +96,7 @@ FilePath SimulatorUvscServerProvider::optionsFilePath(DebuggerRunTool *runTool,
|
||||
Uv::ProjectOptionsWriter writer(&ofs);
|
||||
const SimulatorUvProjectOptions projectOptions(this);
|
||||
if (!writer.write(&projectOptions)) {
|
||||
errorMessage = BareMetalDebugSupport::tr(
|
||||
"Unable to create a uVision project options template.");
|
||||
errorMessage = Tr::tr("Unable to create a uVision project options template.");
|
||||
return {};
|
||||
}
|
||||
return optionsPath;
|
||||
@@ -108,7 +107,7 @@ FilePath SimulatorUvscServerProvider::optionsFilePath(DebuggerRunTool *runTool,
|
||||
SimulatorUvscServerProviderFactory::SimulatorUvscServerProviderFactory()
|
||||
{
|
||||
setId(Constants::UVSC_SIMULATOR_PROVIDER_ID);
|
||||
setDisplayName(UvscServerProvider::tr("uVision Simulator"));
|
||||
setDisplayName(Tr::tr("uVision Simulator"));
|
||||
setCreator([] { return new SimulatorUvscServerProvider; });
|
||||
}
|
||||
|
||||
@@ -121,8 +120,8 @@ SimulatorUvscServerProviderConfigWidget::SimulatorUvscServerProviderConfigWidget
|
||||
Q_ASSERT(p);
|
||||
|
||||
m_limitSpeedCheckBox = new QCheckBox;
|
||||
m_limitSpeedCheckBox->setToolTip(tr("Limit speed to real-time."));
|
||||
m_mainLayout->addRow(tr("Limit speed to real-time:"), m_limitSpeedCheckBox);
|
||||
m_limitSpeedCheckBox->setToolTip(Tr::tr("Limit speed to real-time."));
|
||||
m_mainLayout->addRow(Tr::tr("Limit speed to real-time:"), m_limitSpeedCheckBox);
|
||||
|
||||
setFromProvider();
|
||||
|
||||
@@ -152,5 +151,4 @@ void SimulatorUvscServerProviderConfigWidget::setFromProvider()
|
||||
m_limitSpeedCheckBox->setChecked(p->m_limitSpeed);
|
||||
}
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace BareMetal
|
||||
} // BareMetal::Internal
|
||||
|
@@ -9,8 +9,7 @@ QT_BEGIN_NAMESPACE
|
||||
class QCheckBox;
|
||||
QT_END_NAMESPACE
|
||||
|
||||
namespace BareMetal {
|
||||
namespace Internal {
|
||||
namespace BareMetal::Internal {
|
||||
|
||||
// SimulatorUvscServerProvider
|
||||
|
||||
@@ -48,8 +47,6 @@ public:
|
||||
|
||||
class SimulatorUvscServerProviderConfigWidget final : public UvscServerProviderConfigWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit SimulatorUvscServerProviderConfigWidget(SimulatorUvscServerProvider *provider);
|
||||
|
||||
@@ -62,5 +59,4 @@ private:
|
||||
QCheckBox *m_limitSpeedCheckBox = nullptr;
|
||||
};
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace BareMetal
|
||||
} // BareMetal::Internal
|
||||
|
@@ -7,6 +7,7 @@
|
||||
#include "uvprojectwriter.h"
|
||||
|
||||
#include <baremetal/baremetalconstants.h>
|
||||
#include <baremetal/baremetaltr.h>
|
||||
#include <baremetal/baremetaldebugsupport.h>
|
||||
#include <baremetal/debugserverprovidermanager.h>
|
||||
|
||||
@@ -25,8 +26,7 @@ using namespace Debugger;
|
||||
using namespace ProjectExplorer;
|
||||
using namespace Utils;
|
||||
|
||||
namespace BareMetal {
|
||||
namespace Internal {
|
||||
namespace BareMetal::Internal {
|
||||
|
||||
using namespace Uv;
|
||||
|
||||
@@ -111,7 +111,7 @@ bool StLinkUvscAdapterOptions::operator==(const StLinkUvscAdapterOptions &other)
|
||||
StLinkUvscServerProvider::StLinkUvscServerProvider()
|
||||
: UvscServerProvider(Constants::UVSC_STLINK_PROVIDER_ID)
|
||||
{
|
||||
setTypeDisplayName(UvscServerProvider::tr("uVision St-Link"));
|
||||
setTypeDisplayName(Tr::tr("uVision St-Link"));
|
||||
setConfigurationWidgetCreator([this] { return new StLinkUvscServerProviderConfigWidget(this); });
|
||||
setSupportedDrivers({"STLink\\ST-LINKIII-KEIL_SWO.dll"});
|
||||
}
|
||||
@@ -148,8 +148,7 @@ FilePath StLinkUvscServerProvider::optionsFilePath(DebuggerRunTool *runTool,
|
||||
Uv::ProjectOptionsWriter writer(&ofs);
|
||||
const StLinkUvProjectOptions projectOptions(this);
|
||||
if (!writer.write(&projectOptions)) {
|
||||
errorMessage = BareMetalDebugSupport::tr(
|
||||
"Unable to create a uVision project options template.");
|
||||
errorMessage = Tr::tr("Unable to create a uVision project options template.");
|
||||
return {};
|
||||
}
|
||||
return optionsPath;
|
||||
@@ -160,7 +159,7 @@ FilePath StLinkUvscServerProvider::optionsFilePath(DebuggerRunTool *runTool,
|
||||
StLinkUvscServerProviderFactory::StLinkUvscServerProviderFactory()
|
||||
{
|
||||
setId(Constants::UVSC_STLINK_PROVIDER_ID);
|
||||
setDisplayName(UvscServerProvider::tr("uVision St-Link"));
|
||||
setDisplayName(Tr::tr("uVision St-Link"));
|
||||
setCreator([] { return new StLinkUvscServerProvider; });
|
||||
}
|
||||
|
||||
@@ -173,7 +172,7 @@ StLinkUvscServerProviderConfigWidget::StLinkUvscServerProviderConfigWidget(
|
||||
Q_ASSERT(p);
|
||||
|
||||
m_adapterOptionsWidget = new StLinkUvscAdapterOptionsWidget;
|
||||
m_mainLayout->addRow(tr("Adapter options:"), m_adapterOptionsWidget);
|
||||
m_mainLayout->addRow(Tr::tr("Adapter options:"), m_adapterOptionsWidget);
|
||||
|
||||
setFromProvider();
|
||||
|
||||
@@ -221,10 +220,10 @@ StLinkUvscAdapterOptionsWidget::StLinkUvscAdapterOptionsWidget(QWidget *parent)
|
||||
{
|
||||
const auto layout = new QHBoxLayout;
|
||||
layout->setContentsMargins(0, 0, 0, 0);
|
||||
layout->addWidget(new QLabel(tr("Port:")));
|
||||
layout->addWidget(new QLabel(Tr::tr("Port:")));
|
||||
m_portBox = new QComboBox;
|
||||
layout->addWidget(m_portBox);
|
||||
layout->addWidget(new QLabel(tr("Speed:")));
|
||||
layout->addWidget(new QLabel(Tr::tr("Speed:")));
|
||||
m_speedBox = new QComboBox;
|
||||
layout->addWidget(m_speedBox);
|
||||
setLayout(layout);
|
||||
@@ -280,8 +279,8 @@ StLinkUvscAdapterOptions::Speed StLinkUvscAdapterOptionsWidget::speedAt(int inde
|
||||
|
||||
void StLinkUvscAdapterOptionsWidget::populatePorts()
|
||||
{
|
||||
m_portBox->addItem(tr("JTAG"), StLinkUvscAdapterOptions::JTAG);
|
||||
m_portBox->addItem(tr("SWD"), StLinkUvscAdapterOptions::SWD);
|
||||
m_portBox->addItem(Tr::tr("JTAG"), StLinkUvscAdapterOptions::JTAG);
|
||||
m_portBox->addItem(Tr::tr("SWD"), StLinkUvscAdapterOptions::SWD);
|
||||
}
|
||||
|
||||
void StLinkUvscAdapterOptionsWidget::populateSpeeds()
|
||||
@@ -290,27 +289,26 @@ void StLinkUvscAdapterOptionsWidget::populateSpeeds()
|
||||
|
||||
const auto port = portAt(m_portBox->currentIndex());
|
||||
if (port == StLinkUvscAdapterOptions::JTAG) {
|
||||
m_speedBox->addItem(tr("9MHz"), StLinkUvscAdapterOptions::Speed_9MHz);
|
||||
m_speedBox->addItem(tr("4.5MHz"), StLinkUvscAdapterOptions::Speed_4_5MHz);
|
||||
m_speedBox->addItem(tr("2.25MHz"), StLinkUvscAdapterOptions::Speed_2_25MHz);
|
||||
m_speedBox->addItem(tr("1.12MHz"), StLinkUvscAdapterOptions::Speed_1_12MHz);
|
||||
m_speedBox->addItem(tr("560kHz"), StLinkUvscAdapterOptions::Speed_560kHz);
|
||||
m_speedBox->addItem(tr("280kHz"), StLinkUvscAdapterOptions::Speed_280kHz);
|
||||
m_speedBox->addItem(tr("140kHz"), StLinkUvscAdapterOptions::Speed_140kHz);
|
||||
m_speedBox->addItem(Tr::tr("9MHz"), StLinkUvscAdapterOptions::Speed_9MHz);
|
||||
m_speedBox->addItem(Tr::tr("4.5MHz"), StLinkUvscAdapterOptions::Speed_4_5MHz);
|
||||
m_speedBox->addItem(Tr::tr("2.25MHz"), StLinkUvscAdapterOptions::Speed_2_25MHz);
|
||||
m_speedBox->addItem(Tr::tr("1.12MHz"), StLinkUvscAdapterOptions::Speed_1_12MHz);
|
||||
m_speedBox->addItem(Tr::tr("560kHz"), StLinkUvscAdapterOptions::Speed_560kHz);
|
||||
m_speedBox->addItem(Tr::tr("280kHz"), StLinkUvscAdapterOptions::Speed_280kHz);
|
||||
m_speedBox->addItem(Tr::tr("140kHz"), StLinkUvscAdapterOptions::Speed_140kHz);
|
||||
} else if (port == StLinkUvscAdapterOptions::SWD) {
|
||||
m_speedBox->addItem(tr("4MHz"), StLinkUvscAdapterOptions::Speed_4MHz);
|
||||
m_speedBox->addItem(tr("1.8MHz"), StLinkUvscAdapterOptions::Speed_1_8MHz);
|
||||
m_speedBox->addItem(tr("950kHz"), StLinkUvscAdapterOptions::Speed_950kHz);
|
||||
m_speedBox->addItem(tr("480kHz"), StLinkUvscAdapterOptions::Speed_480kHz);
|
||||
m_speedBox->addItem(tr("240kHz"), StLinkUvscAdapterOptions::Speed_240kHz);
|
||||
m_speedBox->addItem(tr("125kHz"), StLinkUvscAdapterOptions::Speed_125kHz);
|
||||
m_speedBox->addItem(tr("100kHz"), StLinkUvscAdapterOptions::Speed_100kHz);
|
||||
m_speedBox->addItem(tr("50kHz"), StLinkUvscAdapterOptions::Speed_50kHz);
|
||||
m_speedBox->addItem(tr("25kHz"), StLinkUvscAdapterOptions::Speed_25kHz);
|
||||
m_speedBox->addItem(tr("15kHz"), StLinkUvscAdapterOptions::Speed_15kHz);
|
||||
m_speedBox->addItem(tr("5kHz"), StLinkUvscAdapterOptions::Speed_5kHz);
|
||||
m_speedBox->addItem(Tr::tr("4MHz"), StLinkUvscAdapterOptions::Speed_4MHz);
|
||||
m_speedBox->addItem(Tr::tr("1.8MHz"), StLinkUvscAdapterOptions::Speed_1_8MHz);
|
||||
m_speedBox->addItem(Tr::tr("950kHz"), StLinkUvscAdapterOptions::Speed_950kHz);
|
||||
m_speedBox->addItem(Tr::tr("480kHz"), StLinkUvscAdapterOptions::Speed_480kHz);
|
||||
m_speedBox->addItem(Tr::tr("240kHz"), StLinkUvscAdapterOptions::Speed_240kHz);
|
||||
m_speedBox->addItem(Tr::tr("125kHz"), StLinkUvscAdapterOptions::Speed_125kHz);
|
||||
m_speedBox->addItem(Tr::tr("100kHz"), StLinkUvscAdapterOptions::Speed_100kHz);
|
||||
m_speedBox->addItem(Tr::tr("50kHz"), StLinkUvscAdapterOptions::Speed_50kHz);
|
||||
m_speedBox->addItem(Tr::tr("25kHz"), StLinkUvscAdapterOptions::Speed_25kHz);
|
||||
m_speedBox->addItem(Tr::tr("15kHz"), StLinkUvscAdapterOptions::Speed_15kHz);
|
||||
m_speedBox->addItem(Tr::tr("5kHz"), StLinkUvscAdapterOptions::Speed_5kHz);
|
||||
}
|
||||
}
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace BareMetal
|
||||
} // BareMetal::Internal
|
||||
|
@@ -9,8 +9,7 @@ QT_BEGIN_NAMESPACE
|
||||
class QComboBox;
|
||||
QT_END_NAMESPACE
|
||||
|
||||
namespace BareMetal {
|
||||
namespace Internal {
|
||||
namespace BareMetal::Internal {
|
||||
|
||||
// StLinkUvscAdapterOptions
|
||||
|
||||
@@ -69,8 +68,6 @@ public:
|
||||
class StLinkUvscAdapterOptionsWidget;
|
||||
class StLinkUvscServerProviderConfigWidget final : public UvscServerProviderConfigWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit StLinkUvscServerProviderConfigWidget(StLinkUvscServerProvider *provider);
|
||||
|
||||
@@ -110,5 +107,4 @@ private:
|
||||
QComboBox *m_speedBox = nullptr;
|
||||
};
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace BareMetal
|
||||
} // BareMetal::Internal
|
||||
|
@@ -21,9 +21,7 @@ using namespace Debugger;
|
||||
using namespace ProjectExplorer;
|
||||
using namespace Utils;
|
||||
|
||||
namespace BareMetal {
|
||||
namespace Internal {
|
||||
namespace Uv {
|
||||
namespace BareMetal::Internal::Uv {
|
||||
|
||||
const char kProjectSchema[] = "2.1";
|
||||
|
||||
@@ -238,6 +236,4 @@ ProjectOptions::ProjectOptions(const UvscServerProvider *provider)
|
||||
m_debugOpt->appendProperty("uTrg", int(!useSimulator));
|
||||
}
|
||||
|
||||
} // namespace Uv
|
||||
} // namespace Internal
|
||||
} // namespace BareMetal
|
||||
} // namespace BareMetal::Internal::Uv
|
||||
|
@@ -10,8 +10,7 @@
|
||||
|
||||
namespace Debugger { class DebuggerRunTool; }
|
||||
|
||||
namespace BareMetal {
|
||||
namespace Internal {
|
||||
namespace BareMetal::Internal {
|
||||
|
||||
class UvscServerProvider;
|
||||
|
||||
@@ -49,6 +48,6 @@ protected:
|
||||
Gen::Xml::PropertyGroup *m_debugOpt = nullptr;
|
||||
};
|
||||
|
||||
} // namespace Uv
|
||||
} // namespace Internal
|
||||
} // namespace BareMetal
|
||||
} // Uv
|
||||
|
||||
} // BareMetal::Internal
|
||||
|
@@ -3,9 +3,7 @@
|
||||
|
||||
#include "uvprojectwriter.h"
|
||||
|
||||
namespace BareMetal {
|
||||
namespace Internal {
|
||||
namespace Uv {
|
||||
namespace BareMetal::Internal::Uv {
|
||||
|
||||
// ProjectWriter
|
||||
|
||||
@@ -51,6 +49,4 @@ void ProjectOptionsWriter::visitProjectOptionsEnd(
|
||||
writer()->writeEndElement();
|
||||
}
|
||||
|
||||
} // namespace Uv
|
||||
} // namespace Internal
|
||||
} // namespace BareMetal
|
||||
} // BareMetal::Internal::Uv
|
||||
|
@@ -5,9 +5,7 @@
|
||||
|
||||
#include "xmlprojectwriter.h"
|
||||
|
||||
namespace BareMetal {
|
||||
namespace Internal {
|
||||
namespace Uv {
|
||||
namespace BareMetal::Internal::Uv {
|
||||
|
||||
// ProjectWriter
|
||||
|
||||
@@ -35,6 +33,4 @@ private:
|
||||
void visitProjectOptionsEnd(const Gen::Xml::ProjectOptions *projectOptions) final;
|
||||
};
|
||||
|
||||
} // namespace Uv
|
||||
} // namespace Internal
|
||||
} // namespace BareMetal
|
||||
} // BareMetal::Internal::Uv
|
||||
|
@@ -1,15 +1,16 @@
|
||||
// Copyright (C) 2020 Denis Shienkov <denis.shienkov@gmail.com>
|
||||
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0
|
||||
|
||||
#include "uvscserverprovider.h"
|
||||
|
||||
#include "uvproject.h"
|
||||
#include "uvprojectwriter.h"
|
||||
#include "uvtargetdeviceviewer.h"
|
||||
#include "uvtargetdriverviewer.h"
|
||||
|
||||
#include "uvscserverprovider.h"
|
||||
|
||||
#include <baremetal/baremetaldebugsupport.h>
|
||||
#include <baremetal/baremetaldevice.h>
|
||||
#include <baremetal/baremetaltr.h>
|
||||
#include <baremetal/debugserverprovidermanager.h>
|
||||
|
||||
#include <debugger/debuggerkitinformation.h>
|
||||
@@ -30,8 +31,7 @@ using namespace Debugger;
|
||||
using namespace ProjectExplorer;
|
||||
using namespace Utils;
|
||||
|
||||
namespace BareMetal {
|
||||
namespace Internal {
|
||||
namespace BareMetal::Internal {
|
||||
|
||||
using namespace Uv;
|
||||
|
||||
@@ -174,10 +174,10 @@ bool UvscServerProvider::aboutToRun(DebuggerRunTool *runTool, QString &errorMess
|
||||
|
||||
const FilePath bin = exeAspect->executable;
|
||||
if (bin.isEmpty()) {
|
||||
errorMessage = BareMetalDebugSupport::tr("Cannot debug: Local executable is not set.");
|
||||
errorMessage = Tr::tr("Cannot debug: Local executable is not set.");
|
||||
return false;
|
||||
} else if (!bin.exists()) {
|
||||
errorMessage = BareMetalDebugSupport::tr(
|
||||
errorMessage = Tr::tr(
|
||||
"Cannot debug: Could not find executable for \"%1\".").arg(bin.toString());
|
||||
return false;
|
||||
}
|
||||
@@ -236,8 +236,7 @@ FilePath UvscServerProvider::projectFilePath(DebuggerRunTool *runTool, QString &
|
||||
Uv::ProjectWriter writer(&ofs);
|
||||
const Uv::Project project(this, runTool);
|
||||
if (!writer.write(&project)) {
|
||||
errorMessage = BareMetalDebugSupport::tr(
|
||||
"Unable to create a uVision project template.");
|
||||
errorMessage = Tr::tr("Unable to create a uVision project template.");
|
||||
return {};
|
||||
}
|
||||
return projectPath;
|
||||
@@ -262,16 +261,16 @@ UvscServerProviderConfigWidget::UvscServerProviderConfigWidget(UvscServerProvide
|
||||
: IDebugServerProviderConfigWidget(provider)
|
||||
{
|
||||
m_hostWidget = new HostWidget;
|
||||
m_mainLayout->addRow(tr("Host:"), m_hostWidget);
|
||||
m_mainLayout->addRow(Tr::tr("Host:"), m_hostWidget);
|
||||
m_toolsIniChooser = new PathChooser;
|
||||
m_toolsIniChooser->setExpectedKind(PathChooser::File);
|
||||
m_toolsIniChooser->setPromptDialogFilter("tools.ini");
|
||||
m_toolsIniChooser->setPromptDialogTitle(tr("Choose Keil Toolset Configuration File"));
|
||||
m_mainLayout->addRow(tr("Tools file path:"), m_toolsIniChooser);
|
||||
m_toolsIniChooser->setPromptDialogTitle(Tr::tr("Choose Keil Toolset Configuration File"));
|
||||
m_mainLayout->addRow(Tr::tr("Tools file path:"), m_toolsIniChooser);
|
||||
m_deviceSelector = new DeviceSelector;
|
||||
m_mainLayout->addRow(tr("Target device:"), m_deviceSelector);
|
||||
m_mainLayout->addRow(Tr::tr("Target device:"), m_deviceSelector);
|
||||
m_driverSelector = new DriverSelector(provider->supportedDrivers());
|
||||
m_mainLayout->addRow(tr("Target driver:"), m_driverSelector);
|
||||
m_mainLayout->addRow(Tr::tr("Target driver:"), m_driverSelector);
|
||||
|
||||
setFromProvider();
|
||||
|
||||
@@ -371,7 +370,8 @@ UvscServerProviderRunner::UvscServerProviderRunner(ProjectExplorer::RunControl *
|
||||
|
||||
void UvscServerProviderRunner::start()
|
||||
{
|
||||
const QString msg = RunControl::tr("Starting %1 ...").arg(m_process.commandLine().displayName());
|
||||
const QString msg = Tr::tr("Starting %1 ...")
|
||||
.arg(m_process.commandLine().displayName());
|
||||
appendMessage(msg, NormalMessageFormat);
|
||||
|
||||
m_process.start();
|
||||
@@ -382,5 +382,4 @@ void UvscServerProviderRunner::stop()
|
||||
m_process.terminate();
|
||||
}
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace BareMetal
|
||||
} // BareMetal::Internal
|
||||
|
@@ -28,8 +28,6 @@ class DriverSelector;
|
||||
|
||||
class UvscServerProvider : public IDebugServerProvider
|
||||
{
|
||||
Q_DECLARE_TR_FUNCTIONS(BareMetal::Internal::UvscServerProvider)
|
||||
|
||||
public:
|
||||
enum ToolsetNumber {
|
||||
UnknownToolsetNumber = -1,
|
||||
|
@@ -3,6 +3,8 @@
|
||||
|
||||
#include "uvtargetdevicemodel.h"
|
||||
|
||||
#include <baremetal/baremetaltr.h>
|
||||
|
||||
#include <utils/algorithm.h>
|
||||
|
||||
#include <QDirIterator>
|
||||
@@ -12,9 +14,7 @@
|
||||
|
||||
using namespace Utils;
|
||||
|
||||
namespace BareMetal {
|
||||
namespace Internal {
|
||||
namespace Uv {
|
||||
namespace BareMetal::Internal::Uv {
|
||||
|
||||
static QString extractPacksPath(const FilePath &toolsIniFile)
|
||||
{
|
||||
@@ -188,7 +188,7 @@ public:
|
||||
DeviceSelectionModel::DeviceSelectionModel(QObject *parent)
|
||||
: TreeModel<DeviceSelectionItem>(parent)
|
||||
{
|
||||
setHeader({tr("Name"), tr("Version"), tr("Vendor")});
|
||||
setHeader({Tr::tr("Name"), Tr::tr("Version"), Tr::tr("Vendor")});
|
||||
}
|
||||
|
||||
void DeviceSelectionModel::fillAllPacks(const FilePath &toolsIniFile)
|
||||
@@ -478,6 +478,4 @@ DeviceSelection DeviceSelectionView::buildSelection(const DeviceSelectionItem *i
|
||||
return selection;
|
||||
}
|
||||
|
||||
} // namespace Uv
|
||||
} // namespace Internal
|
||||
} // namespace BareMetal
|
||||
} // BareMetal::Internal::Uv
|
||||
|
@@ -13,9 +13,7 @@ QT_BEGIN_NAMESPACE
|
||||
class QXmlStreamReader;
|
||||
QT_END_NAMESPACE
|
||||
|
||||
namespace BareMetal {
|
||||
namespace Internal {
|
||||
namespace Uv {
|
||||
namespace BareMetal::Internal::Uv {
|
||||
|
||||
// DeviceSelectionModel
|
||||
|
||||
@@ -56,6 +54,4 @@ private:
|
||||
DeviceSelection buildSelection(const DeviceSelectionItem *item) const;
|
||||
};
|
||||
|
||||
} // namespace Uv
|
||||
} // namespace Internal
|
||||
} // namespace BareMetal
|
||||
} // BareMetal::Internal::Uv
|
||||
|
@@ -3,6 +3,8 @@
|
||||
|
||||
#include "uvtargetdeviceselection.h"
|
||||
|
||||
#include <baremetal/baremetaltr.h>
|
||||
|
||||
#include <QComboBox>
|
||||
#include <QDataWidgetMapper>
|
||||
#include <QGridLayout>
|
||||
@@ -11,9 +13,7 @@
|
||||
|
||||
using namespace Utils;
|
||||
|
||||
namespace BareMetal {
|
||||
namespace Internal {
|
||||
namespace Uv {
|
||||
namespace BareMetal::Internal::Uv {
|
||||
|
||||
// Software package data keys.
|
||||
constexpr char packageDescrKeyC[] = "PackageDescription";
|
||||
@@ -243,7 +243,7 @@ private:
|
||||
DeviceSelectionMemoryModel::DeviceSelectionMemoryModel(DeviceSelection &selection, QObject *parent)
|
||||
: TreeModel<TreeItem, DeviceSelectionMemoryItem>(parent), m_selection(selection)
|
||||
{
|
||||
setHeader({tr("ID"), tr("Start"), tr("Size")});
|
||||
setHeader({Tr::tr("ID"), Tr::tr("Start"), Tr::tr("Size")});
|
||||
refresh();
|
||||
}
|
||||
|
||||
@@ -347,7 +347,7 @@ DeviceSelectionAlgorithmModel::DeviceSelectionAlgorithmModel(DeviceSelection &se
|
||||
QObject *parent)
|
||||
: TreeModel<TreeItem, DeviceSelectionAlgorithmItem>(parent), m_selection(selection)
|
||||
{
|
||||
setHeader({tr("Name"), tr("FLASH Start"), tr("FLASH Size"), tr("RAM Start"), tr("RAM Size")});
|
||||
setHeader({Tr::tr("Name"), Tr::tr("FLASH Start"), Tr::tr("FLASH Size"), Tr::tr("RAM Start"), Tr::tr("RAM Size")});
|
||||
refresh();
|
||||
}
|
||||
|
||||
@@ -373,27 +373,27 @@ DeviceSelectionAlgorithmView::DeviceSelectionAlgorithmView(DeviceSelection &sele
|
||||
const auto layout = new QGridLayout;
|
||||
layout->setContentsMargins(0, 0, 0, 0);
|
||||
m_comboBox = new QComboBox;
|
||||
m_comboBox->setToolTip(tr("Algorithm path."));
|
||||
m_comboBox->setToolTip(Tr::tr("Algorithm path."));
|
||||
m_comboBox->setSizeAdjustPolicy(QComboBox::AdjustToContents);
|
||||
m_comboBox->setModel(model);
|
||||
layout->addWidget(m_comboBox, 0, 0, 1, 0);
|
||||
// Add FLASH area settings.
|
||||
const auto flashLabel = new QLabel(tr("FLASH:"));
|
||||
const auto flashLabel = new QLabel(Tr::tr("FLASH:"));
|
||||
layout->addWidget(flashLabel, 1, 0);
|
||||
const auto flashStartEdit = new QLineEdit;
|
||||
flashStartEdit->setToolTip(tr("Start address."));
|
||||
flashStartEdit->setToolTip(Tr::tr("Start address."));
|
||||
layout->addWidget(flashStartEdit, 1, 1);
|
||||
const auto flashSizeEdit = new QLineEdit;
|
||||
flashSizeEdit->setToolTip(tr("Size."));
|
||||
flashSizeEdit->setToolTip(Tr::tr("Size."));
|
||||
layout->addWidget(flashSizeEdit, 1, 2);
|
||||
// Add RAM area settings.
|
||||
const auto ramLabel = new QLabel(tr("RAM:"));
|
||||
const auto ramLabel = new QLabel(Tr::tr("RAM:"));
|
||||
layout->addWidget(ramLabel, 2, 0);
|
||||
const auto ramStartEdit = new QLineEdit;
|
||||
ramStartEdit->setToolTip(tr("Start address."));
|
||||
ramStartEdit->setToolTip(Tr::tr("Start address."));
|
||||
layout->addWidget(ramStartEdit, 2, 1);
|
||||
const auto ramSizeEdit = new QLineEdit;
|
||||
ramSizeEdit->setToolTip(tr("Size."));
|
||||
ramSizeEdit->setToolTip(Tr::tr("Size."));
|
||||
layout->addWidget(ramSizeEdit, 2, 2);
|
||||
|
||||
setLayout(layout);
|
||||
@@ -431,6 +431,4 @@ void DeviceSelectionAlgorithmView::refresh()
|
||||
qobject_cast<DeviceSelectionAlgorithmModel *>(m_comboBox->model())->refresh();
|
||||
}
|
||||
|
||||
} // namespace Uv
|
||||
} // namespace Internal
|
||||
} // namespace BareMetal
|
||||
} // BareMetal::Internal::Uv
|
||||
|
@@ -10,9 +10,7 @@ QT_BEGIN_NAMESPACE
|
||||
class QComboBox;
|
||||
QT_END_NAMESPACE
|
||||
|
||||
namespace BareMetal {
|
||||
namespace Internal {
|
||||
namespace Uv {
|
||||
namespace BareMetal::Internal::Uv {
|
||||
|
||||
// DeviceSelection
|
||||
|
||||
@@ -142,8 +140,6 @@ private:
|
||||
QComboBox *m_comboBox = nullptr;
|
||||
};
|
||||
|
||||
} // namespace Uv
|
||||
} // namespace Internal
|
||||
} // namespace BareMetal
|
||||
} // BareMetal::Internal::Uv
|
||||
|
||||
Q_DECLARE_METATYPE(BareMetal::Internal::Uv::DeviceSelection)
|
||||
|
@@ -1,9 +1,12 @@
|
||||
// Copyright (C) 2020 Denis Shienkov <denis.shienkov@gmail.com>
|
||||
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0
|
||||
|
||||
#include "uvtargetdeviceviewer.h"
|
||||
|
||||
#include "uvproject.h" // for buildPackageId()
|
||||
#include "uvtargetdevicemodel.h"
|
||||
#include "uvtargetdeviceviewer.h"
|
||||
|
||||
#include <baremetal/baremetaltr.h>
|
||||
|
||||
#include <utils/pathchooser.h>
|
||||
|
||||
@@ -16,9 +19,7 @@
|
||||
#include <QPushButton>
|
||||
#include <QVBoxLayout>
|
||||
|
||||
namespace BareMetal {
|
||||
namespace Internal {
|
||||
namespace Uv {
|
||||
namespace BareMetal::Internal::Uv {
|
||||
|
||||
// DeviceSelectorToolPanel
|
||||
|
||||
@@ -27,7 +28,7 @@ DeviceSelectorToolPanel::DeviceSelectorToolPanel(QWidget *parent)
|
||||
{
|
||||
const auto layout = new QHBoxLayout;
|
||||
layout->setContentsMargins(0, 0, 0, 0);
|
||||
const auto button = new QPushButton(tr("Manage..."));
|
||||
const auto button = new QPushButton(Tr::tr("Manage..."));
|
||||
layout->addWidget(button);
|
||||
setLayout(layout);
|
||||
connect(button, &QPushButton::clicked, this, &DeviceSelectorToolPanel::clicked);
|
||||
@@ -52,24 +53,24 @@ DeviceSelectorDetailsPanel::DeviceSelectorDetailsPanel(DeviceSelection &selectio
|
||||
const auto layout = new QFormLayout;
|
||||
m_vendorEdit = new QLineEdit;
|
||||
m_vendorEdit->setReadOnly(true);
|
||||
layout->addRow(tr("Vendor:"), m_vendorEdit);
|
||||
layout->addRow(Tr::tr("Vendor:"), m_vendorEdit);
|
||||
m_packageEdit = new QLineEdit;
|
||||
m_packageEdit->setReadOnly(true);
|
||||
layout->addRow(tr("Package:"), m_packageEdit);
|
||||
layout->addRow(Tr::tr("Package:"), m_packageEdit);
|
||||
m_descEdit = new QPlainTextEdit;
|
||||
m_descEdit->setReadOnly(true);
|
||||
layout->addRow(tr("Description:"), m_descEdit);
|
||||
layout->addRow(Tr::tr("Description:"), m_descEdit);
|
||||
m_memoryView = new DeviceSelectionMemoryView(m_selection);
|
||||
layout->addRow(tr("Memory:"), m_memoryView);
|
||||
layout->addRow(Tr::tr("Memory:"), m_memoryView);
|
||||
m_algorithmView = new DeviceSelectionAlgorithmView(m_selection);
|
||||
layout->addRow(tr("Flash algorithm:"), m_algorithmView);
|
||||
layout->addRow(Tr::tr("Flash algorithm:"), m_algorithmView);
|
||||
m_peripheralDescriptionFileChooser = new Utils::PathChooser(this);
|
||||
m_peripheralDescriptionFileChooser->setExpectedKind(Utils::PathChooser::File);
|
||||
m_peripheralDescriptionFileChooser->setPromptDialogFilter(
|
||||
tr("Peripheral description files (*.svd)"));
|
||||
Tr::tr("Peripheral description files (*.svd)"));
|
||||
m_peripheralDescriptionFileChooser->setPromptDialogTitle(
|
||||
tr("Select Peripheral Description File"));
|
||||
layout->addRow(tr("Peripheral description file:"),
|
||||
Tr::tr("Select Peripheral Description File"));
|
||||
layout->addRow(Tr::tr("Peripheral description file:"),
|
||||
m_peripheralDescriptionFileChooser);
|
||||
setLayout(layout);
|
||||
|
||||
@@ -142,8 +143,8 @@ Utils::FilePath DeviceSelector::toolsIniFile() const
|
||||
void DeviceSelector::setSelection(const DeviceSelection &selection)
|
||||
{
|
||||
m_selection = selection;
|
||||
const auto summary = m_selection.name.isEmpty()
|
||||
? tr("Target device not selected.") : m_selection.name;
|
||||
const QString summary = m_selection.name.isEmpty()
|
||||
? Tr::tr("Target device not selected.") : m_selection.name;
|
||||
setSummaryText(summary);
|
||||
setExpandable(!m_selection.name.isEmpty());
|
||||
|
||||
@@ -163,7 +164,7 @@ DeviceSelection DeviceSelector::selection() const
|
||||
DeviceSelectionDialog::DeviceSelectionDialog(const Utils::FilePath &toolsIniFile, QWidget *parent)
|
||||
: QDialog(parent), m_model(new DeviceSelectionModel(this)), m_view(new DeviceSelectionView(this))
|
||||
{
|
||||
setWindowTitle(tr("Available Target Devices"));
|
||||
setWindowTitle(Tr::tr("Available Target Devices"));
|
||||
|
||||
const auto layout = new QVBoxLayout;
|
||||
layout->setContentsMargins(0, 0, 0, 0);
|
||||
@@ -194,6 +195,4 @@ DeviceSelection DeviceSelectionDialog::selection() const
|
||||
return m_selection;
|
||||
}
|
||||
|
||||
} // namespace Uv
|
||||
} // namespace Internal
|
||||
} // namespace BareMetal
|
||||
} // BareMetal::Internal::Uv
|
||||
|
@@ -18,9 +18,7 @@ QT_END_NAMESPACE
|
||||
|
||||
namespace Utils { class PathChooser; }
|
||||
|
||||
namespace BareMetal {
|
||||
namespace Internal {
|
||||
namespace Uv {
|
||||
namespace BareMetal::Internal::Uv {
|
||||
|
||||
class DeviceSelectionModel;
|
||||
class DeviceSelectionView;
|
||||
@@ -108,6 +106,4 @@ private:
|
||||
DeviceSelectionView *m_view = nullptr;
|
||||
};
|
||||
|
||||
} // namespace Uv
|
||||
} // namespace Internal
|
||||
} // namespace BareMetal
|
||||
} // BareMetal::Internal::Uv
|
||||
|
@@ -3,14 +3,14 @@
|
||||
|
||||
#include "uvtargetdrivermodel.h"
|
||||
|
||||
#include <baremetal/baremetaltr.h>
|
||||
|
||||
#include <QFile>
|
||||
#include <QTextStream>
|
||||
|
||||
using namespace Utils;
|
||||
|
||||
namespace BareMetal {
|
||||
namespace Internal {
|
||||
namespace Uv {
|
||||
namespace BareMetal::Internal::Uv {
|
||||
|
||||
constexpr char cpuDllKey[] = "CPUDLL";
|
||||
constexpr char driverKey[] = "TDRV";
|
||||
@@ -106,7 +106,7 @@ public:
|
||||
DriverSelectionModel::DriverSelectionModel(QObject *parent)
|
||||
: TreeModel<DriverSelectionItem>(parent)
|
||||
{
|
||||
setHeader({tr("Path")});
|
||||
setHeader({Tr::tr("Path")});
|
||||
}
|
||||
|
||||
void DriverSelectionModel::fillDrivers(const FilePath &toolsIniFile,
|
||||
@@ -181,6 +181,4 @@ void DriverSelectionView::currentChanged(const QModelIndex ¤t, const QMode
|
||||
emit driverSelected(selection);
|
||||
}
|
||||
|
||||
} // namespace Uv
|
||||
} // namespace Internal
|
||||
} // namespace BareMetal
|
||||
} // BareMetal::Internal::Uv
|
||||
|
@@ -9,9 +9,7 @@
|
||||
#include <utils/fileutils.h>
|
||||
#include <utils/treemodel.h>
|
||||
|
||||
namespace BareMetal {
|
||||
namespace Internal {
|
||||
namespace Uv {
|
||||
namespace BareMetal::Internal::Uv {
|
||||
|
||||
// DriverSelectionModel
|
||||
|
||||
@@ -41,6 +39,4 @@ private:
|
||||
void currentChanged(const QModelIndex ¤t, const QModelIndex &previous) final;
|
||||
};
|
||||
|
||||
} // namespace Uv
|
||||
} // namespace Internal
|
||||
} // namespace BareMetal
|
||||
} // BareMetal::Internal::Uv
|
||||
|
@@ -3,15 +3,15 @@
|
||||
|
||||
#include "uvtargetdriverselection.h"
|
||||
|
||||
#include <baremetal/baremetaltr.h>
|
||||
|
||||
#include <QComboBox>
|
||||
#include <QHBoxLayout>
|
||||
#include <QLineEdit>
|
||||
|
||||
using namespace Utils;
|
||||
|
||||
namespace BareMetal {
|
||||
namespace Internal {
|
||||
namespace Uv {
|
||||
namespace BareMetal::Internal::Uv {
|
||||
|
||||
// Driver data keys.
|
||||
constexpr char driverIndexKeyC[] = "DriverIndex";
|
||||
@@ -79,7 +79,7 @@ private:
|
||||
DriverSelectionCpuDllModel::DriverSelectionCpuDllModel(DriverSelection &selection, QObject *parent)
|
||||
: TreeModel<TreeItem, DriverSelectionCpuDllItem>(parent), m_selection(selection)
|
||||
{
|
||||
setHeader({tr("Name")});
|
||||
setHeader({Tr::tr("Name")});
|
||||
refresh();
|
||||
}
|
||||
|
||||
@@ -104,7 +104,7 @@ DriverSelectionCpuDllView::DriverSelectionCpuDllView(DriverSelection &selection,
|
||||
const auto layout = new QHBoxLayout;
|
||||
layout->setContentsMargins(0, 0, 0, 0);
|
||||
m_comboBox = new QComboBox;
|
||||
m_comboBox->setToolTip(tr("Debugger CPU library (depends on a CPU core)."));
|
||||
m_comboBox->setToolTip(Tr::tr("Debugger CPU library (depends on a CPU core)."));
|
||||
m_comboBox->setSizeAdjustPolicy(QComboBox::AdjustToContents);
|
||||
m_comboBox->setModel(model);
|
||||
layout->addWidget(m_comboBox);
|
||||
@@ -125,6 +125,4 @@ void DriverSelectionCpuDllView::refresh()
|
||||
qobject_cast<DriverSelectionCpuDllModel *>(m_comboBox->model())->refresh();
|
||||
}
|
||||
|
||||
} // namespace Uv
|
||||
} // namespace Internal
|
||||
} // namespace BareMetal
|
||||
} // BareMetal::Internal::Uv
|
||||
|
@@ -10,9 +10,7 @@ QT_BEGIN_NAMESPACE
|
||||
class QComboBox;
|
||||
QT_END_NAMESPACE
|
||||
|
||||
namespace BareMetal {
|
||||
namespace Internal {
|
||||
namespace Uv {
|
||||
namespace BareMetal::Internal::Uv {
|
||||
|
||||
// DriverSelection
|
||||
|
||||
@@ -65,8 +63,6 @@ private:
|
||||
QComboBox *m_comboBox = nullptr;
|
||||
};
|
||||
|
||||
} // namespace Uv
|
||||
} // namespace Internal
|
||||
} // namespace BareMetal
|
||||
} // BareMetal::Internal::Uv
|
||||
|
||||
Q_DECLARE_METATYPE(BareMetal::Internal::Uv::DriverSelection)
|
||||
|
@@ -1,10 +1,11 @@
|
||||
// Copyright (C) 2020 Denis Shienkov <denis.shienkov@gmail.com>
|
||||
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0
|
||||
|
||||
#include "uvproject.h" // for targetUVisionPath()
|
||||
#include "uvtargetdrivermodel.h"
|
||||
#include "uvtargetdriverviewer.h"
|
||||
|
||||
#include <baremetal/baremetaltr.h>
|
||||
|
||||
#include <QDialogButtonBox>
|
||||
#include <QFormLayout>
|
||||
#include <QHBoxLayout>
|
||||
@@ -14,9 +15,7 @@
|
||||
#include <QPushButton>
|
||||
#include <QVBoxLayout>
|
||||
|
||||
namespace BareMetal {
|
||||
namespace Internal {
|
||||
namespace Uv {
|
||||
namespace BareMetal::Internal::Uv {
|
||||
|
||||
// DriverSelectorToolPanel
|
||||
|
||||
@@ -25,7 +24,7 @@ DriverSelectorToolPanel::DriverSelectorToolPanel(QWidget *parent)
|
||||
{
|
||||
const auto layout = new QHBoxLayout;
|
||||
layout->setContentsMargins(0, 0, 0, 0);
|
||||
const auto button = new QPushButton(tr("Manage..."));
|
||||
const auto button = new QPushButton(Tr::tr("Manage..."));
|
||||
layout->addWidget(button);
|
||||
setLayout(layout);
|
||||
connect(button, &QPushButton::clicked, this, &DriverSelectorToolPanel::clicked);
|
||||
@@ -49,10 +48,10 @@ DriverSelectorDetailsPanel::DriverSelectorDetailsPanel(DriverSelection &selectio
|
||||
const auto layout = new QFormLayout;
|
||||
m_dllEdit = new QLineEdit;;
|
||||
m_dllEdit->setReadOnly(true);
|
||||
m_dllEdit->setToolTip(tr("Debugger driver library."));
|
||||
layout->addRow(tr("Driver library:"), m_dllEdit);
|
||||
m_dllEdit->setToolTip(Tr::tr("Debugger driver library."));
|
||||
layout->addRow(Tr::tr("Driver library:"), m_dllEdit);
|
||||
m_cpuDllView = new DriverSelectionCpuDllView(m_selection);
|
||||
layout->addRow(tr("CPU library:"), m_cpuDllView);
|
||||
layout->addRow(Tr::tr("CPU library:"), m_cpuDllView);
|
||||
setLayout(layout);
|
||||
|
||||
refresh();
|
||||
@@ -111,7 +110,7 @@ void DriverSelector::setSelection(const DriverSelection &selection)
|
||||
{
|
||||
m_selection = selection;
|
||||
const auto summary = m_selection.name.isEmpty()
|
||||
? tr("Target driver not selected.") : m_selection.name;
|
||||
? Tr::tr("Target driver not selected.") : m_selection.name;
|
||||
setSummaryText(summary);
|
||||
setExpandable(!m_selection.name.isEmpty());
|
||||
|
||||
@@ -134,7 +133,7 @@ DriverSelectionDialog::DriverSelectionDialog(const Utils::FilePath &toolsIniFile
|
||||
: QDialog(parent), m_model(new DriverSelectionModel(this)),
|
||||
m_view(new DriverSelectionView(this))
|
||||
{
|
||||
setWindowTitle(tr("Available Target Drivers"));
|
||||
setWindowTitle(Tr::tr("Available Target Drivers"));
|
||||
|
||||
const auto layout = new QVBoxLayout;
|
||||
layout->setContentsMargins(0, 0, 0, 0);
|
||||
@@ -165,6 +164,4 @@ DriverSelection DriverSelectionDialog::selection() const
|
||||
return m_selection;
|
||||
}
|
||||
|
||||
} // namespace Uv
|
||||
} // namespace Internal
|
||||
} // namespace BareMetal
|
||||
} // BareMetal::Internal::Uv
|
||||
|
@@ -15,9 +15,7 @@ QT_BEGIN_NAMESPACE
|
||||
class QLineEdit;
|
||||
QT_END_NAMESPACE
|
||||
|
||||
namespace BareMetal {
|
||||
namespace Internal {
|
||||
namespace Uv {
|
||||
namespace BareMetal::Internal::Uv {
|
||||
|
||||
class DriverSelectionModel;
|
||||
class DriverSelectionView;
|
||||
@@ -102,6 +100,4 @@ private:
|
||||
DriverSelectionView *m_view = nullptr;
|
||||
};
|
||||
|
||||
} // namespace Uv
|
||||
} // namespace Internal
|
||||
} // namespace BareMetal
|
||||
} // BareMetal::Internal::Uv
|
||||
|
@@ -5,9 +5,7 @@
|
||||
|
||||
#include <QXmlStreamAttribute>
|
||||
|
||||
namespace BareMetal {
|
||||
namespace Gen {
|
||||
namespace Xml {
|
||||
namespace BareMetal::Gen::Xml {
|
||||
|
||||
class Project;
|
||||
class ProjectOptions;
|
||||
@@ -34,6 +32,4 @@ public:
|
||||
virtual void visitPropertyGroupEnd(const PropertyGroup *propertyGroup) = 0;
|
||||
};
|
||||
|
||||
} // namespace Xml
|
||||
} // namespace Gen
|
||||
} // namespace BareMetal
|
||||
} // BareMetal::Gen::Xml
|
||||
|
@@ -4,9 +4,7 @@
|
||||
#include "xmlnodevisitor.h"
|
||||
#include "xmlproject.h"
|
||||
|
||||
namespace BareMetal {
|
||||
namespace Gen {
|
||||
namespace Xml {
|
||||
namespace BareMetal::Gen::Xml {
|
||||
|
||||
// Project
|
||||
|
||||
@@ -32,6 +30,4 @@ void ProjectOptions::accept(INodeVisitor *visitor) const
|
||||
visitor->visitProjectOptionsEnd(this);
|
||||
}
|
||||
|
||||
} // namespace Xml
|
||||
} // namespace Gen
|
||||
} // namespace BareMetal
|
||||
} // BareMetal::Gen::Xml
|
||||
|
@@ -7,9 +7,7 @@
|
||||
|
||||
#include <memory>
|
||||
|
||||
namespace BareMetal {
|
||||
namespace Gen {
|
||||
namespace Xml {
|
||||
namespace BareMetal::Gen::Xml {
|
||||
|
||||
// Project
|
||||
|
||||
@@ -27,6 +25,4 @@ public:
|
||||
void accept(INodeVisitor *visitor) const final;
|
||||
};
|
||||
|
||||
} // namespace Xml
|
||||
} // namespace Gen
|
||||
} // namespace BareMetal
|
||||
} // BareMetal::Gen::Xml
|
||||
|
@@ -8,9 +8,7 @@
|
||||
|
||||
#include <ostream>
|
||||
|
||||
namespace BareMetal {
|
||||
namespace Gen {
|
||||
namespace Xml {
|
||||
namespace BareMetal::Gen::Xml {
|
||||
|
||||
// ProjectWriter
|
||||
|
||||
@@ -114,6 +112,4 @@ QXmlStreamWriter *ProjectOptionsWriter::writer() const
|
||||
return m_writer.get();
|
||||
}
|
||||
|
||||
} // namespace Xml
|
||||
} // namespace Gen
|
||||
} // namespace BareMetal
|
||||
} // BareMetal::Gen::Xml
|
||||
|
@@ -7,9 +7,7 @@
|
||||
|
||||
#include <memory>
|
||||
|
||||
namespace BareMetal {
|
||||
namespace Gen {
|
||||
namespace Xml {
|
||||
namespace BareMetal::Gen::Xml {
|
||||
|
||||
// ProjectWriter
|
||||
|
||||
@@ -59,6 +57,4 @@ private:
|
||||
std::unique_ptr<QXmlStreamWriter> m_writer;
|
||||
};
|
||||
|
||||
} // namespace Xml
|
||||
} // namespace Gen
|
||||
} // namespace BareMetal
|
||||
} // BareMetal::Gen::Xml
|
||||
|
@@ -4,9 +4,7 @@
|
||||
#include "xmlnodevisitor.h"
|
||||
#include "xmlproperty.h"
|
||||
|
||||
namespace BareMetal {
|
||||
namespace Gen {
|
||||
namespace Xml {
|
||||
namespace BareMetal::Gen::Xml {
|
||||
|
||||
Property::Property(QByteArray name, QVariant value)
|
||||
{
|
||||
@@ -35,6 +33,4 @@ void Property::accept(INodeVisitor *visitor) const
|
||||
visitor->visitPropertyEnd(this);
|
||||
}
|
||||
|
||||
} // namespace Xml
|
||||
} // namespace Gen
|
||||
} // namespace BareMetal
|
||||
} // BareMetal::Gen::Xml
|
||||
|
@@ -7,9 +7,7 @@
|
||||
|
||||
#include <memory>
|
||||
|
||||
namespace BareMetal {
|
||||
namespace Gen {
|
||||
namespace Xml {
|
||||
namespace BareMetal::Gen::Xml {
|
||||
|
||||
class INodeVisitor;
|
||||
|
||||
@@ -55,6 +53,4 @@ private:
|
||||
std::vector<std::unique_ptr<Property>> m_children;
|
||||
};
|
||||
|
||||
} // namespace Xml
|
||||
} // namespace Gen
|
||||
} // namespace BareMetal
|
||||
} // BareMetal::Gen::Xml
|
||||
|
@@ -4,9 +4,7 @@
|
||||
#include "xmlnodevisitor.h"
|
||||
#include "xmlpropertygroup.h"
|
||||
|
||||
namespace BareMetal {
|
||||
namespace Gen {
|
||||
namespace Xml {
|
||||
namespace BareMetal::Gen::Xml {
|
||||
|
||||
PropertyGroup::PropertyGroup(QByteArray name)
|
||||
{
|
||||
@@ -28,6 +26,4 @@ void PropertyGroup::accept(INodeVisitor *visitor) const
|
||||
visitor->visitPropertyGroupEnd(this);
|
||||
}
|
||||
|
||||
} // namespace Xml
|
||||
} // namespace Gen
|
||||
} // namespace BareMetal
|
||||
} // BareMetal::Gen::Xml
|
||||
|
@@ -11,8 +11,7 @@
|
||||
using namespace ProjectExplorer;
|
||||
using namespace Utils;
|
||||
|
||||
namespace BareMetal {
|
||||
namespace Internal {
|
||||
namespace BareMetal::Internal {
|
||||
|
||||
// Helpers:
|
||||
|
||||
@@ -222,8 +221,7 @@ void IarParser::flush()
|
||||
m_lines = 0;
|
||||
}
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace BareMetal
|
||||
} // BareMetal::Internal
|
||||
|
||||
// Unit tests:
|
||||
|
||||
|
@@ -6,15 +6,10 @@
|
||||
#include <projectexplorer/ioutputparser.h>
|
||||
#include <projectexplorer/task.h>
|
||||
|
||||
namespace BareMetal {
|
||||
namespace Internal {
|
||||
|
||||
// IarParser
|
||||
namespace BareMetal::Internal {
|
||||
|
||||
class IarParser final : public ProjectExplorer::OutputTaskParser
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit IarParser();
|
||||
static Utils::Id id();
|
||||
@@ -43,5 +38,4 @@ private:
|
||||
QStringList m_descriptionParts;
|
||||
};
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace BareMetal
|
||||
} // BareMetal::Internal
|
||||
|
@@ -1,11 +1,12 @@
|
||||
// Copyright (C) 2019 Denis Shienkov <denis.shienkov@gmail.com>
|
||||
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0
|
||||
|
||||
#include "baremetalconstants.h"
|
||||
|
||||
#include "iarewparser.h"
|
||||
#include "iarewtoolchain.h"
|
||||
|
||||
#include "baremetalconstants.h"
|
||||
#include "baremetaltr.h"
|
||||
#include "iarewparser.h"
|
||||
|
||||
#include <projectexplorer/abiwidget.h>
|
||||
#include <projectexplorer/projectexplorerconstants.h>
|
||||
#include <projectexplorer/projectmacro.h>
|
||||
@@ -30,8 +31,7 @@
|
||||
using namespace ProjectExplorer;
|
||||
using namespace Utils;
|
||||
|
||||
namespace BareMetal {
|
||||
namespace Internal {
|
||||
namespace BareMetal::Internal {
|
||||
|
||||
// Helpers:
|
||||
|
||||
@@ -259,7 +259,7 @@ static QString buildDisplayName(Abi::Architecture arch, Utils::Id language,
|
||||
{
|
||||
const auto archName = Abi::toString(arch);
|
||||
const auto langName = ToolChainManager::displayNameOfLanguageId(language);
|
||||
return IarToolChain::tr("IAREW %1 (%2, %3)").arg(version, langName, archName);
|
||||
return Tr::tr("IAREW %1 (%2, %3)").arg(version, langName, archName);
|
||||
}
|
||||
|
||||
// IarToolChain
|
||||
@@ -267,7 +267,7 @@ static QString buildDisplayName(Abi::Architecture arch, Utils::Id language,
|
||||
IarToolChain::IarToolChain() :
|
||||
ToolChain(Constants::IAREW_TOOLCHAIN_TYPEID)
|
||||
{
|
||||
setTypeDisplayName(Internal::IarToolChain::tr("IAREW"));
|
||||
setTypeDisplayName(Tr::tr("IAREW"));
|
||||
setTargetAbiKey("TargetAbi");
|
||||
setCompilerCommandKey("CompilerPath");
|
||||
}
|
||||
@@ -401,7 +401,7 @@ FilePath IarToolChain::makeCommand(const Environment &env) const
|
||||
|
||||
IarToolChainFactory::IarToolChainFactory()
|
||||
{
|
||||
setDisplayName(IarToolChain::tr("IAREW"));
|
||||
setDisplayName(Tr::tr("IAREW"));
|
||||
setSupportedToolChainType(Constants::IAREW_TOOLCHAIN_TYPEID);
|
||||
setSupportedLanguages({ProjectExplorer::Constants::C_LANGUAGE_ID,
|
||||
ProjectExplorer::Constants::CXX_LANGUAGE_ID});
|
||||
@@ -545,11 +545,11 @@ IarToolChainConfigWidget::IarToolChainConfigWidget(IarToolChain *tc) :
|
||||
{
|
||||
m_compilerCommand->setExpectedKind(PathChooser::ExistingCommand);
|
||||
m_compilerCommand->setHistoryCompleter("PE.IAREW.Command.History");
|
||||
m_mainLayout->addRow(tr("&Compiler path:"), m_compilerCommand);
|
||||
m_mainLayout->addRow(Tr::tr("&Compiler path:"), m_compilerCommand);
|
||||
m_platformCodeGenFlagsLineEdit = new QLineEdit(this);
|
||||
m_platformCodeGenFlagsLineEdit->setText(ProcessArgs::joinArgs(tc->extraCodeModelFlags()));
|
||||
m_mainLayout->addRow(tr("Platform codegen flags:"), m_platformCodeGenFlagsLineEdit);
|
||||
m_mainLayout->addRow(tr("&ABI:"), m_abiWidget);
|
||||
m_mainLayout->addRow(Tr::tr("Platform codegen flags:"), m_platformCodeGenFlagsLineEdit);
|
||||
m_mainLayout->addRow(Tr::tr("&ABI:"), m_abiWidget);
|
||||
|
||||
m_abiWidget->setEnabled(false);
|
||||
|
||||
@@ -639,5 +639,4 @@ void IarToolChainConfigWidget::handlePlatformCodeGenFlagsChange()
|
||||
handleCompilerCommandChange();
|
||||
}
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace BareMetal
|
||||
} // BareMetal::Internal
|
||||
|
@@ -21,15 +21,12 @@ class PathChooser;
|
||||
|
||||
namespace ProjectExplorer { class AbiWidget; }
|
||||
|
||||
namespace BareMetal {
|
||||
namespace Internal {
|
||||
namespace BareMetal::Internal {
|
||||
|
||||
// IarToolChain
|
||||
|
||||
class IarToolChain final : public ProjectExplorer::ToolChain
|
||||
{
|
||||
Q_DECLARE_TR_FUNCTIONS(IarToolChain)
|
||||
|
||||
public:
|
||||
MacroInspectionRunner createMacroInspectionRunner() const final;
|
||||
|
||||
@@ -105,5 +102,4 @@ private:
|
||||
ProjectExplorer::Macros m_macros;
|
||||
};
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace BareMetal
|
||||
} // BareMetal::Internal
|
||||
|
@@ -1,14 +1,15 @@
|
||||
// Copyright (C) 2019 Denis Shienkov <denis.shienkov@gmail.com>
|
||||
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0
|
||||
|
||||
#include "baremetaldevice.h"
|
||||
#include "debugserverprovidermanager.h"
|
||||
#include "idebugserverprovider.h"
|
||||
|
||||
#include "baremetaldevice.h"
|
||||
#include "baremetaltr.h"
|
||||
#include "debugserverprovidermanager.h"
|
||||
|
||||
#include <utils/environment.h>
|
||||
#include <utils/qtcassert.h>
|
||||
|
||||
#include <QCoreApplication>
|
||||
#include <QFormLayout>
|
||||
#include <QLabel>
|
||||
#include <QLineEdit>
|
||||
@@ -18,8 +19,7 @@
|
||||
using namespace Debugger;
|
||||
using namespace ProjectExplorer;
|
||||
|
||||
namespace BareMetal {
|
||||
namespace Internal {
|
||||
namespace BareMetal::Internal {
|
||||
|
||||
const char idKeyC[] = "Id";
|
||||
const char displayNameKeyC[] = "DisplayName";
|
||||
@@ -255,8 +255,8 @@ IDebugServerProviderConfigWidget::IDebugServerProviderConfigWidget(
|
||||
m_mainLayout->setFieldGrowthPolicy(QFormLayout::ExpandingFieldsGrow);
|
||||
|
||||
m_nameLineEdit = new QLineEdit(this);
|
||||
m_nameLineEdit->setToolTip(tr("Enter the name of the debugger server provider."));
|
||||
m_mainLayout->addRow(tr("Name:"), m_nameLineEdit);
|
||||
m_nameLineEdit->setToolTip(Tr::tr("Enter the name of the debugger server provider."));
|
||||
m_mainLayout->addRow(Tr::tr("Name:"), m_nameLineEdit);
|
||||
|
||||
setFromProvider();
|
||||
|
||||
@@ -315,11 +315,11 @@ HostWidget::HostWidget(QWidget *parent)
|
||||
: QWidget(parent)
|
||||
{
|
||||
m_hostLineEdit = new QLineEdit(this);
|
||||
m_hostLineEdit->setToolTip(tr("Enter TCP/IP hostname of the debug server, "
|
||||
m_hostLineEdit->setToolTip(Tr::tr("Enter TCP/IP hostname of the debug server, "
|
||||
"like \"localhost\" or \"192.0.2.1\"."));
|
||||
m_portSpinBox = new QSpinBox(this);
|
||||
m_portSpinBox->setRange(0, 65535);
|
||||
m_portSpinBox->setToolTip(tr("Enter TCP/IP port which will be listened by "
|
||||
m_portSpinBox->setToolTip(Tr::tr("Enter TCP/IP port which will be listened by "
|
||||
"the debug server."));
|
||||
const auto layout = new QHBoxLayout(this);
|
||||
layout->setContentsMargins(0, 0, 0, 0);
|
||||
@@ -345,5 +345,4 @@ QUrl HostWidget::channel() const
|
||||
return url;
|
||||
}
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace BareMetal
|
||||
} // BareMetal::Internal
|
||||
|
@@ -11,8 +11,7 @@
|
||||
using namespace ProjectExplorer;
|
||||
using namespace Utils;
|
||||
|
||||
namespace BareMetal {
|
||||
namespace Internal {
|
||||
namespace BareMetal::Internal {
|
||||
|
||||
// Helpers:
|
||||
|
||||
@@ -243,8 +242,7 @@ void KeilParser::flush()
|
||||
m_lines = 0;
|
||||
}
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace BareMetal
|
||||
} // BareMetal::Internal
|
||||
|
||||
// Unit tests:
|
||||
|
||||
@@ -253,8 +251,7 @@ void KeilParser::flush()
|
||||
#include <projectexplorer/outputparser_test.h>
|
||||
#include <QTest>
|
||||
|
||||
namespace BareMetal {
|
||||
namespace Internal {
|
||||
namespace BareMetal::Internal {
|
||||
|
||||
void BareMetalPlugin::testKeilOutputParsers_data()
|
||||
{
|
||||
@@ -523,7 +520,6 @@ void BareMetalPlugin::testKeilOutputParsers()
|
||||
outputLines);
|
||||
}
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace BareMetal
|
||||
} // BareMetal::Internal
|
||||
|
||||
#endif // WITH_TESTS
|
||||
|
@@ -6,15 +6,10 @@
|
||||
#include <projectexplorer/ioutputparser.h>
|
||||
#include <projectexplorer/task.h>
|
||||
|
||||
namespace BareMetal {
|
||||
namespace Internal {
|
||||
|
||||
// KeilParser
|
||||
namespace BareMetal::Internal {
|
||||
|
||||
class KeilParser final : public ProjectExplorer::OutputTaskParser
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit KeilParser();
|
||||
static Utils::Id id();
|
||||
@@ -40,5 +35,4 @@ private:
|
||||
QStringList m_snippets;
|
||||
};
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace BareMetal
|
||||
} // BareMetal::Internal
|
||||
|
@@ -3,6 +3,7 @@
|
||||
|
||||
#include "baremetalconstants.h"
|
||||
|
||||
#include "baremetaltr.h"
|
||||
#include "keilparser.h"
|
||||
#include "keiltoolchain.h"
|
||||
|
||||
@@ -32,8 +33,7 @@
|
||||
using namespace ProjectExplorer;
|
||||
using namespace Utils;
|
||||
|
||||
namespace BareMetal {
|
||||
namespace Internal {
|
||||
namespace BareMetal::Internal {
|
||||
|
||||
// Helpers:
|
||||
|
||||
@@ -373,7 +373,7 @@ static Abi::BinaryFormat guessFormat(Abi::Architecture arch)
|
||||
|
||||
static Abi guessAbi(const Macros ¯os)
|
||||
{
|
||||
const auto arch = guessArchitecture(macros);
|
||||
const Abi::Architecture arch = guessArchitecture(macros);
|
||||
return {arch, Abi::OS::BareMetalOS, Abi::OSFlavor::GenericFlavor,
|
||||
guessFormat(arch), guessWordWidth(macros, arch)};
|
||||
}
|
||||
@@ -381,10 +381,9 @@ static Abi guessAbi(const Macros ¯os)
|
||||
static QString buildDisplayName(Abi::Architecture arch, Utils::Id language,
|
||||
const QString &version)
|
||||
{
|
||||
const auto archName = Abi::toString(arch);
|
||||
const auto langName = ToolChainManager::displayNameOfLanguageId(language);
|
||||
return KeilToolChain::tr("KEIL %1 (%2, %3)")
|
||||
.arg(version, langName, archName);
|
||||
const QString archName = Abi::toString(arch);
|
||||
const QString langName = ToolChainManager::displayNameOfLanguageId(language);
|
||||
return Tr::tr("KEIL %1 (%2, %3)").arg(version, langName, archName);
|
||||
}
|
||||
|
||||
static void addDefaultCpuArgs(const FilePath &compiler, QStringList &extraArgs)
|
||||
@@ -406,7 +405,7 @@ static void addDefaultCpuArgs(const FilePath &compiler, QStringList &extraArgs)
|
||||
KeilToolChain::KeilToolChain() :
|
||||
ToolChain(Constants::KEIL_TOOLCHAIN_TYPEID)
|
||||
{
|
||||
setTypeDisplayName(tr("KEIL"));
|
||||
setTypeDisplayName(Tr::tr("KEIL"));
|
||||
setTargetAbiKey("TargetAbi");
|
||||
setCompilerCommandKey("CompilerPath");
|
||||
}
|
||||
@@ -527,7 +526,7 @@ FilePath KeilToolChain::makeCommand(const Environment &env) const
|
||||
|
||||
KeilToolChainFactory::KeilToolChainFactory()
|
||||
{
|
||||
setDisplayName(KeilToolChain::tr("KEIL"));
|
||||
setDisplayName(Tr::tr("KEIL"));
|
||||
setSupportedToolChainType(Constants::KEIL_TOOLCHAIN_TYPEID);
|
||||
setSupportedLanguages({ProjectExplorer::Constants::C_LANGUAGE_ID,
|
||||
ProjectExplorer::Constants::CXX_LANGUAGE_ID});
|
||||
@@ -701,11 +700,11 @@ KeilToolChainConfigWidget::KeilToolChainConfigWidget(KeilToolChain *tc) :
|
||||
{
|
||||
m_compilerCommand->setExpectedKind(PathChooser::ExistingCommand);
|
||||
m_compilerCommand->setHistoryCompleter("PE.KEIL.Command.History");
|
||||
m_mainLayout->addRow(tr("&Compiler path:"), m_compilerCommand);
|
||||
m_mainLayout->addRow(Tr::tr("&Compiler path:"), m_compilerCommand);
|
||||
m_platformCodeGenFlagsLineEdit = new QLineEdit(this);
|
||||
m_platformCodeGenFlagsLineEdit->setText(ProcessArgs::joinArgs(tc->extraCodeModelFlags()));
|
||||
m_mainLayout->addRow(tr("Platform codegen flags:"), m_platformCodeGenFlagsLineEdit);
|
||||
m_mainLayout->addRow(tr("&ABI:"), m_abiWidget);
|
||||
m_mainLayout->addRow(Tr::tr("Platform codegen flags:"), m_platformCodeGenFlagsLineEdit);
|
||||
m_mainLayout->addRow(Tr::tr("&ABI:"), m_abiWidget);
|
||||
|
||||
m_abiWidget->setEnabled(false);
|
||||
|
||||
@@ -798,5 +797,4 @@ void KeilToolChainConfigWidget::handlePlatformCodeGenFlagsChange()
|
||||
handleCompilerCommandChange();
|
||||
}
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace BareMetal
|
||||
} // BareMetal::Internal
|
||||
|
@@ -14,22 +14,16 @@ class QPushButton;
|
||||
class QTextEdit;
|
||||
QT_END_NAMESPACE
|
||||
|
||||
namespace Utils {
|
||||
class FilePath;
|
||||
class PathChooser;
|
||||
}
|
||||
namespace Utils { class PathChooser; }
|
||||
|
||||
namespace ProjectExplorer { class AbiWidget; }
|
||||
|
||||
namespace BareMetal {
|
||||
namespace Internal {
|
||||
namespace BareMetal::Internal {
|
||||
|
||||
// KeilToolChain
|
||||
|
||||
class KeilToolChain final : public ProjectExplorer::ToolChain
|
||||
{
|
||||
Q_DECLARE_TR_FUNCTIONS(KeilToolChain)
|
||||
|
||||
public:
|
||||
MacroInspectionRunner createMacroInspectionRunner() const final;
|
||||
|
||||
@@ -83,8 +77,6 @@ private:
|
||||
|
||||
class KeilToolChainConfigWidget final : public ProjectExplorer::ToolChainConfigWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit KeilToolChainConfigWidget(KeilToolChain *tc);
|
||||
|
||||
@@ -104,5 +96,4 @@ private:
|
||||
ProjectExplorer::Macros m_macros;
|
||||
};
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace BareMetal
|
||||
} // BareMetal::Internal
|
||||
|
@@ -11,8 +11,7 @@
|
||||
using namespace ProjectExplorer;
|
||||
using namespace Utils;
|
||||
|
||||
namespace BareMetal {
|
||||
namespace Internal {
|
||||
namespace BareMetal::Internal {
|
||||
|
||||
// Helpers:
|
||||
|
||||
@@ -137,8 +136,7 @@ void SdccParser::flush()
|
||||
m_lines = 0;
|
||||
}
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace BareMetal
|
||||
} // BareMetal::Internal
|
||||
|
||||
// Unit tests:
|
||||
|
||||
@@ -147,8 +145,7 @@ void SdccParser::flush()
|
||||
#include <projectexplorer/outputparser_test.h>
|
||||
#include <QTest>
|
||||
|
||||
namespace BareMetal {
|
||||
namespace Internal {
|
||||
namespace BareMetal::Internal {
|
||||
|
||||
void BareMetalPlugin::testSdccOutputParsers_data()
|
||||
{
|
||||
@@ -310,7 +307,6 @@ void BareMetalPlugin::testSdccOutputParsers()
|
||||
outputLines);
|
||||
}
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace BareMetal
|
||||
} // BareMetal::Internal
|
||||
|
||||
#endif // WITH_TESTS
|
||||
|
@@ -6,15 +6,10 @@
|
||||
#include <projectexplorer/ioutputparser.h>
|
||||
#include <projectexplorer/task.h>
|
||||
|
||||
namespace BareMetal {
|
||||
namespace Internal {
|
||||
|
||||
// SdccParser
|
||||
namespace BareMetal::Internal {
|
||||
|
||||
class SdccParser final : public ProjectExplorer::OutputTaskParser
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit SdccParser();
|
||||
static Utils::Id id();
|
||||
@@ -30,5 +25,4 @@ private:
|
||||
int m_lines = 0;
|
||||
};
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace BareMetal
|
||||
} // BareMetal::Internal
|
||||
|
@@ -1,11 +1,12 @@
|
||||
// Copyright (C) 2019 Denis Shienkov <denis.shienkov@gmail.com>
|
||||
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0
|
||||
|
||||
#include "baremetalconstants.h"
|
||||
|
||||
#include "sdccparser.h"
|
||||
#include "sdcctoolchain.h"
|
||||
|
||||
#include "baremetalconstants.h"
|
||||
#include "baremetaltr.h"
|
||||
#include "sdccparser.h"
|
||||
|
||||
#include <projectexplorer/abiwidget.h>
|
||||
#include <projectexplorer/projectexplorerconstants.h>
|
||||
#include <projectexplorer/projectmacro.h>
|
||||
@@ -31,8 +32,7 @@
|
||||
using namespace ProjectExplorer;
|
||||
using namespace Utils;
|
||||
|
||||
namespace BareMetal {
|
||||
namespace Internal {
|
||||
namespace BareMetal::Internal {
|
||||
|
||||
// Helpers:
|
||||
|
||||
@@ -163,7 +163,7 @@ static Abi::BinaryFormat guessFormat(Abi::Architecture arch)
|
||||
|
||||
static Abi guessAbi(const Macros ¯os)
|
||||
{
|
||||
const auto arch = guessArchitecture(macros);
|
||||
const Abi::Architecture arch = guessArchitecture(macros);
|
||||
return {arch, Abi::OS::BareMetalOS, Abi::OSFlavor::GenericFlavor,
|
||||
guessFormat(arch), guessWordWidth(macros)};
|
||||
}
|
||||
@@ -171,10 +171,9 @@ static Abi guessAbi(const Macros ¯os)
|
||||
static QString buildDisplayName(Abi::Architecture arch, Utils::Id language,
|
||||
const QString &version)
|
||||
{
|
||||
const auto archName = Abi::toString(arch);
|
||||
const auto langName = ToolChainManager::displayNameOfLanguageId(language);
|
||||
return SdccToolChain::tr("SDCC %1 (%2, %3)")
|
||||
.arg(version, langName, archName);
|
||||
const QString archName = Abi::toString(arch);
|
||||
const QString langName = ToolChainManager::displayNameOfLanguageId(language);
|
||||
return Tr::tr("SDCC %1 (%2, %3)").arg(version, langName, archName);
|
||||
}
|
||||
|
||||
static Utils::FilePath compilerPathFromEnvironment(const QString &compilerName)
|
||||
@@ -188,7 +187,7 @@ static Utils::FilePath compilerPathFromEnvironment(const QString &compilerName)
|
||||
SdccToolChain::SdccToolChain() :
|
||||
ToolChain(Constants::SDCC_TOOLCHAIN_TYPEID)
|
||||
{
|
||||
setTypeDisplayName(Internal::SdccToolChain::tr("SDCC"));
|
||||
setTypeDisplayName(Tr::tr("SDCC"));
|
||||
setTargetAbiKey("TargetAbi");
|
||||
setCompilerCommandKey("CompilerPath");
|
||||
}
|
||||
@@ -277,7 +276,7 @@ FilePath SdccToolChain::makeCommand(const Environment &env) const
|
||||
|
||||
SdccToolChainFactory::SdccToolChainFactory()
|
||||
{
|
||||
setDisplayName(SdccToolChain::tr("SDCC"));
|
||||
setDisplayName(Tr::tr("SDCC"));
|
||||
setSupportedToolChainType(Constants::SDCC_TOOLCHAIN_TYPEID);
|
||||
setSupportedLanguages({ProjectExplorer::Constants::C_LANGUAGE_ID});
|
||||
setToolchainConstructor([] { return new SdccToolChain; });
|
||||
@@ -413,8 +412,8 @@ SdccToolChainConfigWidget::SdccToolChainConfigWidget(SdccToolChain *tc) :
|
||||
{
|
||||
m_compilerCommand->setExpectedKind(PathChooser::ExistingCommand);
|
||||
m_compilerCommand->setHistoryCompleter("PE.SDCC.Command.History");
|
||||
m_mainLayout->addRow(tr("&Compiler path:"), m_compilerCommand);
|
||||
m_mainLayout->addRow(tr("&ABI:"), m_abiWidget);
|
||||
m_mainLayout->addRow(Tr::tr("&Compiler path:"), m_compilerCommand);
|
||||
m_mainLayout->addRow(Tr::tr("&ABI:"), m_abiWidget);
|
||||
|
||||
m_abiWidget->setEnabled(false);
|
||||
|
||||
@@ -486,5 +485,4 @@ void SdccToolChainConfigWidget::handleCompilerCommandChange()
|
||||
emit dirty();
|
||||
}
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace BareMetal
|
||||
} // BareMetal::Internal
|
||||
|
@@ -13,22 +13,16 @@ class QPushButton;
|
||||
class QTextEdit;
|
||||
QT_END_NAMESPACE
|
||||
|
||||
namespace Utils {
|
||||
class FilePath;
|
||||
class PathChooser;
|
||||
}
|
||||
namespace Utils { class PathChooser; }
|
||||
|
||||
namespace ProjectExplorer { class AbiWidget; }
|
||||
|
||||
namespace BareMetal {
|
||||
namespace Internal {
|
||||
namespace BareMetal::Internal {
|
||||
|
||||
// SdccToolChain
|
||||
|
||||
class SdccToolChain final : public ProjectExplorer::ToolChain
|
||||
{
|
||||
Q_DECLARE_TR_FUNCTIONS(SdccToolChain)
|
||||
|
||||
public:
|
||||
MacroInspectionRunner createMacroInspectionRunner() const final;
|
||||
|
||||
@@ -74,8 +68,6 @@ private:
|
||||
|
||||
class SdccToolChainConfigWidget final : public ProjectExplorer::ToolChainConfigWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit SdccToolChainConfigWidget(SdccToolChain *tc);
|
||||
|
||||
@@ -93,5 +85,4 @@ private:
|
||||
ProjectExplorer::Macros m_macros;
|
||||
};
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace BareMetal
|
||||
} // BareMetal::Internal
|
||||
|
Reference in New Issue
Block a user