Инструменты пользователя

Инструменты сайта


программирование:mounriver_studio

Это старая версия документа!


MounRiver Studio

Установка

Скачиваем, распаковываем в /opt/mounriver

Копируем туда же иконку, не похожую на иконку Eclipse

Добавляем ярлычёк

~/.local/share/applications/mounriver.desktop
[Desktop Entry]
Version=1.0
Name=MounRiver Studio
Comment=Eclipse
Exec="/opt/mounriver/MounRiver Studio_Community"
Icon=/opt/mounriver/moon.png
Terminal=false
Type=Application
Encoding=UTF-8
Categories=Development;
X-Desktop-File-Install-Version=0.26
StartupNotify=true
StartupWMClass=MRS

Прошивка

Включаем устройство
Меню Flash - Configuration
Две кнопки Query, Applay and Close

Отладка

Для отладки выбираем Debug Configurations… - GDB OpenOCD MRS Debbuging - правой кнопкой New configuration

Вкладка Main

Выбираем elf файл в поле C/C++ application. Кнопка Search Project…

Вкладка Debbuger

Выбираем расположение OpenOCD Browse… так, чтобы в следующей строке было
/opt/mounriver/toolchain/OpenOCD/bin/openocd

В поле Config options добавляем -f wch-riscv.cfg

Выбираем расположение GDB Browse… так, чтобы в следующей строке было
/opt/mounriver/toolchain/RISC-V Embedded GCC/bin/riscv-none-embed-gdb

программирование/mounriver_studio.1673519965.txt.gz · Последнее изменение: 2023.01.12 10:39 — feser