Commit graph

67 commits

Author SHA1 Message Date
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
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
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
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
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
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