forked from GreenWaves-Technologies/gap_sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
sourceme.sh
29 lines (24 loc) · 917 Bytes
/
sourceme.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
export GAP_SDK_HOME="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
export PULP_SDK_HOME=$GAP_SDK_HOME
export GAP_RISCV_GCC_TOOLCHAIN=/usr/lib/gap_riscv_toolchain
export TARGET_INSTALL_DIR=$GAP_SDK_HOME/install/gap
export BUILD_DIR=$GAP_SDK_HOME/build
export INSTALL_DIR=$GAP_SDK_HOME/install/workstation
export DEP_DIRS=$INSTALL_DIR
# For pulp os
export PULP_LIB_DIR=$TARGET_INSTALL_DIR/libs
export PULP_INC_DIR=$TARGET_INSTALL_DIR/include
export RUNTIME_PATH=$GAP_SDK_HOME/pulp-os
# For mbed os
export MBED_PATH=$GAP_SDK_HOME
# For TF2GAP8
export GAP_TF2GAP_PATH=$GAP_SDK_HOME/tf2gap8
# For FreeRTOS
export FREERTOS_PATH=$GAP_SDK_HOME/freeRTOS
export PATH="$INSTALL_DIR/bin":$PATH
export LD_LIBRARY_PATH="$INSTALL_DIR/lib":$LD_LIBRARY_PATH
export PYTHONPATH=$INSTALL_DIR/python
# For New SDK rtl test
# export VSIM_PATH=$MBED_PATH/../rtl/gap/fe/sim
# For SDK rtl test
export VSIM_PATH=$MBED_PATH/../fe/sim