-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add NXT support for Linux #1
base: main-ru
Are you sure you want to change the base?
Conversation
|
||
Чтобы его запустить, достаточно написать в консоль из папки со скриптом | ||
```chmod +x download-arm-eabi.sh | ||
./download-arm-eabi.sh |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Скрипт должен быть исполняемым сразу после извлечения/установки. И тогда тут не будет этого шага.
@@ -42,6 +42,43 @@ | |||
|
|||
![](../.gitbook/assets/nxt-usb-2.png) | |||
|
|||
Если вы хотите использовать режим «Генерация» на Linux, то: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Не получится инструкция, которая ко всем Линуксам применима. Надо сразу указать, на чём тестировалось (для чего применимо), а остальные пусть пользуются аналогичными шагами.
|
||
1. Откройте терминал (его можно открыть комбинацией Ctrl+Alt+T) и напишите: | ||
``` | ||
sudo addgroup legonxt |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Наверное, более правильно использовать groupadd
и useradd
для добавления из консоли. Ну и не везде присутствует sudo
.
1. Откройте терминал (его можно открыть комбинацией Ctrl+Alt+T) и напишите: | ||
``` | ||
sudo addgroup legonxt | ||
sudo adduser $USER legonxt |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Для привилегированной сессии не всегда используется sudo
. Надо посмотреть, как обычно пишут в инструкциях, ну или спасёт упоминание в начале страницы, что это для конкретного линукса всё сделано (Ubuntu с bash)
What?
I've added NXT support for GNU/Linux so this PR allows to compile and load programs via USB connection on Lego NXT.
I suggest the user to follow the link https://help.trikset.com/nxt/run-upload-programs to get help.
How?
I have updated run-upload-programs.md