Commit graph

116 commits

Author SHA1 Message Date
Vassilis Serasidis
f2e52ca75c hid-flash tool HID Bootloader v2.2
hid-flash tool is available on Windows, Linux and MacOS
2019-06-11 14:11:00 +02:00
Frederic Pillon
dadcf33f05
Merge pull request #35 from fpistm/pr-33-review
Update Legacy upload tools + clean
2019-05-29 15:50:37 +02:00
Frederic Pillon
7f6dcc3866 Update dfu-util.exe
Copied from https://github.com/rogerclarkmelbourne/Arduino_STM32

Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
2019-05-28 08:58:50 +02:00
Frederic.Pillon
f0cbb88672 Clean up scripts
Signed-off-by: Frederic.Pillon <frederic.pillon@st.com>
2019-05-28 08:58:50 +02:00
Frederic.Pillon
112e7c0a92 Unified source directories
Signed-off-by: Frederic.Pillon <frederic.pillon@st.com>
2019-05-28 08:58:50 +02:00
Frederic.Pillon
ce5b68d456 [STM32CubeProg] Add option to erase all sectors
For example adding a platform.local.txt with:
tools.stm32CubeProg.upload.pattern="{path}/{cmd}" 1{upload.protocol} "{build.path}/{build.project_name}.bin" {upload.options}

will allow to erase all sectors before download.

Signed-off-by: Frederic.Pillon <frederic.pillon@st.com>
2019-05-28 08:14:49 +02:00
Frederic.Pillon
e167f91814 [STM32CubeProg] Fix trailing arguments for windows
"shift" has no effect on "%*" batch parameter; it only change index.

Signed-off-by: Frederic.Pillon <frederic.pillon@st.com>
2019-05-24 16:14:29 +02:00
Frederic.Pillon
3d52d4c03e Update stm32CubeProg scripts
All trailing arguments will be passed to the STM32CubeProgrammer

Signed-off-by: Frederic.Pillon <frederic.pillon@st.com>
2019-05-15 10:05:29 +02:00
Frederic Pillon
0a5abb3fe5
Merge pull request #34 from fpistm/STM32CP
Introduce STM32CubeProgrammer
2019-05-03 15:22:26 +02:00
Frederic.Pillon
bf3a55ff8c Clean useless files
Signed-off-by: Frederic.Pillon <frederic.pillon@st.com>
2019-05-03 10:56:28 +02:00
Frederic.Pillon
0e0ac6837d Add STM32CubeProgrammer support
Signed-off-by: Frederic.Pillon <frederic.pillon@st.com>
2019-05-03 10:56:25 +02:00
Frederic.Pillon
be6cae0057 [PinMap] Update after STM32CubeMX 5.2.0 release
Signed-off-by: Frederic.Pillon <frederic.pillon@st.com>
2019-04-26 10:07:39 +02:00
Frederic.Pillon
92f6feebda [PinMap] Update
Signed-off-by: Frederic.Pillon <frederic.pillon@st.com>
2019-02-25 17:13:49 +01:00
Frederic.Pillon
8504f64647 [genpinmap] Avoid duplicated pins
Signed-off-by: Frederic.Pillon <frederic.pillon@st.com>
2019-02-25 17:13:45 +01:00
Frederic.Pillon
73128eb640 [PinMap] Update PinNamesVar.h
Signed-off-by: Frederic.Pillon <frederic.pillon@st.com>
2019-02-21 11:45:49 +01:00
Frederic.Pillon
6d516f8fb6 [genpinmap] Fix PinNamesVar.h format
To avoid astyle check issue

Signed-off-by: Frederic.Pillon <frederic.pillon@st.com>
2019-02-21 11:45:24 +01:00
Frederic.Pillon
e8887b5617 [PinMap] Add STM32WB files
Signed-off-by: Frederic.Pillon <frederic.pillon@st.com>
2019-02-20 14:47:50 +01:00
Frederic.Pillon
b0e9f089be [PinMap] Update license header
Signed-off-by: Frederic.Pillon <frederic.pillon@st.com>
2019-02-20 14:47:30 +01:00
Frederic.Pillon
b575b4187b [genpinmap] Update license header
Signed-off-by: Frederic.Pillon <frederic.pillon@st.com>
2019-02-20 14:46:57 +01:00
Frederic.Pillon
059e2c8c22 [genpimap] Ignore STM32MP*.xml provided with STM32CubeMX 5.1.0
Signed-off-by: Frederic.Pillon <frederic.pillon@st.com>
2019-02-20 09:33:04 +01:00
Frederic.Pillon
3139ebaafd [PinMap] Update PinNamesVar.h
Signed-off-by: Frederic.Pillon <frederic.pillon@st.com>
2019-02-15 14:55:15 +01:00
Frederic.Pillon
1308c7b361 [genpinmap] Fix PinNamesVar.h format
To avoid astyle check issue

