Skip to content

unable to build in ubuntu #3

@quantrpeter

Description

@quantrpeter

hi

root@2816241be97b:/micropython/ports/stm32# make BOARD=WEACT_H750VBT6
Use make V=1 or set BUILD_VERBOSE in your environment to increase build verbosity.
mkdir -p build-WEACT_H750VBT6/genhdr
GEN build-WEACT_H750VBT6/genhdr/pins.h
GEN build-WEACT_H750VBT6/genhdr/pybcdc.inf
GEN build-WEACT_H750VBT6/genhdr/pybcdc_inf.h
GEN stmconst build-WEACT_H750VBT6/genhdr/modstm_const.h
GEN build-WEACT_H750VBT6/genhdr/mpversion.h
GEN build-WEACT_H750VBT6/genhdr/qstr.i.last
In file included from ../../lib/stm32lib/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal.h:29,
                 from ./mpconfigboard_common.h:30,
                 from ./mpconfigport.h:32,
                 from ../../py/mpconfig.h:91,
                 from ../../extmod/modselect.c:28:
boards/WEACT_H750VBT6/stm32h7xx_hal_conf.h:11: error: "HSE_VALUE" redefined [-Werror]
   11 | #define HSE_VALUE (25000000)
      | 
In file included from ../../lib/stm32lib/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal.h:29,
                 from ./mpconfigboard_common.h:30,
                 from ./mpconfigport.h:32,
                 from ../../py/mpconfig.h:91,
                 from ../../py/obj.h:31,
                 from ../../py/objcell.c:27:
boards/WEACT_H750VBT6/stm32h7xx_hal_conf.h:11: error: "HSE_VALUE" redefined [-Werror]
   11 | #define HSE_VALUE (25000000)
      | 
In file included from ../../lib/stm32lib/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal.h:29,
                 from ./mpconfigboard_common.h:30,
                 from ./mpconfigport.h:32,
                 from ../../py/mpconfig.h:91,
                 from ../../py/mpstate.h:31,
                 from ../../py/mpstate.c:27:
boards/WEACT_H750VBT6/stm32h7xx_hal_conf.h:11: error: "HSE_VALUE" redefined [-Werror]
   11 | #define HSE_VALUE (25000000)
      | 
In file included from ./boards/stm32h7xx_hal_conf_base.h:98,
                 from boards/WEACT_H750VBT6/stm32h7xx_hal_conf.h:8:
../../lib/stm32lib/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_rcc.h:156: note: this is the location of the previous definition
  156 | #define HSE_VALUE    25000000U  /*!< Value of the HSE oscillator in Hz */
      | 
boards/WEACT_H750VBT6/stm32h7xx_hal_conf.h:12: error: "LSE_VALUE" redefined [-Werror]
   12 | #define LSE_VALUE (32768)

thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions