Skip to content

Commit

Permalink
stm32: Support building for STM32F745.
Browse files Browse the repository at this point in the history
Signed-off-by: Damien George <damien@micropython.org>
  • Loading branch information
dpgeorge committed Mar 22, 2022
1 parent bb0ca00 commit 66fe3d5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions ports/stm32/adc.c
Expand Up @@ -146,6 +146,7 @@
#define VBAT_DIV (4)
#elif defined(STM32F722xx) || defined(STM32F723xx) || \
defined(STM32F732xx) || defined(STM32F733xx) || \
defined(STM32F745xx) || \
defined(STM32F746xx) || defined(STM32F765xx) || \
defined(STM32F767xx) || defined(STM32F769xx)
#define VBAT_DIV (4)
Expand Down
2 changes: 1 addition & 1 deletion ports/stm32/pyb_i2c.c
Expand Up @@ -137,7 +137,7 @@ const pyb_i2c_obj_t pyb_i2c_obj[] = {

#define PYB_I2C_TIMINGR (1)

#if defined(STM32F746xx)
#if defined(STM32F745xx) || defined(STM32F746xx)

// The value 0x40912732 was obtained from the DISCOVERY_I2Cx_TIMING constant
// defined in the STM32F7Cube file Drivers/BSP/STM32F746G-Discovery/stm32f7456g_discovery.h
Expand Down

0 comments on commit 66fe3d5

Please sign in to comment.