mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-22 15:38:11 +00:00
cleanup build, update libopencm3 (#215)
This commit is contained in:
parent
724ce5e7ee
commit
6a04b2e90e
@ -19,7 +19,7 @@ env:
|
|||||||
- DEBUG_LINK=1 FASTFLASH=1
|
- DEBUG_LINK=1 FASTFLASH=1
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- CFLAGS="-std=c99" make -C vendor/libopencm3 lib/stm32/f2
|
- make -C vendor/libopencm3 lib/stm32/f2
|
||||||
- make
|
- make
|
||||||
- make -C bootloader
|
- make -C bootloader
|
||||||
- make -C fastflash
|
- make -C fastflash
|
||||||
|
@ -12,9 +12,8 @@ docker run -t -v $(pwd)/build:/build:z $IMAGE /bin/sh -c "\
|
|||||||
cd trezor-mcu && \
|
cd trezor-mcu && \
|
||||||
git checkout $TAG && \
|
git checkout $TAG && \
|
||||||
git submodule update --init && \
|
git submodule update --init && \
|
||||||
CFLAGS='-std=c99' make -C vendor/libopencm3 && \
|
make -C vendor/libopencm3 && \
|
||||||
make && \
|
make && \
|
||||||
make -C bootloader && \
|
|
||||||
make -C bootloader align && \
|
make -C bootloader align && \
|
||||||
cp bootloader/bootloader.bin /$BINFILE && \
|
cp bootloader/bootloader.bin /$BINFILE && \
|
||||||
cp bootloader/bootloader.elf /$ELFFILE"
|
cp bootloader/bootloader.elf /$ELFFILE"
|
||||||
|
@ -12,9 +12,8 @@ docker run -t -v $(pwd)/build:/build:z $IMAGE /bin/sh -c "\
|
|||||||
cd trezor-mcu && \
|
cd trezor-mcu && \
|
||||||
git checkout $TAG && \
|
git checkout $TAG && \
|
||||||
git submodule update --init && \
|
git submodule update --init && \
|
||||||
CFLAGS='-std=c99' make -C vendor/libopencm3 && \
|
make -C vendor/libopencm3 && \
|
||||||
make && \
|
make && \
|
||||||
make -C firmware && \
|
|
||||||
make -C firmware sign && \
|
make -C firmware sign && \
|
||||||
cp firmware/trezor.bin /$BINFILE && \
|
cp firmware/trezor.bin /$BINFILE && \
|
||||||
cp firmware/trezor.elf /$ELFFILE"
|
cp firmware/trezor.elf /$ELFFILE"
|
||||||
|
2
vendor/libopencm3
vendored
2
vendor/libopencm3
vendored
@ -1 +1 @@
|
|||||||
Subproject commit b76d853a723d39bbc083495bb7460cf3f071476c
|
Subproject commit b0e050d10d12c42be031c34822117cfd3c5a0ea7
|
Loading…
Reference in New Issue
Block a user