stm32flash-0.3.recipe revision 52b344b9
1SUMMARY="Open source cross platform flash program for the STM32 bootloader." 2DESCRIPTION="Open source flash program for the STM32 ARM processors using \ 3ST serial bootloader. 4 5* device identification 6* write to flash/ram 7* read from flash/ram 8* auto-detect Intel HEX or raw binary input format with option to force binary 9* flash from binary file 10* save flash to binary file 11* verify & retry up to N times on failed writes 12* start execution at specified address 13* software reset the device when finished if -g not specified 14* resume already initialized connection (for when reset fails) 15" 16HOMEPAGE="http://code.google.com/p/stm32flash/" 17REVISION="1" 18ARCHITECTURES="" 19if [ $effectiveTargetArchitecture != x86_gcc2 ]; then 20 # x86_gcc2 is fine as primary target architecture as long as we're building 21 # for a different secondary architecture. 22 ARCHITECTURES="$ARCHITECTURES x86_gcc2" 23fi 24SECONDARY_ARCHITECTURES="x86" 25COPYRIGHT=" 26Geoffrey McRae 272012-2014 Tormod Volden 28" 29LICENSE="GNU GPL v2" 30 31SRC_URI="https://releases.stm32flash.googlecode.com/git/stm32flash-0.3.tar.gz" 32CHECKSUM_SHA256="8c9da430c6aca2cb711c90a1bd6e38d7169f73f9baf6cbf11234f1f8c444f47f" 33SOURCE_DIR="stm32flash" 34 35PROVIDES=" 36 stm32flash$secondaryArchSuffix = $portVersion 37 cmd:stm32flash$secondaryArchSuffix = $portVersion 38" 39 40REQUIRES=" 41 haiku$secondaryArchSuffix 42" 43 44BUILD_PREREQUIRES=" 45 haiku${secondaryArchSuffix}_devel 46 cmd:gcc$secondaryArchSuffix 47 cmd:make 48" 49 50BUILD() 51{ 52 make $jobArgs 53} 54 55INSTALL() 56{ 57 mkdir -p $binDir 58 cp stm32flash $binDir 59 mkdir -p $manDir/man1 60 cp stm32flash.1 $manDir/man1 61} 62