Software Development Using the Arduino IDE

开源risc-v开发板 HiFive1 SiFive出品
itopidea
网站管理员
帖子: 65
注册: 周日 1月 18, 2015 12:28 pm

Software Development Using the Arduino IDE

帖子itopidea » 周五 10月 26, 2018 5:25 am

Software Development Using the Arduino IDE
SiFive also supports software development for the HiFive1 with the Arduino IDE. When using this
method, the Freedom E SDK is automatically installed, so you do not need to install it seperately.
Follow these steps:
Copyright
c 2017, SiFive Inc. All rights reserved. 15
Installing the HiFive1 Board Package
1. Download and install the Arduino IDE, following the instructions at
https://www.arduino.cc/en/Guide/HomePage
2. Launch the Arduino IDE
3. Navigate to File → Preferences and add the SiFive additional Board Manager URL as
shown in Figure 6.1:
http://static.dev.sifive.com/bsp/arduin ... index.json
4. Add the SiFive development kit boards using the Board Manager:
Tools → Board → Board Manager.
Search for “SiFive” and click Install to download and install the package. Restart your Arduino
IDE, then find the HiFive1 under Tools → Board, as shown in Figure 6.2.
5. Select SiFive OpenOCD as the Programmer from the Tools menu.
6. To compile and upload a simple example program, select
File → Examples → Basics → Blink
Click the “upload” button in the Arduino IDE, your program will compile and upload to your
Dev Kit, and the green LED will blink.
Open Source Board Support Package Code
The code installed with the Board package is open-source, and available to view or download at:
http://github.com/sifive/cinco


回到 “HiFive1”

在线用户

用户浏览此论坛: 没有注册用户 和 0 访客