Skip to content

Commit 31e670b

Browse files
committed
Bug fixes & doc updates
1 parent ba13b4d commit 31e670b

9 files changed

Lines changed: 29 additions & 7 deletions

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## v0.1.5 (12-04-2022)
44

5-
- [Issue #1](https://github.com/devdotnetorg/vscode-extension-dotnet-fastiot/issues/1 "Issue #1"). Added a template for creating a launch name. See [Launch-title-template](https://github.com/devdotnetorg/vscode-extension-dotnet-fastiot/blob/master/docs/Launch-title-template.md "Launch-title-template").
5+
- [Issue 1](https://github.com/devdotnetorg/vscode-extension-dotnet-fastiot/issues/1 "Issue 1"). Added a template for creating a launch name. See [Launch-title-template](https://github.com/devdotnetorg/vscode-extension-dotnet-fastiot/blob/master/docs/Launch-title-template.md "Launch-title-template").
66
- Added option to install Libgpiod from repository or from source.
77
- Added board model detection for Raspberry Pi.
88
- Added support for .NET Runtime & SDK 7.0.

README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@
88

99
This extension allows you configures an ARMv7 or ARMv8 Linux embedded device to run .NET applications, and configures `*.csproj` projects for remote debugging via an ssh-tunnel. This has been tested on Windows (64 bits).
1010

11-
*.NET FastIoT Extension Interface*
11+
Devices supported: Raspberry Pi, Banana Pi, Orange Pi, Radxa, Tinkerboard, Odroid, Khadas VIM, NanoPi, Pine.
12+
13+
*.NET FastIoT Extension UI*
1214

1315
![.NET FastIoT title](https://raw.githubusercontent.com/devdotnetorg/vscode-extension-dotnet-fastiot/master/docs/vscode-dotnet-fastiot.png)
1416

@@ -41,6 +43,11 @@ Third-party bash scripts to install packages/libraries:
4143

4244
- [.NET SDK](https://dot.net/v1/dotnet-install.sh ".NET SDK"), [.NET Runtimes](https://dot.net/v1/dotnet-install.sh ".NET Runtimes"), [.NET Debugger (vsdbg)](https://aka.ms/getvsdbgsh ".NET Debugger (vsdbg)"), Libgpiod, [Docker](https://get.docker.com/ "Docker"), are downloaded from the official sites of the package developers, excluding the Libgpiod library. The script for installing this library is downloaded from the GitHub resource — [devdotnetorg/docker-libgpiod](https://raw.githubusercontent.com/devdotnetorg/docker-libgpiod/master/setup-libgpiod.sh "devdotnetorg/docker-libgpiod"). Next, the uploaded script downloads the source code of the library from the official [Libgpiod](https://git.kernel.org/pub/scm/libs/libgpiod/libgpiod.git/ "Libgpiod") repository and compiles the library.
4345

46+
## System requirements for the device
47+
48+
- **Processor.** ARMv7 or ARMv8;
49+
- **OS version.** Linux distribution based on at least Ubuntu 18.04 (Bionic Beaver), or at least Debian 10.11 (Buster);
50+
4451
## Getting started
4552

4653
### Step 1 — Preparing the device

README_ru.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88

99
Расширение настраивает встраиваемое устройство на архитектуре ARMv7 или ARMv8, работающее под Linux, для запуска .NET приложений, и конфигурирует проекты `*.csproj` для удаленной отладки по ssh-туннелю. Работает только на Windows (64 бит).
1010

11+
Поддерживаются устройства: Raspberry Pi, Banana Pi, Orange Pi, Radxa, Tinkerboard, Odroid, Khadas VIM, NanoPi, Pine.
12+
1113
*Интерфейс расширения .NET FastIoT*
1214

1315
![.NET FastIoT title](https://raw.githubusercontent.com/devdotnetorg/vscode-extension-dotnet-fastiot/master/docs/vscode-dotnet-fastiot.png)
@@ -41,6 +43,11 @@
4143

4244
- [.NET SDK](https://dot.net/v1/dotnet-install.sh ".NET SDK"), [.NET Runtimes](https://dot.net/v1/dotnet-install.sh ".NET Runtimes"), [.NET Debugger (vsdbg)](https://aka.ms/getvsdbgsh ".NET Debugger (vsdbg)"), Libgpiod, [Docker](https://get.docker.com/ "Docker"), загружаются с официальных сайтов разработчиков пакетов, за исключением библиотеки Libgpiod. Скрипт для установки данной библиотеки загружается с ресурса GitHub — [devdotnetorg/docker-libgpiod](https://raw.githubusercontent.com/devdotnetorg/docker-libgpiod/master/setup-libgpiod.sh "devdotnetorg/docker-libgpiod"). Далее, загруженный скрипт скачивает исходный текст библиотеки с официального репозитория [Libgpiod](https://git.kernel.org/pub/scm/libs/libgpiod/libgpiod.git/ "Libgpiod") и выполняется компиляция библиотеки.
4345

46+
## Системные требования для устройства
47+
48+
- **Процессор.** ARMv7 или ARMv8;
49+
- **Версия ОС.** Linux дистрибутив построенный на основе Ubuntu версии не ниже 18.04 (Bionic Beaver), или на основе Debian версии не ниже 10.11 (Buster);
50+
4451
## Быстрый старт
4552

4653
### Шаг 1 — Подготовка устройства

bashscript/getinformation.sh

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,14 @@ if [ -f /etc/armbian-release ]; then
2222
echo "armbianVersion:$(cat /etc/armbian-release | grep 'VERSION' | sed 's/.*=\s*//')"
2323
echo "linuxFamily:$(cat /etc/armbian-release | grep 'LINUXFAMILY' | sed 's/.*=\s*//')"
2424
else
25-
#/proc/cpuinfo
26-
declare boardName=($(cat /proc/cpuinfo | grep 'model\|Model' | sed 's/.*:\s*//'))
25+
#/proc/cpuinfo
26+
#/root/rpiz.txt
27+
#TODO: заменить велосипед на более простой
28+
declare boardName=("$(cat /proc/cpuinfo | grep 'model\|Model' | grep -v 'name' | sed 's/.*:\s*//' | head -n1)")
2729
if [ "$boardName" != "" ]; then
28-
echo "boardName:${boardName}"
30+
#string must be longer than 2 characters
31+
if [ ${#boardName} -gt 2 ]; then
32+
echo "boardName:${boardName}"
33+
fi
2934
fi
3035
fi
197 Bytes
Loading
70 Bytes
Loading
2.71 KB
Loading

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"icon": "assets/fastiot-logo-128.png",
66
"license": "LGPL-3.0-only",
77
"preview": true,
8-
"version": "0.1.5",
8+
"version": "0.1.6",
99
"overview": "assets/marketplace/vscode-marketplace-overview.md",
1010
"priceCategory": "free",
1111
"publisher": "devdotnetorg",
@@ -43,6 +43,9 @@
4343
"onView:viewDevices",
4444
"onCommand:vscode-extension-dotnet-fastiot.helloWorld"
4545
],
46+
"os": [
47+
"win32"
48+
],
4649
"main": "./out/extension.js",
4750
"contributes": {
4851
"configuration": [

src/extension.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ export async function activate(context: vscode.ExtensionContext) {
6565
const outputChannel = vscode.window.createOutputChannel(".NET FastIoT");
6666
outputChannel.appendLine("Welcome to .NET FastIoT!");
6767
outputChannel.appendLine("----------------------------------");
68-
outputChannel.appendLine("Version: 0.1.5");
68+
outputChannel.appendLine("Version: 0.1.6");
6969
outputChannel.appendLine("Feedback: fastiot@devdotnet.org");
7070
outputChannel.appendLine("----------------------------------");
7171
//TreeView Devices

0 commit comments

Comments
 (0)