diff options
| author | Damien George <damien.p.george@gmail.com> | 2017-03-30 17:52:20 +1100 |
|---|---|---|
| committer | Damien George <damien.p.george@gmail.com> | 2017-03-30 17:52:20 +1100 |
| commit | 43defc9e98d27d370d1aa728c24ca48377ca6f66 (patch) | |
| tree | 03cca2ab25c119f4f5ee9b5eac748e33a11c52c8 /stmhal/boards | |
| parent | 29dd92c82a6ea07f8d4f71c5c6d18c45ccefde39 (diff) | |
stmhal: Support SDMMC alternate functions in pin generation.
Diffstat (limited to 'stmhal/boards')
| -rwxr-xr-x | stmhal/boards/make-pins.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/stmhal/boards/make-pins.py b/stmhal/boards/make-pins.py index b33c92edc..371ac77dd 100755 --- a/stmhal/boards/make-pins.py +++ b/stmhal/boards/make-pins.py @@ -14,7 +14,8 @@ SUPPORTED_FN = { 'I2S' : ['CK', 'MCK', 'SD', 'WS', 'EXTSD'], 'USART' : ['RX', 'TX', 'CTS', 'RTS', 'CK'], 'UART' : ['RX', 'TX', 'CTS', 'RTS'], - 'SPI' : ['NSS', 'SCK', 'MISO', 'MOSI'] + 'SPI' : ['NSS', 'SCK', 'MISO', 'MOSI'], + 'SDMMC' : ['CK', 'CMD', 'D0', 'D1', 'D2', 'D3'], } CONDITIONAL_VAR = { @@ -23,6 +24,7 @@ CONDITIONAL_VAR = { 'SPI' : 'MICROPY_HW_SPI{num}_SCK', 'UART' : 'MICROPY_HW_UART{num}_TX', 'USART' : 'MICROPY_HW_UART{num}_TX', + 'SDMMC' : 'MICROPY_HW_SDMMC{num}_CK', } def parse_port_pin(name_str): |
