diff --git a/.github/workflows/examples.yml b/.github/workflows/examples.yml new file mode 100644 index 0000000..2075c7b --- /dev/null +++ b/.github/workflows/examples.yml @@ -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 }} diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 6cbc714..0000000 --- a/.travis.yml +++ /dev/null @@ -1,41 +0,0 @@ -sudo: required - -os: - - linux - - osx - -env: - # - PLATFORMIO_PROJECT_DIR=examples/gapuino-mbed-autotiler-cifar10 - - PLATFORMIO_PROJECT_DIR=examples/gapuino-mbed-driver-cpp-raw-serial - - PLATFORMIO_PROJECT_DIR=examples/gapuino-mbed-driver-hyper-flash - - PLATFORMIO_PROJECT_DIR=examples/gapuino-mbed-driver-hyper-rtc-alarm - - PLATFORMIO_PROJECT_DIR=examples/gapuino-mbed-events-queue - - PLATFORMIO_PROJECT_DIR=examples/gapuino-mbed-features-cluster-dma - - PLATFORMIO_PROJECT_DIR=examples/gapuino-mbed-features-filesystem - - PLATFORMIO_PROJECT_DIR=examples/gapuino-mbed-fft2d - - PLATFORMIO_PROJECT_DIR=examples/gapuino-mbed-matadd - - PLATFORMIO_PROJECT_DIR=examples/gapuino-mbed-os-irq - - PLATFORMIO_PROJECT_DIR=examples/gapuino-mbed-os-memory-pool - # - PLATFORMIO_PROJECT_DIR=examples/gapuino-pulp-os-autotiler-bilinear-resize - # - PLATFORMIO_PROJECT_DIR=examples/gapuino-pulp-os-autotiler-cifar10 - - PLATFORMIO_PROJECT_DIR=examples/gapuino-pulp-os-filesystem - - PLATFORMIO_PROJECT_DIR=examples/gapuino-pulp-os-hello-world - - PLATFORMIO_PROJECT_DIR=examples/gapuino-pulp-os-i2c-eeprom - - PLATFORMIO_PROJECT_DIR=examples/gapuino-pulp-os-kernel-dma - -install: - - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then curl -fsSL https://bootstrap.pypa.io/get-pip.py | sudo python; fi - - sudo pip install -U https://github.com/platformio/platformio/archive/develop.zip - - platformio platform install file://. - -script: - - platformio run -d $PLATFORMIO_PROJECT_DIR - -notifications: - email: false - - slack: - rooms: - secure: wOhUmH8I8XDDxv5Zw2b/+hte7OGrAPoZ1YdZkBqjQg3WcliZRnPH5GV0uUIAOy2zqXoVE1lBqynTmXjAO3nU1mFPqjm8kWtwnROv52XND7bnYoDziJJvZVKMi2akNv9Q7MXcw4G0T9HxIEF626z7jzH+Q/TlTtFzRIX2sbfvRKxZ00iF6wxY77/YNBM+Udn9Mo2WVCyl2dcsOVnl/bffxHEqEB0gNmjFIM1UmEFYNVwGkqczOajLIMfIcH5WfY9YxSXriV2O7Aq6yuIDuzyVJ1UiUMYXB0uO0ZJzV8OSQf7RMBHxMFAVbNgbqCEcB15HiqDUCoVYkxSE2HZM7LQSAY+a4Snd5e0h6mxeyJyAgyf6Ltvdwo+4t6RH6KIWvGmdTo/nM6UiV1WBnoXUos3K+ZWCrTcwh+5mYn6FWFpqHIUrndNtkY3PCIzcxPgMAM87mGGGXe9w9tH6rT+zkqfabHRC1JQz2W+uTUePdEPbei9XQO5lIRAY0o8J6SHbM91cGLB48feJ7AfGSsSYciFNLBIQMNmEzVuzQngHJP7AC2vsrczwReHyR1vjLQhwaacI0W6oQ0kKbANA835cjOGCVRKDr1uvd8xiOVxRnL/qP5GlF36TwGjkl4SJj2gYIQMU6YeMTd1cxZi7iWgu+gDcJPqQ6mkr5jQSiKMRJUzuP98= - on_failure: always - on_success: change diff --git a/README.md b/README.md index d866158..ef70a6a 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/appveyor.yml b/appveyor.yml deleted file mode 100644 index 7a635e8..0000000 --- a/appveyor.yml +++ /dev/null @@ -1,42 +0,0 @@ -build: off -environment: - - matrix: - # - PLATFORMIO_PROJECT_DIR: "examples/gapuino-mbed-autotiler-cifar10" - - PLATFORMIO_PROJECT_DIR: "examples/gapuino-mbed-driver-cpp-raw-serial" - - PLATFORMIO_PROJECT_DIR: "examples/gapuino-mbed-driver-hyper-flash" - - PLATFORMIO_PROJECT_DIR: "examples/gapuino-mbed-driver-hyper-rtc-alarm" - - PLATFORMIO_PROJECT_DIR: "examples/gapuino-mbed-events-queue" - - PLATFORMIO_PROJECT_DIR: "examples/gapuino-mbed-features-cluster-dma" - - PLATFORMIO_PROJECT_DIR: "examples/gapuino-mbed-features-filesystem" - - PLATFORMIO_PROJECT_DIR: "examples/gapuino-mbed-fft2d" - - PLATFORMIO_PROJECT_DIR: "examples/gapuino-mbed-matadd" - - PLATFORMIO_PROJECT_DIR: "examples/gapuino-mbed-os-irq" - - PLATFORMIO_PROJECT_DIR: "examples/gapuino-mbed-os-memory-pool" - # - PLATFORMIO_PROJECT_DIR: "examples/gapuino-pulp-os-autotiler-bilinear-resize" - # - PLATFORMIO_PROJECT_DIR: "examples/gapuino-pulp-os-autotiler-cifar10" - - PLATFORMIO_PROJECT_DIR: "examples/gapuino-pulp-os-filesystem" - - PLATFORMIO_PROJECT_DIR: "examples/gapuino-pulp-os-hello-world" - - PLATFORMIO_PROJECT_DIR: "examples/gapuino-pulp-os-i2c-eeprom" - - PLATFORMIO_PROJECT_DIR: "examples/gapuino-pulp-os-kernel-dma" - -install: -- if %PLATFORM% == x64 SET PATH=C:\Python27-x64;C:\Python27-x64\Scripts;%PATH% -- if %PLATFORM% == x86 SET PATH=%PATH%;C:\Python36\Scripts -- cmd: git submodule update --init --recursive -- cmd: pip3 install -U https://github.com/platformio/platformio/archive/develop.zip -- cmd: platformio platform install file://. - -test_script: -- cmd: platformio run -d %PLATFORMIO_PROJECT_DIR% - -platform: -- x64 - -notifications: - - provider: Slack - incoming_webhook: - secure: E9H0SU0Ju7WLDvgxsV8cs3J62T3nTTX7QkEjsczN0Sto/c9hWkVfhc5gGWUkxhlD975cokHByKGJIdwYwCewqOI+7BrcT8U+nlga4Uau7J8= - on_build_success: false - on_build_failure: true - on_build_status_changed: true diff --git a/builder/autotiler.py b/builder/autotiler.py index 26718af..4eb9bc5 100644 --- a/builder/autotiler.py +++ b/builder/autotiler.py @@ -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 diff --git a/builder/compat.py b/builder/compat.py deleted file mode 100644 index b8dfe3d..0000000 --- a/builder/compat.py +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright 2014-present PlatformIO -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -from SCons.Script import AlwaysBuild, Import - - -Import("env") - - -# Added in PIO Core 4.4.0 -if not hasattr(env, "AddPlatformTarget"): - - def AddPlatformTarget( - env, - name, - dependencies, - actions, - title=None, - description=None, - always_build=True, - ): - target = env.Alias(name, dependencies, actions) - if always_build: - AlwaysBuild(target) - return target - - env.AddMethod(AddPlatformTarget) diff --git a/builder/main.py b/builder/main.py index 10ee8a1..a60a6d9 100644 --- a/builder/main.py +++ b/builder/main.py @@ -21,7 +21,6 @@ env = DefaultEnvironment() -env.SConscript("compat.py", exports="env") platform = env.PioPlatform() board_config = env.BoardConfig() @@ -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" @@ -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") diff --git a/examples/gapuino-mbed-autotiler-cifar10/.travis.yml b/examples/gapuino-mbed-autotiler-cifar10/.travis.yml deleted file mode 100644 index 7c486f1..0000000 --- a/examples/gapuino-mbed-autotiler-cifar10/.travis.yml +++ /dev/null @@ -1,67 +0,0 @@ -# Continuous Integration (CI) is the practice, in software -# engineering, of merging all developer working copies with a shared mainline -# several times a day < https://docs.platformio.org/page/ci/index.html > -# -# Documentation: -# -# * Travis CI Embedded Builds with PlatformIO -# < https://docs.travis-ci.com/user/integration/platformio/ > -# -# * PlatformIO integration with Travis CI -# < https://docs.platformio.org/page/ci/travis.html > -# -# * User Guide for `platformio ci` command -# < https://docs.platformio.org/page/userguide/cmd_ci.html > -# -# -# Please choose one of the following templates (proposed below) and uncomment -# it (remove "# " before each line) or use own configuration according to the -# Travis CI documentation (see above). -# - - -# -# Template #1: General project. Test it using existing `platformio.ini`. -# - -# language: python -# python: -# - "2.7" -# -# sudo: false -# cache: -# directories: -# - "~/.platformio" -# -# install: -# - pip install -U platformio -# - platformio update -# -# script: -# - platformio run - - -# -# Template #2: The project is intended to be used as a library with examples. -# - -# language: python -# python: -# - "2.7" -# -# sudo: false -# cache: -# directories: -# - "~/.platformio" -# -# env: -# - PLATFORMIO_CI_SRC=path/to/test/file.c -# - PLATFORMIO_CI_SRC=examples/file.ino -# - PLATFORMIO_CI_SRC=path/to/test/directory -# -# install: -# - pip install -U platformio -# - platformio update -# -# script: -# - platformio ci --lib="." --board=ID_1 --board=ID_2 --board=ID_N diff --git a/examples/gapuino-mbed-fft2d/README.rst b/examples/gapuino-mbed-autotiler-cifar10/README.md similarity index 61% rename from examples/gapuino-mbed-fft2d/README.rst rename to examples/gapuino-mbed-autotiler-cifar10/README.md index 54c689d..28be528 100644 --- a/examples/gapuino-mbed-fft2d/README.rst +++ b/examples/gapuino-mbed-autotiler-cifar10/README.md @@ -12,21 +12,21 @@ How to build PlatformIO based project ===================================== -1. `Install PlatformIO Core `_ -2. Download `development platform with examples `_ +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 +``` diff --git a/examples/gapuino-mbed-autotiler-cifar10/README.rst b/examples/gapuino-mbed-autotiler-cifar10/README.rst deleted file mode 100644 index f85bb6c..0000000 --- a/examples/gapuino-mbed-autotiler-cifar10/README.rst +++ /dev/null @@ -1,32 +0,0 @@ -.. Copyright 2018-present PIO Plus - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - http://www.apache.org/licenses/LICENSE-2.0 - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - -How to build PlatformIO based project -===================================== - -1. `Install PlatformIO Core `_ -2. Download `development platform with examples `_ -3. Extract ZIP archive -4. Run these commands: - -.. code-block:: bash - - # Change directory to example - > cd platform-riscv_gap/examples/gapuino-mbed-os-autotiler-cifar10 - - # Build project - > platformio run - - # Upload firmware - > platformio run --target upload - - # Clean build files - > platformio run --target clean diff --git a/examples/gapuino-mbed-autotiler-cifar10/platformio.ini b/examples/gapuino-mbed-autotiler-cifar10/platformio.ini index 4869905..1ff47a8 100644 --- a/examples/gapuino-mbed-autotiler-cifar10/platformio.ini +++ b/examples/gapuino-mbed-autotiler-cifar10/platformio.ini @@ -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 diff --git a/examples/gapuino-mbed-driver-cpp-raw-serial/.travis.yml b/examples/gapuino-mbed-driver-cpp-raw-serial/.travis.yml deleted file mode 100644 index 7c486f1..0000000 --- a/examples/gapuino-mbed-driver-cpp-raw-serial/.travis.yml +++ /dev/null @@ -1,67 +0,0 @@ -# Continuous Integration (CI) is the practice, in software -# engineering, of merging all developer working copies with a shared mainline -# several times a day < https://docs.platformio.org/page/ci/index.html > -# -# Documentation: -# -# * Travis CI Embedded Builds with PlatformIO -# < https://docs.travis-ci.com/user/integration/platformio/ > -# -# * PlatformIO integration with Travis CI -# < https://docs.platformio.org/page/ci/travis.html > -# -# * User Guide for `platformio ci` command -# < https://docs.platformio.org/page/userguide/cmd_ci.html > -# -# -# Please choose one of the following templates (proposed below) and uncomment -# it (remove "# " before each line) or use own configuration according to the -# Travis CI documentation (see above). -# - - -# -# Template #1: General project. Test it using existing `platformio.ini`. -# - -# language: python -# python: -# - "2.7" -# -# sudo: false -# cache: -# directories: -# - "~/.platformio" -# -# install: -# - pip install -U platformio -# - platformio update -# -# script: -# - platformio run - - -# -# Template #2: The project is intended to be used as a library with examples. -# - -# language: python -# python: -# - "2.7" -# -# sudo: false -# cache: -# directories: -# - "~/.platformio" -# -# env: -# - PLATFORMIO_CI_SRC=path/to/test/file.c -# - PLATFORMIO_CI_SRC=examples/file.ino -# - PLATFORMIO_CI_SRC=path/to/test/directory -# -# install: -# - pip install -U platformio -# - platformio update -# -# script: -# - platformio ci --lib="." --board=ID_1 --board=ID_2 --board=ID_N diff --git a/examples/gapuino-mbed-matadd/README.rst b/examples/gapuino-mbed-driver-cpp-raw-serial/README.md similarity index 61% rename from examples/gapuino-mbed-matadd/README.rst rename to examples/gapuino-mbed-driver-cpp-raw-serial/README.md index abae150..25b79e3 100644 --- a/examples/gapuino-mbed-matadd/README.rst +++ b/examples/gapuino-mbed-driver-cpp-raw-serial/README.md @@ -12,21 +12,21 @@ How to build PlatformIO based project ===================================== -1. `Install PlatformIO Core `_ -2. Download `development platform with examples `_ +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-driver-cpp-raw-serial - # Change directory to example - > cd platform-riscv_gap/examples/gapuino-mbed-matadd +# 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 +``` diff --git a/examples/gapuino-mbed-driver-cpp-raw-serial/README.rst b/examples/gapuino-mbed-driver-cpp-raw-serial/README.rst deleted file mode 100644 index 13e7ba5..0000000 --- a/examples/gapuino-mbed-driver-cpp-raw-serial/README.rst +++ /dev/null @@ -1,32 +0,0 @@ -.. Copyright 2018-present PIO Plus - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - http://www.apache.org/licenses/LICENSE-2.0 - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - -How to build PlatformIO based project -===================================== - -1. `Install PlatformIO Core `_ -2. Download `development platform with examples `_ -3. Extract ZIP archive -4. Run these commands: - -.. code-block:: bash - - # Change directory to example - > cd platform-riscv_gap/examples/gapuino-mbed-driver-cpp-raw-serial - - # Build project - > platformio run - - # Upload firmware - > platformio run --target upload - - # Clean build files - > platformio run --target clean diff --git a/examples/gapuino-mbed-driver-cpp-raw-serial/platformio.ini b/examples/gapuino-mbed-driver-cpp-raw-serial/platformio.ini index 4869905..1ff47a8 100644 --- a/examples/gapuino-mbed-driver-cpp-raw-serial/platformio.ini +++ b/examples/gapuino-mbed-driver-cpp-raw-serial/platformio.ini @@ -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 diff --git a/examples/gapuino-mbed-driver-hyper-flash/.travis.yml b/examples/gapuino-mbed-driver-hyper-flash/.travis.yml deleted file mode 100644 index 7c486f1..0000000 --- a/examples/gapuino-mbed-driver-hyper-flash/.travis.yml +++ /dev/null @@ -1,67 +0,0 @@ -# Continuous Integration (CI) is the practice, in software -# engineering, of merging all developer working copies with a shared mainline -# several times a day < https://docs.platformio.org/page/ci/index.html > -# -# Documentation: -# -# * Travis CI Embedded Builds with PlatformIO -# < https://docs.travis-ci.com/user/integration/platformio/ > -# -# * PlatformIO integration with Travis CI -# < https://docs.platformio.org/page/ci/travis.html > -# -# * User Guide for `platformio ci` command -# < https://docs.platformio.org/page/userguide/cmd_ci.html > -# -# -# Please choose one of the following templates (proposed below) and uncomment -# it (remove "# " before each line) or use own configuration according to the -# Travis CI documentation (see above). -# - - -# -# Template #1: General project. Test it using existing `platformio.ini`. -# - -# language: python -# python: -# - "2.7" -# -# sudo: false -# cache: -# directories: -# - "~/.platformio" -# -# install: -# - pip install -U platformio -# - platformio update -# -# script: -# - platformio run - - -# -# Template #2: The project is intended to be used as a library with examples. -# - -# language: python -# python: -# - "2.7" -# -# sudo: false -# cache: -# directories: -# - "~/.platformio" -# -# env: -# - PLATFORMIO_CI_SRC=path/to/test/file.c -# - PLATFORMIO_CI_SRC=examples/file.ino -# - PLATFORMIO_CI_SRC=path/to/test/directory -# -# install: -# - pip install -U platformio -# - platformio update -# -# script: -# - platformio ci --lib="." --board=ID_1 --board=ID_2 --board=ID_N diff --git a/examples/gapuino-mbed-os-irq/README.rst b/examples/gapuino-mbed-driver-hyper-flash/README.md similarity index 61% rename from examples/gapuino-mbed-os-irq/README.rst rename to examples/gapuino-mbed-driver-hyper-flash/README.md index 3d5bedf..25b79e3 100644 --- a/examples/gapuino-mbed-os-irq/README.rst +++ b/examples/gapuino-mbed-driver-hyper-flash/README.md @@ -12,21 +12,21 @@ How to build PlatformIO based project ===================================== -1. `Install PlatformIO Core `_ -2. Download `development platform with examples `_ +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-driver-cpp-raw-serial - # Change directory to example - > cd platform-riscv_gap/examples/gapuino-mbed-os-irq +# 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 +``` diff --git a/examples/gapuino-mbed-driver-hyper-flash/README.rst b/examples/gapuino-mbed-driver-hyper-flash/README.rst deleted file mode 100644 index 13e7ba5..0000000 --- a/examples/gapuino-mbed-driver-hyper-flash/README.rst +++ /dev/null @@ -1,32 +0,0 @@ -.. Copyright 2018-present PIO Plus - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - http://www.apache.org/licenses/LICENSE-2.0 - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - -How to build PlatformIO based project -===================================== - -1. `Install PlatformIO Core `_ -2. Download `development platform with examples `_ -3. Extract ZIP archive -4. Run these commands: - -.. code-block:: bash - - # Change directory to example - > cd platform-riscv_gap/examples/gapuino-mbed-driver-cpp-raw-serial - - # Build project - > platformio run - - # Upload firmware - > platformio run --target upload - - # Clean build files - > platformio run --target clean diff --git a/examples/gapuino-mbed-driver-hyper-flash/platformio.ini b/examples/gapuino-mbed-driver-hyper-flash/platformio.ini index 4869905..1ff47a8 100644 --- a/examples/gapuino-mbed-driver-hyper-flash/platformio.ini +++ b/examples/gapuino-mbed-driver-hyper-flash/platformio.ini @@ -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 diff --git a/examples/gapuino-mbed-driver-hyper-rtc-alarm/.travis.yml b/examples/gapuino-mbed-driver-hyper-rtc-alarm/.travis.yml deleted file mode 100644 index 7c486f1..0000000 --- a/examples/gapuino-mbed-driver-hyper-rtc-alarm/.travis.yml +++ /dev/null @@ -1,67 +0,0 @@ -# Continuous Integration (CI) is the practice, in software -# engineering, of merging all developer working copies with a shared mainline -# several times a day < https://docs.platformio.org/page/ci/index.html > -# -# Documentation: -# -# * Travis CI Embedded Builds with PlatformIO -# < https://docs.travis-ci.com/user/integration/platformio/ > -# -# * PlatformIO integration with Travis CI -# < https://docs.platformio.org/page/ci/travis.html > -# -# * User Guide for `platformio ci` command -# < https://docs.platformio.org/page/userguide/cmd_ci.html > -# -# -# Please choose one of the following templates (proposed below) and uncomment -# it (remove "# " before each line) or use own configuration according to the -# Travis CI documentation (see above). -# - - -# -# Template #1: General project. Test it using existing `platformio.ini`. -# - -# language: python -# python: -# - "2.7" -# -# sudo: false -# cache: -# directories: -# - "~/.platformio" -# -# install: -# - pip install -U platformio -# - platformio update -# -# script: -# - platformio run - - -# -# Template #2: The project is intended to be used as a library with examples. -# - -# language: python -# python: -# - "2.7" -# -# sudo: false -# cache: -# directories: -# - "~/.platformio" -# -# env: -# - PLATFORMIO_CI_SRC=path/to/test/file.c -# - PLATFORMIO_CI_SRC=examples/file.ino -# - PLATFORMIO_CI_SRC=path/to/test/directory -# -# install: -# - pip install -U platformio -# - platformio update -# -# script: -# - platformio ci --lib="." --board=ID_1 --board=ID_2 --board=ID_N diff --git a/examples/gapuino-mbed-events-queue/README.rst b/examples/gapuino-mbed-driver-hyper-rtc-alarm/README.md similarity index 61% rename from examples/gapuino-mbed-events-queue/README.rst rename to examples/gapuino-mbed-driver-hyper-rtc-alarm/README.md index 76ba749..dd94393 100644 --- a/examples/gapuino-mbed-events-queue/README.rst +++ b/examples/gapuino-mbed-driver-hyper-rtc-alarm/README.md @@ -12,21 +12,21 @@ How to build PlatformIO based project ===================================== -1. `Install PlatformIO Core `_ -2. Download `development platform with examples `_ +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-driver-hyper-rtc-alarm - # Change directory to example - > cd platform-riscv_gap/examples/gapuino-mbed-events-queue +# 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 +``` diff --git a/examples/gapuino-mbed-driver-hyper-rtc-alarm/README.rst b/examples/gapuino-mbed-driver-hyper-rtc-alarm/README.rst deleted file mode 100644 index 48f2ae5..0000000 --- a/examples/gapuino-mbed-driver-hyper-rtc-alarm/README.rst +++ /dev/null @@ -1,32 +0,0 @@ -.. Copyright 2018-present PIO Plus - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - http://www.apache.org/licenses/LICENSE-2.0 - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - -How to build PlatformIO based project -===================================== - -1. `Install PlatformIO Core `_ -2. Download `development platform with examples `_ -3. Extract ZIP archive -4. Run these commands: - -.. code-block:: bash - - # Change directory to example - > cd platform-riscv_gap/examples/gapuino-mbed-driver-hyper-rtc-alarm - - # Build project - > platformio run - - # Upload firmware - > platformio run --target upload - - # Clean build files - > platformio run --target clean diff --git a/examples/gapuino-mbed-driver-hyper-rtc-alarm/platformio.ini b/examples/gapuino-mbed-driver-hyper-rtc-alarm/platformio.ini index 4869905..1ff47a8 100644 --- a/examples/gapuino-mbed-driver-hyper-rtc-alarm/platformio.ini +++ b/examples/gapuino-mbed-driver-hyper-rtc-alarm/platformio.ini @@ -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 diff --git a/examples/gapuino-mbed-events-queue/.travis.yml b/examples/gapuino-mbed-events-queue/.travis.yml deleted file mode 100644 index 7c486f1..0000000 --- a/examples/gapuino-mbed-events-queue/.travis.yml +++ /dev/null @@ -1,67 +0,0 @@ -# Continuous Integration (CI) is the practice, in software -# engineering, of merging all developer working copies with a shared mainline -# several times a day < https://docs.platformio.org/page/ci/index.html > -# -# Documentation: -# -# * Travis CI Embedded Builds with PlatformIO -# < https://docs.travis-ci.com/user/integration/platformio/ > -# -# * PlatformIO integration with Travis CI -# < https://docs.platformio.org/page/ci/travis.html > -# -# * User Guide for `platformio ci` command -# < https://docs.platformio.org/page/userguide/cmd_ci.html > -# -# -# Please choose one of the following templates (proposed below) and uncomment -# it (remove "# " before each line) or use own configuration according to the -# Travis CI documentation (see above). -# - - -# -# Template #1: General project. Test it using existing `platformio.ini`. -# - -# language: python -# python: -# - "2.7" -# -# sudo: false -# cache: -# directories: -# - "~/.platformio" -# -# install: -# - pip install -U platformio -# - platformio update -# -# script: -# - platformio run - - -# -# Template #2: The project is intended to be used as a library with examples. -# - -# language: python -# python: -# - "2.7" -# -# sudo: false -# cache: -# directories: -# - "~/.platformio" -# -# env: -# - PLATFORMIO_CI_SRC=path/to/test/file.c -# - PLATFORMIO_CI_SRC=examples/file.ino -# - PLATFORMIO_CI_SRC=path/to/test/directory -# -# install: -# - pip install -U platformio -# - platformio update -# -# script: -# - platformio ci --lib="." --board=ID_1 --board=ID_2 --board=ID_N diff --git a/examples/gapuino-mbed-events-queue/README.md b/examples/gapuino-mbed-events-queue/README.md new file mode 100644 index 0000000..5248572 --- /dev/null +++ b/examples/gapuino-mbed-events-queue/README.md @@ -0,0 +1,32 @@ +.. Copyright 2018-present PIO Plus + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +How to build PlatformIO based project +===================================== + +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: + +```shell +# Change directory to example +$ cd platform-riscv_gap/examples/gapuino-mbed-events-queue + +# Build project +$ pio run + +# Upload firmware +$ pio run --target upload + +# Clean build files +$ pio run --target clean +``` diff --git a/examples/gapuino-mbed-events-queue/platformio.ini b/examples/gapuino-mbed-events-queue/platformio.ini index 4869905..1ff47a8 100644 --- a/examples/gapuino-mbed-events-queue/platformio.ini +++ b/examples/gapuino-mbed-events-queue/platformio.ini @@ -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 diff --git a/examples/gapuino-mbed-features-cluster-dma/.travis.yml b/examples/gapuino-mbed-features-cluster-dma/.travis.yml deleted file mode 100644 index 7c486f1..0000000 --- a/examples/gapuino-mbed-features-cluster-dma/.travis.yml +++ /dev/null @@ -1,67 +0,0 @@ -# Continuous Integration (CI) is the practice, in software -# engineering, of merging all developer working copies with a shared mainline -# several times a day < https://docs.platformio.org/page/ci/index.html > -# -# Documentation: -# -# * Travis CI Embedded Builds with PlatformIO -# < https://docs.travis-ci.com/user/integration/platformio/ > -# -# * PlatformIO integration with Travis CI -# < https://docs.platformio.org/page/ci/travis.html > -# -# * User Guide for `platformio ci` command -# < https://docs.platformio.org/page/userguide/cmd_ci.html > -# -# -# Please choose one of the following templates (proposed below) and uncomment -# it (remove "# " before each line) or use own configuration according to the -# Travis CI documentation (see above). -# - - -# -# Template #1: General project. Test it using existing `platformio.ini`. -# - -# language: python -# python: -# - "2.7" -# -# sudo: false -# cache: -# directories: -# - "~/.platformio" -# -# install: -# - pip install -U platformio -# - platformio update -# -# script: -# - platformio run - - -# -# Template #2: The project is intended to be used as a library with examples. -# - -# language: python -# python: -# - "2.7" -# -# sudo: false -# cache: -# directories: -# - "~/.platformio" -# -# env: -# - PLATFORMIO_CI_SRC=path/to/test/file.c -# - PLATFORMIO_CI_SRC=examples/file.ino -# - PLATFORMIO_CI_SRC=path/to/test/directory -# -# install: -# - pip install -U platformio -# - platformio update -# -# script: -# - platformio ci --lib="." --board=ID_1 --board=ID_2 --board=ID_N diff --git a/examples/gapuino-mbed-features-cluster-dma/README.md b/examples/gapuino-mbed-features-cluster-dma/README.md new file mode 100644 index 0000000..98b7eb6 --- /dev/null +++ b/examples/gapuino-mbed-features-cluster-dma/README.md @@ -0,0 +1,32 @@ +.. Copyright 2018-present PIO Plus + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +How to build PlatformIO based project +===================================== + +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: + +```shell +# Change directory to example +$ cd platform-riscv_gap/examples/gapuino-mbed-features-cluster-dma + +# Build project +$ pio run + +# Upload firmware +$ pio run --target upload + +# Clean build files +$ pio run --target clean +``` diff --git a/examples/gapuino-mbed-features-cluster-dma/README.rst b/examples/gapuino-mbed-features-cluster-dma/README.rst deleted file mode 100644 index 9ba3241..0000000 --- a/examples/gapuino-mbed-features-cluster-dma/README.rst +++ /dev/null @@ -1,32 +0,0 @@ -.. Copyright 2018-present PIO Plus - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - http://www.apache.org/licenses/LICENSE-2.0 - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - -How to build PlatformIO based project -===================================== - -1. `Install PlatformIO Core `_ -2. Download `development platform with examples `_ -3. Extract ZIP archive -4. Run these commands: - -.. code-block:: bash - - # Change directory to example - > cd platform-riscv_gap/examples/gapuino-mbed-features-cluster-dma - - # Build project - > platformio run - - # Upload firmware - > platformio run --target upload - - # Clean build files - > platformio run --target clean diff --git a/examples/gapuino-mbed-features-cluster-dma/platformio.ini b/examples/gapuino-mbed-features-cluster-dma/platformio.ini index 4869905..1ff47a8 100644 --- a/examples/gapuino-mbed-features-cluster-dma/platformio.ini +++ b/examples/gapuino-mbed-features-cluster-dma/platformio.ini @@ -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 diff --git a/examples/gapuino-mbed-features-filesystem/.travis.yml b/examples/gapuino-mbed-features-filesystem/.travis.yml deleted file mode 100644 index 7c486f1..0000000 --- a/examples/gapuino-mbed-features-filesystem/.travis.yml +++ /dev/null @@ -1,67 +0,0 @@ -# Continuous Integration (CI) is the practice, in software -# engineering, of merging all developer working copies with a shared mainline -# several times a day < https://docs.platformio.org/page/ci/index.html > -# -# Documentation: -# -# * Travis CI Embedded Builds with PlatformIO -# < https://docs.travis-ci.com/user/integration/platformio/ > -# -# * PlatformIO integration with Travis CI -# < https://docs.platformio.org/page/ci/travis.html > -# -# * User Guide for `platformio ci` command -# < https://docs.platformio.org/page/userguide/cmd_ci.html > -# -# -# Please choose one of the following templates (proposed below) and uncomment -# it (remove "# " before each line) or use own configuration according to the -# Travis CI documentation (see above). -# - - -# -# Template #1: General project. Test it using existing `platformio.ini`. -# - -# language: python -# python: -# - "2.7" -# -# sudo: false -# cache: -# directories: -# - "~/.platformio" -# -# install: -# - pip install -U platformio -# - platformio update -# -# script: -# - platformio run - - -# -# Template #2: The project is intended to be used as a library with examples. -# - -# language: python -# python: -# - "2.7" -# -# sudo: false -# cache: -# directories: -# - "~/.platformio" -# -# env: -# - PLATFORMIO_CI_SRC=path/to/test/file.c -# - PLATFORMIO_CI_SRC=examples/file.ino -# - PLATFORMIO_CI_SRC=path/to/test/directory -# -# install: -# - pip install -U platformio -# - platformio update -# -# script: -# - platformio ci --lib="." --board=ID_1 --board=ID_2 --board=ID_N diff --git a/examples/gapuino-mbed-features-filesystem/README.md b/examples/gapuino-mbed-features-filesystem/README.md new file mode 100644 index 0000000..1f09ba9 --- /dev/null +++ b/examples/gapuino-mbed-features-filesystem/README.md @@ -0,0 +1,32 @@ +.. Copyright 2018-present PIO Plus + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +How to build PlatformIO based project +===================================== + +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: + +```shell +# Change directory to example +$ cd platform-riscv_gap/examples/gapuino-mbed-features-filesystem + +# Build project +$ pio run + +# Upload firmware +$ pio run --target upload + +# Clean build files +$ pio run --target clean +``` diff --git a/examples/gapuino-mbed-features-filesystem/README.rst b/examples/gapuino-mbed-features-filesystem/README.rst deleted file mode 100644 index 7ca1b62..0000000 --- a/examples/gapuino-mbed-features-filesystem/README.rst +++ /dev/null @@ -1,32 +0,0 @@ -.. Copyright 2018-present PIO Plus - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - http://www.apache.org/licenses/LICENSE-2.0 - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - -How to build PlatformIO based project -===================================== - -1. `Install PlatformIO Core `_ -2. Download `development platform with examples `_ -3. Extract ZIP archive -4. Run these commands: - -.. code-block:: bash - - # Change directory to example - > cd platform-riscv_gap/examples/gapuino-mbed-features-filesystem - - # Build project - > platformio run - - # Upload firmware - > platformio run --target upload - - # Clean build files - > platformio run --target clean diff --git a/examples/gapuino-mbed-features-filesystem/platformio.ini b/examples/gapuino-mbed-features-filesystem/platformio.ini index 4869905..1ff47a8 100644 --- a/examples/gapuino-mbed-features-filesystem/platformio.ini +++ b/examples/gapuino-mbed-features-filesystem/platformio.ini @@ -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 diff --git a/examples/gapuino-mbed-fft2d/.travis.yml b/examples/gapuino-mbed-fft2d/.travis.yml deleted file mode 100644 index 7c486f1..0000000 --- a/examples/gapuino-mbed-fft2d/.travis.yml +++ /dev/null @@ -1,67 +0,0 @@ -# Continuous Integration (CI) is the practice, in software -# engineering, of merging all developer working copies with a shared mainline -# several times a day < https://docs.platformio.org/page/ci/index.html > -# -# Documentation: -# -# * Travis CI Embedded Builds with PlatformIO -# < https://docs.travis-ci.com/user/integration/platformio/ > -# -# * PlatformIO integration with Travis CI -# < https://docs.platformio.org/page/ci/travis.html > -# -# * User Guide for `platformio ci` command -# < https://docs.platformio.org/page/userguide/cmd_ci.html > -# -# -# Please choose one of the following templates (proposed below) and uncomment -# it (remove "# " before each line) or use own configuration according to the -# Travis CI documentation (see above). -# - - -# -# Template #1: General project. Test it using existing `platformio.ini`. -# - -# language: python -# python: -# - "2.7" -# -# sudo: false -# cache: -# directories: -# - "~/.platformio" -# -# install: -# - pip install -U platformio -# - platformio update -# -# script: -# - platformio run - - -# -# Template #2: The project is intended to be used as a library with examples. -# - -# language: python -# python: -# - "2.7" -# -# sudo: false -# cache: -# directories: -# - "~/.platformio" -# -# env: -# - PLATFORMIO_CI_SRC=path/to/test/file.c -# - PLATFORMIO_CI_SRC=examples/file.ino -# - PLATFORMIO_CI_SRC=path/to/test/directory -# -# install: -# - pip install -U platformio -# - platformio update -# -# script: -# - platformio ci --lib="." --board=ID_1 --board=ID_2 --board=ID_N diff --git a/examples/gapuino-mbed-fft2d/README.md b/examples/gapuino-mbed-fft2d/README.md new file mode 100644 index 0000000..8a66db0 --- /dev/null +++ b/examples/gapuino-mbed-fft2d/README.md @@ -0,0 +1,32 @@ +.. Copyright 2018-present PIO Plus + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +How to build PlatformIO based project +===================================== + +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: + +```shell +# Change directory to example +$ cd platform-riscv_gap/examples/gapuino-mbed-fft2d + +# Build project +$ pio run + +# Upload firmware +$ pio run --target upload + +# Clean build files +$ pio run --target clean +``` diff --git a/examples/gapuino-mbed-fft2d/platformio.ini b/examples/gapuino-mbed-fft2d/platformio.ini index 4869905..1ff47a8 100644 --- a/examples/gapuino-mbed-fft2d/platformio.ini +++ b/examples/gapuino-mbed-fft2d/platformio.ini @@ -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 diff --git a/examples/gapuino-mbed-matadd/.travis.yml b/examples/gapuino-mbed-matadd/.travis.yml deleted file mode 100644 index 7c486f1..0000000 --- a/examples/gapuino-mbed-matadd/.travis.yml +++ /dev/null @@ -1,67 +0,0 @@ -# Continuous Integration (CI) is the practice, in software -# engineering, of merging all developer working copies with a shared mainline -# several times a day < https://docs.platformio.org/page/ci/index.html > -# -# Documentation: -# -# * Travis CI Embedded Builds with PlatformIO -# < https://docs.travis-ci.com/user/integration/platformio/ > -# -# * PlatformIO integration with Travis CI -# < https://docs.platformio.org/page/ci/travis.html > -# -# * User Guide for `platformio ci` command -# < https://docs.platformio.org/page/userguide/cmd_ci.html > -# -# -# Please choose one of the following templates (proposed below) and uncomment -# it (remove "# " before each line) or use own configuration according to the -# Travis CI documentation (see above). -# - - -# -# Template #1: General project. Test it using existing `platformio.ini`. -# - -# language: python -# python: -# - "2.7" -# -# sudo: false -# cache: -# directories: -# - "~/.platformio" -# -# install: -# - pip install -U platformio -# - platformio update -# -# script: -# - platformio run - - -# -# Template #2: The project is intended to be used as a library with examples. -# - -# language: python -# python: -# - "2.7" -# -# sudo: false -# cache: -# directories: -# - "~/.platformio" -# -# env: -# - PLATFORMIO_CI_SRC=path/to/test/file.c -# - PLATFORMIO_CI_SRC=examples/file.ino -# - PLATFORMIO_CI_SRC=path/to/test/directory -# -# install: -# - pip install -U platformio -# - platformio update -# -# script: -# - platformio ci --lib="." --board=ID_1 --board=ID_2 --board=ID_N diff --git a/examples/gapuino-mbed-matadd/README.md b/examples/gapuino-mbed-matadd/README.md new file mode 100644 index 0000000..d5f315b --- /dev/null +++ b/examples/gapuino-mbed-matadd/README.md @@ -0,0 +1,32 @@ +.. Copyright 2018-present PIO Plus + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +How to build PlatformIO based project +===================================== + +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: + +```shell +# Change directory to example +$ cd platform-riscv_gap/examples/gapuino-mbed-matadd + +# Build project +$ pio run + +# Upload firmware +$ pio run --target upload + +# Clean build files +$ pio run --target clean +``` diff --git a/examples/gapuino-mbed-matadd/platformio.ini b/examples/gapuino-mbed-matadd/platformio.ini index 4869905..1ff47a8 100644 --- a/examples/gapuino-mbed-matadd/platformio.ini +++ b/examples/gapuino-mbed-matadd/platformio.ini @@ -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 diff --git a/examples/gapuino-mbed-os-irq/.travis.yml b/examples/gapuino-mbed-os-irq/.travis.yml deleted file mode 100644 index 7c486f1..0000000 --- a/examples/gapuino-mbed-os-irq/.travis.yml +++ /dev/null @@ -1,67 +0,0 @@ -# Continuous Integration (CI) is the practice, in software -# engineering, of merging all developer working copies with a shared mainline -# several times a day < https://docs.platformio.org/page/ci/index.html > -# -# Documentation: -# -# * Travis CI Embedded Builds with PlatformIO -# < https://docs.travis-ci.com/user/integration/platformio/ > -# -# * PlatformIO integration with Travis CI -# < https://docs.platformio.org/page/ci/travis.html > -# -# * User Guide for `platformio ci` command -# < https://docs.platformio.org/page/userguide/cmd_ci.html > -# -# -# Please choose one of the following templates (proposed below) and uncomment -# it (remove "# " before each line) or use own configuration according to the -# Travis CI documentation (see above). -# - - -# -# Template #1: General project. Test it using existing `platformio.ini`. -# - -# language: python -# python: -# - "2.7" -# -# sudo: false -# cache: -# directories: -# - "~/.platformio" -# -# install: -# - pip install -U platformio -# - platformio update -# -# script: -# - platformio run - - -# -# Template #2: The project is intended to be used as a library with examples. -# - -# language: python -# python: -# - "2.7" -# -# sudo: false -# cache: -# directories: -# - "~/.platformio" -# -# env: -# - PLATFORMIO_CI_SRC=path/to/test/file.c -# - PLATFORMIO_CI_SRC=examples/file.ino -# - PLATFORMIO_CI_SRC=path/to/test/directory -# -# install: -# - pip install -U platformio -# - platformio update -# -# script: -# - platformio ci --lib="." --board=ID_1 --board=ID_2 --board=ID_N diff --git a/examples/gapuino-mbed-os-irq/README.md b/examples/gapuino-mbed-os-irq/README.md new file mode 100644 index 0000000..8251ee8 --- /dev/null +++ b/examples/gapuino-mbed-os-irq/README.md @@ -0,0 +1,32 @@ +.. Copyright 2018-present PIO Plus + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +How to build PlatformIO based project +===================================== + +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: + +```shell +# Change directory to example +$ cd platform-riscv_gap/examples/gapuino-mbed-os-irq + +# Build project +$ pio run + +# Upload firmware +$ pio run --target upload + +# Clean build files +$ pio run --target clean +``` diff --git a/examples/gapuino-mbed-os-irq/platformio.ini b/examples/gapuino-mbed-os-irq/platformio.ini index 4869905..1ff47a8 100644 --- a/examples/gapuino-mbed-os-irq/platformio.ini +++ b/examples/gapuino-mbed-os-irq/platformio.ini @@ -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 diff --git a/examples/gapuino-mbed-os-memory-pool/.travis.yml b/examples/gapuino-mbed-os-memory-pool/.travis.yml deleted file mode 100644 index 7c486f1..0000000 --- a/examples/gapuino-mbed-os-memory-pool/.travis.yml +++ /dev/null @@ -1,67 +0,0 @@ -# Continuous Integration (CI) is the practice, in software -# engineering, of merging all developer working copies with a shared mainline -# several times a day < https://docs.platformio.org/page/ci/index.html > -# -# Documentation: -# -# * Travis CI Embedded Builds with PlatformIO -# < https://docs.travis-ci.com/user/integration/platformio/ > -# -# * PlatformIO integration with Travis CI -# < https://docs.platformio.org/page/ci/travis.html > -# -# * User Guide for `platformio ci` command -# < https://docs.platformio.org/page/userguide/cmd_ci.html > -# -# -# Please choose one of the following templates (proposed below) and uncomment -# it (remove "# " before each line) or use own configuration according to the -# Travis CI documentation (see above). -# - - -# -# Template #1: General project. Test it using existing `platformio.ini`. -# - -# language: python -# python: -# - "2.7" -# -# sudo: false -# cache: -# directories: -# - "~/.platformio" -# -# install: -# - pip install -U platformio -# - platformio update -# -# script: -# - platformio run - - -# -# Template #2: The project is intended to be used as a library with examples. -# - -# language: python -# python: -# - "2.7" -# -# sudo: false -# cache: -# directories: -# - "~/.platformio" -# -# env: -# - PLATFORMIO_CI_SRC=path/to/test/file.c -# - PLATFORMIO_CI_SRC=examples/file.ino -# - PLATFORMIO_CI_SRC=path/to/test/directory -# -# install: -# - pip install -U platformio -# - platformio update -# -# script: -# - platformio ci --lib="." --board=ID_1 --board=ID_2 --board=ID_N diff --git a/examples/gapuino-mbed-os-memory-pool/README.md b/examples/gapuino-mbed-os-memory-pool/README.md new file mode 100644 index 0000000..62b1683 --- /dev/null +++ b/examples/gapuino-mbed-os-memory-pool/README.md @@ -0,0 +1,32 @@ +.. Copyright 2018-present PIO Plus + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +How to build PlatformIO based project +===================================== + +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: + +```shell +# Change directory to example +$ cd platform-riscv_gap/examples/gapuino-mbed-os-memory-pool + +# Build project +$ pio run + +# Upload firmware +$ pio run --target upload + +# Clean build files +$ pio run --target clean +``` diff --git a/examples/gapuino-mbed-os-memory-pool/README.rst b/examples/gapuino-mbed-os-memory-pool/README.rst deleted file mode 100644 index 978f12d..0000000 --- a/examples/gapuino-mbed-os-memory-pool/README.rst +++ /dev/null @@ -1,32 +0,0 @@ -.. Copyright 2018-present PIO Plus - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - http://www.apache.org/licenses/LICENSE-2.0 - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - -How to build PlatformIO based project -===================================== - -1. `Install PlatformIO Core `_ -2. Download `development platform with examples `_ -3. Extract ZIP archive -4. Run these commands: - -.. code-block:: bash - - # Change directory to example - > cd platform-riscv_gap/examples/gapuino-mbed-os-memory-pool - - # Build project - > platformio run - - # Upload firmware - > platformio run --target upload - - # Clean build files - > platformio run --target clean diff --git a/examples/gapuino-mbed-os-memory-pool/platformio.ini b/examples/gapuino-mbed-os-memory-pool/platformio.ini index 4869905..1ff47a8 100644 --- a/examples/gapuino-mbed-os-memory-pool/platformio.ini +++ b/examples/gapuino-mbed-os-memory-pool/platformio.ini @@ -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 diff --git a/examples/gapuino-pulp-os-autotiler-bilinear-resize/.travis.yml b/examples/gapuino-pulp-os-autotiler-bilinear-resize/.travis.yml deleted file mode 100644 index 7c486f1..0000000 --- a/examples/gapuino-pulp-os-autotiler-bilinear-resize/.travis.yml +++ /dev/null @@ -1,67 +0,0 @@ -# Continuous Integration (CI) is the practice, in software -# engineering, of merging all developer working copies with a shared mainline -# several times a day < https://docs.platformio.org/page/ci/index.html > -# -# Documentation: -# -# * Travis CI Embedded Builds with PlatformIO -# < https://docs.travis-ci.com/user/integration/platformio/ > -# -# * PlatformIO integration with Travis CI -# < https://docs.platformio.org/page/ci/travis.html > -# -# * User Guide for `platformio ci` command -# < https://docs.platformio.org/page/userguide/cmd_ci.html > -# -# -# Please choose one of the following templates (proposed below) and uncomment -# it (remove "# " before each line) or use own configuration according to the -# Travis CI documentation (see above). -# - - -# -# Template #1: General project. Test it using existing `platformio.ini`. -# - -# language: python -# python: -# - "2.7" -# -# sudo: false -# cache: -# directories: -# - "~/.platformio" -# -# install: -# - pip install -U platformio -# - platformio update -# -# script: -# - platformio run - - -# -# Template #2: The project is intended to be used as a library with examples. -# - -# language: python -# python: -# - "2.7" -# -# sudo: false -# cache: -# directories: -# - "~/.platformio" -# -# env: -# - PLATFORMIO_CI_SRC=path/to/test/file.c -# - PLATFORMIO_CI_SRC=examples/file.ino -# - PLATFORMIO_CI_SRC=path/to/test/directory -# -# install: -# - pip install -U platformio -# - platformio update -# -# script: -# - platformio ci --lib="." --board=ID_1 --board=ID_2 --board=ID_N diff --git a/examples/gapuino-pulp-os-autotiler-bilinear-resize/README.md b/examples/gapuino-pulp-os-autotiler-bilinear-resize/README.md new file mode 100644 index 0000000..e89ed81 --- /dev/null +++ b/examples/gapuino-pulp-os-autotiler-bilinear-resize/README.md @@ -0,0 +1,32 @@ +.. Copyright 2018-present PIO Plus + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +How to build PlatformIO based project +===================================== + +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: + +```shell +# Change directory to example +$ cd platform-riscv_gap/examples/gapuino-pulp-os-autotiler-bilinear-resize + +# Build project +$ pio run + +# Upload firmware +$ pio run --target upload + +# Clean build files +$ pio run --target clean +``` diff --git a/examples/gapuino-pulp-os-autotiler-bilinear-resize/README.rst b/examples/gapuino-pulp-os-autotiler-bilinear-resize/README.rst deleted file mode 100644 index bdcf50b..0000000 --- a/examples/gapuino-pulp-os-autotiler-bilinear-resize/README.rst +++ /dev/null @@ -1,32 +0,0 @@ -.. Copyright 2018-present PIO Plus - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - http://www.apache.org/licenses/LICENSE-2.0 - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - -How to build PlatformIO based project -===================================== - -1. `Install PlatformIO Core `_ -2. Download `development platform with examples `_ -3. Extract ZIP archive -4. Run these commands: - -.. code-block:: bash - - # Change directory to example - > cd platform-riscv_gap/examples/gapuino-pulp-os-autotiler-bilinear-resize - - # Build project - > platformio run - - # Upload firmware - > platformio run --target upload - - # Clean build files - > platformio run --target clean diff --git a/examples/gapuino-pulp-os-autotiler-bilinear-resize/platformio.ini b/examples/gapuino-pulp-os-autotiler-bilinear-resize/platformio.ini index 3b7cb0b..77770b3 100644 --- a/examples/gapuino-pulp-os-autotiler-bilinear-resize/platformio.ini +++ b/examples/gapuino-pulp-os-autotiler-bilinear-resize/platformio.ini @@ -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 diff --git a/examples/gapuino-pulp-os-autotiler-cifar10/.travis.yml b/examples/gapuino-pulp-os-autotiler-cifar10/.travis.yml deleted file mode 100644 index 7c486f1..0000000 --- a/examples/gapuino-pulp-os-autotiler-cifar10/.travis.yml +++ /dev/null @@ -1,67 +0,0 @@ -# Continuous Integration (CI) is the practice, in software -# engineering, of merging all developer working copies with a shared mainline -# several times a day < https://docs.platformio.org/page/ci/index.html > -# -# Documentation: -# -# * Travis CI Embedded Builds with PlatformIO -# < https://docs.travis-ci.com/user/integration/platformio/ > -# -# * PlatformIO integration with Travis CI -# < https://docs.platformio.org/page/ci/travis.html > -# -# * User Guide for `platformio ci` command -# < https://docs.platformio.org/page/userguide/cmd_ci.html > -# -# -# Please choose one of the following templates (proposed below) and uncomment -# it (remove "# " before each line) or use own configuration according to the -# Travis CI documentation (see above). -# - - -# -# Template #1: General project. Test it using existing `platformio.ini`. -# - -# language: python -# python: -# - "2.7" -# -# sudo: false -# cache: -# directories: -# - "~/.platformio" -# -# install: -# - pip install -U platformio -# - platformio update -# -# script: -# - platformio run - - -# -# Template #2: The project is intended to be used as a library with examples. -# - -# language: python -# python: -# - "2.7" -# -# sudo: false -# cache: -# directories: -# - "~/.platformio" -# -# env: -# - PLATFORMIO_CI_SRC=path/to/test/file.c -# - PLATFORMIO_CI_SRC=examples/file.ino -# - PLATFORMIO_CI_SRC=path/to/test/directory -# -# install: -# - pip install -U platformio -# - platformio update -# -# script: -# - platformio ci --lib="." --board=ID_1 --board=ID_2 --board=ID_N diff --git a/examples/gapuino-pulp-os-autotiler-cifar10/README.md b/examples/gapuino-pulp-os-autotiler-cifar10/README.md new file mode 100644 index 0000000..4a302f6 --- /dev/null +++ b/examples/gapuino-pulp-os-autotiler-cifar10/README.md @@ -0,0 +1,32 @@ +.. Copyright 2018-present PIO Plus + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +How to build PlatformIO based project +===================================== + +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: + +```shell +# Change directory to example +$ cd platform-riscv_gap/examples/gapuino-pulp-os-autotiler-cifar10 + +# Build project +$ pio run + +# Upload firmware +$ pio run --target upload + +# Clean build files +$ pio run --target clean +``` diff --git a/examples/gapuino-pulp-os-autotiler-cifar10/README.rst b/examples/gapuino-pulp-os-autotiler-cifar10/README.rst deleted file mode 100644 index 6696248..0000000 --- a/examples/gapuino-pulp-os-autotiler-cifar10/README.rst +++ /dev/null @@ -1,32 +0,0 @@ -.. Copyright 2018-present PIO Plus - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - http://www.apache.org/licenses/LICENSE-2.0 - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - -How to build PlatformIO based project -===================================== - -1. `Install PlatformIO Core `_ -2. Download `development platform with examples `_ -3. Extract ZIP archive -4. Run these commands: - -.. code-block:: bash - - # Change directory to example - > cd platform-riscv_gap/examples/gapuino-pulp-os-autotiler-cifar10 - - # Build project - > platformio run - - # Upload firmware - > platformio run --target upload - - # Clean build files - > platformio run --target clean diff --git a/examples/gapuino-pulp-os-autotiler-cifar10/platformio.ini b/examples/gapuino-pulp-os-autotiler-cifar10/platformio.ini index 3b7cb0b..77770b3 100644 --- a/examples/gapuino-pulp-os-autotiler-cifar10/platformio.ini +++ b/examples/gapuino-pulp-os-autotiler-cifar10/platformio.ini @@ -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 diff --git a/examples/gapuino-pulp-os-filesystem/.travis.yml b/examples/gapuino-pulp-os-filesystem/.travis.yml deleted file mode 100644 index 7c486f1..0000000 --- a/examples/gapuino-pulp-os-filesystem/.travis.yml +++ /dev/null @@ -1,67 +0,0 @@ -# Continuous Integration (CI) is the practice, in software -# engineering, of merging all developer working copies with a shared mainline -# several times a day < https://docs.platformio.org/page/ci/index.html > -# -# Documentation: -# -# * Travis CI Embedded Builds with PlatformIO -# < https://docs.travis-ci.com/user/integration/platformio/ > -# -# * PlatformIO integration with Travis CI -# < https://docs.platformio.org/page/ci/travis.html > -# -# * User Guide for `platformio ci` command -# < https://docs.platformio.org/page/userguide/cmd_ci.html > -# -# -# Please choose one of the following templates (proposed below) and uncomment -# it (remove "# " before each line) or use own configuration according to the -# Travis CI documentation (see above). -# - - -# -# Template #1: General project. Test it using existing `platformio.ini`. -# - -# language: python -# python: -# - "2.7" -# -# sudo: false -# cache: -# directories: -# - "~/.platformio" -# -# install: -# - pip install -U platformio -# - platformio update -# -# script: -# - platformio run - - -# -# Template #2: The project is intended to be used as a library with examples. -# - -# language: python -# python: -# - "2.7" -# -# sudo: false -# cache: -# directories: -# - "~/.platformio" -# -# env: -# - PLATFORMIO_CI_SRC=path/to/test/file.c -# - PLATFORMIO_CI_SRC=examples/file.ino -# - PLATFORMIO_CI_SRC=path/to/test/directory -# -# install: -# - pip install -U platformio -# - platformio update -# -# script: -# - platformio ci --lib="." --board=ID_1 --board=ID_2 --board=ID_N diff --git a/examples/gapuino-pulp-os-filesystem/README.md b/examples/gapuino-pulp-os-filesystem/README.md new file mode 100644 index 0000000..4593967 --- /dev/null +++ b/examples/gapuino-pulp-os-filesystem/README.md @@ -0,0 +1,32 @@ +.. Copyright 2018-present PIO Plus + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +How to build PlatformIO based project +===================================== + +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: + +```shell +# Change directory to example +$ cd platform-riscv_gap/examples/gapuino-pulp-os-filesystem + +# Build project +$ pio run + +# Upload firmware +$ pio run --target upload + +# Clean build files +$ pio run --target clean +``` diff --git a/examples/gapuino-pulp-os-filesystem/README.rst b/examples/gapuino-pulp-os-filesystem/README.rst deleted file mode 100644 index b3a85f1..0000000 --- a/examples/gapuino-pulp-os-filesystem/README.rst +++ /dev/null @@ -1,32 +0,0 @@ -.. Copyright 2018-present PIO Plus - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - http://www.apache.org/licenses/LICENSE-2.0 - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - -How to build PlatformIO based project -===================================== - -1. `Install PlatformIO Core `_ -2. Download `development platform with examples `_ -3. Extract ZIP archive -4. Run these commands: - -.. code-block:: bash - - # Change directory to example - > cd platform-riscv_gap/examples/gapuino-pulp-os-filesystem - - # Build project - > platformio run - - # Upload firmware - > platformio run --target upload - - # Clean build files - > platformio run --target clean diff --git a/examples/gapuino-pulp-os-filesystem/platformio.ini b/examples/gapuino-pulp-os-filesystem/platformio.ini index 3b7cb0b..77770b3 100644 --- a/examples/gapuino-pulp-os-filesystem/platformio.ini +++ b/examples/gapuino-pulp-os-filesystem/platformio.ini @@ -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 diff --git a/examples/gapuino-pulp-os-hello-world/.travis.yml b/examples/gapuino-pulp-os-hello-world/.travis.yml deleted file mode 100644 index 7c486f1..0000000 --- a/examples/gapuino-pulp-os-hello-world/.travis.yml +++ /dev/null @@ -1,67 +0,0 @@ -# Continuous Integration (CI) is the practice, in software -# engineering, of merging all developer working copies with a shared mainline -# several times a day < https://docs.platformio.org/page/ci/index.html > -# -# Documentation: -# -# * Travis CI Embedded Builds with PlatformIO -# < https://docs.travis-ci.com/user/integration/platformio/ > -# -# * PlatformIO integration with Travis CI -# < https://docs.platformio.org/page/ci/travis.html > -# -# * User Guide for `platformio ci` command -# < https://docs.platformio.org/page/userguide/cmd_ci.html > -# -# -# Please choose one of the following templates (proposed below) and uncomment -# it (remove "# " before each line) or use own configuration according to the -# Travis CI documentation (see above). -# - - -# -# Template #1: General project. Test it using existing `platformio.ini`. -# - -# language: python -# python: -# - "2.7" -# -# sudo: false -# cache: -# directories: -# - "~/.platformio" -# -# install: -# - pip install -U platformio -# - platformio update -# -# script: -# - platformio run - - -# -# Template #2: The project is intended to be used as a library with examples. -# - -# language: python -# python: -# - "2.7" -# -# sudo: false -# cache: -# directories: -# - "~/.platformio" -# -# env: -# - PLATFORMIO_CI_SRC=path/to/test/file.c -# - PLATFORMIO_CI_SRC=examples/file.ino -# - PLATFORMIO_CI_SRC=path/to/test/directory -# -# install: -# - pip install -U platformio -# - platformio update -# -# script: -# - platformio ci --lib="." --board=ID_1 --board=ID_2 --board=ID_N diff --git a/examples/gapuino-pulp-os-hello-world/README.md b/examples/gapuino-pulp-os-hello-world/README.md new file mode 100644 index 0000000..a234d1b --- /dev/null +++ b/examples/gapuino-pulp-os-hello-world/README.md @@ -0,0 +1,32 @@ +.. Copyright 2018-present PIO Plus + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +How to build PlatformIO based project +===================================== + +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: + +```shell +# Change directory to example +$ cd platform-riscv_gap/examples/gapuino-pulp-os-hello-world + +# Build project +$ pio run + +# Upload firmware +$ pio run --target upload + +# Clean build files +$ pio run --target clean +``` diff --git a/examples/gapuino-pulp-os-hello-world/README.rst b/examples/gapuino-pulp-os-hello-world/README.rst deleted file mode 100644 index d26b5ef..0000000 --- a/examples/gapuino-pulp-os-hello-world/README.rst +++ /dev/null @@ -1,32 +0,0 @@ -.. Copyright 2018-present PIO Plus - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - http://www.apache.org/licenses/LICENSE-2.0 - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - -How to build PlatformIO based project -===================================== - -1. `Install PlatformIO Core `_ -2. Download `development platform with examples `_ -3. Extract ZIP archive -4. Run these commands: - -.. code-block:: bash - - # Change directory to example - > cd platform-riscv_gap/examples/gapuino-pulp-os-hello-world - - # Build project - > platformio run - - # Upload firmware - > platformio run --target upload - - # Clean build files - > platformio run --target clean diff --git a/examples/gapuino-pulp-os-hello-world/platformio.ini b/examples/gapuino-pulp-os-hello-world/platformio.ini index 3b7cb0b..77770b3 100644 --- a/examples/gapuino-pulp-os-hello-world/platformio.ini +++ b/examples/gapuino-pulp-os-hello-world/platformio.ini @@ -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 diff --git a/examples/gapuino-pulp-os-i2c-eeprom/.travis.yml b/examples/gapuino-pulp-os-i2c-eeprom/.travis.yml deleted file mode 100644 index 7c486f1..0000000 --- a/examples/gapuino-pulp-os-i2c-eeprom/.travis.yml +++ /dev/null @@ -1,67 +0,0 @@ -# Continuous Integration (CI) is the practice, in software -# engineering, of merging all developer working copies with a shared mainline -# several times a day < https://docs.platformio.org/page/ci/index.html > -# -# Documentation: -# -# * Travis CI Embedded Builds with PlatformIO -# < https://docs.travis-ci.com/user/integration/platformio/ > -# -# * PlatformIO integration with Travis CI -# < https://docs.platformio.org/page/ci/travis.html > -# -# * User Guide for `platformio ci` command -# < https://docs.platformio.org/page/userguide/cmd_ci.html > -# -# -# Please choose one of the following templates (proposed below) and uncomment -# it (remove "# " before each line) or use own configuration according to the -# Travis CI documentation (see above). -# - - -# -# Template #1: General project. Test it using existing `platformio.ini`. -# - -# language: python -# python: -# - "2.7" -# -# sudo: false -# cache: -# directories: -# - "~/.platformio" -# -# install: -# - pip install -U platformio -# - platformio update -# -# script: -# - platformio run - - -# -# Template #2: The project is intended to be used as a library with examples. -# - -# language: python -# python: -# - "2.7" -# -# sudo: false -# cache: -# directories: -# - "~/.platformio" -# -# env: -# - PLATFORMIO_CI_SRC=path/to/test/file.c -# - PLATFORMIO_CI_SRC=examples/file.ino -# - PLATFORMIO_CI_SRC=path/to/test/directory -# -# install: -# - pip install -U platformio -# - platformio update -# -# script: -# - platformio ci --lib="." --board=ID_1 --board=ID_2 --board=ID_N diff --git a/examples/gapuino-pulp-os-i2c-eeprom/README.md b/examples/gapuino-pulp-os-i2c-eeprom/README.md new file mode 100644 index 0000000..7ac96d3 --- /dev/null +++ b/examples/gapuino-pulp-os-i2c-eeprom/README.md @@ -0,0 +1,32 @@ +.. Copyright 2018-present PIO Plus + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +How to build PlatformIO based project +===================================== + +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: + +```shell +# Change directory to example +$ cd platform-riscv_gap/examples/gapuino-pulp-os-i2c-eeprom + +# Build project +$ pio run + +# Upload firmware +$ pio run --target upload + +# Clean build files +$ pio run --target clean +``` diff --git a/examples/gapuino-pulp-os-i2c-eeprom/README.rst b/examples/gapuino-pulp-os-i2c-eeprom/README.rst deleted file mode 100644 index b9ceb8f..0000000 --- a/examples/gapuino-pulp-os-i2c-eeprom/README.rst +++ /dev/null @@ -1,32 +0,0 @@ -.. Copyright 2018-present PIO Plus - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - http://www.apache.org/licenses/LICENSE-2.0 - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - -How to build PlatformIO based project -===================================== - -1. `Install PlatformIO Core `_ -2. Download `development platform with examples `_ -3. Extract ZIP archive -4. Run these commands: - -.. code-block:: bash - - # Change directory to example - > cd platform-riscv_gap/examples/gapuino-pulp-os-i2c-eeprom - - # Build project - > platformio run - - # Upload firmware - > platformio run --target upload - - # Clean build files - > platformio run --target clean diff --git a/examples/gapuino-pulp-os-i2c-eeprom/platformio.ini b/examples/gapuino-pulp-os-i2c-eeprom/platformio.ini index 3b7cb0b..77770b3 100644 --- a/examples/gapuino-pulp-os-i2c-eeprom/platformio.ini +++ b/examples/gapuino-pulp-os-i2c-eeprom/platformio.ini @@ -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 diff --git a/examples/gapuino-pulp-os-kernel-dma/.travis.yml b/examples/gapuino-pulp-os-kernel-dma/.travis.yml deleted file mode 100644 index 7c486f1..0000000 --- a/examples/gapuino-pulp-os-kernel-dma/.travis.yml +++ /dev/null @@ -1,67 +0,0 @@ -# Continuous Integration (CI) is the practice, in software -# engineering, of merging all developer working copies with a shared mainline -# several times a day < https://docs.platformio.org/page/ci/index.html > -# -# Documentation: -# -# * Travis CI Embedded Builds with PlatformIO -# < https://docs.travis-ci.com/user/integration/platformio/ > -# -# * PlatformIO integration with Travis CI -# < https://docs.platformio.org/page/ci/travis.html > -# -# * User Guide for `platformio ci` command -# < https://docs.platformio.org/page/userguide/cmd_ci.html > -# -# -# Please choose one of the following templates (proposed below) and uncomment -# it (remove "# " before each line) or use own configuration according to the -# Travis CI documentation (see above). -# - - -# -# Template #1: General project. Test it using existing `platformio.ini`. -# - -# language: python -# python: -# - "2.7" -# -# sudo: false -# cache: -# directories: -# - "~/.platformio" -# -# install: -# - pip install -U platformio -# - platformio update -# -# script: -# - platformio run - - -# -# Template #2: The project is intended to be used as a library with examples. -# - -# language: python -# python: -# - "2.7" -# -# sudo: false -# cache: -# directories: -# - "~/.platformio" -# -# env: -# - PLATFORMIO_CI_SRC=path/to/test/file.c -# - PLATFORMIO_CI_SRC=examples/file.ino -# - PLATFORMIO_CI_SRC=path/to/test/directory -# -# install: -# - pip install -U platformio -# - platformio update -# -# script: -# - platformio ci --lib="." --board=ID_1 --board=ID_2 --board=ID_N diff --git a/examples/gapuino-pulp-os-kernel-dma/README.md b/examples/gapuino-pulp-os-kernel-dma/README.md new file mode 100644 index 0000000..945b11f --- /dev/null +++ b/examples/gapuino-pulp-os-kernel-dma/README.md @@ -0,0 +1,32 @@ +.. Copyright 2018-present PIO Plus + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +How to build PlatformIO based project +===================================== + +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: + +```shell +# Change directory to example +$ cd platform-riscv_gap/examples/gapuino-pulp-os-kernel-dma + +# Build project +$ pio run + +# Upload firmware +$ pio run --target upload + +# Clean build files +$ pio run --target clean +``` diff --git a/examples/gapuino-pulp-os-kernel-dma/README.rst b/examples/gapuino-pulp-os-kernel-dma/README.rst deleted file mode 100644 index a1b69dc..0000000 --- a/examples/gapuino-pulp-os-kernel-dma/README.rst +++ /dev/null @@ -1,32 +0,0 @@ -.. Copyright 2018-present PIO Plus - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - http://www.apache.org/licenses/LICENSE-2.0 - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - -How to build PlatformIO based project -===================================== - -1. `Install PlatformIO Core `_ -2. Download `development platform with examples `_ -3. Extract ZIP archive -4. Run these commands: - -.. code-block:: bash - - # Change directory to example - > cd platform-riscv_gap/examples/gapuino-pulp-os-kernel-dma - - # Build project - > platformio run - - # Upload firmware - > platformio run --target upload - - # Clean build files - > platformio run --target clean diff --git a/examples/gapuino-pulp-os-kernel-dma/platformio.ini b/examples/gapuino-pulp-os-kernel-dma/platformio.ini index 3b7cb0b..77770b3 100644 --- a/examples/gapuino-pulp-os-kernel-dma/platformio.ini +++ b/examples/gapuino-pulp-os-kernel-dma/platformio.ini @@ -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 diff --git a/platform.json b/platform.json index a7fdde9..ff6d4af 100644 --- a/platform.json +++ b/platform.json @@ -11,13 +11,13 @@ "RISC-V" ], "engines": { - "platformio": "^5" + "platformio": "^6" }, "repository": { "type": "git", "url": "https://github.com/platformio/platform-riscv_gap.git" }, - "version": "1.0.5", + "version": "1.1.0", "frameworks": { "mbed": { "package": "framework-gap_sdk",