Skip to content

Commit

Permalink
[doc] Added st-flash --flash CL option
Browse files Browse the repository at this point in the history
  • Loading branch information
Nightwalker-87 authored and grevaillot committed Apr 10, 2020
1 parent dff9a47 commit e42c011
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions doc/tutorial.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
stlink Tools Tutorial
=====================

## Useful tool options
### st-flash

#### --flash=n[k][m]

(since v1.4.0)

You can specify `--flash=128k` for example, to override the STM32F103C8T6 to assume 128k of flash instead of the default of 64k.
This option accepts decimal (128k), octal 0200k, or hex 0x80k.
Obviously leaving the multiplier out is equally valid, for example: `--flash=0x20000`.
The size may be followed by an optional "k" or "m" to multiply the given value by 1k (1024) or 1M respectively.

------

Using STM32 discovery kits with open source tools
========

Expand Down

0 comments on commit e42c011

Please sign in to comment.