Toggle navigation
首页
问答
文章
积分商城
专家
专区
更多专区...
文档中心
返回主站
搜索
提问
会员
中心
登录
注册
vscode插件
编译报错
vscode中studio插件编译报错
发布于 2022-04-22 16:58:29 浏览:1509
订阅该版
使用studio新建rt-thread项目,然后用cubemx配置pin脚,没有手动修改任何代码。 在studio内编译和上传成功。vscode使用studio插件导入项目后使用插件编译报错(报错信息很长,terminal甚至无法完全显示,希望大佬提供导出编译信息到文件的方法): ``` cubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim.c: In function 'HAL_TIM_PWM_Start_IT': cubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim_ex.c:638:42: error: 'HAL_TIM_CHANNEL_STATE_BUSY' undeclared (first use in this function) TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_BUSY); ^ cubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim.c:1524:47: error: 'HAL_TIM_CHANNEL_STATE_READY' undeclared (first use in this function) if (TIM_CHANNEL_STATE_GET(htim, Channel) != HAL_TIM_CHANNEL_STATE_READY) ^ cubemx\cubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_uart.c:2172:28: error: 'HAL_UART_RECEPTION_STANDARD' undeclared (first use in this function) huart->ReceptionType = HAL_UART_RECEPTION_STANDARD; ^ cubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim_ex.c: In function 'HAL_TIMEx_OCN_Stop': cubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_uart.c: In function 'HAL_UART_AbortReceive_IT': EWARM\stacubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim.c:1530:40: error: 'HAL_TIM_CHANNEL_STATE_BUSY' undeclared (first use in this function) TIM_CHANNEL_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_BUSY); ^ cubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_uart.c:2285:12: error: 'UART_HandleTypeDef {aka struct __UART_HandleTypeDef}' has no member named 'ReceptionType' if (huart->ReceptionType == HAL_UART_RECEPTION_TOIDLE) ^ cubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim_ex.c:690:42: error: 'HAL_TIM_CHANNEL_STATE_READY' undeclared (first use in this function) TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); ^ cubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_uart.c:2285:31: error: 'HAL_UART_RECEPTION_TOIDLE' undeclared (first use in this function) if (huart->ReceptionType == HAL_UART_RECEPTION_TOIDLE) ^ cubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim_ex.c: In function 'HAL_TIMEx_OCN_Start_IT': CC build\drivers\drv_clk.o rtup_stcubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_uart.c:2316:12: error: 'UART_HandleTypeDef {aka struct __UART_HandleTypeDef}' has no member named 'ReceptionType' huart->ReceptionType = HAL_UART_RECEPTION_STANDARD; ^ cubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim.c: In function 'HAL_TIM_PWM_Stop_IT': cubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim_ex.c:715:49: error: 'HAL_TIM_CHANNEL_STATE_READY' undeclared (first use in this function) if (TIM_CHANNEL_N_STATE_GET(htim, Channel) != HAL_TIM_CHANNEL_STATE_READY) ^ mcubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_uart.c:2316:30: error: 'HAL_UART_RECEPTION_STANDARD' undeclared (first use in this function) huart->ReceptionType = HAL_UART_RECEPTION_STANDARD; ^ cubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim.c:1656:40: error: 'HAL_TIM_CHANNEL_STATE_READY' undeclared (first use in this function) TIM_CHANNEL_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); ^ cubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_uart.c:2335:10: error: 'UART_HandleTypeDef {aka struct __UART_HandleTypeDef}' has no member named 'ReceptionType' huart->ReceptionType = HAL_UART_RECEPTION_STANDARD; ^ 3cubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim_ex.c:721:42: error: 'HAL_TIM_CHANNEL_STATE_BUSY' undeclared (first use in this function) TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_BUSY); ^ cubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim.c: In function 'HAL_TIM_PWM_Start_DMA': 2fcubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim.c:1683:47: error: 'HAL_TIM_CHANNEL_STATE_BUSY' undeclared (first use in this function) if (TIM_CHANNEL_STATE_GET(htim, Channel) == HAL_TIM_CHANNEL_STATE_BUSY) ^ 10cubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim.c:1687:52: error: 'HAL_TIM_CHANNEL_STATE_READY' undeclared (first use in this function) else if (TIM_CHANNEL_STATE_GET(htim, Channel) == HAL_TIM_CHANNEL_STATE_READY) ^ cubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim_ex.c: In function 'HAL_TIMEx_OCN_Stop_IT': cubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_uart.c: In function 'HAL_UART_IRQHandler': cubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim_ex.c:839:42: error: 'HAL_TIM_CHANNEL_STATE_READY' undeclared (first use in this function) TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); ^ cubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_uart.c:2483:15: error: 'UART_HandleTypeDef {aka struct __UART_HandleTypeDef}' has no member named 'ReceptionType' if ( (huart->ReceptionType == HAL_UART_RECEPTION_TOIDLE) ^ cubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim_ex.c: In function 'HAL_TIMEx_OCN_Start_DMA': 3cubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_uart.c:2483:34: error: 'HAL_UART_RECEPTION_TOIDLE' undeclared (first use in this function) if ( (huart->ReceptionType == HAL_UART_RECEPTION_TOIDLE) ^ cubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim.c: In function 'HAL_TIM_PWM_Stop_DMA': xecubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim_ex.c:866:49: error: 'HAL_TIM_CHANNEL_STATE_BUSY' undeclared (first use in this function) if (TIM_CHANNEL_N_STATE_GET(htim, Channel) == HAL_TIM_CHANNEL_STATE_BUSY) ^ cubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_uart.c:2516:16: error: 'UART_HandleTypeDef {aka struct __UART_HandleTypeDef}' has no member named 'ReceptionType' huart->ReceptionType = HAL_UART_RECEPTION_STANDARD; ^ cubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim_ex.c:870:54: error: 'HAL_TIM_CHANNEL_STATE_READY' undeclared (first use in this function) else if (TIM_CHANNEL_N_STATE_GET(htim, Channel) == HAL_TIM_CHANNEL_STATE_READY) ^ cubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_uart.c:2516:34: error: 'HAL_UART_RECEPTION_STANDARD' undeclared (first use in this function) huart->ReceptionType = HAL_UART_RECEPTION_STANDARD; ^ cubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim.c:1888:40: error: 'HAL_TIM_CHANNEL_STATE_READY' undeclared (first use in this function) TIM_CHANNEL_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); ^ cubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_uart.c:2528:9: warning: implicit declaration of function 'HAL_UARTEx_RxEventCallback' [-Wimplicit-function-declaration] HAL_UARTEx_RxEventCallback(huart, (huart->RxXferSize - huart->RxXferCount)); ^ .s:6: cubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim_ex.c: In function 'HAL_TIMEx_OCN_Stop_DMA': cubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_uart.c:2550:14: error: 'UART_HandleTypeDef {aka struct __UART_HandleTypeDef}' has no member named 'ReceptionType' huart->ReceptionType = HAL_UART_RECEPTION_STANDARD; ^ cubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim.c: In function 'HAL_TIM_IC_Init': Ercubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_uart.c: At top level: cubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim_ex.c:1035:42: error: 'HAL_TIM_CHANNEL_STATE_READY' undeclared (first use in this function) TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); ^ rocubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_uart.c:2707:13: warning: conflicting types for 'HAL_UARTEx_RxEventCallback' __weak void HAL_UARTEx_RxEventCallback(UART_HandleTypeDef *huart, uint16_t Size) ^ cubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim_ex.c: In function 'HAL_TIMEx_PWMN_Start': cubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_uart.c:2528:9: note: previous implicit declaration of 'HAL_UARTEx_RxEventCallback' was here HAL_UARTEx_RxEventCallback(huart, (huart->RxXferSize - huart->RxXferCount)); ^ cubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim.c:1971:7: error: 'TIM_HandleTypeDef {aka struct
}' has no member named 'DMABurstState' htim->DMABurstState = HAL_DMA_BURST_STATE_READY; ^ r: jucubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim_ex.c:1093:49: error: 'HAL_TIM_CHANNEL_STATE_READY' undeclared (first use in this function) if (TIM_CHANNEL_N_STATE_GET(htim, Channel) != HAL_TIM_CHANNEL_STATE_READY) ^ cubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim.c:1971:25: error: 'HAL_DMA_BURST_STATE_READY' undeclared (first use in this function) htim->DMABurstState = HAL_DMA_BURST_STATE_READY; ^ cubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim_ex.c:1099:42: error: 'HAL_TIM_CHANNEL_STATE_BUSY' undeclared (first use in this function) TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_BUSY); ^ cubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim.c:1974:35: error: 'HAL_TIM_CHANNEL_STATE_READY' undeclared (first use in this function) TIM_CHANNEL_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_READY); ^ nk at end ocubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim.c: In function 'HAL_TIM_IC_DeInit': cubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_uart.c: In function 'UART_DMAReceiveCplt': cubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim_ex.c: In function 'HAL_TIMEx_PWMN_Stop': f line, cubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_uart.c:3054:14: error: 'UART_HandleTypeDef {aka struct __UART_HandleTypeDef}' has no member named 'ReceptionType' if (huart->ReceptionType == HAL_UART_RECEPTION_TOIDLE) ^ cubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim_ex.c:1150:42: error: 'HAL_TIM_CHANNEL_STATE_READY' undeclared (first use in this function) TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); ^ cubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_uart.c:3054:33: error: 'HAL_UART_RECEPTION_TOIDLE' undeclared (first use in this function) if (huart->ReceptionType == HAL_UART_RECEPTION_TOIDLE) ^ first unreccubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim_ex.c: In function 'HAL_TIMEx_PWMN_Start_IT': cubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim_ex.c:1175:49: error: 'HAL_TIM_CHANNEL_STATE_READY' undeclared (first use in this function) if (TIM_CHANNEL_N_STATE_GET(htim, Channel) != HAL_TIM_CHANNEL_STATE_READY) ^ cubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_uart.c:3062:12: error: 'UART_HandleTypeDef {aka struct __UART_HandleTypeDef}' has no member named 'ReceptionType' if (huart->ReceptionType == HAL_UART_RECEPTION_TOIDLE) ^ ogncubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_uart.c: In function 'UART_DMARxHalfCplt': CC build\drivers\drv_common.o ized ccubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim_ex.c:1181:42: error: 'HAL_TIM_CHANNEL_STATE_BUSY' undeclared (first use in this function) TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_BUSY); ^ cubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim.c:2011:7: error: 'TIM_HandleTypeDef {aka struct
}' has no member named 'DMABurstState' htim->DMABurstState = HAL_DMA_BURST_STATE_RESET; ^ cubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_uart.c:3097:12: error: 'UART_HandleTypeDef {aka struct __UART_HandleTypeDef}' has no member named 'ReceptionType' if (huart->ReceptionType == HAL_UART_RECEPTION_TOIDLE) ^ cubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim.c:2011:25: error: 'HAL_DMA_BURST_STATE_RESET' undeclared (first use in this function) htim->DMABurstState = HAL_DMA_BURST_STATE_RESET; ^ cubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_uart.c:3097:31: error: 'HAL_UART_RECEPTION_TOIDLE' undeclared (first use in this function) if (huart->ReceptionType == HAL_UART_RECEPTION_TOIDLE) ^ cubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim.c:2014:35: error: 'HAL_TIM_CHANNEL_STATE_RESET' undeclared (first use in this function) TIM_CHANNEL_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_RESET); ^ cubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim_ex.c: In function 'HAL_TIMEx_PWMN_Stop_IT': haracter is `*' cubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim.c: In function 'HAL_TIM_IC_Start': cubemcubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim_ex.c:1299:42: error: 'HAL_TIM_CHANNEL_STATE_READY' undeclared (first use in this function) TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); ^ cubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim.c:2070:3: error: unknown type name 'HAL_TIM_ChannelStateTypeDef' HAL_TIM_ChannelStateTypeDef channel_state = TIM_CHANNEL_STATE_GET(htim, Channel); ^ cubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_uart.c: At top level: x\EWARM\startup_stm32f103xe.s:7: Error: junk at end of line, first unrecognized charactcubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_uart.c:3205:19: error: conflicting types for 'UART_Start_Receive_IT' HAL_StatusTypeDef UART_Start_Receive_IT(UART_HandleTypeDef *huart, uint8_t *pData, uint16_t Size) ^ cubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim_ex.c: In function 'HAL_TIMEx_PWMN_Start_DMA': cubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_uart.c:1376:12: note: previous implicit declaration of 'UART_Start_Receive_IT' was here return(UART_Start_Receive_IT(huart, pData, Size)); ^ er iscubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim.c:2071:3: error: unknown type name 'HAL_TIM_ChannelStateTypeDef' HAL_TIM_ChannelStateTypeDef complementary_channel_state = TIM_CHANNEL_N_STATE_GET(htim, Channel); ^ cubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim_ex.c:1326:49: error: 'HAL_TIM_CHANNEL_STATE_BUSY' undeclared (first use in this function) if (TIM_CHANNEL_N_STATE_GET(htim, Channel) == HAL_TIM_CHANNEL_STATE_BUSY) ^ cubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_uart.c:3240:19: error: conflicting types for 'UART_Start_Receive_DMA' HAL_StatusTypeDef UART_Start_Receive_DMA(UART_HandleTypeDef *huart, uint8_t *pData, uint16_t Size) ^ cubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim_ex.c:1330:54: error: 'HAL_TIM_CHANNEL_STATE_READY' undeclared (first use in this function) else if (TIM_CHANNEL_N_STATE_GET(htim, Channel) == HAL_TIM_CHANNEL_STATE_READY) ^ cubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim.c:2071:61: warning: implicit declaration of function 'TIM_CHANNEL_N_STATE_GET' [-Wimplicit-function-declaration] HAL_TIM_ChannelStateTypeDef complementary_channel_state = TIM_CHANNEL_N_STATE_GET(htim, Channel); ^ Ccubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_uart.c:1479:12: note: previous implicit declaration of 'UART_Start_Receive_DMA' was here return(UART_Start_Receive_DMA(huart, pData, Size)); ^ C build\drivers\drv_eth.o cubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim_ex.c: In function 'HAL_TIMEx_PWMN_Stop_DMA': cubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim.c:2077:25: error: 'HAL_TIM_CHANNEL_STATE_READY' undeclared (first use in this function) if ((channel_state != HAL_TIM_CHANNEL_STATE_READY) ^ cubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim_ex.c:1495:42: error: 'HAL_TIM_CHANNEL_STATE_READY' undeclared (first use in this function) TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); ^ cubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim.c:2084:40: error: 'HAL_TIM_CHANNEL_STATE_BUSY' undeclared (first use in this function) TIM_CHANNEL_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_BUSY); ^ cubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim_ex.c: In function 'HAL_TIMEx_OnePulseN_Start': cubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_uart.c: In function 'UART_EndRxTransfer': `*' cubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim.c:2085:3: warning: implicit declaration of function 'TIM_CHANNEL_N_STATE_SET' [-Wimplicit-function-declaration] TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_BUSY); ^ cubemcubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_uart.c:3311:12: error: 'UART_HandleTypeDef {aka struct __UART_HandleTypeDef}' has no member named 'ReceptionType' if (huart->ReceptionType == HAL_UART_RECEPTION_TOIDLE) ^ cubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim.c: In function 'HAL_TIM_IC_Stop': x\EWARM\startup_stm3cubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_uart.c:3311:31: error: 'HAL_UART_RECEPTION_TOIDLE' undeclared (first use in this function) if (huart->ReceptionType == HAL_UART_RECEPTION_TOIDLE) ^ cubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim.c:2131:40: error: 'HAL_TIM_CHANNEL_STATE_READY' undeclared (first use in this function) TIM_CHANNEL_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); ^ cubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim_ex.c:1538:3: error: unknown type name 'HAL_TIM_ChannelStateTypeDef' HAL_TIM_ChannelStateTypeDef channel_1_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_1); ^ cubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim.c: In function 'HAL_TIM_IC_Start_IT': cubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_uart.c:3318:8: error: 'UART_HandleTypeDef {aka struct __UART_HandleTypeDef}' has no member named 'ReceptionType' huart->ReceptionType = HAL_UART_RECEPTION_STANDARD; ^ 2fcubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_uart.c:3318:26: error: 'HAL_UART_RECEPTION_STANDARD' undeclared (first use in this function) huart->ReceptionType = HAL_UART_RECEPTION_STANDARD; ^ cubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim_ex.c:1539:3: error: unknown type name 'HAL_TIM_ChannelStateTypeDef' HAL_TIM_ChannelStateTypeDef channel_2_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_2); ^ cubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_uart.c: In function 'UART_DMATxAbortCallback': cubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim_ex.c:1540:3: error: unknown type name 'HAL_TIM_ChannelStateTypeDef' HAL_TIM_ChannelStateTypeDef complementary_channel_1_state = TIM_CHANNEL_N_STATE_GET(htim, TIM_CHANNEL_1); ^ cubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_uart.c:3377:8: error: 'UART_HandleTypeDef {aka struct __UART_HandleTypeDef}' has no member named 'ReceptionType' huart->ReceptionType = HAL_UART_RECEPTION_STANDARD; ^ cubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim_ex.c:1541:3: error: unknown type name 'HAL_TIM_ChannelStateTypeDef' HAL_TIM_ChannelStateTypeDef complementary_channel_2_state = TIM_CHANNEL_N_STATE_GET(htim, TIM_CHANNEL_2); ^ cubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim.c:2152:3: error: unknown type name 'HAL_TIM_ChannelStateTypeDef' HAL_TIM_ChannelStateTypeDef channel_state = TIM_CHANNEL_STATE_GET(htim, Channel); ^ 103xe.scubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim.c:2153:3: error: unknown type name 'HAL_TIM_ChannelStateTypeDef' HAL_TIM_ChannelStateTypeDef complementary_channel_state = TIM_CHANNEL_N_STATE_GET(htim, Channel); ^ cubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim_ex.c:1547:27: error: 'HAL_TIM_CHANNEL_STATE_READY' undeclared (first use in this function) if ((channel_1_state != HAL_TIM_CHANNEL_STATE_READY) ^ cubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_uart.c:3377:26: error: 'HAL_UART_RECEPTION_STANDARD' undeclared (first use in this function) huart->ReceptionType = HAL_UART_RECEPTION_STANDARD; ^ cubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim_ex.c:1556:46: error: 'HAL_TIM_CHANNEL_STATE_BUSY' undeclared (first use in this function) TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_BUSY); ^ cubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim.c:2159:25: error: 'HAL_TIM_CHANNEL_STATE_READY' undeclared (first use in this function) if ((channel_state != HAL_TIM_CHANNEL_STATE_READY) ^ :8: Error:cubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_uart.c: In function 'UART_DMARxAbortCallback': CC build\drivers\drv_flash_f1.o cubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim_ex.c: In function 'HAL_TIMEx_OnePulseN_Stop': junk atcubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_uart.c:3423:8: error: 'UART_HandleTypeDef {aka struct __UART_HandleTypeDef}' has no member named 'ReceptionType' huart->ReceptionType = HAL_UART_RECEPTION_STANDARD; ^ cubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim_ex.c:1602:46: error: 'HAL_TIM_CHANNEL_STATE_READY' undeclared (first use in this function) TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY); ^ cubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_uart.c:3423:26: error: 'HAL_UART_RECEPTION_STANDARD' undeclared (first use in this function) huart->ReceptionType = HAL_UART_RECEPTION_STANDARD; ^ endcubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim_ex.c: In function 'HAL_TIMEx_OnePulseN_Start_IT': cubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim.c:2166:40: error: 'HAL_TIM_CHANNEL_STATE_BUSY' undeclared (first use in this function) TIM_CHANNEL_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_BUSY); ^ cubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim_ex.c:1626:3: error: unknown type name 'HAL_TIM_ChannelStateTypeDef' HAL_TIM_ChannelStateTypeDef channel_1_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_1); ^ cubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_uart.c: In function 'UART_DMARxOnlyAbortCallback': ocubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_uart.c:3480:8: error: 'UART_HandleTypeDef {aka struct __UART_HandleTypeDef}' has no member named 'ReceptionType' huart->ReceptionType = HAL_UART_RECEPTION_STANDARD; ^ cubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim.c: In function 'HAL_TIM_IC_Stop_IT': cubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_uart.c:3480:26: error: 'HAL_UART_RECEPTION_STANDARD' undeclared (first use in this function) huart->ReceptionType = HAL_UART_RECEPTION_STANDARD; ^ cubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim_ex.c:1627:3: error: unknown type name 'HAL_TIM_ChannelStateTypeDef' HAL_TIM_ChannelStateTypeDef channel_2_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_2); ^ f line, fircubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim_ex.c:1628:3: error: unknown type name 'HAL_TIM_ChannelStateTypeDef' HAL_TIM_ChannelStateTypeDef complementary_channel_1_state = TIM_CHANNEL_N_STATE_GET(htim, TIM_CHANNEL_1); ^ cubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_uart.c: In function 'UART_Receive_IT': st unrecognized character icubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_uart.c:3610:16: error: 'UART_HandleTypeDef {aka struct __UART_HandleTypeDef}' has no member named 'ReceptionType' if (huart->ReceptionType == HAL_UART_RECEPTION_TOIDLE) ^ Ccubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim_ex.c:1629:3: error: unknown type name 'HAL_TIM_ChannelStateTypeDef' HAL_TIM_ChannelStateTypeDef complementary_channel_2_state = TIM_CHANNEL_N_STATE_GET(htim, TIM_CHANNEL_2); ^ C build\drivers\drv_gpio.o cubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim.c:2280:40: error: 'HAL_TIM_CHANNEL_STATE_READY' undeclared (first use in this function) TIM_CHANNEL_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); ^ cubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_uart.c:3610:35: error: 'HAL_UART_RECEPTION_TOIDLE' undeclared (first use in this function) if (huart->ReceptionType == HAL_UART_RECEPTION_TOIDLE) ^ s `*' cubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim_ex.c:1635:27: error: 'HAL_TIM_CHANNEL_STATE_READY' undeclared (first use in this function) if ((channel_1_state != HAL_TIM_CHANNEL_STATE_READY) ^ cubemx\EWARM\startup_stm32f103xe.s:9: Error: junkcubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_uart.c:3613:14: error: 'UART_HandleTypeDef {aka struct __UART_HandleTypeDef}' has no member named 'ReceptionType' huart->ReceptionType = HAL_UART_RECEPTION_STANDARD; ^ cubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim.c: In function 'HAL_TIM_IC_Start_DMA': cubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim_ex.c:1644:46: error: 'HAL_TIM_CHANNEL_STATE_BUSY' undeclared (first use in this function) TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_BUSY); ^ cubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_uart.c:3613:32: error: 'HAL_UART_RECEPTION_STANDARD' undeclared (first use in this function) huart->ReceptionType = HAL_UART_RECEPTION_STANDARD; ^ cubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim.c:2303:3: error: unknown type name 'HAL_TIM_ChannelStateTypeDef' HAL_TIM_ChannelStateTypeDef channel_state = TIM_CHANNEL_STATE_GET(htim, Channel); ^ CC build\drivers\drv_hwtimer.o at end of line, first unrecognized character iscubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim_ex.c: In function 'HAL_TIMEx_OnePulseN_Stop_IT': cubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim.c:2304:3: error: unknown type name 'HAL_TIM_ChannelStateTypeDef' HAL_TIM_ChannelStateTypeDef complementary_channel_state = TIM_CHANNEL_N_STATE_GET(htim, Channel); ^ cubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim_ex.c:1702:46: error: 'HAL_TIM_CHANNEL_STATE_READY' undeclared (first use in this function) TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY); ^ `*' cubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim.c:2311:25: error: 'HAL_TIM_CHANNEL_STATE_BUSY' undeclared (first use in this function) if ((channel_state == HAL_TIM_CHANNEL_STATE_BUSY) ^ CC build\drivers\drv_pwm.o cubemx\EWARM\startup_stm32f103xe.s:10: Error: scubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim.c:2316:30: error: 'HAL_TIM_CHANNEL_STATE_READY' undeclared (first use in this function) else if ((channel_state == HAL_TIM_CHANNEL_STATE_READY) ^ cubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim_ex.c: At top level: junk at end of line, cubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim_ex.c:2138:1: error: unknown type name 'HAL_TIM_ChannelStateTypeDef' HAL_TIM_ChannelStateTypeDef HAL_TIMEx_GetChannelNState(TIM_HandleTypeDef *htim, uint32_t ChannelN) ^ cons: *** [build\cubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_uart.o] Error 1 cubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim.c: In function 'HAL_TIM_IC_Stop_DMA': fcubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim_ex.c: In function 'HAL_TIMEx_GetChannelNState': cubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim.c:2507:40: error: 'HAL_TIM_CHANNEL_STATE_READY' undeclared (first use in this function) TIM_CHANNEL_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); ^ irst unrecognizedcubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim.c: In function 'HAL_TIM_OnePulse_Init': cubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim_ex.c:2140:3: error: unknown type name 'HAL_TIM_ChannelStateTypeDef' HAL_TIM_ChannelStateTypeDef channel_state; ^ character is `*' cubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim_ex.c: In function 'TIM_DMADelayPulseNCplt': cucubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim.c:2604:7: error: 'TIM_HandleTypeDef {aka struct
}' has no member named 'DMABurstState' htim->DMABurstState = HAL_DMA_BURST_STATE_READY; ^ bemx\EWARM\startup_cubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim.c:2604:25: error: 'HAL_DMA_BURST_STATE_READY' undeclared (first use in this function) htim->DMABurstState = HAL_DMA_BURST_STATE_READY; ^ cubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim_ex.c:2216:52: error: 'HAL_TIM_CHANNEL_STATE_READY' undeclared (first use in this function) TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY); ^ stm32f103xe.scubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim.c:2607:46: error: 'HAL_TIM_CHANNEL_STATE_READY' undeclared (first use in this function) TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY); ^ cubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim_ex.c: In function 'TIM_DMAErrorCCxN': cubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim.c: In function 'HAL_TIM_OnePulse_DeInit': :11: Error: junk at endcubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim_ex.c:2272:50: error: 'HAL_TIM_CHANNEL_STATE_READY' undeclared (first use in this function) TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY); ^ cubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim.c:2646:7: error: 'TIM_HandleTypeDef {aka struct
}' has no member named 'DMABurstState' htim->DMABurstState = HAL_DMA_BURST_STATE_RESET; ^ of line, first unrecognized character is `*' cubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim.c:2646:25: error: 'HAL_DMA_BURST_STATE_RESET' undeclared (first use in this function) htim->DMABurstState = HAL_DMA_BURST_STATE_RESET; ^ cubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim.c:2649:46: error: 'HAL_TIM_CHANNEL_STATE_RESET' undeclared (first use in this function) TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_RESET); ^ cubemx\EWARM\startup_stm32fcubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim.c: In function 'HAL_TIM_OnePulse_Start': 103cubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim.c:2705:3: error: unknown type name 'HAL_TIM_ChannelStateTypeDef' HAL_TIM_ChannelStateTypeDef channel_1_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_1); ^ xe.s:12: Error: junk at endcubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim.c:2706:3: error: unknown type name 'HAL_TIM_ChannelStateTypeDef' HAL_TIM_ChannelStateTypeDef channel_2_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_2); ^ of line, first unrecognizedscubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim.c:2707:3: error: unknown type name 'HAL_TIM_ChannelStateTypeDef' HAL_TIM_ChannelStateTypeDef complementary_channel_1_state = TIM_CHANNEL_N_STATE_GET(htim, TIM_CHANNEL_1); ^ characcons: *** [build\cubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim_ex.o] Error 1 cubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim.c:2708:3: error: unknown type name 'HAL_TIM_ChannelStateTypeDef' HAL_TIM_ChannelStateTypeDef complementary_channel_2_state = TIM_CHANNEL_N_STATE_GET(htim, TIM_CHANNEL_2); ^ tcubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim.c:2714:27: error: 'HAL_TIM_CHANNEL_STATE_READY' undeclared (first use in this function) if ((channel_1_state != HAL_TIM_CHANNEL_STATE_READY) ^ er is `*' cubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim.c:2723:46: error: 'HAL_TIM_CHANNEL_STATE_BUSY' undeclared (first use in this function) TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_BUSY); ^ cubemx\EWARM\stcubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim.c: In function 'HAL_TIM_OnePulse_Stop': arcubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim.c:2784:46: error: 'HAL_TIM_CHANNEL_STATE_READY' undeclared (first use in this function) TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY); ^ tup_stm3cubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim.c: In function 'HAL_TIM_OnePulse_Start_IT': 2f103xe.s:13: Error: junk at end of line, firstcubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim.c:2805:3: error: unknown type name 'HAL_TIM_ChannelStateTypeDef' HAL_TIM_ChannelStateTypeDef channel_1_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_1); ^ unrecognized charactecubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim.c:2806:3: error: unknown type name 'HAL_TIM_ChannelStateTypeDef' HAL_TIM_ChannelStateTypeDef channel_2_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_2); ^ r is `*' cubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim.c:2807:3: error: unknown type name 'HAL_TIM_ChannelStateTypeDef' HAL_TIM_ChannelStateTypeDef complementary_channel_1_state = TIM_CHANNEL_N_STATE_GET(htim, TIM_CHANNEL_1); ^ cubemx\EWARM\scubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim.c:2808:3: error: unknown type name 'HAL_TIM_ChannelStateTypeDef' HAL_TIM_ChannelStateTypeDef complementary_channel_2_state = TIM_CHANNEL_N_STATE_GET(htim, TIM_CHANNEL_2); ^ tartup_stm32f103xe.s:14: Error: junk at end of line, first unrecognized character is `*' cubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim.c:2814:27: error: 'HAL_TIM_CHANNEL_STATE_READY' undeclared (first use in this function) if ((channel_1_state != HAL_TIM_CHANNEL_STATE_READY) ^ ccubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim.c:2823:46: error: 'HAL_TIM_CHANNEL_STATE_BUSY' undeclared (first use in this function) TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_BUSY); ^ ubemx\EWARMcubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim.c: In function 'HAL_TIM_OnePulse_Stop_IT': \startup_stm32f103xe.s:15: cubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim.c:2895:46: error: 'HAL_TIM_CHANNEL_STATE_READY' undeclared (first use in this function) TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY); ^ Error: junk at end of line, first unrecogcubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim.c: In function 'HAL_TIM_Encoder_Init': nized chacubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim.c:3038:7: error: 'TIM_HandleTypeDef {aka struct
}' has no member named 'DMABurstState' htim->DMABurstState = HAL_DMA_BURST_STATE_READY; ^ racter is `*cubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim.c:3038:25: error: 'HAL_DMA_BURST_STATE_READY' undeclared (first use in this function) htim->DMABurstState = HAL_DMA_BURST_STATE_READY; ^ ' cubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim.c:3041:46: error: 'HAL_TIM_CHANNEL_STATE_READY' undeclared (first use in this function) TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY); ^ cubemx\EWARM\startcubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim.c: In function 'HAL_TIM_Encoder_DeInit': up_stm32f103xe.s:16: Error: junk at end of line, firstcubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim.c:3081:7: error: 'TIM_HandleTypeDef {aka struct
}' has no member named 'DMABurstState' htim->DMABurstState = HAL_DMA_BURST_STATE_RESET; ^ unrecognizcubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim.c:3081:25: error: 'HAL_DMA_BURST_STATE_RESET' undeclared (first use in this function) htim->DMABurstState = HAL_DMA_BURST_STATE_RESET; ^ ed character is `*' cubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim.c:3084:46: error: 'HAL_TIM_CHANNEL_STATE_RESET' undeclared (first use in this function) TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_RESET); ^ cubemxcubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim.c: In function 'HAL_TIM_Encoder_Start': \EWARM\startup_stm32f103xe.s:17: Error: junk acubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim.c:3140:3: error: unknown type name 'HAL_TIM_ChannelStateTypeDef' HAL_TIM_ChannelStateTypeDef channel_1_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_1); ^ t encubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim.c:3141:3: error: unknown type name 'HAL_TIM_ChannelStateTypeDef' HAL_TIM_ChannelStateTypeDef channel_2_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_2); ^ dcubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim.c:3142:3: error: unknown type name 'HAL_TIM_ChannelStateTypeDef' HAL_TIM_ChannelStateTypeDef complementary_channel_1_state = TIM_CHANNEL_N_STATE_GET(htim, TIM_CHANNEL_1); ^ of lcubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim.c:3143:3: error: unknown type name 'HAL_TIM_ChannelStateTypeDef' HAL_TIM_ChannelStateTypeDef complementary_channel_2_state = TIM_CHANNEL_N_STATE_GET(htim, TIM_CHANNEL_2); ^ ine, first unrecognizecubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim.c:3151:29: error: 'HAL_TIM_CHANNEL_STATE_READY' undeclared (first use in this function) if ((channel_1_state != HAL_TIM_CHANNEL_STATE_READY) ^ d chacubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim.c:3158:50: error: 'HAL_TIM_CHANNEL_STATE_BUSY' undeclared (first use in this function) TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_BUSY); ^ racter is `*' cubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim.c: In function 'HAL_TIM_Encoder_Stop': ccubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim.c:3267:42: error: 'HAL_TIM_CHANNEL_STATE_READY' undeclared (first use in this function) TIM_CHANNEL_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); ^ ubcubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim.c: In function 'HAL_TIM_Encoder_Start_IT': emx\EWARM\startup_stm32f103xe.s:18: Error:cubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim.c:3294:3: error: unknown type name 'HAL_TIM_ChannelStateTypeDef' HAL_TIM_ChannelStateTypeDef channel_1_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_1); ^ junk at end of line, first unrecognized character is `*' cubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim.c:3295:3: error: unknown type name 'HAL_TIM_ChannelStateTypeDef' HAL_TIM_ChannelStateTypeDef channel_2_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_2); ^ cubcubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim.c:3296:3: error: unknown type name 'HAL_TIM_ChannelStateTypeDef' HAL_TIM_ChannelStateTypeDef complementary_channel_1_state = TIM_CHANNEL_N_STATE_GET(htim, TIM_CHANNEL_1); ^ emx\EWcubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim.c:3297:3: error: unknown type name 'HAL_TIM_ChannelStateTypeDef' HAL_TIM_ChannelStateTypeDef complementary_channel_2_state = TIM_CHANNEL_N_STATE_GET(htim, TIM_CHANNEL_2); ^ ARM\stacubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim.c:3305:29: error: 'HAL_TIM_CHANNEL_STATE_READY' undeclared (first use in this function) if ((channel_1_state != HAL_TIM_CHANNEL_STATE_READY) ^ rtup_stm32f1cubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim.c:3312:50: error: 'HAL_TIM_CHANNEL_STATE_BUSY' undeclared (first use in this function) TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_BUSY); ^ 03xe.s:18: Ecubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim.c: In function 'HAL_TIM_Encoder_Stop_IT': rror: bacubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim.c:3429:42: error: 'HAL_TIM_CHANNEL_STATE_READY' undeclared (first use in this function) TIM_CHANNEL_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); ^ d icubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim.c: In function 'HAL_TIM_Encoder_Start_DMA': nstruction `copyrightcubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim.c:3460:3: error: unknown type name 'HAL_TIM_ChannelStateTypeDef' HAL_TIM_ChannelStateTypeDef channel_1_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_1); ^ (c)cubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim.c:3461:3: error: unknown type name 'HAL_TIM_ChannelStateTypeDef' HAL_TIM_ChannelStateTypeDef channel_2_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_2); ^ 20cubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim.c:3462:3: error: unknown type name 'HAL_TIM_ChannelStateTypeDef' HAL_TIM_ChannelStateTypeDef complementary_channel_1_state = TIM_CHANNEL_N_STATE_GET(htim, TIM_CHANNEL_1); ^ 17 STMicroelectronics.' cubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim.c:3463:3: error: unknown type name 'HAL_TIM_ChannelStateTypeDef' HAL_TIM_ChannelStateTypeDef complementary_channel_2_state = TIM_CHANNEL_N_STATE_GET(htim, TIM_CHANNEL_2); ^ cubemx\EWcubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim.c:3471:29: error: 'HAL_TIM_CHANNEL_STATE_BUSY' undeclared (first use in this function) if ((channel_1_state == HAL_TIM_CHANNEL_STATE_BUSY) ^ ARM\startup_scubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim.c:3476:34: error: 'HAL_TIM_CHANNEL_STATE_READY' undeclared (first use in this function) else if ((channel_1_state == HAL_TIM_CHANNEL_STATE_READY) ^ tm32f103xe.s:19: Error: junk at end of line, first unrecocubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim.c: In function 'HAL_TIM_Encoder_Stop_DMA': gnizcubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim.c:3710:42: error: 'HAL_TIM_CHANNEL_STATE_READY' undeclared (first use in this function) TIM_CHANNEL_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); ^ ed character is `*' cubemx\EWARM\startup_stm32fcubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim.c: In function 'HAL_TIM_DMABurst_WriteStart': 10cubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim.c:4383:10: warning: implicit declaration of function 'HAL_TIM_DMABurst_MultiWriteStart' [-Wimplicit-function-declaration] return HAL_TIM_DMABurst_MultiWriteStart(htim, BurstBaseAddress, BurstRequestSrc, BurstBuffer, BurstLength, ^ 3xe.s:20: Ecubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim.c: At top level: rror: jucubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim.c:4426:19: error: conflicting types for 'HAL_TIM_DMABurst_MultiWriteStart' HAL_StatusTypeDef HAL_TIM_DMABurst_MultiWriteStart(TIM_HandleTypeDef *htim, uint32_t BurstBaseAddress, ^ nk at end of line, first unrecognized character is `*' cubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim.c:4383:10: note: previous implicit declaration of 'HAL_TIM_DMABurst_MultiWriteStart' was here return HAL_TIM_DMABurst_MultiWriteStart(htim, BurstBaseAddress, BurstRequestSrc, BurstBuffer, BurstLength, ^ cucubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim.c: In function 'HAL_TIM_DMABurst_MultiWriteStart': bemx\EWARM\cubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim.c:4437:11: error: 'TIM_HandleTypeDef {aka struct
}' has no member named 'DMABurstState' if (htim->DMABurstState == HAL_DMA_BURST_STATE_BUSY) ^ startup_stm32f103xe.scubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim.c:4437:30: error: 'HAL_DMA_BURST_STATE_BUSY' undeclared (first use in this function) if (htim->DMABurstState == HAL_DMA_BURST_STATE_BUSY) ^ :21: cubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim.c:4441:16: error: 'TIM_HandleTypeDef {aka struct
}' has no member named 'DMABurstState' else if (htim->DMABurstState == HAL_DMA_BURST_STATE_READY) ^ Error: jcubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim.c:4441:35: error: 'HAL_DMA_BURST_STATE_READY' undeclared (first use in this function) else if (htim->DMABurstState == HAL_DMA_BURST_STATE_READY) ^ unk acubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim.c:4449:11: error: 'TIM_HandleTypeDef {aka struct
}' has no member named 'DMABurstState' htim->DMABurstState = HAL_DMA_BURST_STATE_BUSY; ^ t end of line, first unrecognized character is `*' cubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim.c: In function 'HAL_TIM_DMABurst_WriteStop': cubemcubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim.c:4654:7: error: 'TIM_HandleTypeDef {aka struct
}' has no member named 'DMABurstState' htim->DMABurstState = HAL_DMA_BURST_STATE_READY; ^ x\EWARM\startup_stm32f103xe.s:2cubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim.c:4654:25: error: 'HAL_DMA_BURST_STATE_READY' undeclared (first use in this function) htim->DMABurstState = HAL_DMA_BURST_STATE_READY; ^ 2: Error: junk at endcubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim.c: In function 'HAL_TIM_DMABurst_ReadStart': of line, first unrecognized character is `*' cubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim.c:4701:10: warning: implicit declaration of function 'HAL_TIM_DMABurst_MultiReadStart' [-Wimplicit-function-declaration] return HAL_TIM_DMABurst_MultiReadStart(htim, BurstBaseAddress, BurstRequestSrc, BurstBuffer, BurstLength, ^ ccubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim.c: At top level: ubemx\EWARM\scubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim.c:4744:19: error: conflicting types for 'HAL_TIM_DMABurst_MultiReadStart' HAL_StatusTypeDef HAL_TIM_DMABurst_MultiReadStart(TIM_HandleTypeDef *htim, uint32_t BurstBaseAddress, ^ tartup_stm32f1cubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim.c:4701:10: note: previous implicit declaration of 'HAL_TIM_DMABurst_MultiReadStart' was here return HAL_TIM_DMABurst_MultiReadStart(htim, BurstBaseAddress, BurstRequestSrc, BurstBuffer, BurstLength, ^ 03xe.s:22:cubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim.c: In function 'HAL_TIM_DMABurst_MultiReadStart': Ercubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim.c:4755:11: error: 'TIM_HandleTypeDef {aka struct
}' has no member named 'DMABurstState' if (htim->DMABurstState == HAL_DMA_BURST_STATE_BUSY) ^ ror: bad instrcubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim.c:4755:30: error: 'HAL_DMA_BURST_STATE_BUSY' undeclared (first use in this function) if (htim->DMABurstState == HAL_DMA_BURST_STATE_BUSY) ^ uctcubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim.c:4759:16: error: 'TIM_HandleTypeDef {aka struct
}' has no member named 'DMABurstState' else if (htim->DMABurstState == HAL_DMA_BURST_STATE_READY) ^ ioncubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim.c:4759:35: error: 'HAL_DMA_BURST_STATE_READY' undeclared (first use in this function) else if (htim->DMABurstState == HAL_DMA_BURST_STATE_READY) ^ `you may not cubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim.c:4767:11: error: 'TIM_HandleTypeDef {aka struct
}' has no member named 'DMABurstState' htim->DMABurstState = HAL_DMA_BURST_STATE_BUSY; ^ use this file except in compliance with tcubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim.c: In function 'HAL_TIM_DMABurst_ReadStop': he' cubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim.c:4973:7: error: 'TIM_HandleTypeDef {aka struct
}' has no member named 'DMABurstState' htim->DMABurstState = HAL_DMA_BURST_STATE_READY; ^ cubemx\EWARM\startup_stm32f103xe.s:23:cubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim.c:4973:25: error: 'HAL_DMA_BURST_STATE_READY' undeclared (first use in this function) htim->DMABurstState = HAL_DMA_BURST_STATE_READY; ^ Error: junk at end of line, first unrecognized charactercubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim.c: At top level: is `*' cubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim.c:6282:1: error: unknown type name 'HAL_TIM_ChannelStateTypeDef' HAL_TIM_ChannelStateTypeDef HAL_TIM_GetChannelState(TIM_HandleTypeDef *htim, uint32_t Channel) ^ cubemx\Ecubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim.c: In function 'HAL_TIM_GetChannelState': WARM\stcubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim.c:6284:3: error: unknown type name 'HAL_TIM_ChannelStateTypeDef' HAL_TIM_ChannelStateTypeDef channel_state; ^ artup_stm32f103xe.s:24: Error: jucubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim.c: At top level: nk at end of line, first unrecognized charactercubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim.c:6299:1: error: unknown type name 'HAL_TIM_DMABurstStateTypeDef' HAL_TIM_DMABurstStateTypeDef HAL_TIM_DMABurstState(TIM_HandleTypeDef *htim) ^ is `*cubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim.c: In function 'HAL_TIM_DMABurstState': ' cubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim.c:6304:14: error: 'TIM_HandleTypeDef {aka struct
}' has no member named 'DMABurstState' return htim->DMABurstState; ^ cubcubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim.c: In function 'TIM_DMAError': emcubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim.c:6331:48: error: 'HAL_TIM_CHANNEL_STATE_READY' undeclared (first use in this function) TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY); ^ x\EWARM\startup_stm32cubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim.c: In function 'TIM_DMADelayPulseCplt': f103xe.s:25cubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim.c:6377:50: error: 'HAL_TIM_CHANNEL_STATE_READY' undeclared (first use in this function) TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY); ^ : Error: junk at endcubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim.c: In function 'TIM_DMACaptureCplt': of line, first cubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim.c:6475:50: error: 'HAL_TIM_CHANNEL_STATE_READY' undeclared (first use in this function) TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY); ^ unrecognized character is `*' cubemx\EWARM\startup_stm32f103xe.s:26: Error: junk at end of line, first unrecognized character is `*' cubemx\EWARM\startup_stm32f103xe.s:29: Error: bad instruction `the modules in this file are included in the libraries,and may be replaced' cubemx\EWARM\startup_stm32f103xe.s:30: Error: bad instruction `by any user-defined modules that define the PUBLIC symbol _program_start or' cubemx\EWARM\startup_stm32f103xe.s:31: Error: bad instruction `a user defined start symbol.' cubemx\EWARM\startup_stm32f103xe.s:32: Error: bad instruction `to override the cstartup defined in the library,simply add your msodified' cons: *** [build\cubemx\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim.o] Error 1 cubemx\EWARM\startup_stm32f103xe.s:33: Error: bad instruction `version to the workbench project.' cubemx\EWARM\startup_stm32f103xe.s:35: Error: bad instruction `the vector table is normally located at address 0.' cubemx\EWARM\startup_stm32f103xe.s:36: Error: bad instruction `when debugging in RAM,it can be located in RAM,aligned to at least 2^6.' cubemx\EWARM\startup_stm32f103xe.s:37: Error: bad instruction `the name "__vector_table"has special meaning for C-SPY:' cubemx\EWARM\startup_stm32f103xe.s:38: Error: condition required -- `it is where the SP start value is found,and the NVIC vector' cubemx\EWARM\startup_stm32f103xe.s:39: Error: bad instruction `table register(VTOR)is initialized to this address if!=0.' cubemx\EWARM\startup_stm32f103xe.s:41: Error: bad instruction `cortex-M version' cubemx\EWARM\startup_stm32f103xe.s:44: Error: bad instruction `module ?cstartup' cubemx\EWARM\startup_stm32f103xe.s:46: Error: bad instruction `forward declaration of sections.' cubemx\EWARM\startup_stm32f103xe.s:47: Error: bad instruction `section CSTACK:DATA:NOROOT(3)' cubemx\EWARM\startup_stm32f103xe.s:49: Error: bad instruction `section .intvec:CODE:NOROOT(2)' cubemx\EWARM\startup_stm32f103xe.s:51: Error: bad instruction `extern __iar_program_start' cubemx\EWARM\startup_stm32f103xe.s:52: Error: bad instruction `extern SystemInit' cubemx\EWARM\startup_stm32f103xe.s:53: Error: bad instruction `public __vector_table' cubemx\EWARM\startup_stm32f103xe.s:55: Error: bad instruction `data' cubemx\EWARM\startup_stm32f103xe.s:57: Error: bad instruction `__vector_table' cubemx\EWARM\startup_stm32f103xe.s:58: Error: bad instruction `dcd sfe(CSTACK)' cubemx\EWARM\startup_stm32f103xe.s:59: Error: bad instruction `dcd Reset_Handler' cubemx\EWARM\startup_stm32f103xe.s:59: Error: bad instruction `reset Handler' cubemx\EWARM\startup_stm32f103xe.s:60: Error: bad instruction `dcd NMI_Handler' cubemx\EWARM\startup_stm32f103xe.s:60: Error: bad instruction `nmi Handler' cubemx\EWARM\startup_stm32f103xe.s:61: Error: bad instruction `dcd HardFault_Handler' cubemx\EWARM\startup_stm32f103xe.s:61: Error: bad instruction `hard Fault Handler' cubemx\EWARM\startup_stm32f103xe.s:62: Error: bad instruction `dcd MemManage_Handler' cubemx\EWARM\startup_stm32f103xe.s:62: Error: bad instruction `mpu Fault Handler' cubemx\EWARM\startup_stm32f103xe.s:63: Error: bad instruction `dcd BusFault_Handler' cubemx\EWARM\startup_stm32f103xe.s:63: Error: bad instruction `bus Fault Handler' cubemx\EWARM\startup_stm32f103xe.s:64: Error: bad instruction `dcd UsageFault_Handler' cubemx\EWARM\startup_stm32f103xe.s:64: Error: bad instruction `usage Fault Handler' cubemx\EWARM\startup_stm32f103xe.s:65: Error: bad instruction `dcd 0' cubemx\EWARM\startup_stm32f103xe.s:65: Error: bad instruction `reserved' cubemx\EWARM\startup_stm32f103xe.s:66: Error: bad instruction `dcd 0' cubemx\EWARM\startup_stm32f103xe.s:66: Error: bad instruction `reserved' cubemx\EWARM\startup_stm32f103xe.s:67: Error: bad instruction `dcd 0' cubemx\EWARM\startup_stm32f103xe.s:67: Error: bad instruction `reserved' cubemx\EWARM\startup_stm32f103xe.s:68: Error: bad instruction `dcd 0' cubemx\EWARM\startup_stm32f103xe.s:68: Error: bad instruction `reserved' cubemx\EWARM\startup_stm32f103xe.s:69: Error: bad instruction `dcd SVC_Handler' cubemx\EWARM\startup_stm32f103xe.s:69: Error: bad instruction `svcall Handler' cubemx\EWARM\startup_stm32f103xe.s:70: Error: bad instruction `dcd DebugMon_Handler' cubemx\EWARM\startup_stm32f103xe.s:70: Error: bad instruction `debug Monitor Handler' cubemx\EWARM\startup_stm32f103xe.s:71: Error: bad instruction `dcd 0' cubemx\EWARM\startup_stm32f103xe.s:71: Error: bad instruction `reserved' cubemx\EWARM\startup_stm32f103xe.s:72: Error: bad instruction `dcd PendSV_Handler' cubemx\EWARM\startup_stm32f103xe.s:72: Error: bad instruction `pendsv Handler' cubemx\EWARM\startup_stm32f103xe.s:73: Error: bad instruction `dcd SysTick_Handler' cubemx\EWARM\startup_stm32f103xe.s:73: Error: bad instruction `systick Handler' cubemx\EWARM\startup_stm32f103xe.s:75: Error: bad instruction `external Interrupts' cubemx\EWARM\startup_stm32f103xe.s:76: Error: bad instruction `dcd WWDG_IRQHandler' cubemx\EWARM\startup_stm32f103xe.s:76: Error: bad instruction `window Watchdog' cubemx\EWARM\startup_stm32f103xe.s:77: Error: bad instruction `dcd PVD_IRQHandler' cubemx\EWARM\startup_stm32f103xe.s:77: Error: bad instruction `pvd through EXTI Line detect' cubemx\EWARM\startup_stm32f103xe.s:78: Error: bad instruction `dcd TAMPER_IRQHandler' cubemx\EWARM\startup_stm32f103xe.s:78: Error: bad instruction `tamper' cubemx\EWARM\startup_stm32f103xe.s:79: Error: bad instruction `dcd RTC_IRQHandler' cubemx\EWARM\startup_stm32f103xe.s:79: Error: bad instruction `rtc' cubemx\EWARM\startup_stm32f103xe.s:80: Error: bad instruction `dcd FLASH_IRQHandler' cubemx\EWARM\startup_stm32f103xe.s:80: Error: bad instruction `flash' cubemx\EWARM\startup_stm32f103xe.s:81: Error: bad instruction `dcd RCC_IRQHandler' cubemx\EWARM\startup_stm32f103xe.s:81: Error: bad instruction `rcc' cubemx\EWARM\startup_stm32f103xe.s:82: Error: bad instruction `dcd EXTI0_IRQHandler' cubemx\EWARM\startup_stm32f103xe.s:82: Error: bad instruction `exti Line 0' cubemx\EWARM\startup_stm32f103xe.s:83: Error: bad instruction `dcd EXTI1_IRQHandler' cubemx\EWARM\startup_stm32f103xe.s:83: Error: bad instruction `exti Line 1' cubemx\EWARM\startup_stm32f103xe.s:84: Error: bad instruction `dcd EXTI2_IRQHandler' cubemx\EWARM\startup_stm32f103xe.s:84: Error: bad instruction `exti Line 2' cubemx\EWARM\startup_stm32f103xe.s:85: Error: bad instruction `dcd EXTI3_IRQHandler' cubemx\EWARM\startup_stm32f103xe.s:85: Error: bad instruction `exti Line 3' cubemx\EWARM\startup_stm32f103xe.s:86: Error: bad instruction `dcd EXTI4_IRQHandler' cubemx\EWARM\startup_stm32f103xe.s:86: Error: bad instruction `exti Line 4' cubemx\EWARM\startup_stm32f103xe.s:87: Error: bad instruction `dcd DMA1_Channel1_IRQHandler' cubemx\EWARM\startup_stm32f103xe.s:87: Error: bad instruction `dma1 Channel 1' cubemx\EWARM\startup_stm32f103xe.s:88: Error: bad instruction `dcd DMA1_Channel2_IRQHandler' cubemx\EWARM\startup_stm32f103xe.s:88: Error: bad instruction `dma1 Channel 2' cubemx\EWARM\startup_stm32f103xe.s:89: Error: bad instruction `dcd DMA1_Channel3_IRQHandler' cubemx\EWARM\startup_stm32f103xe.s:89: Error: bad instruction `dma1 Channel 3' cubemx\EWARM\startup_stm32f103xe.s:90: Error: bad instruction `dcd DMA1_Channel4_IRQHandler' cubemx\EWARM\startup_stm32f103xe.s:90: Error: bad instruction `dma1 Channel 4' cubemx\EWARM\startup_stm32f103xe.s:91: Error: bad instruction `dcd DMA1_Channel5_IRQHandler' cubemx\EWARM\startup_stm32f103xe.s:91: Error: bad instruction `dma1 Channel 5' cubemx\EWARM\startup_stm32f103xe.s:92: Error: bad instruction `dcd DMA1_Channel6_IRQHandler' cubemx\EWARM\startup_stm32f103xe.s:92: Error: bad instruction `dma1 Channel 6' cubemx\EWARM\startup_stm32f103xe.s:93: Error: bad instruction `dcd DMA1_Channel7_IRQHandler' cubemx\EWARM\startup_stm32f103xe.s:93: Error: bad instruction `dma1 Channel 7' cubemx\EWARM\startup_stm32f103xe.s:94: Error: bad instruction `dcd ADC1_2_IRQHandler' cubemx\EWARM\startup_stm32f103xe.s:94: Error: bad instruction `adc1 &ADC2' cubemx\EWARM\startup_stm32f103xe.s:95: Error: bad instruction `dcd USB_HP_CAN1_TX_IRQHandler' cubemx\EWARM\startup_stm32f103xe.s:95: Error: bad instruction `usb High Priority or CAN1 TX' cubemx\EWARM\startup_stm32f103xe.s:96: Error: bad instruction `dcd USB_LP_CAN1_RX0_IRQHandler' cubemx\EWARM\startup_stm32f103xe.s:96: Error: bad instruction `usb Low Priority or CAN1 RX0' cubemx\EWARM\startup_stm32f103xe.s:97: Error: bad instruction `dcd CAN1_RX1_IRQHandler' cubemx\EWARM\startup_stm32f103xe.s:97: Error: bad instruction `can1 RX1' cubemx\EWARM\startup_stm32f103xe.s:98: Error: bad instruction `dcd CAN1_SCE_IRQHandler' cubemx\EWARM\startup_stm32f103xe.s:98: Error: bad instruction `can1 SCE' cubemx\EWARM\startup_stm32f103xe.s:99: Error: bad instruction `dcd EXTI9_5_IRQHandler' cubemx\EWARM\startup_stm32f103xe.s:99: Error: bad instruction `exti Line 9..5' cubemx\EWARM\startup_stm32f103xe.s:100: Error: bad instruction `dcd TIM1_BRK_IRQHandler' cubemx\EWARM\startup_stm32f103xe.s:100: Error: bad instruction `tim1 Break' cubemx\EWARM\startup_stm32f103xe.s:101: Error: bad instruction `dcd TIM1_UP_IRQHandler' cubemx\EWARM\startup_stm32f103xe.s:101: Error: bad instruction `tim1 Update' cubemx\EWARM\startup_stm32f103xe.s:102: Error: bad instruction `dcd TIM1_TRG_COM_IRQHandler' cubemx\EWARM\startup_stm32f103xe.s:102: Error: bad instruction `tim1 Trigger and Commutation' cubemx\EWARM\startup_stm32f103xe.s:103: Error: bad instruction `dcd TIM1_CC_IRQHandler' cubemx\EWARM\startup_stm32f103xe.s:103: Error: bad instruction `tim1 Capture Compare' cubemx\EWARM\startup_stm32f103xe.s:104: Error: bad instruction `dcd TIM2_IRQHandler' cubemx\EWARM\startup_stm32f103xe.s:104: Error: bad instruction `tim2' cubemx\EWARM\startup_stm32f103xe.s:105: Error: bad instruction `dcd TIM3_IRQHandler' cubemx\EWARM\startup_stm32f103xe.s:105: Error: bad instruction `tim3' cubemx\EWARM\startup_stm32f103xe.s:106: Error: bad instruction `dcd TIM4_IRQHandler' cubemx\EWARM\startup_stm32f103xe.s:106: Error: bad instruction `tim4' cubemx\EWARM\startup_stm32f103xe.s:107: Error: bad instruction `dcd I2C1_EV_IRQHandler' cubemx\EWARM\startup_stm32f103xe.s:107: Error: bad instruction `i2c1 Event' cubemx\EWARM\startup_stm32f103xe.s:108: Error: bad instruction `dcd I2C1_ER_IRQHandler' cubemx\EWARM\startup_stm32f103xe.s:108: Error: bad instruction `i2c1 Error' cubemx\EWARM\startup_stm32f103xe.s:109: Error: bad instruction `dcd I2C2_EV_IRQHandler' cubemx\EWARM\startup_stm32f103xe.s:109: Error: bad instruction `i2c2 Event' cubemx\EWARM\startup_stm32f103xe.s:110: Error: bad instruction `dcd I2C2_ER_IRQHandler' cubemx\EWARM\startup_stm32f103xe.s:110: Error: bad instruction `i2c2 Error' cubemx\EWARM\startup_stm32f103xe.s:111: Error: bad instruction `dcd SPI1_IRQHandler' cubemx\EWARM\startup_stm32f103xe.s:111: Error: bad instruction `spi1' cubemx\EWARM\startup_stm32f103xe.s:112: Error: bad instruction `dcd SPI2_IRQHandler' cubemx\EWARM\startup_stm32f103xe.s:112: Error: bad instruction `spi2' cubemx\EWARM\startup_stm32f103xe.s:113: Error: bad instruction `dcd USART1_IRQHandler' cubemx\EWARM\startup_stm32f103xe.s:113: Error: bad instruction `usart1' cubemx\EWARM\startup_stm32f103xe.s:114: Error: bad instruction `dcd USART2_IRQHandler' cubemx\EWARM\startup_stm32f103xe.s:114: Error: bad instruction `usart2' cubemx\EWARM\startup_stm32f103xe.s:115: Error: bad instruction `dcd USART3_IRQHandler' cubemx\EWARM\startup_stm32f103xe.s:115: Error: bad instruction `usart3' cubemx\EWARM\startup_stm32f103xe.s:116: Error: bad instruction `dcd EXTI15_10_IRQHandler' cubemx\EWARM\startup_stm32f103xe.s:116: Error: bad instruction `exti Line 15..10' cubemx\EWARM\startup_stm32f103xe.s:117: Error: bad instruction `dcd RTC_Alarm_IRQHandler' cubemx\EWARM\startup_stm32f103xe.s:117: Error: bad instruction `rtc Alarm through EXTI Line' cubemx\EWARM\startup_stm32f103xe.s:118: Error: bad instruction `dcd USBWakeUp_IRQHandler' cubemx\EWARM\startup_stm32f103xe.s:118: Error: bad instruction `usb Wakeup from suspend' cubemx\EWARM\startup_stm32f103xe.s:119: Error: bad instruction `dcd TIM8_BRK_IRQHandler' cubemx\EWARM\startup_stm32f103xe.s:119: Error: bad instruction `tim8 Break' cubemx\EWARM\startup_stm32f103xe.s:120: Error: bad instruction `dcd TIM8_UP_IRQHandler' ```
查看更多
1
个回答
默认排序
按发布时间排序
lchnu
2022-04-24
Witness, Understand, Skill
这里有一个帖子可以参考:https://club.rt-thread.org/ask/question/435366.html 我在帖子中也做了尝试,编译通过后的elf文件可以正常下载与运行,当然只是一个很简单的demo而已。 1. 在applications目录下的Sconcript的CPPDEFINES部分,应该有一系列的'c','m', 't'之类的字符,可以试着删除一下再编译。 2. 附上我前段时间对vs code自动生成的rt-config.py文件的修改,仅供参考: ```python import os # toolchains options ARCH = 'arm' CPU = 'cortex-m4' CROSS_TOOL = 'gcc' # cross_tool provides the cross compiler # EXEC_PATH is the compiler execute path, for example, CodeSourcery, Keil MDK, IAR PLATFORM = 'gcc' EXEC_PATH = 'c:/rt-threadstudio/repo/extract/toolchain_support_packages/arm/gnu_tools_for_arm_embedded_processors/5.4.1/bin/' # if os.getenv('RTT_EXEC_PATH'): # EXEC_PATH = os.getenv('RTT_EXEC_PATH') PREFIX = 'arm-none-eabi-' CC = PREFIX + 'gcc' AS = PREFIX + 'gcc' AR = PREFIX + 'ar' CXX = PREFIX + 'g++' LINK = PREFIX + 'gcc' TARGET_EXT = 'elf' SIZE = PREFIX + 'size' OBJDUMP = PREFIX + 'objdump' OBJCPY = PREFIX + 'objcopy' DEVICE = '' CFLAGS = '' AFLAGS = '' LFLAGS = '' CPATH = '' LPATH = '' CXXFLAGS = '' POST_ACTION = '' DEVICE = ' -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -O0 -ffunction-sections -fdata-sections -Wall -g -gdwarf-2 ' CFLAGS = DEVICE + ' -DSOC_FAMILY_STM32 -DSOC_SERIES_STM32F4 -DUSE_HAL_DRIVER -DSTM32F429xx' AFLAGS = '-c' + DEVICE + ' -x assembler-with-cpp -Wa,-mimplicit-it=thumb' LFLAGS = DEVICE + ' -T linkscripts//STM32F429VI//link.lds -Xlinker --gc-sections' POST_ACTION = OBJCPY + ' -O binary $TARGET rtthread.bin\n' + SIZE + ' $TARGET \n' ```
撰写答案
登录
注册新账号
关注者
0
被浏览
1.5k
关于作者
anonymous16
这家伙很懒,什么也没写!
提问
4
回答
1
被采纳
0
关注TA
发私信
相关问题
1
在 studio 中添加emwin,编译报错问题
2
studio创建芯片项目添加LWIP编译报错?
3
BSP首次使用编译不过
4
DHT软件包下载后编译错误
5
1.1.3版本的RTstudio导入1.1.4下面建立的工程后设置芯片编译就报错
6
STM32F103使用EMU添加PWM组件后出现编译报错
7
求助,关于串口配置编译报错的问题
8
Azure SDK for C移植中遇到的编译问题
9
Studio 报错 unknown 'HAL_StatusTypeDef'
10
studio建工程,并使能AT组件和Air720出现的一些问题
推荐文章
1
RT-Thread应用项目汇总
2
玩转RT-Thread系列教程
3
国产MCU移植系列教程汇总,欢迎查看!
4
机器人操作系统 (ROS2) 和 RT-Thread 通信
5
五分钟玩转RT-Thread新社区
6
【技术三千问】之《玩转ART-Pi》,看这篇就够了!干货汇总
7
关于STM32H7开发板上使用SDIO接口驱动SD卡挂载文件系统的问题总结
8
STM32的“GPU”——DMA2D实例详解
9
RT-Thread隐藏的宝藏之completion
10
【ART-PI】RT-Thread 开启RTC 与 Alarm组件
最新文章
1
使用百度AI助手辅助编写一个rt-thread下的ONVIF设备发现功能的功能代码
2
RT-Thread 发布 EtherKit开源以太网硬件!
3
rt-thread使用cherryusb实现虚拟串口
4
《C++20 图形界面程序:速度与渲染效率的双重优化秘籍》
5
《原子操作:程序世界里的“最小魔法单位”解析》
热门标签
RT-Thread Studio
串口
Env
LWIP
SPI
AT
Bootloader
Hardfault
CAN总线
FinSH
ART-Pi
USB
DMA
文件系统
RT-Thread
SCons
RT-Thread Nano
线程
MQTT
STM32
RTC
FAL
rt-smart
ESP8266
I2C_IIC
WIZnet_W5500
ota在线升级
UART
PWM
cubemx
freemodbus
flash
packages_软件包
BSP
潘多拉开发板_Pandora
定时器
ADC
GD32
flashDB
socket
中断
Debug
编译报错
msh
SFUD
keil_MDK
rt_mq_消息队列_msg_queue
at_device
ulog
C++_cpp
本月问答贡献
踩姑娘的小蘑菇
7
个答案
3
次被采纳
张世争
8
个答案
2
次被采纳
rv666
5
个答案
2
次被采纳
用户名由3_15位
11
个答案
1
次被采纳
KunYi
6
个答案
1
次被采纳
本月文章贡献
程序员阿伟
6
篇文章
2
次点赞
hhart
3
篇文章
4
次点赞
大龄码农
1
篇文章
2
次点赞
ThinkCode
1
篇文章
1
次点赞
Betrayer
1
篇文章
1
次点赞
回到
顶部
发布
问题
分享
好友
手机
浏览
扫码手机浏览
投诉
建议
回到
底部