Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
openSUSE:Backports:SLE-15-SP1:Update
stm32flash
stm32flash.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File stm32flash.spec of Package stm32flash
# # spec file for package stm32flash # # Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: stm32flash Version: 0.5 Release: 0 Summary: Flash Program for the STM32 Bootloader License: GPL-2.0+ Group: Hardware/Other Url: https://sourceforge.net/p/stm32flash/wiki/Home Source: %{name}-%{version}.tar.gz # PATCH-FIX-UPSTREAM Patch1: 0001-Fix-for-device-0x442-System-memory-start-address.patch # PATCH-FIX-UPSTREAM Patch2: 0003-dev_table-Mark-0x417-0x429-0x427-for-no-mass-erase.patch # PATCH-FIX-OPENSUSE stm32flash-i2c-tools-headers-clash.patch sbrabec@suse.cz -- Prevent clash between i2c.h and i2c-dev.h defining the same. Patch3: stm32flash-i2c-tools-headers-clash.patch BuildRequires: i2c-tools BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Open source flash program for the STM32 ARM processors using the ST serial bootloader over UART or I2C. Features: - UART and I2C transports supported - device identification - write to flash/ram - read from flash/ram - auto-detect Intel HEX or raw binary input format with option to force binary - flash from binary file - save flash to binary file - verify & retry up to N times on failed writes - start execution at specified address - software reset the device when finished if -R is specified - resume already initialized connection (for when reset fails, UART only) - GPIO signalling to enter bootloader mode (hardware dependent) %prep %setup -q -n %{name} %patch1 -p1 %patch2 -p1 %if 0%{?suse_version} < 1315 || 0%{?suse_version} == 1320 %patch3 -p1 %endif %build make %{?_smp_mflags} CFLAGS="-O2 %{optflags}" PREFIX=%{_prefix} %install make %{?_smp_mflags} CFLAGS="-O2 %{optflags}" PREFIX=%{_prefix} DESTDIR=%{buildroot} install %files %defattr(-,root,root) %doc AUTHORS gpl-2.0.txt HOWTO I2C.txt protocol.txt TODO %{_bindir}/* %{_mandir}/man?/*.* %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor