-
Notifications
You must be signed in to change notification settings - Fork 12
how to build flash and use examples on linux Eclipse IDE
Benjamin Vernoux edited this page Nov 1, 2023
·
4 revisions
- It is recommended to use MounRiver Studio "RISC-V IDE (Community)" to build the source code
- Tested on Ubuntu x64 22.04 LTS & 20.04 LTS(does not work on ArchLinux) + MounRiver_Studio_Community_Linux_x64_V130.tar.xz
- MounRiver_Studio_Community_Linux_x64_V130.tar.xz sha256 shall be equal to dd692f617b1c67a66d27a85d3e19e65668e8f462df7a732d6cd40803d663c762
- Extract the archive and install it like described in the README
- Install git
sudo apt-get install git
cd ~
git clone --recursive https://github.com/hydrausb3/hydrausb3_fw.git
- Launch MounRiver Studio Community
- Select a directory workspace (use the default one)
- Select Menu
File
=>Import...
- In Import Windows choose
General
=>Existing Projects into Workspace
- Select
Next >
- A window
Import Projects
appears- Click on
Browse
near "Select root directory:" and choosehydrausb3_fw
directory- Click on
Select Folder
- Click on
- Select the different project(s) you want to import (in
Projects
) - Click on
Finish
- Click on
- Select
- In Import Windows choose
- Project Explorer now show all imported projects
- Left Click on any project(s) (or choose multiple projects too) to highlight them
- Right click on the highlighted project(s) and choose
Build Project
orBuild Projects
- If all is ok the project(s) shall build fine and display in
Console
"Build Finished. 0 errors, 0 warnings."
See https://github.com/hydrausb3/hydrausb3_fw/wiki/Flash-and-use-hydrausb3_fw-example-on-Linux