Skip to content

Commit

Permalink
Merge pull request #173 from GreenWaves-Technologies/3.7.2_dev
Browse files Browse the repository at this point in the history
release 3.7.2
  • Loading branch information
Yaooooo authored Oct 24, 2020
2 parents 18fb0e0 + 9fe5132 commit 044b19e
Show file tree
Hide file tree
Showing 2,831 changed files with 223,077 additions and 1,931,743 deletions.
22 changes: 12 additions & 10 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
*~
__pycache__/
__pycache__*
*.pyc
*.swp
install/
build/
BUILD/
*.lo
*.o
*.la
*.dirstamp
.sconsign.dblite
/tools/nntool/tests/
*log*
install
build
*.wav
BUILD
.scon*
/rtos/pulp/archi_gap/
/rtos/pulp/hal_gap/
junit-reports/
/rtos/pulp/archi/
/rtos/pulp/hal/
7 changes: 0 additions & 7 deletions KNOWN_ISSUES

This file was deleted.

8 changes: 5 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ ifeq ($(TARGET_CHIP_FAMILY), GAP8)
sdk: all autotiler nntool openocd
all: pulp-os tools gvsoc flasher docs littlefs.build openocd_scripts

clean:
clean: littlefs.clean
$(RM) $(TARGET_INSTALL_DIR)
$(RM) $(INSTALL_DIR)
$(RM) $(BUILD_DIR)
Expand All @@ -61,7 +61,7 @@ else
sdk: all autotiler nntool
all: pulp-os gvsoc littlefs.build

clean:
clean: littlefs.clean
$(RM) $(TARGET_INSTALL_DIR)
$(RM) $(BUILD_DIR)
endif
Expand Down Expand Up @@ -171,6 +171,8 @@ littlefs.checkout:

littlefs.all: littlefs.checkout littlefs.build

littlefs.clean:
rm -rf $(LFS_BUILD_DIR)


plptest.checkout:
Expand Down Expand Up @@ -254,7 +256,7 @@ openmp.all: openmp.checkout
examples.checkout:
git submodule update --recursive --init examples




.PHONY: all install clean docs install_others install_pulp_tools tools pulp-os gvsoc flasher
14 changes: 7 additions & 7 deletions README.md
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ We provide you with all the necessary tools and two different operating systems
* Operating Systems
- PULP OS - The open source embedded RTOS produced by the PULP project
- FreeRTOS - FreeRTOS is an open source real time operating system. GreenWaves Technologies has ported it to GAP8
- PMSIS - PMSIS is an open-source system layer which any operating system can implement to provide a common API to applications. We currently provide it fro PULP OS and FreeRTOS, and it is used by our applications to be portable.
- PMSIS - PMSIS is an open-source system layer which any operating system can implement to provide a common API to applications. We currently provide it for PULP OS and FreeRTOS, and it is used by our applications to be portable.

## Getting started with the GAP SDK

Expand All @@ -34,7 +34,7 @@ The following packages needed to be installed:
sudo apt-get install -y build-essential git libftdi-dev libftdi1 doxygen python3-pip libsdl2-dev curl cmake libusb-1.0-0-dev scons gtkwave libsndfile1-dev rsync autoconf automake texinfo libtool pkg-config libsdl2-ttf-dev
~~~~~

An openocd build for gap8 should be clonned and installed:
An openocd build for gap8 should be cloned and installed:

~~~~~shell
git clone https://github.com/GreenWaves-Technologies/gap8_openocd.git
Expand Down Expand Up @@ -154,7 +154,7 @@ pip3 install -r requirements.txt

Initialize and download all sub projects required to run pmsis_examples on a board (freertos, pmsis_api, gapy and bsp):

First, use the following command tp configure the shell environment correctly for the GAP SDK.
First, use the following command to configure the shell environment correctly for the GAP SDK.
It must be done for each terminal session**:

~~~~~shell
Expand Down Expand Up @@ -187,10 +187,10 @@ cd examples/pmsis/helloworld
make clean && make PMSIS_OS=freertos platform=board io=host all -j && make platform=board io=host run
~~~~~

In details: PMSIS_OS allows us to choose an OS (freertos/pulpos), platftorm allows to choose the runner
In details: PMSIS_OS allows us to choose an OS (freertos/pulpos), platform allows to choose the runner
(board/gvsoc) and io choose the default output for printf (host/uart).

After the build you should see an output ressembling:
After the build you should see an output resembling:
~~~~~
*** PMSIS HelloWorld ***
Expand Down Expand Up @@ -228,13 +228,13 @@ make pulp-os

And replace PMSIS_OS=freertos by PMSIS_OS=pulpos on your run command line.

## Full Install
## Full Install

### Python requirements

In order to use the Gap tools for neural networks (nntool), we strongly encourage to install the Anaconda distribution ( Python3 ). You can find more information here: https://www.anaconda.com/.

Note that this is needed only if you want to use nntool, you can skip this steap otherwise. Once Anaconda is installed, you need to activate it and install python modules for this tool with this command:
Note that this is needed only if you want to use nntool, you can skip this step otherwise. Once Anaconda is installed, you need to activate it and install python modules for this tool with this command:

~~~~~shell
pip install -r tools/nntool/requirements.txt
Expand Down
6 changes: 6 additions & 0 deletions applications/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
build*
*.swp
*.log
__pycache__/
junit-reports/
BUILD*
9 changes: 9 additions & 0 deletions applications/artifact.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
artifact.applications:
rsync -avR $(DEFAULT_EXCLUDES) applications/BilinearResize $(ARTIFACT_PATH)
rsync -avR $(DEFAULT_EXCLUDES) applications/FaceDetection $(ARTIFACT_PATH)
rsync -avR $(DEFAULT_EXCLUDES) applications/CannyEdgeDetection $(ARTIFACT_PATH)
rsync -avR $(DEFAULT_EXCLUDES) applications/MultiScalePedestrianDetector $(ARTIFACT_PATH)
rsync -avR $(DEFAULT_EXCLUDES) applications/WaterMeter $(ARTIFACT_PATH)
rsync -avR $(DEFAULT_EXCLUDES) applications/audio_4chan_vocIP $(ARTIFACT_PATH)
rsync -avR $(DEFAULT_EXCLUDES) applications/jpeg_encoder $(ARTIFACT_PATH)
rsync -avR $(DEFAULT_EXCLUDES) applications/testset.cfg $(ARTIFACT_PATH)
Loading

0 comments on commit 044b19e

Please sign in to comment.