See “Drivers” section for FTDI Chip debug probe.
You need GAP8 AutoTiler library, please request it via support@greenwaves-technologies.com
Put a library somewhere on a disk and add this folder to library path using build_flags in “platformio.ini” (Project Configuration File). For example,
[env:gapuino] platform = riscv_gap board = gapuino framework = ... build_flags = -L/path/to/libtile/folder
GAPuino supports 2 main modes:
Running from RAM, boot_mode=jtag
Running from HyperFlash, boot_mode=jtag_hyper
A running process can be controlled through the internal upload commands:
load
, @TODO
reqloop
, @TODO
ioloop
, @TODO
start
, @TODO
wait
, @TODO
You can configure “boot mode” and list of upload commands using “platformio.ini” (Project Configuration File). Default values are:
board_upload.boot_mode = jtag
board_upload.commands = load reqloop ioloop start wait
This is a default behavior when you run “Upload” task in PlatformIO IDE or use
PlatformIO Core (CLI) and platformio run --target
command with upload
target.
Configure build environment using “platformio.ini” (Project Configuration File) as described below
[env:gapuino]
platform = riscv_gap
board = gapuino
framework = ...
board_upload.commands = load start
Run “Upload” task in PlatformIO IDE or use PlatformIO Core (CLI) and
platformio run --target
command with upload
target.
The same as Uploading files to HyperFlash.
Configure build environment using “platformio.ini” (Project Configuration File) as described below
[env:gapuino]
platform = riscv_gap
board = gapuino
framework = ...
board_upload.boot_mode = jtag_hyper
board_upload.commands = reqloop ioloop start wait
Perform Uploading files to HyperFlash.
Note
You have to perform Uploading files to HyperFlash before.
Configure build environment using “platformio.ini” (Project Configuration File) as described below
[env:gapuino]
platform = riscv_gap
board = gapuino
framework = ...
board_upload.boot_mode = jtag_hyper
board_upload.commands = reqloop ioloop start wait
Run “Upload” task in PlatformIO IDE or use PlatformIO Core (CLI) and
platformio run --target
command with upload
target.
Note
You have to perform Uploading files to HyperFlash before.
Configure build environment using “platformio.ini” (Project Configuration File) as described below
[env:gapuino]
platform = riscv_gap
board = gapuino
framework = ...
board_upload.boot_mode = jtag_hyper
board_upload.commands = start
Run “Upload” task in PlatformIO IDE or use PlatformIO Core (CLI) and
platformio run --target
command with upload
target.
Create new project using PlatformIO IDE or initialize project using PlatformIO Core (CLI) and platformio project init (if you have not initialized it yet)
Create data
folder (it should be on the same level as src
folder)
and put files here. Also, you can specify own location for
data_dir
Run “Upload File System image” task in PlatformIO IDE or use PlatformIO Core (CLI)
and platformio run --target
command with uploadfs
target.
Examples: