Skip to content

Commit

Permalink
Merge branch 'release/v1.1.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
valeros committed May 31, 2022
2 parents c4157b0 + 6f80742 commit 28804ad
Show file tree
Hide file tree
Showing 72 changed files with 534 additions and 1,751 deletions.
44 changes: 44 additions & 0 deletions .github/workflows/examples.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: Examples

on: [push, pull_request]

jobs:
build:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
example:
# - "examples/gapuino-mbed-autotiler-cifar10"
- "examples/gapuino-mbed-driver-cpp-raw-serial"
- "examples/gapuino-mbed-driver-hyper-flash"
- "examples/gapuino-mbed-driver-hyper-rtc-alarm"
- "examples/gapuino-mbed-events-queue"
- "examples/gapuino-mbed-features-cluster-dma"
- "examples/gapuino-mbed-features-filesystem"
- "examples/gapuino-mbed-fft2d"
- "examples/gapuino-mbed-matadd"
- "examples/gapuino-mbed-os-irq"
- "examples/gapuino-mbed-os-memory-pool"
# - "examples/gapuino-pulp-os-autotiler-bilinear-resize"
# - "examples/gapuino-pulp-os-autotiler-cifar10"
- "examples/gapuino-pulp-os-filesystem"
- "examples/gapuino-pulp-os-hello-world"
- "examples/gapuino-pulp-os-i2c-eeprom"
- "examples/gapuino-pulp-os-kernel-dma"
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
with:
submodules: "recursive"
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: "3.9"
- name: Install dependencies
run: |
pip install -U https://github.com/platformio/platformio/archive/develop.zip
pio pkg install --global --platform symlink://.
- name: Build examples
run: |
pio run -d ${{ matrix.example }}
41 changes: 0 additions & 41 deletions .travis.yml

This file was deleted.

8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
# RISC-V GAP: development platform for [PlatformIO](https://platformio.org)
[![Build Status](https://travis-ci.org/platformio/platform-riscv_gap.svg?branch=develop)](https://travis-ci.org/platformio/platform-riscv_gap)
[![Build status](https://ci.appveyor.com/api/projects/status/am41upkan8876k05/branch/develop?svg=true)](https://ci.appveyor.com/project/platformio/platform-riscv-gap)

[![Build Status](https://github.com/platformio/platform-riscv_gap/workflows/Examples/badge.svg)](https://github.com/platformio/platform-riscv_gap/actions)

GreenWaves' GAP8 IoT application processor enables the cost-effective development, deployment and autonomous operation of intelligent sensing devices that capture, analyze, classify and act on the fusion of rich data sources such as images, sounds or vibrations.

* [Home](http://platformio.org/platforms/riscv_gap) (home page in PlatformIO Platform Registry)
* [Home](https://registry.platformio.org/platforms/platformio/riscv_gap) (home page in the PlatformIO Registry)
* [Documentation](https://docs.platformio.org/page/platforms/riscv_gap.html) (advanced usage, packages, boards, frameworks, etc.)

# Usage

1. [Install PlatformIO](http://platformio.org)
1. [Install PlatformIO](https://platformio.org)
2. Create PlatformIO project and configure a platform option in [platformio.ini](https://docs.platformio.org/page/projectconf.html) file:

## Stable version
Expand Down
42 changes: 0 additions & 42 deletions appveyor.yml

This file was deleted.

2 changes: 1 addition & 1 deletion builder/autotiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ def generate_user_kernel(kernel_user_dir, program_path):


def main():
model = find_model(env.subst("$PROJECTSRC_DIR"))
model = find_model(env.subst("$PROJECT_SRC_DIR"))
if not model:
return

Expand Down
38 changes: 0 additions & 38 deletions builder/compat.py

This file was deleted.

5 changes: 2 additions & 3 deletions builder/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@


env = DefaultEnvironment()
env.SConscript("compat.py", exports="env")
platform = env.PioPlatform()
board_config = env.BoardConfig()

Expand Down Expand Up @@ -60,7 +59,7 @@
"$PYTHONEXE",
join(PULP_TOOLS_DIR, "bin", "flashImageBuilder"),
"--flash-boot-binary", "$SOURCES",
"--comp-dir-rec", "$PROJECTDATA_DIR",
"--comp-dir-rec", "$PROJECT_DATA_DIR",
"--raw", "$TARGET"
]), "Building data image $TARGET"),
suffix=".bin"
Expand All @@ -85,7 +84,7 @@
target_elf = env.BuildProgram()

if "uploadfs" in COMMAND_LINE_TARGETS:
data_dir = env.subst("$PROJECTDATA_DIR")
data_dir = env.subst("$PROJECT_DATA_DIR")
if not (isdir(data_dir) and listdir(data_dir)):
sys.stderr.write(
"Please create `data` directory in a project and put some files\n")
Expand Down
67 changes: 0 additions & 67 deletions examples/gapuino-mbed-autotiler-cifar10/.travis.yml

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -12,21 +12,21 @@
How to build PlatformIO based project
=====================================

1. `Install PlatformIO Core <http://docs.platformio.org/page/core.html>`_
2. Download `development platform with examples <https://github.com/pioplus/platform-riscv_gap/archive/develop.zip>`_
1. [Install PlatformIO Core](https://docs.platformio.org/page/core.html)
2. Download [development platform with examples](https://github.com/pioplus/platform-riscv_gap/archive/develop.zip)
3. Extract ZIP archive
4. Run these commands:

.. code-block:: bash
```shell
# Change directory to example
$ cd platform-riscv_gap/examples/gapuino-mbed-os-autotiler-cifar10

# Change directory to example
> cd platform-riscv_gap/examples/gapuino-mbed-fft2d
# Build project
$ pio run

# Build project
> platformio run
# Upload firmware
$ pio run --target upload

# Upload firmware
> platformio run --target upload
# Clean build files
> platformio run --target clean
# Clean build files
$ pio run --target clean
```
32 changes: 0 additions & 32 deletions examples/gapuino-mbed-autotiler-cifar10/README.rst

This file was deleted.

2 changes: 1 addition & 1 deletion examples/gapuino-mbed-autotiler-cifar10/platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
; Library options: dependencies, extra library storages
;
; Please visit documentation for the other options and examples
; http://docs.platformio.org/page/projectconf.html
; https://docs.platformio.org/page/projectconf.html

[env:gapuino]
platform = riscv_gap
Expand Down
Loading

0 comments on commit 28804ad

Please sign in to comment.