Skip to content

Commit

Permalink
Add icefunprog to download and enter env scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
y2kbugger committed Jul 28, 2019
1 parent 14730e5 commit 58f7a8d
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 7 deletions.
7 changes: 7 additions & 0 deletions scripts/download-env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -381,6 +381,13 @@ if [ "$PLATFORM" = "icebreaker" -o "$PLATFORM" = "ice40_hx8k_b_evn" -o "$PLATFOR
check_exists iceprog
fi

if [ "$PLATFORM" = "icefun"]; then
echo
echo "Installing icefunprog (tool for icefun pic Programming)"
conda install icefunprog
check_exists icefunprog
fi

# fxload
if [ "$PLATFORM" = "opsis" -o "$PLATFORM" = "atlys" ]; then
echo
Expand Down
18 changes: 11 additions & 7 deletions scripts/enter-env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -310,24 +310,28 @@ echo "-----------------------------------------"

# tinyfpga boards
if [ "$PLATFORM" = "tinyfpga_b2" ]; then



check_exists tinyfpgab || return 1
fi
if [ "$PLATFORM" = "tinyfpga_bx" ]; then



if [ "$PLATFORM" = "tinyfpga_bx" ]; then
check_exists tinyprog || return 1
fi

# fxload
if [ "$PLATFORM" = "opsis" -o "$PLATFORM" = "atlys" ]; then
check_exists fxload || return 1
fi

if [ "$PLATFORM" = "tinyfpga_b2" ]; then
check_exists tinyfpgab || return 1
fi

if [ "$PLATFORM" = "icebreaker" -o "$PLATFORM" = "ice40_hx8k_b_evn" -o "$PLATFORM" = "ice40_up5k_b_evn" ]; then
check_exists iceprog
fi

check_exists fxload || return 1
if [ "$PLATFORM" = "icefun" ]; then
check_exists iceprogfun || return 1
fi

# FIXME: Remove this once @jimmo has finished his new firmware
Expand Down

0 comments on commit 58f7a8d

Please sign in to comment.