mirror of
https://github.com/InfiniTimeOrg/InfiniTime.git
synced 2024-11-28 23:14:36 +03:00
25f35c7d0e
This new FW is build on the same codebasse than the actual InfiniTime. Only the display task is different (this allows to remove lvgl from the recovery fw, which is very heavy). CMake builds and docker have been modified accordingly. Note than the fw is converted into an image and then into a DFU in the cmake build (previously, it was only done in the
28 lines
492 B
Bash
28 lines
492 B
Bash
#! /bin/bash
|
|
|
|
source $(dirname $0)/../target.sh
|
|
|
|
gscript=/tmp/init$$.gdb
|
|
|
|
cat > $gscript <<EOF
|
|
target remote localhost:2331
|
|
symbol-file outdir/$BOARD/zephyr.elf
|
|
# symbol-file ../zephyr/samples/shell/outdir/$BOARD/zephyr.elf
|
|
# dir apps/boot/src
|
|
# dir libs/bootutil/src
|
|
# dir hw/mcu/stm/stm32f4xx/src
|
|
b main
|
|
# b __reset
|
|
# b bootutil_img_validate
|
|
# b cmp_rsasig
|
|
# b bootutil_verify_sig
|
|
# b mbedtls_rsa_public
|
|
# b boot_calloc
|
|
mon reset 2
|
|
layout src
|
|
focus cmd
|
|
EOF
|
|
|
|
$gdbexe -x $gscript
|
|
rm $gscript
|