diff options
author | Giovanni Di Sirio <gdisirio@gmail.com> | 2017-05-30 06:54:41 +0000 |
---|---|---|
committer | Giovanni Di Sirio <gdisirio@gmail.com> | 2017-05-30 06:54:41 +0000 |
commit | 2194e1f29624395358ce72d611d8b87c6714f271 (patch) | |
tree | c4d3d59a2dabf239e833eb8b2aa8e7a9ee83a5aa /os/hal/boards/ST_STM32F746G_DISCOVERY | |
parent | 2045fd61b92f77bcf458ec88b1590b1f9a0faa5c (diff) | |
download | ChibiOS-2194e1f29624395358ce72d611d8b87c6714f271.tar.gz ChibiOS-2194e1f29624395358ce72d611d8b87c6714f271.tar.bz2 ChibiOS-2194e1f29624395358ce72d611d8b87c6714f271.zip |
Fixed LDC-related issues with STM32F746G-Discovery board files.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10231 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/boards/ST_STM32F746G_DISCOVERY')
-rw-r--r-- | os/hal/boards/ST_STM32F746G_DISCOVERY/board.h | 12 | ||||
-rw-r--r-- | os/hal/boards/ST_STM32F746G_DISCOVERY/cfg/board.chcfg | 8 |
2 files changed, 10 insertions, 10 deletions
diff --git a/os/hal/boards/ST_STM32F746G_DISCOVERY/board.h b/os/hal/boards/ST_STM32F746G_DISCOVERY/board.h index cc26ca1f4..f2efac649 100644 --- a/os/hal/boards/ST_STM32F746G_DISCOVERY/board.h +++ b/os/hal/boards/ST_STM32F746G_DISCOVERY/board.h @@ -1176,7 +1176,7 @@ * PG5 - FMC_BA1 (alternate 12).
* PG6 - ARD_D2 (input pullup).
* PG7 - ARD_D4 (input pullup).
- * PG8 - FMC_SDCLK (input floating).
+ * PG8 - FMC_SDCLK (alternate 12).
* PG9 - DCMI_VSYNC (input pullup).
* PG10 - SAI2_SDB (input pullup).
* PG11 - RMII_TX_EN (alternate 11).
@@ -1193,7 +1193,7 @@ PIN_MODE_ALTERNATE(GPIOG_FMC_BA1) | \
PIN_MODE_INPUT(GPIOG_ARD_D2) | \
PIN_MODE_INPUT(GPIOG_ARD_D4) | \
- PIN_MODE_INPUT(GPIOG_FMC_SDCLK) | \
+ PIN_MODE_ALTERNATE(GPIOG_FMC_SDCLK) | \
PIN_MODE_INPUT(GPIOG_DCMI_VSYNC) | \
PIN_MODE_INPUT(GPIOG_SAI2_SDB) | \
PIN_MODE_ALTERNATE(GPIOG_RMII_TX_EN) | \
@@ -1273,7 +1273,7 @@ PIN_AFIO_AF(GPIOG_FMC_BA1, 12U) | \
PIN_AFIO_AF(GPIOG_ARD_D2, 0U) | \
PIN_AFIO_AF(GPIOG_ARD_D4, 0U))
-#define VAL_GPIOG_AFRH (PIN_AFIO_AF(GPIOG_FMC_SDCLK, 0U) | \
+#define VAL_GPIOG_AFRH (PIN_AFIO_AF(GPIOG_FMC_SDCLK, 12U) | \
PIN_AFIO_AF(GPIOG_DCMI_VSYNC, 0U) | \
PIN_AFIO_AF(GPIOG_SAI2_SDB, 0U) | \
PIN_AFIO_AF(GPIOG_RMII_TX_EN, 11U) | \
@@ -1414,7 +1414,7 @@ * PI9 - LCD_VSYNC (alternate 14).
* PI10 - LCD_HSYNC (alternate 14).
* PI11 - BUTTON_USER (input floating).
- * PI12 - LCD_DISP (alternate 14).
+ * PI12 - LCD_DISP (output pushpull maximum).
* PI13 - LCD_INT (alternate 14).
* PI14 - LCD_CLK (alternate 14).
* PI15 - LCD_R0 (alternate 14).
@@ -1431,7 +1431,7 @@ PIN_MODE_ALTERNATE(GPIOI_LCD_VSYNC) | \
PIN_MODE_ALTERNATE(GPIOI_LCD_HSYNC) | \
PIN_MODE_INPUT(GPIOI_BUTTON_USER) | \
- PIN_MODE_ALTERNATE(GPIOI_LCD_DISP) | \
+ PIN_MODE_OUTPUT(GPIOI_LCD_DISP) | \
PIN_MODE_ALTERNATE(GPIOI_LCD_INT) | \
PIN_MODE_ALTERNATE(GPIOI_LCD_CLK) | \
PIN_MODE_ALTERNATE(GPIOI_LCD_R0))
@@ -1511,7 +1511,7 @@ PIN_AFIO_AF(GPIOI_LCD_VSYNC, 14U) | \
PIN_AFIO_AF(GPIOI_LCD_HSYNC, 14U) | \
PIN_AFIO_AF(GPIOI_BUTTON_USER, 0U) | \
- PIN_AFIO_AF(GPIOI_LCD_DISP, 14U) | \
+ PIN_AFIO_AF(GPIOI_LCD_DISP, 0U) | \
PIN_AFIO_AF(GPIOI_LCD_INT, 14U) | \
PIN_AFIO_AF(GPIOI_LCD_CLK, 14U) | \
PIN_AFIO_AF(GPIOI_LCD_R0, 14U))
diff --git a/os/hal/boards/ST_STM32F746G_DISCOVERY/cfg/board.chcfg b/os/hal/boards/ST_STM32F746G_DISCOVERY/cfg/board.chcfg index 9fa7a8563..a1bd2c4ce 100644 --- a/os/hal/boards/ST_STM32F746G_DISCOVERY/cfg/board.chcfg +++ b/os/hal/boards/ST_STM32F746G_DISCOVERY/cfg/board.chcfg @@ -884,8 +884,8 @@ Level="High"
Speed="Maximum"
Resistor="Floating"
- Mode="Input"
- Alternate="0" />
+ Mode="Alternate"
+ Alternate="12" />
<pin9
ID="DCMI_VSYNC"
Type="PushPull"
@@ -1176,8 +1176,8 @@ Level="High"
Speed="Maximum"
Resistor="Floating"
- Mode="Alternate"
- Alternate="14" />
+ Mode="Output"
+ Alternate="0" />
<pin13
ID="LCD_INT"
Type="PushPull"
|