mirror of
https://github.com/Polprzewodnikowy/SummerCart64.git
synced 2024-11-25 23:24:15 +01:00
build test
This commit is contained in:
parent
079d6d2ad4
commit
05b781e102
11
build.sh
11
build.sh
@ -75,12 +75,13 @@ build_update () {
|
||||
if [ "$FORCE_CLEAN" = true ]; then
|
||||
rm -f ./sc64.upd
|
||||
fi
|
||||
INFO=""
|
||||
if [ ! -z "${GIT_BRANCH+x}" ]; then INFO+=" $GIT_BRANCH"; fi
|
||||
if [ ! -z "${GIT_TAG+x}" ]; then INFO+=" $GIT_TAG"; fi
|
||||
if [ ! -z "${GIT_SHA+x}" ]; then INFO+=" $GIT_SHA"; fi
|
||||
GIT_INFO=""
|
||||
if [ ! -z "${GIT_BRANCH+x}" ]; then GIT_INFO+="branch: $GIT_BRANCH "; fi
|
||||
if [ ! -z "${GIT_TAG+x}" ]; then GIT_INFO+="tag: $GIT_TAG "; fi
|
||||
if [ ! -z "${GIT_SHA+x}" ]; then GIT_INFO+="sha: $GIT_SHA "; fi
|
||||
GIT_INFO=$(echo "$GIT_INFO" | xargs)
|
||||
python3 update.py \
|
||||
--info "$INFO" \
|
||||
--git "$GIT_INFO" \
|
||||
--mcu ../controller/build/app/app.bin \
|
||||
--fpga ../../fw/project/lcmxo2/impl1/sc64_impl1.jed \
|
||||
--boot ../bootloader/build/bootloader.bin \
|
||||
|
@ -19,6 +19,7 @@ docker run \
|
||||
--mac-address ${MAC_ADDRESS:-F8:12:34:56:78:90} \
|
||||
--mount type=bind,src="$(pwd)/flexlm",target="/flexlm" \
|
||||
--mount type=bind,src="$(pwd)",target="/workdir" \
|
||||
-h=`hostname` \
|
||||
-e GIT_BRANCH="$GIT_BRANCH" \
|
||||
-e GIT_TAG="$GIT_TAG" \
|
||||
-e GIT_SHA="$GIT_SHA" \
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<BaliProject version="3.2" title="sc64" device="LCMXO2-7000HC-6TG144C" default_implementation="impl1">
|
||||
<Options/>
|
||||
<Implementation title="impl1" dir="impl1" description="impl1" synthesis="synplify" default_strategy="release">
|
||||
<Implementation title="impl1" dir="impl1" description="impl1" synthesis="synplify" default_strategy="debug">
|
||||
<Options VerilogStandard="System Verilog" def_top="top" top="top"/>
|
||||
<Source name="../../rtl/memory/mem_bus.sv" type="Verilog" type_short="Verilog">
|
||||
<Options VerilogStandard="System Verilog"/>
|
||||
|
Loading…
Reference in New Issue
Block a user