mirror of
https://github.com/saymrwulf/pulp-runtime.git
synced 2026-06-25 02:50:50 +00:00
config file creation, first branch commit
This commit is contained in:
parent
d898ae3424
commit
5904a5ae01
5 changed files with 110 additions and 0 deletions
22
configs/fpgas/pulp/genesys2.sh
Normal file
22
configs/fpgas/pulp/genesys2.sh
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
#!/bin/bash -e
|
||||
|
||||
export PULPRT_TARGET=pulp
|
||||
export PULPRUN_TARGET=pulp
|
||||
|
||||
if [ -n "${ZSH_VERSION:-}" ]; then
|
||||
DIR="$(readlink -f -- "${(%):-%x}")"
|
||||
scriptDir="$(dirname $DIR)"
|
||||
else
|
||||
|
||||
scriptDir="$(dirname "$(readlink -f "${BASH_SOURCE[0]}")")"
|
||||
|
||||
fi
|
||||
|
||||
source $scriptDir/../../common.sh
|
||||
|
||||
export PULPRUN_PLATFORM=fpga
|
||||
|
||||
#Genesys2 uses 10MHz SoC Frequency
|
||||
export PULPRT_CONFIG_CFLAGS='-DARCHI_FPGA_FREQUENCY=10000000'
|
||||
|
||||
export io=uart
|
||||
22
configs/fpgas/pulp/nexys_video.sh
Normal file
22
configs/fpgas/pulp/nexys_video.sh
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
#!/bin/bash -e
|
||||
|
||||
export PULPRT_TARGET=pulp
|
||||
export PULPRUN_TARGET=pulp
|
||||
|
||||
if [ -n "${ZSH_VERSION:-}" ]; then
|
||||
DIR="$(readlink -f -- "${(%):-%x}")"
|
||||
scriptDir="$(dirname $DIR)"
|
||||
else
|
||||
|
||||
scriptDir="$(dirname "$(readlink -f "${BASH_SOURCE[0]}")")"
|
||||
|
||||
fi
|
||||
|
||||
source $scriptDir/../../common.sh
|
||||
|
||||
export PULPRUN_PLATFORM=fpga
|
||||
|
||||
#Nexys Video uses 5MHz SoC Frequency
|
||||
export PULPRT_CONFIG_CFLAGS='-DARCHI_FPGA_FREQUENCY=5000000'
|
||||
|
||||
export io=uart
|
||||
22
configs/fpgas/pulp/zcu102.sh
Normal file
22
configs/fpgas/pulp/zcu102.sh
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
#!/bin/bash -e
|
||||
|
||||
export PULPRT_TARGET=pulp
|
||||
export PULPRUN_TARGET=pulp
|
||||
|
||||
if [ -n "${ZSH_VERSION:-}" ]; then
|
||||
DIR="$(readlink -f -- "${(%):-%x}")"
|
||||
scriptDir="$(dirname $DIR)"
|
||||
else
|
||||
|
||||
scriptDir="$(dirname "$(readlink -f "${BASH_SOURCE[0]}")")"
|
||||
|
||||
fi
|
||||
|
||||
source $scriptDir/../../common.sh
|
||||
|
||||
export PULPRUN_PLATFORM=fpga
|
||||
|
||||
#ZCU102 uses 10MHz SoC Frequency
|
||||
export PULPRT_CONFIG_CFLAGS='-DARCHI_FPGA_FREQUENCY=10000000'
|
||||
|
||||
export io=uart
|
||||
22
configs/fpgas/pulp/zcu104.sh
Normal file
22
configs/fpgas/pulp/zcu104.sh
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
#!/bin/bash -e
|
||||
|
||||
export PULPRT_TARGET=pulp
|
||||
export PULPRUN_TARGET=pulp
|
||||
|
||||
if [ -n "${ZSH_VERSION:-}" ]; then
|
||||
DIR="$(readlink -f -- "${(%):-%x}")"
|
||||
scriptDir="$(dirname $DIR)"
|
||||
else
|
||||
|
||||
scriptDir="$(dirname "$(readlink -f "${BASH_SOURCE[0]}")")"
|
||||
|
||||
fi
|
||||
|
||||
source $scriptDir/../../common.sh
|
||||
|
||||
export PULPRUN_PLATFORM=fpga
|
||||
|
||||
#ZCU104 uses 10MHz SoC Frequency
|
||||
export PULPRT_CONFIG_CFLAGS='-DARCHI_FPGA_FREQUENCY=10000000'
|
||||
|
||||
export io=uart
|
||||
22
configs/fpgas/pulp/zedboard.sh
Normal file
22
configs/fpgas/pulp/zedboard.sh
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
#!/bin/bash -e
|
||||
|
||||
export PULPRT_TARGET=pulp
|
||||
export PULPRUN_TARGET=pulp
|
||||
|
||||
if [ -n "${ZSH_VERSION:-}" ]; then
|
||||
DIR="$(readlink -f -- "${(%):-%x}")"
|
||||
scriptDir="$(dirname $DIR)"
|
||||
else
|
||||
|
||||
scriptDir="$(dirname "$(readlink -f "${BASH_SOURCE[0]}")")"
|
||||
|
||||
fi
|
||||
|
||||
source $scriptDir/../../common.sh
|
||||
|
||||
export PULPRUN_PLATFORM=fpga
|
||||
|
||||
#Zedboard uses 10MHz SoC Frequency
|
||||
export PULPRT_CONFIG_CFLAGS='-DARCHI_FPGA_FREQUENCY=10000000'
|
||||
|
||||
export io=uart
|
||||
Loading…
Reference in a new issue