gdbflasher 1.0.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +31 -21
- data/bin/gdbflasher +2 -2
- data/gdbflasher.gemspec +1 -0
- data/lib/gdbflasher/version.rb +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9bb10eaec9a72229de13261cd1b77029fd9507a0
|
4
|
+
data.tar.gz: 59f817352920dbeb7a171085ec7d3506b664b09b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bd0fc0bb4af8b2adb69cfe0c1eeccd71cccc8f68f85274f3a8d7450615a1435e56be51bf873558c32d8d963a543a8018896a0e77324211f68d7e018449429415
|
7
|
+
data.tar.gz: 04940081b5bb4c2722a0870333165099f2acf6f474955f6e99b149a91c7e8f31e568ac17fcb16ee668ef47bb6f9068676e6ae75903107465cae6478887a88663
|
data/README.md
CHANGED
@@ -1,29 +1,39 @@
|
|
1
|
-
#
|
1
|
+
# gdbflasher
|
2
2
|
|
3
|
-
|
3
|
+
gdbflasher is a easy to use flash loader for ARM-based MCUs. It can be used with any emulator that has a GDB server
|
4
|
+
capability. No emulator-side support for flashing is required.
|
4
5
|
|
5
6
|
## Installation
|
6
7
|
|
7
|
-
|
8
|
+
Install with:
|
8
9
|
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
$ bundle
|
14
|
-
|
15
|
-
Or install it yourself as:
|
16
|
-
|
17
|
-
$ gem install gdbflasher
|
10
|
+
```
|
11
|
+
$ gem install gdbflasher
|
12
|
+
```
|
18
13
|
|
19
14
|
## Usage
|
20
15
|
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
16
|
+
```
|
17
|
+
gdbflasher [options] <FIRMWARE FILE>
|
18
|
+
```
|
19
|
+
|
20
|
+
Options:
|
21
|
+
* `server`: GDB server address. By default, `127.0.0.1:2331` is used.
|
22
|
+
* `mcu`: One of MCU types (see below). Must be specified.
|
23
|
+
* `start`: Start application after flashing. Does not work with all servers.
|
24
|
+
* `version`: Print gdbflasher version and exit.
|
25
|
+
* `help`: Print list of options and exit.
|
26
|
+
|
27
|
+
Firmware file must be in the Intel HEX format, ELF executables are not currently supported.
|
28
|
+
|
29
|
+
## Supported MCUs
|
30
|
+
|
31
|
+
* `stm32f4xx` - ST STM32F40x and STM32F41x devices
|
32
|
+
* `stm32fl1x` - ST STM32L15xxx medium-density devices
|
33
|
+
* `stm32f10xx_hd` - ST STM32F10x high-density devices
|
34
|
+
* `stm32f10xx_md` - ST STM32F10x medium-density devices
|
35
|
+
|
36
|
+
This list can also be retrieved by invoking
|
37
|
+
```
|
38
|
+
$ gdbflasher -mcu list
|
39
|
+
```
|
data/bin/gdbflasher
CHANGED
@@ -6,11 +6,11 @@ require "trollop"
|
|
6
6
|
require "gdbflasher"
|
7
7
|
|
8
8
|
options = Trollop::options do
|
9
|
-
version "gdbflasher #{GdbFlasher::VERSION} (c) 2012 Sergey Gridasov"
|
9
|
+
version "gdbflasher #{GdbFlasher::VERSION} (c) 2012 - 2013 Sergey Gridasov"
|
10
10
|
banner <<-EOB
|
11
11
|
gdbflasher is a gdbserver-compatible tool for loading firmware into ARM MCUs.
|
12
12
|
|
13
|
-
Usage:
|
13
|
+
Usage: gdbflasher [options] <IHEX firmware>
|
14
14
|
where [options] are:
|
15
15
|
EOB
|
16
16
|
|
data/gdbflasher.gemspec
CHANGED
@@ -7,6 +7,7 @@ Gem::Specification.new do |gem|
|
|
7
7
|
gem.description = %q{gdbflasher is a gdbserver-compatible tool for loading firmware into ARM MCUs.}
|
8
8
|
gem.summary = %q{Retargetable flasher for ARM microcontrollers}
|
9
9
|
gem.homepage = "https://github.com/grindars/gdbflasher"
|
10
|
+
gem.license = "MIT"
|
10
11
|
|
11
12
|
gem.files = `git ls-files`.split($\)
|
12
13
|
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
|
data/lib/gdbflasher/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gdbflasher
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sergey Gridasov
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-
|
11
|
+
date: 2013-10-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: trollop
|
@@ -68,7 +68,8 @@ files:
|
|
68
68
|
- lib/gdbflasher/server_connection.rb
|
69
69
|
- lib/gdbflasher/version.rb
|
70
70
|
homepage: https://github.com/grindars/gdbflasher
|
71
|
-
licenses:
|
71
|
+
licenses:
|
72
|
+
- MIT
|
72
73
|
metadata: {}
|
73
74
|
post_install_message:
|
74
75
|
rdoc_options: []
|