161.21. stm32flash-0.7
Flash an STM32 over its own ROM bootloader, with no debugger attached
0.7-2 · GPL-2.0-or-later · 0.1 SBU · 102.8 KiB, 3 files · 41_system, 480 of 1047 · ports/core/embedded/stm32flash
Homepage: https://gitlab.com/stm32flash/stm32flash
Why it is in KDOS. The comment above it in script/phases/41_system/packages.d/embedded.txt:
The bootloader route for an STM32 with no debugger on the desk: the ROM loader is on the chip already and answers over the same serial line the board is being watched on.
Depends on: nothing a recipe names.
Required by: no port names it.
Sources: stm32flash-0.7.tar.gz (45.5 KiB). Every step kpkg takes applies to this port.
Install: script/chroot/exec.sh bash -c 'source script/phases/41_system/phase.env && kpkg install stm32flash'
build.sh:
make CFLAGS="$CFLAGS -Wall"
make PREFIX=/usr DESTDIR=$PKG install
install -Dm644 gpl-2.0.txt "$PKG/usr/share/licenses/$name/gpl-2.0.txt"
Programs: stm32flash.
Directories: /usr/share/licenses/stm32flash.