Commit graph

52 commits

Author SHA1 Message Date
Frederic.Pillon
29856620cc [genpinmap] Add input mcu xml file name used to generate file
Add some cleaning

Signed-off-by: Frederic.Pillon <frederic.pillon@st.com>
2018-04-30 17:59:03 +02:00
Frederic.Pillon
a15e64a7a7 Fix ADC channel parsing
Handle ADCx_INPy and ADCx_INPy used for H7

Signed-off-by: Frederic.Pillon <frederic.pillon@st.com>
2018-04-04 17:22:07 +02:00
Frederic Pillon
bfa5be873e
Update README.md 2018-03-23 10:14:04 +01:00
Frederic.Pillon
54392779f3 Add all PeripheralPins.c
generated from MCU xml file description avalable in STM32CubeMX

Signed-off-by: Frederic.Pillon <frederic.pillon@st.com>
2018-03-20 10:41:57 +01:00
Frederic.Pillon
3debe0419a [genpinmap] use current year instead of constant one
Signed-off-by: Frederic.Pillon <frederic.pillon@st.com>
2018-03-20 10:41:57 +01:00
Frederic Pillon
0042fa24ba
Create README.md 2018-03-20 10:41:03 +01:00
Frederic Pillon
7b9b4dbe3b
Update README.md 2018-03-15 17:08:37 +01:00
Frederic Pillon
ac06dd9dad Update scripts to be aligned with Arduino_STM32 tools
Serial_upload: speed change to 115200
https://github.com/LightningStalker/Arduino_STM32/pull/1
Maple rules:
ed82be4c6e
Maple_upload:
437834a91f (diff-a0a50ec8cd3ccc8618dcd0dbf108becc)
9b03f0841d

Signed-off-by: Frederic.Pillon <frederic.pillon@st.com>
2018-01-31 22:41:38 +01:00
Frederic Pillon
20eed25f42 Update README.md 2017-09-22 17:30:37 +02:00
Frederic.Pillon
ac62b9ab51 Fix permission for massStorageCopyMacOsX
Signed-off-by: Frederic.Pillon <frederic.pillon@st.com>
2017-09-20 16:15:27 +02:00
Frederic Pillon
36a19ce05d Update README.md 2017-08-31 10:42:50 +02:00
Frederic.Pillon
f5c8329c64 Set CAN1 if only one instance
For some serie:
- CAN is defined and not CAN1
- CAN is not defined and CAN1 is
- CAN and CAN1 are defined

Signed-off-by: Frederic.Pillon <frederic.pillon@st.com>
2017-08-22 09:36:12 +02:00
Frederic.Pillon
9a384417b4 Add BluePill and MapleMini to the scripts
Signed-off-by: Frederic.Pillon <frederic.pillon@st.com>
2017-08-21 15:38:49 +02:00
Frederic Pillon
a34657291b Merge pull request #19 from fpistm/Missing_AF_F1
Some AF for F1 are missing
2017-08-21 15:37:57 +02:00
Frederic.Pillon
fa4ff52ced Some AF for F1 are missing
Signed-off-by: Frederic.Pillon <frederic.pillon@st.com>
2017-08-21 15:28:17 +02:00
Frederic.Pillon
3078740849 Fix missing ',' for CAN
Signed-off-by: Frederic.Pillon <frederic.pillon@st.com>
2017-08-21 10:56:13 +02:00
Frederic Pillon
01e3f3f61f Merge pull request #18 from fpistm/F1_AF
Add support for STM32F10x
2017-08-21 10:02:11 +02:00
Frederic Pillon
2fa77a8d9f Set the GPIO Mode to STM_MODE_INPUT instead of STM_MODE_AF_PP for F1
For Uart_RX and CAN_RD

Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
2017-08-20 12:40:30 +02:00
Frederic Pillon
c7435b673b Remove uneeded comment
Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
2017-08-20 09:44:13 +02:00
Frederic Pillon
d4f2c75843 Add support for STM32F10x
Signed-off-by: Frederic.Pillon <frederic.pillon@st.com>
2017-08-19 13:10:02 +02:00
Frederic Pillon
e7753e44d8 Merge pull request #16 from fpistm/pinnaming
Update pin name formatting. PXn -> PX_n
2017-08-18 11:36:59 +02:00
Frederic.Pillon
2138479822 Update pin name formatting. PXn -> PX_n
Requested by:
https://github.com/stm32duino/Arduino_Core_STM32/issues/81

Signed-off-by: Frederic.Pillon <frederic.pillon@st.com>
2017-08-17 15:18:17 +02:00
Frederic.Pillon
2c61ba3451 Add Nucleo L152
Signed-off-by: Frederic.Pillon <frederic.pillon@st.com>
2017-08-14 09:58:57 +02:00
Frederic Pillon
65c78df5e4 Merge pull request #15 from fprwi6labs/add_qspi_pins
Add qspi pins
2017-08-14 09:44:13 +02:00
Frederic.Pillon
cc20fc283d Add command line for all supported variants
Signed-off-by: Frederic.Pillon <frederic.pillon@st.com>
2017-08-14 09:36:14 +02:00
fpr
d6ea7e2a02 Add board DISCO-L475VG
Signed-off-by: fpr <fabien.perroquin@wi6labs.com>
2017-08-14 09:08:23 +02:00
fpr
edadaf9018 Add QUADSPI pinmap generation
Signed-off-by: fpr <fabien.perroquin@wi6labs.com>
2017-08-14 09:06:08 +02:00
Frederic Pillon
ed62e6574d Merge pull request #14 from fpistm/genpinmap
Add genpinmap script
2017-07-04 17:45:59 +02:00
Frederic.Pillon
e7bc10e0f0 Add genpinmap script
This tool allows to generate the pins mapping of an STM32 MCU.

