1
0
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:
mcudev 2017-08-28 07:47:15 -04:00 committed by Pavol Rusnak
parent 724ce5e7ee
commit 6a04b2e90e
4 changed files with 4 additions and 6 deletions

View File

@ -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

View File

@ -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"

View File

@ -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

@ -1 +1 @@
Subproject commit b76d853a723d39bbc083495bb7460cf3f071476c Subproject commit b0e050d10d12c42be031c34822117cfd3c5a0ea7