Signed-off-by: Frederic.Pillon <frederic.pillon@st.com>
2019-02-15 14:54:37 +01:00
Frederic Pillon
0c0ccfad6c
Update README.md 2019-02-13 09:59:48 +01:00
Chris Barr
d160199ded Update dfu-util to v0.8 (#29)
* Update dfu-util to v0.8

Updating dfu-util and ensuring consistency across platforms.

Windows was v0.1, now is v0.8 - structure changed to match other platforms.
Linux was v0.8, no change needed.
Linux64 was v0.7, updated to v0.8.
OSX was v0.8, no change needed.
2019-02-13 09:49:45 +01:00
Frederic.Pillon
2d0e8d2a52 [PinMap] Update files after genpinmap update
Signed-off-by: Frederic.Pillon <frederic.pillon@st.com>
2019-01-25 09:17:49 +01:00
Frederic.Pillon
2453a90ac1 [genpinmap] Fix PinMap_USB_OTG_HS
If USE_USB_HS_IN_FS is defined only those pins have
to be defined

Signed-off-by: Frederic.Pillon <frederic.pillon@st.com>
2019-01-25 09:17:04 +01:00
Frederic Pillon
a7ee669994
Merge pull request #32 from fpistm/AF_update
Add missing pins
2019-01-07 16:44:44 +01:00
Frederic.Pillon
83a77da89f [PinMap] Update files after genpinmap update
Signed-off-by: Frederic.Pillon <frederic.pillon@st.com>
2019-01-04 14:35:24 +01:00
Frederic.Pillon
840b8d62cc [genpinmap] Add missing pins
Fix #31

Signed-off-by: Frederic.Pillon <frederic.pillon@st.com>
2019-01-04 14:34:45 +01:00
Frederic.Pillon
0d12a70274 [PinMap] update file date
Signed-off-by: Frederic.Pillon <frederic.pillon@st.com>
2019-01-03 16:14:56 +01:00
Frederic Pillon
8032ff1c84
Merge pull request #30 from fpistm/usb
[PinMap] Update files after USB introduction
2018-12-21 10:46:46 +01:00
Frederic.Pillon
305cdd996d [Nucleo L152RE] Fix USB AF
Signed-off-by: Frederic.Pillon <frederic.pillon@st.com>
2018-12-10 10:53:24 +01:00
Frederic Pillon
2400bb6f4d [PinMap] Update files after USB introduction
Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
2018-12-08 16:04:36 +01:00
Frederic.Pillon
4a869802e5 [genpinmap] Add USB feature
Signed-off-by: Frederic.Pillon <frederic.pillon@st.com>
2018-12-08 16:04:22 +01:00
Frederic.Pillon
d257c1c0ed [PinMap] Update files after format update for AStyle
Signed-off-by: Frederic.Pillon <frederic.pillon@st.com>
2018-11-30 15:58:13 +01:00
Frederic.Pillon
a90bb382c7 [genpinmap] Fix output format for AStyle
Signed-off-by: Frederic.Pillon <frederic.pillon@st.com>
2018-11-30 15:54:54 +01:00
Frederic.Pillon
b144be3df6 [PinMap] Update files after HAL update
Signed-off-by: Frederic.Pillon <frederic.pillon@st.com>
2018-11-30 15:46:49 +01:00
Frederic.Pillon
8602a18d76 [PinMap] Update STM32L47xx and STM32L48xx
Signed-off-by: Frederic.Pillon <frederic.pillon@st.com>
2018-11-16 16:30:55 +01:00
Frederic.Pillon
61b2c93dde [genpinmap] Fix STM32L47xxx/48xxx ADC pinmap
For the ADC, it is necessary to configure
the GPIOx_ASCR register, only for STM32L47xxx/48xxx

Signed-off-by: Frederic.Pillon <frederic.pillon@st.com>
2018-11-16 16:29:26 +01:00
Frederic.Pillon
c41950af8b [genpinmap] Use Flake8 for Style Guide Enforcement
http://flake8.pycqa.org/

Signed-off-by: Frederic.Pillon <frederic.pillon@st.com>
2018-11-16 16:02:24 +01:00
Frederic.Pillon
27cea3ca8a [genpinmap] Use Black code formatter
Black is the uncompromising Python code formatter:
https://github.com/ambv/black/

Signed-off-by: Frederic.Pillon <frederic.pillon@st.com>
2018-11-16 15:37:09 +01:00
Frederic Pillon
aae08a915d
Update README.md 2018-10-31 22:11:00 +01:00
Frederic Pillon
1a65468262
Update README.md 2018-10-30 15:20:39 +01:00
Frederic.Pillon
476e696cfa [PinMap] Update files after HAL update
Signed-off-by: Frederic.Pillon <frederic.pillon@st.com>
2018-10-26 16:32:41 +02:00
Frederic Pillon
9d655e1880 Clean old and unused files
Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
2018-10-08 11:04:27 +02:00
Frederic Pillon
e4c17123a5 [stm32flash] Add 32bits version
Previous update has replaced the 32 bits (PE32) version
by a 64 bits one (PE32+).
To avoid any issue for user running on 32 bits OS,
use the 32 bits version per default.
The 64 bits version can be used and is named "stm32flash64.exe"

Those binaries are now stored in "stm32flash/" directory
in order to be aligned with other host OS structure.
Serial upload has been updated and cleaned.

Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
2018-10-08 11:03:21 +02:00
Frederic Pillon
aca3b282d7
Merge pull request #26 from fpistm/ST-LINK-CLI_v3.2.0.0
Update STLink tools
2018-09-22 16:21:12 +02:00
Frederic Pillon
81745f6e7e Add executable extension to call properly stm32flash on Win10
Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
2018-09-22 16:17:51 +02:00
Frederic Pillon
270cc332b7 Update texane stlink to 1.5.1
https://github.com/texane/stlink/releases/tag/v1.5.1

Fix #23

Signed-off-by: Frederic.Pillon <frederic.pillon@st.com>
2018-09-21 19:17:06 +02:00
Frederic Pillon
7a4f2c8d1d Update to ST-LINK_USB_V2_1_Driver
Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
2018-09-21 17:30:10 +02:00