Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
uPython-mirror
Commits
c74fa7f5
Commit
c74fa7f5
authored
Mar 30, 2017
by
Damien George
Browse files
stmhal/boards/STM32F769DISC: Get SD card working by using SDMMC2.
parent
9818c0db
Changes
3
Hide whitespace changes
Inline
Side-by-side
stmhal/boards/STM32F769DISC/mpconfigboard.h
View file @
c74fa7f5
...
...
@@ -67,6 +67,12 @@
#define MICROPY_HW_LED_OFF(pin) (mp_hal_pin_low(pin))
// SD card detect switch
#define MICROPY_HW_SDMMC2_CK (pin_D6)
#define MICROPY_HW_SDMMC2_CMD (pin_D7)
#define MICROPY_HW_SDMMC2_D0 (pin_G9)
#define MICROPY_HW_SDMMC2_D1 (pin_G10)
#define MICROPY_HW_SDMMC2_D2 (pin_B3)
#define MICROPY_HW_SDMMC2_D3 (pin_B4)
#define MICROPY_HW_SDCARD_DETECT_PIN (pin_I15)
#define MICROPY_HW_SDCARD_DETECT_PULL (GPIO_PULLUP)
#define MICROPY_HW_SDCARD_DETECT_PRESENT (GPIO_PIN_RESET)
...
...
stmhal/boards/STM32F769DISC/mpconfigboard.mk
View file @
c74fa7f5
MCU_SERIES
=
f7
CMSIS_MCU
=
STM32F769xx
AF_FILE
=
boards/stm32f76
9
_af.csv
AF_FILE
=
boards/stm32f76
7
_af.csv
LD_FILE
=
boards/stm32f769.ld
stmhal/boards/STM32F769DISC/pins.csv
View file @
c74fa7f5
...
...
@@ -33,12 +33,12 @@ AUDIO_SCL,PH7
EXT_SDA,PB9
EXT_SCL,PB8
EXT_RST,PG3
SD_D0,P
C8
SD_D1,P
C9
SD_D2,P
C10
SD_D3,P
C11
SD_CK,P
C12
SD_CMD,PD
2
SD_D0,P
G9
SD_D1,P
G10
SD_D2,P
B3
SD_D3,P
B4
SD_CK,P
D6
SD_CMD,PD
7
SD_SW,PI15
LCD_BL_CTRL,PK3
LCD_INT,PI13
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment