mirror of
https://github.com/saymrwulf/pulp-runtime.git
synced 2026-06-07 00:13:28 +00:00
Add config for nexys FPGA board
This commit is contained in:
parent
763fa6f72b
commit
dc012f0c54
1 changed files with 22 additions and 0 deletions
22
configs/fpgas/pulpissimo/nexys.sh
Normal file
22
configs/fpgas/pulpissimo/nexys.sh
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
#!/bin/bash -e
|
||||
|
||||
export PULPRT_TARGET=pulpissimo
|
||||
export PULPRUN_TARGET=pulpissimo
|
||||
|
||||
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_PER_FREQUENCY=5000000 -DARCHI_FPGA_SOC_FREQUENCY=10000000'
|
||||
|
||||
export io=uart
|
||||
Loading…
Reference in a new issue