Drop prototype keyboard build
This commit is contained in:
parent
3c02d41c4b
commit
f1e3f6dce6
1
Makefile
1
Makefile
@ -42,5 +42,4 @@ $(OUT)fw-stock.bin $(OUT)fw-user.bin: $(wildcard firmware/*.*)
|
|||||||
@mkdir -p $(OUT)
|
@mkdir -p $(OUT)
|
||||||
cd firmware && ./build.sh
|
cd firmware && ./build.sh
|
||||||
cp -f firmware/build/fw-stock.bin $(OUT)fw-stock.bin
|
cp -f firmware/build/fw-stock.bin $(OUT)fw-stock.bin
|
||||||
cp -f firmware/build/fw-stock-proto-v3.bin $(OUT)fw-stock-proto-v3.bin
|
|
||||||
cp -f firmware/build/fw-user.bin $(OUT)fw-user.bin
|
cp -f firmware/build/fw-user.bin $(OUT)fw-user.bin
|
||||||
|
@ -18,7 +18,7 @@ hex2bin()
|
|||||||
cpp -P -nostdinc -I. -D__ASM_ONLY__ stock-ivt.asm build/stock-ivt.asm
|
cpp -P -nostdinc -I. -D__ASM_ONLY__ stock-ivt.asm build/stock-ivt.asm
|
||||||
sdas8051 -plosgff build/stock-ivt.rel build/stock-ivt.asm
|
sdas8051 -plosgff build/stock-ivt.rel build/stock-ivt.asm
|
||||||
|
|
||||||
echo Stock FW
|
echo "Stock FW"
|
||||||
sdcc \
|
sdcc \
|
||||||
-mmcs51 --iram-size 256 --xram-size 2048 \
|
-mmcs51 --iram-size 256 --xram-size 2048 \
|
||||||
--code-size 0x2000 --code-loc 0x2130 \
|
--code-size 0x2000 --code-loc 0x2130 \
|
||||||
@ -26,26 +26,6 @@ sdcc \
|
|||||||
-I. \
|
-I. \
|
||||||
-DFW_REVISION_STR="\"$(git describe) $(git log -1 --format=%cd --date=iso)\"" \
|
-DFW_REVISION_STR="\"$(git describe) $(git log -1 --format=%cd --date=iso)\"" \
|
||||||
-DCONFIG_STOCK_FW=1 \
|
-DCONFIG_STOCK_FW=1 \
|
||||||
-DCONFIG_I2C_A=0 \
|
|
||||||
build/stock-ivt.rel main.c \
|
|
||||||
-o build/fw-stock-proto-v3.ihx
|
|
||||||
|
|
||||||
hex2bin fw-stock-proto-v3
|
|
||||||
|
|
||||||
# build stock FW (hw mod)
|
|
||||||
|
|
||||||
cpp -P -nostdinc -I. -D__ASM_ONLY__ stock-ivt.asm build/stock-ivt.asm
|
|
||||||
sdas8051 -plosgff build/stock-ivt.rel build/stock-ivt.asm
|
|
||||||
|
|
||||||
echo "Stock FW Final"
|
|
||||||
sdcc \
|
|
||||||
-mmcs51 --iram-size 256 --xram-size 2048 \
|
|
||||||
--code-size 0x2000 --code-loc 0x2130 \
|
|
||||||
-Wl-bIVECT=0x2000 \
|
|
||||||
-I. \
|
|
||||||
-DFW_REVISION_STR="\"$(git describe) $(git log -1 --format=%cd --date=iso)\"" \
|
|
||||||
-DCONFIG_STOCK_FW=1 \
|
|
||||||
-DCONFIG_I2C_A=0 \
|
|
||||||
build/stock-ivt.rel main.c \
|
build/stock-ivt.rel main.c \
|
||||||
-o build/fw-stock.ihx
|
-o build/fw-stock.ihx
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user