diff options
| -rw-r--r-- | demos/STM32/RT-STM32F746G-DISCOVERY/mcuconf.h | 4 | ||||
| -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 | 
3 files changed, 12 insertions, 12 deletions
| diff --git a/demos/STM32/RT-STM32F746G-DISCOVERY/mcuconf.h b/demos/STM32/RT-STM32F746G-DISCOVERY/mcuconf.h index 3b1f2128a..8da26145e 100644 --- a/demos/STM32/RT-STM32F746G-DISCOVERY/mcuconf.h +++ b/demos/STM32/RT-STM32F746G-DISCOVERY/mcuconf.h @@ -70,10 +70,10 @@  #define STM32_PLLSAIQ_VALUE                 4
  #define STM32_PLLSAIR_VALUE                 4
  #define STM32_PLLSAIDIVQ_VALUE              2
 -#define STM32_PLLSAIDIVR_VALUE              2
 +#define STM32_PLLSAIDIVR_VALUE              4
  #define STM32_SAI1SEL                       STM32_SAI1SEL_OFF
  #define STM32_SAI2SEL                       STM32_SAI2SEL_OFF
 -#define STM32_LCDTFT_REQUIRED               FALSE
 +#define STM32_LCDTFT_REQUIRED               TRUE
  #define STM32_USART1SEL                     STM32_USART1SEL_PCLK2
  #define STM32_USART2SEL                     STM32_USART2SEL_PCLK1
  #define STM32_USART3SEL                     STM32_USART3SEL_PCLK1
 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"
 | 
