-
-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
106 additions
and
564 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,17 @@ | ||
import CodeBlock from '@theme/CodeBlock'; | ||
import Tabs from '@theme/Tabs'; | ||
import TabItem from '@theme/TabItem'; | ||
|
||
import customField from '@site/src/libs/customField'; | ||
import AutomaticInstallQuickTest from './_common/_automatic-install-quick-test.mdx' | ||
|
||
{/* ------------------------------------------------------------------------ */} | ||
|
||
### Quick test | ||
|
||
To check if the xPack OpenOCD installed by **xpm** starts properly, use something like: | ||
|
||
<Tabs groupId="operating-systems"> | ||
<TabItem value="windows" label="Windows" default> | ||
export const appName = 'OpenOCD'; | ||
export const appLcName = 'openocd'; | ||
export const programName = 'openocd'; | ||
export const branding = ''; | ||
|
||
<CodeBlock language="console"> { | ||
`C:\\> %USERPROFILE%\\AppData\\Roaming\\xPacks\\@xpack-dev-tools\\openocd\\${ customField('upstreamVersion') }-${ customField('xpackSubversion') }.${ customField('npmSubversion') }\\.content\\bin\\openocd.exe --version | ||
${ customField('upstreamVersion') }` | ||
} </CodeBlock> | ||
|
||
</TabItem> | ||
<TabItem value="macos" label="macOS"> | ||
|
||
<CodeBlock language="console"> { | ||
`$ ~/Library/xPacks/@xpack-dev-tools/openocd/${ customField('upstreamVersion') }-${ customField('xpackSubversion') }.${ customField('npmSubversion') }/.content/bin/openocd --version | ||
${ customField('upstreamVersion') }` | ||
} </CodeBlock> | ||
|
||
</TabItem> | ||
<TabItem value="linux" label="GNU/Linux"> | ||
{/* ------------------------------------------------------------------------ */} | ||
|
||
<CodeBlock language="console"> { | ||
`$ ~/.local/xPacks/@xpack-dev-tools/openocd/${ customField('upstreamVersion') }-${ customField('xpackSubversion') }.${ customField('npmSubversion') }/.content/bin/openocd --version | ||
${ customField('upstreamVersion') }` | ||
} </CodeBlock> | ||
<AutomaticInstallQuickTest | ||
appName={ appName } | ||
appLcName={ appLcName } | ||
programName={ programName } | ||
branding={ branding } | ||
/> | ||
|
||
</TabItem> | ||
</Tabs> |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.