gdbflasher 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8c61751a3541bf40a9abdd0d999dc16aa3d27ae4
4
- data.tar.gz: 5036ff6f4f7801d322f10d9887995c9b89ae7d36
3
+ metadata.gz: 9bb10eaec9a72229de13261cd1b77029fd9507a0
4
+ data.tar.gz: 59f817352920dbeb7a171085ec7d3506b664b09b
5
5
  SHA512:
6
- metadata.gz: b8583513a0bc51c34277742bd786106e1b33c26aba4b80bba0a2c2e4c4161ffb27613184ccdb81112565db273fda69b6516a3e2d46914259b2ea8558ed370761
7
- data.tar.gz: e2c9f0b1434b6c4ce6cc6c587b97d1373da97e4cc76fa15412d483be363a40266ec85d03721c46191ca261071ee6803c017e1d180225eb2cc2b812b7047aa0d7
6
+ metadata.gz: bd0fc0bb4af8b2adb69cfe0c1eeccd71cccc8f68f85274f3a8d7450615a1435e56be51bf873558c32d8d963a543a8018896a0e77324211f68d7e018449429415
7
+ data.tar.gz: 04940081b5bb4c2722a0870333165099f2acf6f474955f6e99b149a91c7e8f31e568ac17fcb16ee668ef47bb6f9068676e6ae75903107465cae6478887a88663
data/README.md CHANGED
@@ -1,29 +1,39 @@
1
- # Gdbflasher
1
+ # gdbflasher
2
2
 
3
- TODO: Write a gem description
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
- Add this line to your application's Gemfile:
8
+ Install with:
8
9
 
9
- gem 'gdbflasher'
10
-
11
- And then execute:
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
- TODO: Write usage instructions here
22
-
23
- ## Contributing
24
-
25
- 1. Fork it
26
- 2. Create your feature branch (`git checkout -b my-new-feature`)
27
- 3. Commit your changes (`git commit -am 'Added some feature'`)
28
- 4. Push to the branch (`git push origin my-new-feature`)
29
- 5. Create new Pull Request
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
+ ```
@@ -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: gdbserver [options] <IHEX firmware>
13
+ Usage: gdbflasher [options] <IHEX firmware>
14
14
  where [options] are:
15
15
  EOB
16
16
 
@@ -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) }
@@ -1,3 +1,3 @@
1
1
  module GdbFlasher
2
- VERSION = "1.0.0"
2
+ VERSION = "1.0.1"
3
3
  end
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.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-09-30 00:00:00.000000000 Z
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: []