You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-[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").
6
+
- Added option to install Libgpiod from repository or from source.
7
+
- Added board model detection for Raspberry Pi.
8
+
- Added support for .NET Runtime & SDK 7.0.
9
+
- Implemented the function of testing/verifying the installed package.
10
+
- Test project added [dotnet-iot-fastiot-test](https://github.com/devdotnetorg/vscode-extension-dotnet-fastiot/tree/master/Samples/dotnet-iot-fastiot-test"dotnet-iot-fastiot-test").
11
+
- Added device shutdown command.
12
+
- Added ignoring comments ('//') to launch.json and tasks.json.
-[Issue #1](https://github.com/devdotnetorg/vscode-extension-dotnet-fastiot/issues/1"Issue #1"). Добавлен шаблон для названия профиля запуска проекта. См. [Launch-title-template](https://github.com/devdotnetorg/vscode-extension-dotnet-fastiot/blob/master/docs/Launch-title-template.md"Launch-title-template").
6
+
- Добавлена возможность установки Libgpiod из репозитория или из исходников.
7
+
- Добавлено определение модели платы для Raspberry Pi.
8
+
— Добавлена поддержка .NET Runtime и SDK 7.0.
9
+
- Реализована функция тестирования/проверки установленного пакета.
10
+
- Добавлен тестовый проект [dotnet-iot-fastiot-test](https://github.com/devdotnetorg/vscode-extension-dotnet-fastiot/tree/master/Samples/dotnet-iot-fastiot-test"dotnet-iot -фастио-тест").
11
+
- Добавлена команда выключения устройства.
12
+
- Добавлено игнорирование комментариев ('//') для launch.json и tasks.json.
The `*.csproj` test projects are located in the folder [samples](https://github.com/devdotnetorg/vscode-extension-dotnet-fastiot/tree/master/Samples/"samples"). The first base project for testing remote debugging is `dotnet-iot-fastiot-test`.
148
+
149
+
## Extension settings
150
+
151
+
To change the extension settings, open the menu item `File > Preferences > Settings`. Then go to the `User` tab and select `Extensions`.
-**Conf › Resource: Insert Empty Last Line** - device data is stored in the `fastiot.device.all.JSON` node in JSON format, it is not recommended to change it manually. Due to incorrect changes, the device list may not load.
158
+
-**Fastiot › Device › Account: Groups** - Linux user group on a remote device (eg Raspberry Pi) to which the account (`debugvscode`) will be added to control the device. This group must have Administrator rights.
159
+
-**Fastiot › Device › Account: Username** - account name created on the remote device. Used to control the device and perform remote debugging. Default value: `debugvscode`.
160
+
-**Fastiot › Device › All: JSON** - device settings in JSON format, it is not recommended to change them manually. Due to incorrect changes, the device list may not load.
-**Fastiot › Device: Pathfolderkeys** - folder for storing access keys to devices (eg Raspberry Pi).
163
+
-**Fastiot › Launch: Templatetitle** - template for forming the name of the debugging profile. The values of the variables can be viewed at the [link](https://github.com/devdotnetorg/vscode-extension-dotnet-fastiot/blob/master/docs/Launch-title-template.md"link"). Default value: `Launch on %DEVICE_LABEL% (%NAME_PROJECT%, %BOARD_NAME%, %USER_DEBUG%)`.
Тестовые проекты `*.csproj` располагаются в папке [samples](https://github.com/devdotnetorg/vscode-extension-dotnet-fastiot/tree/master/Samples/"samples"). Первый базовый проект для проверки удаленной отладки `dotnet-iot-fastiot-test`.
148
+
149
+
## Настройки расширения
150
+
151
+
Для изменения настроек расширения необходимо открыть пункт меню `File > Preferences > Settings`. Затем перейти на закладку `User` и выбрать `Extensions`.
-**Conf › Resource: Insert Empty Last Line** - данные об устройствах хранятся в узле `fastiot.device.all.JSON` в JSON формате, не рекомендуется изменять вручную. Из-за неверных изменений, список устройств может не загрузиться.
158
+
-**Fastiot › Device › Account: Groups** - группа пользователей в Linux на удаленном устройстве (например, Raspberry Pi), в которую будет добавлена учетная запись (`debugvscode`) для управления устройством. Данная группа должна обладать правами Администратора.
159
+
-**Fastiot › Device › Account: Username** - название учетной записи, создается на удаленном устройстве. Используется для управления устройством и выполнения удаленной отладки. Значение по умолчанию: `debugvscode`.
160
+
-**Fastiot › Device › All: JSON** - настройки устройств в JSON формате, не рекомендуется изменять вручную. Из-за неверных изменений, список устройств может не загрузиться.
161
+
-**Fastiot › Device: Pathfoldercwrsync** - папка с программой [cwRsync](https://itefix.net/cwrsync"cwRsync"). Значение по умолчанию: `C:\RemoteCode\cwrsync`.
162
+
-**Fastiot › Device: Pathfolderkeys** - папка для хранения ключей доступа к устройствам (например, Raspberry Pi).
163
+
-**Fastiot › Launch: Templatetitle** - шаблон для формирования названия профиля отладки. Значения переменных можно посмотреть по [ссылке](https://github.com/devdotnetorg/vscode-extension-dotnet-fastiot/blob/master/docs/Launch-title-template.md"ссылке"). Значение по умолчанию: `Launch on %DEVICE_LABEL% (%NAME_PROJECT%, %BOARD_NAME%, %USER_DEBUG%)`.
Copy file name to clipboardExpand all lines: assets/marketplace/vscode-marketplace-overview.md
+64-4Lines changed: 64 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,8 @@
2
2
3
3
# .NET FastIoT VS Code Extension
4
4
5
+
[.NET FastIoT Extension](https://marketplace.visualstudio.com/items?itemName=devdotnetorg.vscode-extension-dotnet-fastiot".NET FastIoT Extension") in Visual Studio Code Marketplace.
6
+
5
7
[README](https://github.com/devdotnetorg/vscode-extension-dotnet-fastiot/blob/master/README.md"README") in English | [README](https://github.com/devdotnetorg/vscode-extension-dotnet-fastiot/blob/master/README_ru.md"README") на русском языке | Habr.com (Russian) - [Easy development of IoT applications in C # for Raspberry Pi and other SBCs, on Linux](https://habr.com/ru/company/timeweb/blog/597601/"Easy development of IoT applications in C # for Raspberry Pi and other SBCs, on Linux").
6
8
7
9
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).
@@ -17,7 +19,7 @@ This extension allows you configures an ARMv7 or ARMv8 Linux embedded device to
2. Setting up .NET projects for remote debugging, adding environment variables (Method [Environment.GetEnvironmentVariable](https://docs.microsoft.com/en-us/dotnet/api/system.environment.getenvironmentvariable"Environment.GetEnvironmentVariable"));
19
21
3. Device Tree overlays management. Required to turn on/off devices such as I2C, SPI, PWM, etc. Available remote download of files `* .DTS` and enable/disable "layers". See [Working with GPIO. Part 2. Device Tree overlays (RU)](https://devdotnet.org/post/rabota-s-gpio-na-primere-banana-pi-bpi-m64-chast-2-device-tree-overlays/"Working with GPIO. Part 2. Device Tree overlays"). Only the [Armbian](https://www.armbian.com/"Armbian") distribution is supported. To support other distributions, the adapter must be implemented using the [IDtoAdapter.ts](https://github.com/devdotnetorg/vscode-extension-dotnet-fastiot/blob/master/src/DTO/IDtoAdapter.ts"IDtoAdapter.ts") interface. Armbian implementation example - [IoTDTOArmbianAdapter.ts](https://github.com/devdotnetorg/vscode-extension-dotnet-fastiot/blob/master/src/DTO/IoTDTOArmbianAdapter.ts"IoTDTOArmbianAdapter.ts");
20
-
4. GPIO pin control (not fully implemented yet). Detecting available Gpiochip~~and lines. Applying `0/1` to the contact, reading the state of the contact. Generation of C# code for the selected contact for transferring to the project one-to-one.~~
22
+
4. GPIO pin control (not fully implemented yet). Detecting available Gpiochip.
21
23
22
24
## System requirements
23
25
@@ -100,11 +102,69 @@ Selecting the **debugvscode** option creates a permissions configuration file [2
100
102
101
103
### Step 3 — Installing packages
102
104
103
-
**Coming soon**
105
+
To run a .NET IoT application and perform remote debugging, you need to install:
106
+
107
+
- Runtime - .NET Runtime.
108
+
- Remote debugger - .NET Debugger (vsdbg).
109
+
- GPIO line control library - Libgpiod (optional).
110
+
111
+
Installing the Libgpiod library is possible from the repository and source code. If the repository contains an old version of the library, then install the library from source.
112
+
113
+
### Шаг 4 — Launch configuration
114
+
115
+
Now you need to open the project or create it. Project example [dotnet-iot-fastiot-test](https://github.com/devdotnetorg/vscode-extension-dotnet-fastiot/tree/master/Samples/dotnet-iot-fastiot-test"dotnet-iot-fastiot-test").
116
+
117
+
To create a remote debugging configuration on the device, you must click on the *Add Configuration* button:
The `*.csproj` test projects are located in the folder [samples](https://github.com/devdotnetorg/vscode-extension-dotnet-fastiot/tree/master/Samples/"samples"). The first base project for testing remote debugging is `dotnet-iot-fastiot-test`.
148
+
149
+
## Extension settings
150
+
151
+
To change the extension settings, open the menu item `File > Preferences > Settings`. Then go to the `User` tab and select `Extensions`.
-**Conf › Resource: Insert Empty Last Line** - device data is stored in the `fastiot.device.all.JSON` node in JSON format, it is not recommended to change it manually. Due to incorrect changes, the device list may not load.
158
+
-**Fastiot › Device › Account: Groups** - Linux user group on a remote device (eg Raspberry Pi) to which the account (`debugvscode`) will be added to control the device. This group must have Administrator rights.
159
+
-**Fastiot › Device › Account: Username** - account name created on the remote device. Used to control the device and perform remote debugging. Default value: `debugvscode`.
160
+
-**Fastiot › Device › All: JSON** - device settings in JSON format, it is not recommended to change them manually. Due to incorrect changes, the device list may not load.
-**Fastiot › Device: Pathfolderkeys** - folder for storing access keys to devices (eg Raspberry Pi).
163
+
-**Fastiot › Launch: Templatetitle** - template for forming the name of the debugging profile. The values of the variables can be viewed at the [link](https://github.com/devdotnetorg/vscode-extension-dotnet-fastiot/blob/master/docs/Launch-title-template.md"link"). Default value: `Launch on %DEVICE_LABEL% (%NAME_PROJECT%, %BOARD_NAME%, %USER_DEBUG%)`.
4.[Step 4. Creating a .NET console application and remote debugging](https://www.youtube.com/watch?v=oghH3oHIZgE"Step 4. Creating a .NET console application and remote debugging")
0 commit comments