This script is able to generate the PeripheralPins.c using STM32
xml file description in Cube MX.
After file generation, review it carefully.
Comment a line if the pin is generated several times for the same IP
or if the pin should not be used
(overlaid with some HW on the board, for instance)

USAGE: genpinmap_arduino.py <BOARD_NAME> <product xml file name>

    <BOARD_NAME> is the name of the board as it will be named in mbed
    <product xml file name> is the STM32 file description in Cube MX

!!This xml file contains non alpha characters in its name, you should call it with quotes

Fix #10

Signed-off-by: Frederic.Pillon <frederic.pillon@st.com>
2017-07-04 17:44:08 +02:00
Frederic Pillon
5b2d2ef272 Merge pull request #13 from fpistm/st-link_cli-3.0.0.0
Update to ST-Link_cli 3.0.0.0
2017-07-04 17:29:04 +02:00
Frederic Pillon
ea82c0759e Update to ST-Link_cli 3.0.0.0
Fix #12
Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
2017-07-04 16:51:26 +02:00
Frederic.Pillon
3229cd7077 Fix MassStorageCopy issue with double quoted list
'"' strip now
Fix #11

Signed-off-by: Frederic.Pillon <frederic.pillon@st.com>
2017-06-26 09:35:41 +02:00
Frederic Pillon
f16b97868e Merge pull request #9 from stm32duino/stlink-1.3.0
Update texane stlink to 1.3.0
2017-06-22 10:13:32 +02:00
Frederic Pillon
50fa24ba2e Update texane stlink to 1.3.0
Fix #7

https://github.com/texane/stlink/releases/tag/1.3.0
https://github.com/texane/stlink/tree/1.3.0

Signed-off-by: Frederic.Pillon <frederic.pillon@st.com>
2017-06-20 21:37:53 +02:00
Frederic Pillon
5e8c6764d6 Merge pull request #8 from stm32duino/issue_6
MassStorageCopy updated to manage several node names.
2017-06-20 09:33:29 +02:00
Frederic.Pillon
e82d0f26ba Minor update to avoid warning
Fix typo

Signed-off-by: Frederic.Pillon <frederic.pillon@st.com>
2017-06-20 09:32:43 +02:00
fpr
68b6a77077 MassStorage updated to manage several node name on MacOSX. Source file modified to be as close as possible than Linux source. Easier to maintain.
Signed-off-by: fpr <fabien.perroquin@wi6labs.com>
2017-06-19 11:20:06 +02:00
Frederic.Pillon
82eb13a6d6 MassStorageCopy updated to manage several node names.
Depending of the board revision, mount point name could be different.
Ex for: STM32F030R8 with a rev 1 node name is : "NUCLEO"
while it is "NODE_F030R8" for rev c

Ex: in boards.txt we could have:
Nucleo_64.menu.Nucleo_64_board.NUCLEO_F030R8.node="NODE_F030R8,NUCLEO"

Fix #6

Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
2017-06-16 17:43:29 +02:00
Frederic.Pillon
1ba6db25b6 Rename nucleoFlasher to massStorageCopy
Harden massStorageCopy to avoid issue.
Create a linux 32 bits version.

Signed-off-by: Frederic.Pillon <frederic.pillon@st.com>
2017-05-10 11:24:11 +02:00
Frederic Pillon
4963647c4a Merge pull request #5 from fpistm/fpistm
Fix permission and issue with x86_64 host
2017-01-19 13:58:26 +01:00
Frederic.Pillon
fbc6652d33 Fix permission and issue with x86_64 host
Signed-off-by: Frederic.Pillon <frederic.pillon@st.com>
2016-12-13 11:48:55 +01:00
Roger Clark
a0581df216 Fixed #4 2016-11-17 13:15:44 +11:00
Roger Clark
d2540e6ff5 Copy latest nucleoflasher to Win specific folder 2016-11-14 10:08:56 +11:00
Roger Clark
83b18e0b76 Fixed merge issues 2016-11-14 09:28:35 +11:00
Roger Clark
243fb9cb8c Updated Nucleo flasher bat for Windows 2016-11-14 09:26:47 +11:00
Roger Clark
bf2bb4cb76 Complete rewrite of NucleoFlasher.bat
Rewrote to use WMIC as the previous version didn't work on some machines, and also using WMIC is a much more elegant way to find the mass storage device (disk drive)
2016-10-02 13:58:48 +11:00
Roger Clark
de95abde3f Fix issues with linux and OSX permissions and update linux64 stlink upload script (issues 1 and 2) 2016-09-25 09:00:57 +10:00
Roger Clark
221cb35f42 Added other upload tools etc 2016-09-24 22:07:38 +10:00
Roger Clark
bb188304fb Remove Linux and Macos files from Win folder (mistake in last commit) 2016-09-16 21:42:42 +10:00
Roger Clark
bf6e42ce58 Split tools by OS (but initially retain the original single NucleoFlasher folder 2016-09-16 21:41:44 +10:00