Skip to content

drv_pwm.c and drv_hwtimer.c build error: use of empty enum #3141

@LUAN-Z

Description

@LUAN-Z

..\libraries\HAL_Drivers\drv_hwtimer.c(73): error: #40: expected an identifier
};
..\libraries\HAL_Drivers\drv_hwtimer.c(152): error: #29: expected an expression
};
..\libraries\HAL_Drivers\drv_hwtimer.c(83): error: #1514: an empty initializer is invalid for an array with unspecified bound
static struct stm32_hwtimer stm32_hwtimer_obj[] =
..\libraries\HAL_Drivers\drv_hwtimer.c: 0 warnings, 3 errors
compiling drv_gpio.c...
compiling drv_pwm.c...
..\libraries\HAL_Drivers\drv_pwm.c(78): error: #40: expected an identifier
};
..\libraries\HAL_Drivers\drv_pwm.c(157): error: #29: expected an expression
};
..\libraries\HAL_Drivers\drv_pwm.c(88): error: #1514: an empty initializer is invalid for an array with unspecified bound
static struct stm32_pwm stm32_pwm_obj[] =
..\libraries\HAL_Drivers\drv_pwm.c: 0 warnings, 3 errors

Metadata

Metadata

Assignees

No one assigned

    Labels

    BSP: STM32BSP related with ST/STM32

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions