Compare commits
No commits in common. "main" and "ai" have entirely different histories.
File diff suppressed because one or more lines are too long
@ -73,7 +73,7 @@
|
||||
#define configTICK_RATE_HZ ((TickType_t)1000)
|
||||
#define configMAX_PRIORITIES ( 56 )
|
||||
#define configMINIMAL_STACK_SIZE ((uint16_t)128)
|
||||
#define configTOTAL_HEAP_SIZE ((size_t)0x6000)
|
||||
#define configTOTAL_HEAP_SIZE ((size_t)0x8000)
|
||||
#define configMAX_TASK_NAME_LEN ( 16 )
|
||||
#define configGENERATE_RUN_TIME_STATS 1
|
||||
#define configUSE_TRACE_FACILITY 1
|
||||
|
||||
@ -22,7 +22,7 @@
|
||||
#define __STM32F4xx_IT_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* Private includes ----------------------------------------------------------*/
|
||||
@ -57,19 +57,28 @@ void EXTI0_IRQHandler(void);
|
||||
void EXTI3_IRQHandler(void);
|
||||
void EXTI4_IRQHandler(void);
|
||||
void DMA1_Stream1_IRQHandler(void);
|
||||
void DMA1_Stream5_IRQHandler(void);
|
||||
void DMA1_Stream6_IRQHandler(void);
|
||||
void CAN1_TX_IRQHandler(void);
|
||||
void CAN1_RX0_IRQHandler(void);
|
||||
void CAN1_RX1_IRQHandler(void);
|
||||
void EXTI9_5_IRQHandler(void);
|
||||
void I2C1_EV_IRQHandler(void);
|
||||
void I2C1_ER_IRQHandler(void);
|
||||
void USART1_IRQHandler(void);
|
||||
void USART2_IRQHandler(void);
|
||||
void USART3_IRQHandler(void);
|
||||
void TIM7_IRQHandler(void);
|
||||
void DMA2_Stream1_IRQHandler(void);
|
||||
void DMA2_Stream2_IRQHandler(void);
|
||||
void DMA2_Stream3_IRQHandler(void);
|
||||
void CAN2_TX_IRQHandler(void);
|
||||
void CAN2_RX0_IRQHandler(void);
|
||||
void CAN2_RX1_IRQHandler(void);
|
||||
void DMA2_Stream5_IRQHandler(void);
|
||||
void DMA2_Stream6_IRQHandler(void);
|
||||
void DMA2_Stream7_IRQHandler(void);
|
||||
void USART6_IRQHandler(void);
|
||||
/* USER CODE BEGIN EFP */
|
||||
|
||||
/* USER CODE END EFP */
|
||||
|
||||
@ -34,14 +34,20 @@ extern "C" {
|
||||
|
||||
extern UART_HandleTypeDef huart1;
|
||||
|
||||
extern UART_HandleTypeDef huart2;
|
||||
|
||||
extern UART_HandleTypeDef huart3;
|
||||
|
||||
extern UART_HandleTypeDef huart6;
|
||||
|
||||
/* USER CODE BEGIN Private defines */
|
||||
|
||||
/* USER CODE END Private defines */
|
||||
|
||||
void MX_USART1_UART_Init(void);
|
||||
void MX_USART2_UART_Init(void);
|
||||
void MX_USART3_UART_Init(void);
|
||||
void MX_USART6_UART_Init(void);
|
||||
|
||||
/* USER CODE BEGIN Prototypes */
|
||||
|
||||
|
||||
@ -47,12 +47,30 @@ void MX_DMA_Init(void)
|
||||
/* DMA1_Stream1_IRQn interrupt configuration */
|
||||
HAL_NVIC_SetPriority(DMA1_Stream1_IRQn, 7, 0);
|
||||
HAL_NVIC_EnableIRQ(DMA1_Stream1_IRQn);
|
||||
/* DMA1_Stream5_IRQn interrupt configuration */
|
||||
HAL_NVIC_SetPriority(DMA1_Stream5_IRQn, 5, 0);
|
||||
HAL_NVIC_EnableIRQ(DMA1_Stream5_IRQn);
|
||||
/* DMA1_Stream6_IRQn interrupt configuration */
|
||||
HAL_NVIC_SetPriority(DMA1_Stream6_IRQn, 5, 0);
|
||||
HAL_NVIC_EnableIRQ(DMA1_Stream6_IRQn);
|
||||
/* DMA2_Stream1_IRQn interrupt configuration */
|
||||
HAL_NVIC_SetPriority(DMA2_Stream1_IRQn, 5, 0);
|
||||
HAL_NVIC_EnableIRQ(DMA2_Stream1_IRQn);
|
||||
/* DMA2_Stream2_IRQn interrupt configuration */
|
||||
HAL_NVIC_SetPriority(DMA2_Stream2_IRQn, 5, 0);
|
||||
HAL_NVIC_EnableIRQ(DMA2_Stream2_IRQn);
|
||||
/* DMA2_Stream3_IRQn interrupt configuration */
|
||||
HAL_NVIC_SetPriority(DMA2_Stream3_IRQn, 5, 0);
|
||||
HAL_NVIC_EnableIRQ(DMA2_Stream3_IRQn);
|
||||
/* DMA2_Stream5_IRQn interrupt configuration */
|
||||
HAL_NVIC_SetPriority(DMA2_Stream5_IRQn, 5, 0);
|
||||
HAL_NVIC_EnableIRQ(DMA2_Stream5_IRQn);
|
||||
/* DMA2_Stream6_IRQn interrupt configuration */
|
||||
HAL_NVIC_SetPriority(DMA2_Stream6_IRQn, 5, 0);
|
||||
HAL_NVIC_EnableIRQ(DMA2_Stream6_IRQn);
|
||||
/* DMA2_Stream7_IRQn interrupt configuration */
|
||||
HAL_NVIC_SetPriority(DMA2_Stream7_IRQn, 5, 0);
|
||||
HAL_NVIC_EnableIRQ(DMA2_Stream7_IRQn);
|
||||
|
||||
}
|
||||
|
||||
|
||||
@ -124,7 +124,7 @@ void MX_FREERTOS_Init(void) {
|
||||
|
||||
/* USER CODE BEGIN RTOS_THREADS */
|
||||
/* add threads, ... */
|
||||
osThreadNew(Task_Init, NULL, &attr_init); // 创建åˆ<EFBFBD>始化任åŠ?
|
||||
osThreadNew(Task_Init, NULL, &attr_init); // 创建初始化任<EFBFBD>?
|
||||
/* USER CODE END RTOS_THREADS */
|
||||
|
||||
/* USER CODE BEGIN RTOS_EVENTS */
|
||||
|
||||
@ -46,13 +46,13 @@ void MX_GPIO_Init(void)
|
||||
|
||||
/* GPIO Ports Clock Enable */
|
||||
__HAL_RCC_GPIOB_CLK_ENABLE();
|
||||
__HAL_RCC_GPIOG_CLK_ENABLE();
|
||||
__HAL_RCC_GPIOA_CLK_ENABLE();
|
||||
__HAL_RCC_GPIOD_CLK_ENABLE();
|
||||
__HAL_RCC_GPIOC_CLK_ENABLE();
|
||||
__HAL_RCC_GPIOI_CLK_ENABLE();
|
||||
__HAL_RCC_GPIOF_CLK_ENABLE();
|
||||
__HAL_RCC_GPIOH_CLK_ENABLE();
|
||||
__HAL_RCC_GPIOG_CLK_ENABLE();
|
||||
|
||||
/*Configure GPIO pin Output Level */
|
||||
HAL_GPIO_WritePin(CMPS_RST_GPIO_Port, CMPS_RST_Pin, GPIO_PIN_RESET);
|
||||
@ -63,39 +63,39 @@ void MX_GPIO_Init(void)
|
||||
/*Configure GPIO pin Output Level */
|
||||
HAL_GPIO_WritePin(GYRO_CS_GPIO_Port, GYRO_CS_Pin, GPIO_PIN_SET);
|
||||
|
||||
/*Configure GPIO pin : PtPin */
|
||||
/*Configure GPIO pin : CMPS_RST_Pin */
|
||||
GPIO_InitStruct.Pin = CMPS_RST_Pin;
|
||||
GPIO_InitStruct.Mode = GPIO_MODE_OUTPUT_PP;
|
||||
GPIO_InitStruct.Pull = GPIO_PULLUP;
|
||||
GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_MEDIUM;
|
||||
HAL_GPIO_Init(CMPS_RST_GPIO_Port, &GPIO_InitStruct);
|
||||
|
||||
/*Configure GPIO pin : PtPin */
|
||||
/*Configure GPIO pin : CMPS_INT_Pin */
|
||||
GPIO_InitStruct.Pin = CMPS_INT_Pin;
|
||||
GPIO_InitStruct.Mode = GPIO_MODE_IT_FALLING;
|
||||
GPIO_InitStruct.Pull = GPIO_PULLUP;
|
||||
HAL_GPIO_Init(CMPS_INT_GPIO_Port, &GPIO_InitStruct);
|
||||
|
||||
/*Configure GPIO pin : PtPin */
|
||||
/*Configure GPIO pin : USER_KEY_Pin */
|
||||
GPIO_InitStruct.Pin = USER_KEY_Pin;
|
||||
GPIO_InitStruct.Mode = GPIO_MODE_IT_FALLING;
|
||||
GPIO_InitStruct.Pull = GPIO_PULLUP;
|
||||
HAL_GPIO_Init(USER_KEY_GPIO_Port, &GPIO_InitStruct);
|
||||
|
||||
/*Configure GPIO pin : PtPin */
|
||||
/*Configure GPIO pin : ACCL_CS_Pin */
|
||||
GPIO_InitStruct.Pin = ACCL_CS_Pin;
|
||||
GPIO_InitStruct.Mode = GPIO_MODE_OUTPUT_PP;
|
||||
GPIO_InitStruct.Pull = GPIO_PULLUP;
|
||||
GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_MEDIUM;
|
||||
HAL_GPIO_Init(ACCL_CS_GPIO_Port, &GPIO_InitStruct);
|
||||
|
||||
/*Configure GPIO pins : PCPin PCPin */
|
||||
/*Configure GPIO pins : ACCL_INT_Pin GYRO_INT_Pin */
|
||||
GPIO_InitStruct.Pin = ACCL_INT_Pin|GYRO_INT_Pin;
|
||||
GPIO_InitStruct.Mode = GPIO_MODE_IT_FALLING;
|
||||
GPIO_InitStruct.Pull = GPIO_PULLUP;
|
||||
HAL_GPIO_Init(GPIOC, &GPIO_InitStruct);
|
||||
|
||||
/*Configure GPIO pin : PtPin */
|
||||
/*Configure GPIO pin : GYRO_CS_Pin */
|
||||
GPIO_InitStruct.Pin = GYRO_CS_Pin;
|
||||
GPIO_InitStruct.Mode = GPIO_MODE_OUTPUT_PP;
|
||||
GPIO_InitStruct.Pull = GPIO_PULLUP;
|
||||
|
||||
@ -105,14 +105,14 @@ int main(void)
|
||||
MX_I2C1_Init();
|
||||
MX_I2C2_Init();
|
||||
MX_USART1_UART_Init();
|
||||
MX_USART2_UART_Init();
|
||||
MX_USART6_UART_Init();
|
||||
/* USER CODE BEGIN 2 */
|
||||
|
||||
/* USER CODE END 2 */
|
||||
|
||||
/* Init scheduler */
|
||||
osKernelInitialize();
|
||||
|
||||
/* Call init function for freertos objects (in cmsis_os2.c) */
|
||||
osKernelInitialize(); /* Call init function for freertos objects (in cmsis_os2.c) */
|
||||
MX_FREERTOS_Init();
|
||||
|
||||
/* Start scheduler */
|
||||
@ -194,8 +194,7 @@ void Error_Handler(void)
|
||||
}
|
||||
/* USER CODE END Error_Handler_Debug */
|
||||
}
|
||||
|
||||
#ifdef USE_FULL_ASSERT
|
||||
#ifdef USE_FULL_ASSERT
|
||||
/**
|
||||
* @brief Reports the name of the source file and the source line number
|
||||
* where the assert_param error has occurred.
|
||||
|
||||
@ -1,4 +1,3 @@
|
||||
|
||||
/* USER CODE BEGIN Header */
|
||||
/**
|
||||
******************************************************************************
|
||||
|
||||
@ -65,8 +65,17 @@ extern I2C_HandleTypeDef hi2c1;
|
||||
extern DMA_HandleTypeDef hdma_spi1_rx;
|
||||
extern DMA_HandleTypeDef hdma_spi1_tx;
|
||||
extern TIM_HandleTypeDef htim7;
|
||||
extern DMA_HandleTypeDef hdma_usart1_rx;
|
||||
extern DMA_HandleTypeDef hdma_usart1_tx;
|
||||
extern DMA_HandleTypeDef hdma_usart2_rx;
|
||||
extern DMA_HandleTypeDef hdma_usart2_tx;
|
||||
extern DMA_HandleTypeDef hdma_usart3_rx;
|
||||
extern DMA_HandleTypeDef hdma_usart6_rx;
|
||||
extern DMA_HandleTypeDef hdma_usart6_tx;
|
||||
extern UART_HandleTypeDef huart1;
|
||||
extern UART_HandleTypeDef huart2;
|
||||
extern UART_HandleTypeDef huart3;
|
||||
extern UART_HandleTypeDef huart6;
|
||||
/* USER CODE BEGIN EV */
|
||||
|
||||
/* USER CODE END EV */
|
||||
@ -247,6 +256,34 @@ void DMA1_Stream1_IRQHandler(void)
|
||||
/* USER CODE END DMA1_Stream1_IRQn 1 */
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief This function handles DMA1 stream5 global interrupt.
|
||||
*/
|
||||
void DMA1_Stream5_IRQHandler(void)
|
||||
{
|
||||
/* USER CODE BEGIN DMA1_Stream5_IRQn 0 */
|
||||
|
||||
/* USER CODE END DMA1_Stream5_IRQn 0 */
|
||||
HAL_DMA_IRQHandler(&hdma_usart2_rx);
|
||||
/* USER CODE BEGIN DMA1_Stream5_IRQn 1 */
|
||||
|
||||
/* USER CODE END DMA1_Stream5_IRQn 1 */
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief This function handles DMA1 stream6 global interrupt.
|
||||
*/
|
||||
void DMA1_Stream6_IRQHandler(void)
|
||||
{
|
||||
/* USER CODE BEGIN DMA1_Stream6_IRQn 0 */
|
||||
|
||||
/* USER CODE END DMA1_Stream6_IRQn 0 */
|
||||
HAL_DMA_IRQHandler(&hdma_usart2_tx);
|
||||
/* USER CODE BEGIN DMA1_Stream6_IRQn 1 */
|
||||
|
||||
/* USER CODE END DMA1_Stream6_IRQn 1 */
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief This function handles CAN1 TX interrupts.
|
||||
*/
|
||||
@ -331,6 +368,36 @@ void I2C1_ER_IRQHandler(void)
|
||||
/* USER CODE END I2C1_ER_IRQn 1 */
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief This function handles USART1 global interrupt.
|
||||
*/
|
||||
void USART1_IRQHandler(void)
|
||||
{
|
||||
/* USER CODE BEGIN USART1_IRQn 0 */
|
||||
|
||||
/* USER CODE END USART1_IRQn 0 */
|
||||
HAL_UART_IRQHandler(&huart1);
|
||||
/* USER CODE BEGIN USART1_IRQn 1 */
|
||||
BSP_UART_IRQHandler(&huart1);
|
||||
|
||||
/* USER CODE END USART1_IRQn 1 */
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief This function handles USART2 global interrupt.
|
||||
*/
|
||||
void USART2_IRQHandler(void)
|
||||
{
|
||||
/* USER CODE BEGIN USART2_IRQn 0 */
|
||||
|
||||
/* USER CODE END USART2_IRQn 0 */
|
||||
HAL_UART_IRQHandler(&huart2);
|
||||
/* USER CODE BEGIN USART2_IRQn 1 */
|
||||
BSP_UART_IRQHandler(&huart2);
|
||||
|
||||
/* USER CODE END USART2_IRQn 1 */
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief This function handles USART3 global interrupt.
|
||||
*/
|
||||
@ -360,6 +427,20 @@ void TIM7_IRQHandler(void)
|
||||
/* USER CODE END TIM7_IRQn 1 */
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief This function handles DMA2 stream1 global interrupt.
|
||||
*/
|
||||
void DMA2_Stream1_IRQHandler(void)
|
||||
{
|
||||
/* USER CODE BEGIN DMA2_Stream1_IRQn 0 */
|
||||
|
||||
/* USER CODE END DMA2_Stream1_IRQn 0 */
|
||||
HAL_DMA_IRQHandler(&hdma_usart6_rx);
|
||||
/* USER CODE BEGIN DMA2_Stream1_IRQn 1 */
|
||||
|
||||
/* USER CODE END DMA2_Stream1_IRQn 1 */
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief This function handles DMA2 stream2 global interrupt.
|
||||
*/
|
||||
@ -430,6 +511,63 @@ void CAN2_RX1_IRQHandler(void)
|
||||
/* USER CODE END CAN2_RX1_IRQn 1 */
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief This function handles DMA2 stream5 global interrupt.
|
||||
*/
|
||||
void DMA2_Stream5_IRQHandler(void)
|
||||
{
|
||||
/* USER CODE BEGIN DMA2_Stream5_IRQn 0 */
|
||||
|
||||
/* USER CODE END DMA2_Stream5_IRQn 0 */
|
||||
HAL_DMA_IRQHandler(&hdma_usart1_rx);
|
||||
/* USER CODE BEGIN DMA2_Stream5_IRQn 1 */
|
||||
|
||||
/* USER CODE END DMA2_Stream5_IRQn 1 */
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief This function handles DMA2 stream6 global interrupt.
|
||||
*/
|
||||
void DMA2_Stream6_IRQHandler(void)
|
||||
{
|
||||
/* USER CODE BEGIN DMA2_Stream6_IRQn 0 */
|
||||
|
||||
/* USER CODE END DMA2_Stream6_IRQn 0 */
|
||||
HAL_DMA_IRQHandler(&hdma_usart6_tx);
|
||||
/* USER CODE BEGIN DMA2_Stream6_IRQn 1 */
|
||||
|
||||
/* USER CODE END DMA2_Stream6_IRQn 1 */
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief This function handles DMA2 stream7 global interrupt.
|
||||
*/
|
||||
void DMA2_Stream7_IRQHandler(void)
|
||||
{
|
||||
/* USER CODE BEGIN DMA2_Stream7_IRQn 0 */
|
||||
|
||||
/* USER CODE END DMA2_Stream7_IRQn 0 */
|
||||
HAL_DMA_IRQHandler(&hdma_usart1_tx);
|
||||
/* USER CODE BEGIN DMA2_Stream7_IRQn 1 */
|
||||
|
||||
/* USER CODE END DMA2_Stream7_IRQn 1 */
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief This function handles USART6 global interrupt.
|
||||
*/
|
||||
void USART6_IRQHandler(void)
|
||||
{
|
||||
/* USER CODE BEGIN USART6_IRQn 0 */
|
||||
|
||||
/* USER CODE END USART6_IRQn 0 */
|
||||
HAL_UART_IRQHandler(&huart6);
|
||||
/* USER CODE BEGIN USART6_IRQn 1 */
|
||||
BSP_UART_IRQHandler(&huart6);
|
||||
|
||||
/* USER CODE END USART6_IRQn 1 */
|
||||
}
|
||||
|
||||
/* USER CODE BEGIN 1 */
|
||||
|
||||
/* USER CODE END 1 */
|
||||
|
||||
288
Core/Src/usart.c
288
Core/Src/usart.c
@ -25,8 +25,16 @@
|
||||
/* USER CODE END 0 */
|
||||
|
||||
UART_HandleTypeDef huart1;
|
||||
UART_HandleTypeDef huart2;
|
||||
UART_HandleTypeDef huart3;
|
||||
UART_HandleTypeDef huart6;
|
||||
DMA_HandleTypeDef hdma_usart1_rx;
|
||||
DMA_HandleTypeDef hdma_usart1_tx;
|
||||
DMA_HandleTypeDef hdma_usart2_rx;
|
||||
DMA_HandleTypeDef hdma_usart2_tx;
|
||||
DMA_HandleTypeDef hdma_usart3_rx;
|
||||
DMA_HandleTypeDef hdma_usart6_rx;
|
||||
DMA_HandleTypeDef hdma_usart6_tx;
|
||||
|
||||
/* USART1 init function */
|
||||
|
||||
@ -56,6 +64,35 @@ void MX_USART1_UART_Init(void)
|
||||
|
||||
/* USER CODE END USART1_Init 2 */
|
||||
|
||||
}
|
||||
/* USART2 init function */
|
||||
|
||||
void MX_USART2_UART_Init(void)
|
||||
{
|
||||
|
||||
/* USER CODE BEGIN USART2_Init 0 */
|
||||
|
||||
/* USER CODE END USART2_Init 0 */
|
||||
|
||||
/* USER CODE BEGIN USART2_Init 1 */
|
||||
|
||||
/* USER CODE END USART2_Init 1 */
|
||||
huart2.Instance = USART2;
|
||||
huart2.Init.BaudRate = 115200;
|
||||
huart2.Init.WordLength = UART_WORDLENGTH_8B;
|
||||
huart2.Init.StopBits = UART_STOPBITS_1;
|
||||
huart2.Init.Parity = UART_PARITY_NONE;
|
||||
huart2.Init.Mode = UART_MODE_TX_RX;
|
||||
huart2.Init.HwFlowCtl = UART_HWCONTROL_NONE;
|
||||
huart2.Init.OverSampling = UART_OVERSAMPLING_16;
|
||||
if (HAL_UART_Init(&huart2) != HAL_OK)
|
||||
{
|
||||
Error_Handler();
|
||||
}
|
||||
/* USER CODE BEGIN USART2_Init 2 */
|
||||
|
||||
/* USER CODE END USART2_Init 2 */
|
||||
|
||||
}
|
||||
/* USART3 init function */
|
||||
|
||||
@ -85,6 +122,35 @@ void MX_USART3_UART_Init(void)
|
||||
|
||||
/* USER CODE END USART3_Init 2 */
|
||||
|
||||
}
|
||||
/* USART6 init function */
|
||||
|
||||
void MX_USART6_UART_Init(void)
|
||||
{
|
||||
|
||||
/* USER CODE BEGIN USART6_Init 0 */
|
||||
|
||||
/* USER CODE END USART6_Init 0 */
|
||||
|
||||
/* USER CODE BEGIN USART6_Init 1 */
|
||||
|
||||
/* USER CODE END USART6_Init 1 */
|
||||
huart6.Instance = USART6;
|
||||
huart6.Init.BaudRate = 115200;
|
||||
huart6.Init.WordLength = UART_WORDLENGTH_8B;
|
||||
huart6.Init.StopBits = UART_STOPBITS_1;
|
||||
huart6.Init.Parity = UART_PARITY_NONE;
|
||||
huart6.Init.Mode = UART_MODE_TX_RX;
|
||||
huart6.Init.HwFlowCtl = UART_HWCONTROL_NONE;
|
||||
huart6.Init.OverSampling = UART_OVERSAMPLING_16;
|
||||
if (HAL_UART_Init(&huart6) != HAL_OK)
|
||||
{
|
||||
Error_Handler();
|
||||
}
|
||||
/* USER CODE BEGIN USART6_Init 2 */
|
||||
|
||||
/* USER CODE END USART6_Init 2 */
|
||||
|
||||
}
|
||||
|
||||
void HAL_UART_MspInit(UART_HandleTypeDef* uartHandle)
|
||||
@ -119,10 +185,114 @@ void HAL_UART_MspInit(UART_HandleTypeDef* uartHandle)
|
||||
GPIO_InitStruct.Alternate = GPIO_AF7_USART1;
|
||||
HAL_GPIO_Init(GPIOA, &GPIO_InitStruct);
|
||||
|
||||
/* USART1 DMA Init */
|
||||
/* USART1_RX Init */
|
||||
hdma_usart1_rx.Instance = DMA2_Stream5;
|
||||
hdma_usart1_rx.Init.Channel = DMA_CHANNEL_4;
|
||||
hdma_usart1_rx.Init.Direction = DMA_PERIPH_TO_MEMORY;
|
||||
hdma_usart1_rx.Init.PeriphInc = DMA_PINC_DISABLE;
|
||||
hdma_usart1_rx.Init.MemInc = DMA_MINC_ENABLE;
|
||||
hdma_usart1_rx.Init.PeriphDataAlignment = DMA_PDATAALIGN_BYTE;
|
||||
hdma_usart1_rx.Init.MemDataAlignment = DMA_MDATAALIGN_BYTE;
|
||||
hdma_usart1_rx.Init.Mode = DMA_NORMAL;
|
||||
hdma_usart1_rx.Init.Priority = DMA_PRIORITY_LOW;
|
||||
hdma_usart1_rx.Init.FIFOMode = DMA_FIFOMODE_DISABLE;
|
||||
if (HAL_DMA_Init(&hdma_usart1_rx) != HAL_OK)
|
||||
{
|
||||
Error_Handler();
|
||||
}
|
||||
|
||||
__HAL_LINKDMA(uartHandle,hdmarx,hdma_usart1_rx);
|
||||
|
||||
/* USART1_TX Init */
|
||||
hdma_usart1_tx.Instance = DMA2_Stream7;
|
||||
hdma_usart1_tx.Init.Channel = DMA_CHANNEL_4;
|
||||
hdma_usart1_tx.Init.Direction = DMA_MEMORY_TO_PERIPH;
|
||||
hdma_usart1_tx.Init.PeriphInc = DMA_PINC_DISABLE;
|
||||
hdma_usart1_tx.Init.MemInc = DMA_MINC_ENABLE;
|
||||
hdma_usart1_tx.Init.PeriphDataAlignment = DMA_PDATAALIGN_BYTE;
|
||||
hdma_usart1_tx.Init.MemDataAlignment = DMA_MDATAALIGN_BYTE;
|
||||
hdma_usart1_tx.Init.Mode = DMA_NORMAL;
|
||||
hdma_usart1_tx.Init.Priority = DMA_PRIORITY_LOW;
|
||||
hdma_usart1_tx.Init.FIFOMode = DMA_FIFOMODE_DISABLE;
|
||||
if (HAL_DMA_Init(&hdma_usart1_tx) != HAL_OK)
|
||||
{
|
||||
Error_Handler();
|
||||
}
|
||||
|
||||
__HAL_LINKDMA(uartHandle,hdmatx,hdma_usart1_tx);
|
||||
|
||||
/* USART1 interrupt Init */
|
||||
HAL_NVIC_SetPriority(USART1_IRQn, 5, 0);
|
||||
HAL_NVIC_EnableIRQ(USART1_IRQn);
|
||||
/* USER CODE BEGIN USART1_MspInit 1 */
|
||||
|
||||
/* USER CODE END USART1_MspInit 1 */
|
||||
}
|
||||
else if(uartHandle->Instance==USART2)
|
||||
{
|
||||
/* USER CODE BEGIN USART2_MspInit 0 */
|
||||
|
||||
/* USER CODE END USART2_MspInit 0 */
|
||||
/* USART2 clock enable */
|
||||
__HAL_RCC_USART2_CLK_ENABLE();
|
||||
|
||||
__HAL_RCC_GPIOD_CLK_ENABLE();
|
||||
/**USART2 GPIO Configuration
|
||||
PD6 ------> USART2_RX
|
||||
PD5 ------> USART2_TX
|
||||
*/
|
||||
GPIO_InitStruct.Pin = GPIO_PIN_6|GPIO_PIN_5;
|
||||
GPIO_InitStruct.Mode = GPIO_MODE_AF_PP;
|
||||
GPIO_InitStruct.Pull = GPIO_NOPULL;
|
||||
GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_VERY_HIGH;
|
||||
GPIO_InitStruct.Alternate = GPIO_AF7_USART2;
|
||||
HAL_GPIO_Init(GPIOD, &GPIO_InitStruct);
|
||||
|
||||
/* USART2 DMA Init */
|
||||
/* USART2_RX Init */
|
||||
hdma_usart2_rx.Instance = DMA1_Stream5;
|
||||
hdma_usart2_rx.Init.Channel = DMA_CHANNEL_4;
|
||||
hdma_usart2_rx.Init.Direction = DMA_PERIPH_TO_MEMORY;
|
||||
hdma_usart2_rx.Init.PeriphInc = DMA_PINC_DISABLE;
|
||||
hdma_usart2_rx.Init.MemInc = DMA_MINC_ENABLE;
|
||||
hdma_usart2_rx.Init.PeriphDataAlignment = DMA_PDATAALIGN_BYTE;
|
||||
hdma_usart2_rx.Init.MemDataAlignment = DMA_MDATAALIGN_BYTE;
|
||||
hdma_usart2_rx.Init.Mode = DMA_NORMAL;
|
||||
hdma_usart2_rx.Init.Priority = DMA_PRIORITY_LOW;
|
||||
hdma_usart2_rx.Init.FIFOMode = DMA_FIFOMODE_DISABLE;
|
||||
if (HAL_DMA_Init(&hdma_usart2_rx) != HAL_OK)
|
||||
{
|
||||
Error_Handler();
|
||||
}
|
||||
|
||||
__HAL_LINKDMA(uartHandle,hdmarx,hdma_usart2_rx);
|
||||
|
||||
/* USART2_TX Init */
|
||||
hdma_usart2_tx.Instance = DMA1_Stream6;
|
||||
hdma_usart2_tx.Init.Channel = DMA_CHANNEL_4;
|
||||
hdma_usart2_tx.Init.Direction = DMA_MEMORY_TO_PERIPH;
|
||||
hdma_usart2_tx.Init.PeriphInc = DMA_PINC_DISABLE;
|
||||
hdma_usart2_tx.Init.MemInc = DMA_MINC_ENABLE;
|
||||
hdma_usart2_tx.Init.PeriphDataAlignment = DMA_PDATAALIGN_BYTE;
|
||||
hdma_usart2_tx.Init.MemDataAlignment = DMA_MDATAALIGN_BYTE;
|
||||
hdma_usart2_tx.Init.Mode = DMA_NORMAL;
|
||||
hdma_usart2_tx.Init.Priority = DMA_PRIORITY_LOW;
|
||||
hdma_usart2_tx.Init.FIFOMode = DMA_FIFOMODE_DISABLE;
|
||||
if (HAL_DMA_Init(&hdma_usart2_tx) != HAL_OK)
|
||||
{
|
||||
Error_Handler();
|
||||
}
|
||||
|
||||
__HAL_LINKDMA(uartHandle,hdmatx,hdma_usart2_tx);
|
||||
|
||||
/* USART2 interrupt Init */
|
||||
HAL_NVIC_SetPriority(USART2_IRQn, 5, 0);
|
||||
HAL_NVIC_EnableIRQ(USART2_IRQn);
|
||||
/* USER CODE BEGIN USART2_MspInit 1 */
|
||||
|
||||
/* USER CODE END USART2_MspInit 1 */
|
||||
}
|
||||
else if(uartHandle->Instance==USART3)
|
||||
{
|
||||
/* USER CODE BEGIN USART3_MspInit 0 */
|
||||
@ -169,6 +339,70 @@ void HAL_UART_MspInit(UART_HandleTypeDef* uartHandle)
|
||||
|
||||
/* USER CODE END USART3_MspInit 1 */
|
||||
}
|
||||
else if(uartHandle->Instance==USART6)
|
||||
{
|
||||
/* USER CODE BEGIN USART6_MspInit 0 */
|
||||
|
||||
/* USER CODE END USART6_MspInit 0 */
|
||||
/* USART6 clock enable */
|
||||
__HAL_RCC_USART6_CLK_ENABLE();
|
||||
|
||||
__HAL_RCC_GPIOG_CLK_ENABLE();
|
||||
/**USART6 GPIO Configuration
|
||||
PG14 ------> USART6_TX
|
||||
PG9 ------> USART6_RX
|
||||
*/
|
||||
GPIO_InitStruct.Pin = GPIO_PIN_14|GPIO_PIN_9;
|
||||
GPIO_InitStruct.Mode = GPIO_MODE_AF_PP;
|
||||
GPIO_InitStruct.Pull = GPIO_NOPULL;
|
||||
GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_VERY_HIGH;
|
||||
GPIO_InitStruct.Alternate = GPIO_AF8_USART6;
|
||||
HAL_GPIO_Init(GPIOG, &GPIO_InitStruct);
|
||||
|
||||
/* USART6 DMA Init */
|
||||
/* USART6_RX Init */
|
||||
hdma_usart6_rx.Instance = DMA2_Stream1;
|
||||
hdma_usart6_rx.Init.Channel = DMA_CHANNEL_5;
|
||||
hdma_usart6_rx.Init.Direction = DMA_PERIPH_TO_MEMORY;
|
||||
hdma_usart6_rx.Init.PeriphInc = DMA_PINC_DISABLE;
|
||||
hdma_usart6_rx.Init.MemInc = DMA_MINC_ENABLE;
|
||||
hdma_usart6_rx.Init.PeriphDataAlignment = DMA_PDATAALIGN_BYTE;
|
||||
hdma_usart6_rx.Init.MemDataAlignment = DMA_MDATAALIGN_BYTE;
|
||||
hdma_usart6_rx.Init.Mode = DMA_NORMAL;
|
||||
hdma_usart6_rx.Init.Priority = DMA_PRIORITY_LOW;
|
||||
hdma_usart6_rx.Init.FIFOMode = DMA_FIFOMODE_DISABLE;
|
||||
if (HAL_DMA_Init(&hdma_usart6_rx) != HAL_OK)
|
||||
{
|
||||
Error_Handler();
|
||||
}
|
||||
|
||||
__HAL_LINKDMA(uartHandle,hdmarx,hdma_usart6_rx);
|
||||
|
||||
/* USART6_TX Init */
|
||||
hdma_usart6_tx.Instance = DMA2_Stream6;
|
||||
hdma_usart6_tx.Init.Channel = DMA_CHANNEL_5;
|
||||
hdma_usart6_tx.Init.Direction = DMA_MEMORY_TO_PERIPH;
|
||||
hdma_usart6_tx.Init.PeriphInc = DMA_PINC_DISABLE;
|
||||
hdma_usart6_tx.Init.MemInc = DMA_MINC_ENABLE;
|
||||
hdma_usart6_tx.Init.PeriphDataAlignment = DMA_PDATAALIGN_BYTE;
|
||||
hdma_usart6_tx.Init.MemDataAlignment = DMA_MDATAALIGN_BYTE;
|
||||
hdma_usart6_tx.Init.Mode = DMA_NORMAL;
|
||||
hdma_usart6_tx.Init.Priority = DMA_PRIORITY_LOW;
|
||||
hdma_usart6_tx.Init.FIFOMode = DMA_FIFOMODE_DISABLE;
|
||||
if (HAL_DMA_Init(&hdma_usart6_tx) != HAL_OK)
|
||||
{
|
||||
Error_Handler();
|
||||
}
|
||||
|
||||
__HAL_LINKDMA(uartHandle,hdmatx,hdma_usart6_tx);
|
||||
|
||||
/* USART6 interrupt Init */
|
||||
HAL_NVIC_SetPriority(USART6_IRQn, 5, 0);
|
||||
HAL_NVIC_EnableIRQ(USART6_IRQn);
|
||||
/* USER CODE BEGIN USART6_MspInit 1 */
|
||||
|
||||
/* USER CODE END USART6_MspInit 1 */
|
||||
}
|
||||
}
|
||||
|
||||
void HAL_UART_MspDeInit(UART_HandleTypeDef* uartHandle)
|
||||
@ -190,10 +424,40 @@ void HAL_UART_MspDeInit(UART_HandleTypeDef* uartHandle)
|
||||
|
||||
HAL_GPIO_DeInit(GPIOA, GPIO_PIN_9);
|
||||
|
||||
/* USART1 DMA DeInit */
|
||||
HAL_DMA_DeInit(uartHandle->hdmarx);
|
||||
HAL_DMA_DeInit(uartHandle->hdmatx);
|
||||
|
||||
/* USART1 interrupt Deinit */
|
||||
HAL_NVIC_DisableIRQ(USART1_IRQn);
|
||||
/* USER CODE BEGIN USART1_MspDeInit 1 */
|
||||
|
||||
/* USER CODE END USART1_MspDeInit 1 */
|
||||
}
|
||||
else if(uartHandle->Instance==USART2)
|
||||
{
|
||||
/* USER CODE BEGIN USART2_MspDeInit 0 */
|
||||
|
||||
/* USER CODE END USART2_MspDeInit 0 */
|
||||
/* Peripheral clock disable */
|
||||
__HAL_RCC_USART2_CLK_DISABLE();
|
||||
|
||||
/**USART2 GPIO Configuration
|
||||
PD6 ------> USART2_RX
|
||||
PD5 ------> USART2_TX
|
||||
*/
|
||||
HAL_GPIO_DeInit(GPIOD, GPIO_PIN_6|GPIO_PIN_5);
|
||||
|
||||
/* USART2 DMA DeInit */
|
||||
HAL_DMA_DeInit(uartHandle->hdmarx);
|
||||
HAL_DMA_DeInit(uartHandle->hdmatx);
|
||||
|
||||
/* USART2 interrupt Deinit */
|
||||
HAL_NVIC_DisableIRQ(USART2_IRQn);
|
||||
/* USER CODE BEGIN USART2_MspDeInit 1 */
|
||||
|
||||
/* USER CODE END USART2_MspDeInit 1 */
|
||||
}
|
||||
else if(uartHandle->Instance==USART3)
|
||||
{
|
||||
/* USER CODE BEGIN USART3_MspDeInit 0 */
|
||||
@ -217,6 +481,30 @@ void HAL_UART_MspDeInit(UART_HandleTypeDef* uartHandle)
|
||||
|
||||
/* USER CODE END USART3_MspDeInit 1 */
|
||||
}
|
||||
else if(uartHandle->Instance==USART6)
|
||||
{
|
||||
/* USER CODE BEGIN USART6_MspDeInit 0 */
|
||||
|
||||
/* USER CODE END USART6_MspDeInit 0 */
|
||||
/* Peripheral clock disable */
|
||||
__HAL_RCC_USART6_CLK_DISABLE();
|
||||
|
||||
/**USART6 GPIO Configuration
|
||||
PG14 ------> USART6_TX
|
||||
PG9 ------> USART6_RX
|
||||
*/
|
||||
HAL_GPIO_DeInit(GPIOG, GPIO_PIN_14|GPIO_PIN_9);
|
||||
|
||||
/* USART6 DMA DeInit */
|
||||
HAL_DMA_DeInit(uartHandle->hdmarx);
|
||||
HAL_DMA_DeInit(uartHandle->hdmatx);
|
||||
|
||||
/* USART6 interrupt Deinit */
|
||||
HAL_NVIC_DisableIRQ(USART6_IRQn);
|
||||
/* USER CODE BEGIN USART6_MspDeInit 1 */
|
||||
|
||||
/* USER CODE END USART6_MspDeInit 1 */
|
||||
}
|
||||
}
|
||||
|
||||
/* USER CODE BEGIN 1 */
|
||||
|
||||
473
MDK-ARM/.vscode/c_cpp_properties.json
vendored
473
MDK-ARM/.vscode/c_cpp_properties.json
vendored
@ -3,103 +3,430 @@
|
||||
{
|
||||
"name": "gimbal",
|
||||
"includePath": [
|
||||
"d:\\yunha\\云台\\大疆电机\\gimbal\\Core\\Inc",
|
||||
"d:\\yunha\\云台\\大疆电机\\gimbal\\Drivers\\STM32F4xx_HAL_Driver\\Inc",
|
||||
"d:\\yunha\\云台\\大疆电机\\gimbal\\Drivers\\STM32F4xx_HAL_Driver\\Inc\\Legacy",
|
||||
"d:\\yunha\\云台\\大疆电机\\gimbal\\Drivers\\CMSIS\\Device\\ST\\STM32F4xx\\Include",
|
||||
"d:\\yunha\\云台\\大疆电机\\gimbal\\Drivers\\CMSIS\\Include",
|
||||
"d:\\yunha\\云台\\大疆电机\\gimbal\\User\\bsp",
|
||||
"d:\\yunha\\云台\\大疆电机\\gimbal\\User\\component",
|
||||
"d:\\yunha\\云台\\大疆电机\\gimbal\\User\\device",
|
||||
"d:\\yunha\\云台\\大疆电机\\gimbal\\Middlewares\\Third_Party\\FreeRTOS\\Source\\include",
|
||||
"d:\\yunha\\云台\\大疆电机\\gimbal\\Middlewares\\Third_Party\\FreeRTOS\\Source\\CMSIS_RTOS_V2",
|
||||
"d:\\yunha\\云台\\大疆电机\\gimbal\\Middlewares\\Third_Party\\FreeRTOS\\Source\\portable\\RVDS\\ARM_CM4F",
|
||||
"d:\\yunha\\云台\\大疆电机\\gimbal\\User\\task",
|
||||
"d:\\yunha\\云台\\大疆电机\\gimbal\\User",
|
||||
"d:\\yunha\\云台\\大疆电机\\gimbal\\User\\module",
|
||||
"D:\\KEIL_MDK\\ARM\\ARMCC\\include",
|
||||
"D:\\KEIL_MDK\\ARM\\ARMCC\\include\\rw",
|
||||
"d:\\yunha\\云台\\大疆电机\\gimbal\\MDK-ARM",
|
||||
"d:\\yunha\\云台\\大疆电机\\gimbal\\Core\\Src",
|
||||
"d:\\yunha\\云台\\大疆电机\\gimbal\\Drivers\\STM32F4xx_HAL_Driver\\Src",
|
||||
"d:\\yunha\\云台\\大疆电机\\gimbal\\Middlewares\\Third_Party\\FreeRTOS\\Source",
|
||||
"d:\\yunha\\云台\\大疆电机\\gimbal\\Middlewares\\Third_Party\\FreeRTOS\\Source\\portable\\MemMang"
|
||||
"d:\\yunha\\git_gimbal\\ai\\gimbal\\Core\\Inc",
|
||||
"d:\\yunha\\git_gimbal\\ai\\gimbal\\Drivers\\STM32F4xx_HAL_Driver\\Inc",
|
||||
"d:\\yunha\\git_gimbal\\ai\\gimbal\\Drivers\\STM32F4xx_HAL_Driver\\Inc\\Legacy",
|
||||
"d:\\yunha\\git_gimbal\\ai\\gimbal\\Drivers\\CMSIS\\Device\\ST\\STM32F4xx\\Include",
|
||||
"d:\\yunha\\git_gimbal\\ai\\gimbal\\Drivers\\CMSIS\\Include",
|
||||
"d:\\yunha\\git_gimbal\\ai\\gimbal\\User\\bsp",
|
||||
"d:\\yunha\\git_gimbal\\ai\\gimbal\\User\\component",
|
||||
"d:\\yunha\\git_gimbal\\ai\\gimbal\\User\\device",
|
||||
"d:\\yunha\\git_gimbal\\ai\\gimbal\\Middlewares\\Third_Party\\FreeRTOS\\Source\\include",
|
||||
"d:\\yunha\\git_gimbal\\ai\\gimbal\\Middlewares\\Third_Party\\FreeRTOS\\Source\\CMSIS_RTOS_V2",
|
||||
"d:\\yunha\\git_gimbal\\ai\\gimbal\\Middlewares\\Third_Party\\FreeRTOS\\Source\\portable\\RVDS\\ARM_CM4F",
|
||||
"d:\\yunha\\git_gimbal\\ai\\gimbal\\User\\task",
|
||||
"d:\\yunha\\git_gimbal\\ai\\gimbal\\User",
|
||||
"d:\\yunha\\git_gimbal\\ai\\gimbal\\User\\module",
|
||||
"D:\\Keil_v5\\ARM\\ARMCLANG\\include",
|
||||
"D:\\Keil_v5\\ARM\\ARMCLANG\\include\\arm_linux",
|
||||
"D:\\Keil_v5\\ARM\\ARMCLANG\\include\\arm_linux_compat",
|
||||
"D:\\Keil_v5\\ARM\\ARMCLANG\\include\\libcxx",
|
||||
"d:\\yunha\\git_gimbal\\ai\\gimbal\\MDK-ARM",
|
||||
"d:\\yunha\\git_gimbal\\ai\\gimbal\\Core\\Src",
|
||||
"d:\\yunha\\git_gimbal\\ai\\gimbal\\Drivers\\STM32F4xx_HAL_Driver\\Src",
|
||||
"d:\\yunha\\git_gimbal\\ai\\gimbal\\Middlewares\\Third_Party\\FreeRTOS\\Source",
|
||||
"d:\\yunha\\git_gimbal\\ai\\gimbal\\Middlewares\\Third_Party\\FreeRTOS\\Source\\portable\\MemMang"
|
||||
],
|
||||
"defines": [
|
||||
"USE_HAL_DRIVER",
|
||||
"STM32F407xx",
|
||||
"__CC_ARM",
|
||||
"__arm__",
|
||||
"__align(x)=",
|
||||
"__ALIGNOF__(x)=",
|
||||
"__alignof__(x)=",
|
||||
"__asm(x)=",
|
||||
"__asm__(x)=",
|
||||
"__forceinline=",
|
||||
"__restrict=",
|
||||
"__global_reg(n)=",
|
||||
"__volatile__=",
|
||||
"__inline=",
|
||||
"__int64=long long",
|
||||
"__INTADDR__(expr)=0",
|
||||
"__irq=",
|
||||
"__packed=",
|
||||
"__pure=",
|
||||
"__smc(n)=",
|
||||
"__svc(n)=",
|
||||
"__svc_indirect(n)=",
|
||||
"__svc_indirect_r7(n)=",
|
||||
"__value_in_regs=",
|
||||
"__weak=",
|
||||
"__writeonly=",
|
||||
"__inline__=",
|
||||
"__declspec(x)=",
|
||||
"__attribute__(x)=",
|
||||
"__nonnull__(x)=",
|
||||
"__unaligned=",
|
||||
"__promise(x)=",
|
||||
"__irq=",
|
||||
"__swi=",
|
||||
"__weak=",
|
||||
"__register=",
|
||||
"__pure=",
|
||||
"__value_in_regs=",
|
||||
"__breakpoint(x)=",
|
||||
"__cdp(x,y,z)=",
|
||||
"__clrex()=",
|
||||
"__clz(x)=0U",
|
||||
"__current_pc()=0U",
|
||||
"__current_sp()=0U",
|
||||
"__disable_fiq()=",
|
||||
"__disable_irq()=",
|
||||
"__dmb(x)=",
|
||||
"__dsb(x)=",
|
||||
"__enable_fiq()=",
|
||||
"__enable_irq()=",
|
||||
"__fabs(x)=0.0",
|
||||
"__fabsf(x)=0.0f",
|
||||
"__force_loads()=",
|
||||
"__force_stores()=",
|
||||
"__isb(x)=",
|
||||
"__ldrex(x)=0U",
|
||||
"__ldrexd(x)=0U",
|
||||
"__ldrt(x)=0U",
|
||||
"__memory_changed()=",
|
||||
"__nop()=",
|
||||
"__pld(...)=",
|
||||
"__pli(...)=",
|
||||
"__qadd(x,y)=0",
|
||||
"__qdbl(x)=0",
|
||||
"__qsub(x,y)=0",
|
||||
"__rbit(x)=0U",
|
||||
"__rev(x)=0U",
|
||||
"__return_address()=0U",
|
||||
"__ror(x,y)=0U",
|
||||
"__schedule_barrier()=",
|
||||
"__semihost(x,y)=0",
|
||||
"__sev()=",
|
||||
"__sqrt(x)=0.0",
|
||||
"__sqrtf(x)=0.0f",
|
||||
"__ssat(x,y)=0",
|
||||
"__strex(x,y)=0U",
|
||||
"__strexd(x,y)=0",
|
||||
"__strt(x,y)=",
|
||||
"__swp(x,y)=0U",
|
||||
"__usat(x,y)=0U",
|
||||
"__wfe()=",
|
||||
"__wfi()=",
|
||||
"__yield()=",
|
||||
"__vfp_status(x,y)=0"
|
||||
"__vfp_status(x,y)=0",
|
||||
"__builtin_arm_nop()=",
|
||||
"__builtin_arm_wfi()=",
|
||||
"__builtin_arm_wfe()=",
|
||||
"__builtin_arm_sev()=",
|
||||
"__builtin_arm_sevl()=",
|
||||
"__builtin_arm_yield()=",
|
||||
"__builtin_arm_isb(x)=",
|
||||
"__builtin_arm_dsb(x)=",
|
||||
"__builtin_arm_dmb(x)=",
|
||||
"__builtin_bswap32(x)=0U",
|
||||
"__builtin_bswap16(x)=0U",
|
||||
"__builtin_arm_rbit(x)=0U",
|
||||
"__builtin_clz(x)=0U",
|
||||
"__builtin_arm_ldrex(x)=0U",
|
||||
"__builtin_arm_strex(x,y)=0U",
|
||||
"__builtin_arm_clrex()=",
|
||||
"__builtin_arm_ssat(x,y)=0U",
|
||||
"__builtin_arm_usat(x,y)=0U",
|
||||
"__builtin_arm_ldaex(x)=0U",
|
||||
"__builtin_arm_stlex(x,y)=0U",
|
||||
"_ILP32=1",
|
||||
"_USE_STATIC_INLINE=1",
|
||||
"__APCS_32__=1",
|
||||
"__ARMCC_VERSION=6160001",
|
||||
"__ARMCOMPILER_VERSION=6160001",
|
||||
"__ARMEL__=1",
|
||||
"__ARM_32BIT_STATE=1",
|
||||
"__ARM_ACLE=200",
|
||||
"__ARM_ARCH=4",
|
||||
"__ARM_ARCH_4T__=1",
|
||||
"__ARM_ARCH_ISA_ARM=1",
|
||||
"__ARM_ARCH_ISA_THUMB=1",
|
||||
"__ARM_EABI__=1",
|
||||
"__ARM_FP16_ARGS=1",
|
||||
"__ARM_FP16_FORMAT_IEEE=1",
|
||||
"__ARM_NO_IMAGINARY_TYPE=1",
|
||||
"__ARM_PCS=1",
|
||||
"__ARM_PROMISE=__builtin_assume",
|
||||
"__ARM_SIZEOF_MINIMAL_ENUM=4",
|
||||
"__ARM_SIZEOF_WCHAR_T=4",
|
||||
"__ARM_TARGET_COPROC=1",
|
||||
"__ARM_TARGET_COPROC_V4=1",
|
||||
"__ATOMIC_ACQUIRE=2",
|
||||
"__ATOMIC_ACQ_REL=4",
|
||||
"__ATOMIC_CONSUME=1",
|
||||
"__ATOMIC_RELAXED=0",
|
||||
"__ATOMIC_RELEASE=3",
|
||||
"__ATOMIC_SEQ_CST=5",
|
||||
"__BIGGEST_ALIGNMENT__=8",
|
||||
"__BYTE_ORDER__=__ORDER_LITTLE_ENDIAN__",
|
||||
"__CHAR16_TYPE__=unsigned short",
|
||||
"__CHAR32_TYPE__=unsigned int",
|
||||
"__CHAR_BIT__=8",
|
||||
"__CHAR_UNSIGNED__=1",
|
||||
"__CLANG_ATOMIC_BOOL_LOCK_FREE=1",
|
||||
"__CLANG_ATOMIC_CHAR16_T_LOCK_FREE=1",
|
||||
"__CLANG_ATOMIC_CHAR32_T_LOCK_FREE=1",
|
||||
"__CLANG_ATOMIC_CHAR_LOCK_FREE=1",
|
||||
"__CLANG_ATOMIC_INT_LOCK_FREE=1",
|
||||
"__CLANG_ATOMIC_LLONG_LOCK_FREE=1",
|
||||
"__CLANG_ATOMIC_LONG_LOCK_FREE=1",
|
||||
"__CLANG_ATOMIC_POINTER_LOCK_FREE=1",
|
||||
"__CLANG_ATOMIC_SHORT_LOCK_FREE=1",
|
||||
"__CLANG_ATOMIC_WCHAR_T_LOCK_FREE=1",
|
||||
"__CONSTANT_CFSTRINGS__=1",
|
||||
"__DBL_DECIMAL_DIG__=17",
|
||||
"__DBL_DENORM_MIN__=4.9406564584124654e-324",
|
||||
"__DBL_DIG__=15",
|
||||
"__DBL_EPSILON__=2.2204460492503131e-16",
|
||||
"__DBL_HAS_DENORM__=1",
|
||||
"__DBL_HAS_INFINITY__=1",
|
||||
"__DBL_HAS_QUIET_NAN__=1",
|
||||
"__DBL_MANT_DIG__=53",
|
||||
"__DBL_MAX_10_EXP__=308",
|
||||
"__DBL_MAX_EXP__=1024",
|
||||
"__DBL_MAX__=1.7976931348623157e+308",
|
||||
"__DBL_MIN_10_EXP__=(-307)",
|
||||
"__DBL_MIN_EXP__=(-1021)",
|
||||
"__DBL_MIN__=2.2250738585072014e-308",
|
||||
"__DECIMAL_DIG__=__LDBL_DECIMAL_DIG__",
|
||||
"__ELF__=1",
|
||||
"__ESCAPE__=",
|
||||
"__FINITE_MATH_ONLY__=1",
|
||||
"__FLT16_DECIMAL_DIG__=5",
|
||||
"__FLT16_DENORM_MIN__=5.9604644775390625e-8F16",
|
||||
"__FLT16_DIG__=3",
|
||||
"__FLT16_EPSILON__=9.765625e-4F16",
|
||||
"__FLT16_HAS_DENORM__=1",
|
||||
"__FLT16_HAS_INFINITY__=1",
|
||||
"__FLT16_HAS_QUIET_NAN__=1",
|
||||
"__FLT16_MANT_DIG__=11",
|
||||
"__FLT16_MAX_10_EXP__=4",
|
||||
"__FLT16_MAX_EXP__=16",
|
||||
"__FLT16_MAX__=6.5504e+4F16",
|
||||
"__FLT16_MIN_10_EXP__=(-4)",
|
||||
"__FLT16_MIN_EXP__=(-13)",
|
||||
"__FLT16_MIN__=6.103515625e-5F16",
|
||||
"__FLT_DECIMAL_DIG__=9",
|
||||
"__FLT_DENORM_MIN__=1.40129846e-45F",
|
||||
"__FLT_DIG__=6",
|
||||
"__FLT_EPSILON__=1.19209290e-7F",
|
||||
"__FLT_EVAL_METHOD__=0",
|
||||
"__FLT_HAS_DENORM__=1",
|
||||
"__FLT_HAS_INFINITY__=1",
|
||||
"__FLT_HAS_QUIET_NAN__=1",
|
||||
"__FLT_MANT_DIG__=24",
|
||||
"__FLT_MAX_10_EXP__=38",
|
||||
"__FLT_MAX_EXP__=128",
|
||||
"__FLT_MAX__=3.40282347e+38F",
|
||||
"__FLT_MIN_10_EXP__=(-37)",
|
||||
"__FLT_MIN_EXP__=(-125)",
|
||||
"__FLT_MIN__=1.17549435e-38F",
|
||||
"__FLT_RADIX__=2",
|
||||
"__GCC_ATOMIC_BOOL_LOCK_FREE=1",
|
||||
"__GCC_ATOMIC_CHAR16_T_LOCK_FREE=1",
|
||||
"__GCC_ATOMIC_CHAR32_T_LOCK_FREE=1",
|
||||
"__GCC_ATOMIC_CHAR_LOCK_FREE=1",
|
||||
"__GCC_ATOMIC_INT_LOCK_FREE=1",
|
||||
"__GCC_ATOMIC_LLONG_LOCK_FREE=1",
|
||||
"__GCC_ATOMIC_LONG_LOCK_FREE=1",
|
||||
"__GCC_ATOMIC_POINTER_LOCK_FREE=1",
|
||||
"__GCC_ATOMIC_SHORT_LOCK_FREE=1",
|
||||
"__GCC_ATOMIC_TEST_AND_SET_TRUEVAL=1",
|
||||
"__GCC_ATOMIC_WCHAR_T_LOCK_FREE=1",
|
||||
"__GNUC_MINOR__=2",
|
||||
"__GNUC_PATCHLEVEL__=1",
|
||||
"__GNUC_STDC_INLINE__=1",
|
||||
"__GNUC__=4",
|
||||
"__GXX_ABI_VERSION=1002",
|
||||
"__ILP32__=1",
|
||||
"__INT16_C_SUFFIX__=",
|
||||
"__INT16_FMTd__=\"hd\"",
|
||||
"__INT16_FMTi__=\"hi\"",
|
||||
"__INT16_MAX__=32767",
|
||||
"__INT16_TYPE__=short",
|
||||
"__INT32_C_SUFFIX__=",
|
||||
"__INT32_FMTd__=\"d\"",
|
||||
"__INT32_FMTi__=\"i\"",
|
||||
"__INT32_MAX__=2147483647",
|
||||
"__INT32_TYPE__=int",
|
||||
"__INT64_C_SUFFIX__=LL",
|
||||
"__INT64_FMTd__=\"lld\"",
|
||||
"__INT64_FMTi__=\"lli\"",
|
||||
"__INT64_MAX__=9223372036854775807LL",
|
||||
"__INT64_TYPE__=long long int",
|
||||
"__INT8_C_SUFFIX__=",
|
||||
"__INT8_FMTd__=\"hhd\"",
|
||||
"__INT8_FMTi__=\"hhi\"",
|
||||
"__INT8_MAX__=127",
|
||||
"__INT8_TYPE__=signed char",
|
||||
"__INTMAX_C_SUFFIX__=LL",
|
||||
"__INTMAX_FMTd__=\"lld\"",
|
||||
"__INTMAX_FMTi__=\"lli\"",
|
||||
"__INTMAX_MAX__=9223372036854775807LL",
|
||||
"__INTMAX_TYPE__=long long int",
|
||||
"__INTMAX_WIDTH__=64",
|
||||
"__INTPTR_FMTd__=\"d\"",
|
||||
"__INTPTR_FMTi__=\"i\"",
|
||||
"__INTPTR_MAX__=2147483647",
|
||||
"__INTPTR_TYPE__=int",
|
||||
"__INTPTR_WIDTH__=32",
|
||||
"__INT_FAST16_FMTd__=\"hd\"",
|
||||
"__INT_FAST16_FMTi__=\"hi\"",
|
||||
"__INT_FAST16_MAX__=32767",
|
||||
"__INT_FAST16_TYPE__=short",
|
||||
"__INT_FAST32_FMTd__=\"d\"",
|
||||
"__INT_FAST32_FMTi__=\"i\"",
|
||||
"__INT_FAST32_MAX__=2147483647",
|
||||
"__INT_FAST32_TYPE__=int",
|
||||
"__INT_FAST64_FMTd__=\"lld\"",
|
||||
"__INT_FAST64_FMTi__=\"lli\"",
|
||||
"__INT_FAST64_MAX__=9223372036854775807LL",
|
||||
"__INT_FAST64_TYPE__=long long int",
|
||||
"__INT_FAST8_FMTd__=\"hhd\"",
|
||||
"__INT_FAST8_FMTi__=\"hhi\"",
|
||||
"__INT_FAST8_MAX__=127",
|
||||
"__INT_FAST8_TYPE__=signed char",
|
||||
"__INT_LEAST16_FMTd__=\"hd\"",
|
||||
"__INT_LEAST16_FMTi__=\"hi\"",
|
||||
"__INT_LEAST16_MAX__=32767",
|
||||
"__INT_LEAST16_TYPE__=short",
|
||||
"__INT_LEAST32_FMTd__=\"d\"",
|
||||
"__INT_LEAST32_FMTi__=\"i\"",
|
||||
"__INT_LEAST32_MAX__=2147483647",
|
||||
"__INT_LEAST32_TYPE__=int",
|
||||
"__INT_LEAST64_FMTd__=\"lld\"",
|
||||
"__INT_LEAST64_FMTi__=\"lli\"",
|
||||
"__INT_LEAST64_MAX__=9223372036854775807LL",
|
||||
"__INT_LEAST64_TYPE__=long long int",
|
||||
"__INT_LEAST8_FMTd__=\"hhd\"",
|
||||
"__INT_LEAST8_FMTi__=\"hhi\"",
|
||||
"__INT_LEAST8_MAX__=127",
|
||||
"__INT_LEAST8_TYPE__=signed char",
|
||||
"__INT_MAX__=2147483647",
|
||||
"__I__=1.0if",
|
||||
"__LDBL_DECIMAL_DIG__=17",
|
||||
"__LDBL_DENORM_MIN__=4.9406564584124654e-324L",
|
||||
"__LDBL_DIG__=15",
|
||||
"__LDBL_EPSILON__=2.2204460492503131e-16L",
|
||||
"__LDBL_HAS_DENORM__=1",
|
||||
"__LDBL_HAS_INFINITY__=1",
|
||||
"__LDBL_HAS_QUIET_NAN__=1",
|
||||
"__LDBL_MANT_DIG__=53",
|
||||
"__LDBL_MAX_10_EXP__=308",
|
||||
"__LDBL_MAX_EXP__=1024",
|
||||
"__LDBL_MAX__=1.7976931348623157e+308L",
|
||||
"__LDBL_MIN_10_EXP__=(-307)",
|
||||
"__LDBL_MIN_EXP__=(-1021)",
|
||||
"__LDBL_MIN__=2.2250738585072014e-308L",
|
||||
"__LITTLE_ENDIAN__=1",
|
||||
"__LONG_LONG_MAX__=9223372036854775807LL",
|
||||
"__LONG_MAX__=2147483647L",
|
||||
"__NO_INLINE__=1",
|
||||
"__OBJC_BOOL_IS_BOOL=0",
|
||||
"__OPENCL_MEMORY_SCOPE_ALL_SVM_DEVICES=3",
|
||||
"__OPENCL_MEMORY_SCOPE_DEVICE=2",
|
||||
"__OPENCL_MEMORY_SCOPE_SUB_GROUP=4",
|
||||
"__OPENCL_MEMORY_SCOPE_WORK_GROUP=1",
|
||||
"__OPENCL_MEMORY_SCOPE_WORK_ITEM=0",
|
||||
"__ORDER_BIG_ENDIAN__=4321",
|
||||
"__ORDER_LITTLE_ENDIAN__=1234",
|
||||
"__ORDER_PDP_ENDIAN__=3412",
|
||||
"__POINTER_WIDTH__=32",
|
||||
"__PRAGMA_REDEFINE_EXTNAME=1",
|
||||
"__PTRDIFF_FMTd__=\"d\"",
|
||||
"__PTRDIFF_FMTi__=\"i\"",
|
||||
"__PTRDIFF_MAX__=2147483647",
|
||||
"__PTRDIFF_TYPE__=int",
|
||||
"__PTRDIFF_WIDTH__=32",
|
||||
"__REGISTER_PREFIX__=",
|
||||
"__SCHAR_MAX__=127",
|
||||
"__SHRT_MAX__=32767",
|
||||
"__SIG_ATOMIC_MAX__=2147483647",
|
||||
"__SIG_ATOMIC_WIDTH__=32",
|
||||
"__SIZEOF_DOUBLE__=8",
|
||||
"__SIZEOF_FLOAT__=4",
|
||||
"__SIZEOF_INT__=4",
|
||||
"__SIZEOF_LONG_DOUBLE__=8",
|
||||
"__SIZEOF_LONG_LONG__=8",
|
||||
"__SIZEOF_LONG__=4",
|
||||
"__SIZEOF_POINTER__=4",
|
||||
"__SIZEOF_PTRDIFF_T__=4",
|
||||
"__SIZEOF_SHORT__=2",
|
||||
"__SIZEOF_SIZE_T__=4",
|
||||
"__SIZEOF_WCHAR_T__=4",
|
||||
"__SIZEOF_WINT_T__=4",
|
||||
"__SIZE_FMTX__=\"X\"",
|
||||
"__SIZE_FMTo__=\"o\"",
|
||||
"__SIZE_FMTu__=\"u\"",
|
||||
"__SIZE_FMTx__=\"x\"",
|
||||
"__SIZE_MAX__=4294967295U",
|
||||
"__SIZE_TYPE__=unsigned int",
|
||||
"__SIZE_WIDTH__=32",
|
||||
"__STDC_HOSTED__=1",
|
||||
"__STDC_UTF_16__=1",
|
||||
"__STDC_UTF_32__=1",
|
||||
"__STDC_VERSION__=201710L",
|
||||
"__STDC__=1",
|
||||
"__UINT16_C_SUFFIX__=",
|
||||
"__UINT16_FMTX__=\"hX\"",
|
||||
"__UINT16_FMTo__=\"ho\"",
|
||||
"__UINT16_FMTu__=\"hu\"",
|
||||
"__UINT16_FMTx__=\"hx\"",
|
||||
"__UINT16_MAX__=65535",
|
||||
"__UINT16_TYPE__=unsigned short",
|
||||
"__UINT32_C_SUFFIX__=U",
|
||||
"__UINT32_FMTX__=\"X\"",
|
||||
"__UINT32_FMTo__=\"o\"",
|
||||
"__UINT32_FMTu__=\"u\"",
|
||||
"__UINT32_FMTx__=\"x\"",
|
||||
"__UINT32_MAX__=4294967295U",
|
||||
"__UINT32_TYPE__=unsigned int",
|
||||
"__UINT64_C_SUFFIX__=ULL",
|
||||
"__UINT64_FMTX__=\"llX\"",
|
||||
"__UINT64_FMTo__=\"llo\"",
|
||||
"__UINT64_FMTu__=\"llu\"",
|
||||
"__UINT64_FMTx__=\"llx\"",
|
||||
"__UINT64_MAX__=18446744073709551615ULL",
|
||||
"__UINT64_TYPE__=long long unsigned int",
|
||||
"__UINT8_C_SUFFIX__=",
|
||||
"__UINT8_FMTX__=\"hhX\"",
|
||||
"__UINT8_FMTo__=\"hho\"",
|
||||
"__UINT8_FMTu__=\"hhu\"",
|
||||
"__UINT8_FMTx__=\"hhx\"",
|
||||
"__UINT8_MAX__=255",
|
||||
"__UINT8_TYPE__=unsigned char",
|
||||
"__UINTMAX_C_SUFFIX__=ULL",
|
||||
"__UINTMAX_FMTX__=\"llX\"",
|
||||
"__UINTMAX_FMTo__=\"llo\"",
|
||||
"__UINTMAX_FMTu__=\"llu\"",
|
||||
"__UINTMAX_FMTx__=\"llx\"",
|
||||
"__UINTMAX_MAX__=18446744073709551615ULL",
|
||||
"__UINTMAX_TYPE__=long long unsigned int",
|
||||
"__UINTMAX_WIDTH__=64",
|
||||
"__UINTPTR_FMTX__=\"X\"",
|
||||
"__UINTPTR_FMTo__=\"o\"",
|
||||
"__UINTPTR_FMTu__=\"u\"",
|
||||
"__UINTPTR_FMTx__=\"x\"",
|
||||
"__UINTPTR_MAX__=4294967295U",
|
||||
"__UINTPTR_TYPE__=unsigned int",
|
||||
"__UINTPTR_WIDTH__=32",
|
||||
"__UINT_FAST16_FMTX__=\"hX\"",
|
||||
"__UINT_FAST16_FMTo__=\"ho\"",
|
||||
"__UINT_FAST16_FMTu__=\"hu\"",
|
||||
"__UINT_FAST16_FMTx__=\"hx\"",
|
||||
"__UINT_FAST16_MAX__=65535",
|
||||
"__UINT_FAST16_TYPE__=unsigned short",
|
||||
"__UINT_FAST32_FMTX__=\"X\"",
|
||||
"__UINT_FAST32_FMTo__=\"o\"",
|
||||
"__UINT_FAST32_FMTu__=\"u\"",
|
||||
"__UINT_FAST32_FMTx__=\"x\"",
|
||||
"__UINT_FAST32_MAX__=4294967295U",
|
||||
"__UINT_FAST32_TYPE__=unsigned int",
|
||||
"__UINT_FAST64_FMTX__=\"llX\"",
|
||||
"__UINT_FAST64_FMTo__=\"llo\"",
|
||||
"__UINT_FAST64_FMTu__=\"llu\"",
|
||||
"__UINT_FAST64_FMTx__=\"llx\"",
|
||||
"__UINT_FAST64_MAX__=18446744073709551615ULL",
|
||||
"__UINT_FAST64_TYPE__=long long unsigned int",
|
||||
"__UINT_FAST8_FMTX__=\"hhX\"",
|
||||
"__UINT_FAST8_FMTo__=\"hho\"",
|
||||
"__UINT_FAST8_FMTu__=\"hhu\"",
|
||||
"__UINT_FAST8_FMTx__=\"hhx\"",
|
||||
"__UINT_FAST8_MAX__=255",
|
||||
"__UINT_FAST8_TYPE__=unsigned char",
|
||||
"__UINT_LEAST16_FMTX__=\"hX\"",
|
||||
"__UINT_LEAST16_FMTo__=\"ho\"",
|
||||
"__UINT_LEAST16_FMTu__=\"hu\"",
|
||||
"__UINT_LEAST16_FMTx__=\"hx\"",
|
||||
"__UINT_LEAST16_MAX__=65535",
|
||||
"__UINT_LEAST16_TYPE__=unsigned short",
|
||||
"__UINT_LEAST32_FMTX__=\"X\"",
|
||||
"__UINT_LEAST32_FMTo__=\"o\"",
|
||||
"__UINT_LEAST32_FMTu__=\"u\"",
|
||||
"__UINT_LEAST32_FMTx__=\"x\"",
|
||||
"__UINT_LEAST32_MAX__=4294967295U",
|
||||
"__UINT_LEAST32_TYPE__=unsigned int",
|
||||
"__UINT_LEAST64_FMTX__=\"llX\"",
|
||||
"__UINT_LEAST64_FMTo__=\"llo\"",
|
||||
"__UINT_LEAST64_FMTu__=\"llu\"",
|
||||
"__UINT_LEAST64_FMTx__=\"llx\"",
|
||||
"__UINT_LEAST64_MAX__=18446744073709551615ULL",
|
||||
"__UINT_LEAST64_TYPE__=long long unsigned int",
|
||||
"__UINT_LEAST8_FMTX__=\"hhX\"",
|
||||
"__UINT_LEAST8_FMTo__=\"hho\"",
|
||||
"__UINT_LEAST8_FMTu__=\"hhu\"",
|
||||
"__UINT_LEAST8_FMTx__=\"hhx\"",
|
||||
"__UINT_LEAST8_MAX__=255",
|
||||
"__UINT_LEAST8_TYPE__=unsigned char",
|
||||
"__USER_LABEL_PREFIX__=",
|
||||
"__VERSION__=\"Clang 13.0.0 (ssh://ds-gerrit/armcompiler/llvm-project 1f5770d6f72ee4eba2159092bbf4cbb819be323a)\"",
|
||||
"__WCHAR_MAX__=4294967295U",
|
||||
"__WCHAR_TYPE__=unsigned int",
|
||||
"__WCHAR_UNSIGNED__=1",
|
||||
"__WCHAR_WIDTH__=32",
|
||||
"__WINT_MAX__=2147483647",
|
||||
"__WINT_TYPE__=int",
|
||||
"__WINT_WIDTH__=32",
|
||||
"__arm=1",
|
||||
"__arm__=1",
|
||||
"__clang__=1",
|
||||
"__clang_major__=13",
|
||||
"__clang_minor__=0",
|
||||
"__clang_patchlevel__=0",
|
||||
"__clang_version__=\"13.0.0 (ssh://ds-gerrit/armcompiler/llvm-project 1f5770d6f72ee4eba2159092bbf4cbb819be323a)\"",
|
||||
"__llvm__=1"
|
||||
],
|
||||
"intelliSenseMode": "${default}"
|
||||
}
|
||||
|
||||
6
MDK-ARM/.vscode/keil-assistant.log
vendored
6
MDK-ARM/.vscode/keil-assistant.log
vendored
@ -8,3 +8,9 @@
|
||||
|
||||
[info] Log at : 2025/10/12|20:17:36|GMT+0800
|
||||
|
||||
[info] Log at : 2025/12/15|23:05:39|GMT+0800
|
||||
|
||||
[info] Log at : 2025/12/15|23:05:45|GMT+0800
|
||||
|
||||
[info] Log at : 2026/1/2|23:22:22|GMT+0800
|
||||
|
||||
|
||||
31
MDK-ARM/.vscode/uv4.log
vendored
31
MDK-ARM/.vscode/uv4.log
vendored
@ -1,31 +0,0 @@
|
||||
*** Using Compiler 'V5.06 update 7 (build 960)', folder: 'D:\KEIL_MDK\ARM\ARMCC\Bin'
|
||||
Build target 'gimbal'
|
||||
Note: source file '..\User\bsp\can.c' - object file renamed from 'gimbal\can.o' to 'gimbal\can_1.o'.Note: source file '..\User\bsp\gpio.c' - object file renamed from 'gimbal\gpio.o' to 'gimbal\gpio_1.o'.Note: source file '..\User\bsp\i2c.c' - object file renamed from 'gimbal\i2c.o' to 'gimbal\i2c_1.o'.Note: source file '..\User\bsp\spi.c' - object file renamed from 'gimbal\spi.o' to 'gimbal\spi_1.o'.compiling gimbal.c...
|
||||
../User/component/user_math.h(179): warning: #1-D: last line of file ends without a newline
|
||||
/* USER FUNCTION END */
|
||||
../User/bsp/can.h(255): warning: #1-D: last line of file ends without a newline
|
||||
#endif
|
||||
../User/device/motor_rm.h(132): warning: #1-D: last line of file ends without a newline
|
||||
#endif
|
||||
../User/bsp/time.h(24): warning: #1295-D: Deprecated declaration BSP_TIME_Get_ms - give arg types
|
||||
uint32_t BSP_TIME_Get_ms();
|
||||
../User/bsp/time.h(26): warning: #1295-D: Deprecated declaration BSP_TIME_Get_us - give arg types
|
||||
uint64_t BSP_TIME_Get_us();
|
||||
../User/bsp/time.h(28): warning: #1295-D: Deprecated declaration BSP_TIME_Get - give arg types
|
||||
uint64_t BSP_TIME_Get();
|
||||
..\User\module\gimbal.c(141): warning: #940-D: missing return statement at end of non-void function "Gimbal_UpdateIMU"
|
||||
}
|
||||
..\User\module\gimbal.c(239): warning: #111-D: statement is unreachable
|
||||
g->out.yaw = LowPassFilter2p_Apply(&g->filter_out.yaw, g->out.yaw);
|
||||
..\User\module\gimbal.c(244): warning: #940-D: missing return statement at end of non-void function "Gimbal_Control"
|
||||
}
|
||||
..\User\module\gimbal.c(257): warning: #1035-D: single-precision operand implicitly converted to double-precision
|
||||
output.torque = g->out.yaw * 2.5;
|
||||
..\User\module\gimbal.c(256): warning: #550-D: variable "output" was set but never used
|
||||
MOTOR_MIT_Output_t output = {0};
|
||||
..\User\module\gimbal.c: 11 warnings, 0 errors
|
||||
linking...
|
||||
Program Size: Code=46272 RO-data=944 RW-data=384 ZI-data=31544
|
||||
FromELF: creating hex file...
|
||||
"gimbal\gimbal.axf" - 0 Error(s), 11 Warning(s).
|
||||
Build Time Elapsed: 00:00:05
|
||||
2
MDK-ARM/.vscode/uv4.log.lock
vendored
2
MDK-ARM/.vscode/uv4.log.lock
vendored
@ -1 +1 @@
|
||||
2025/10/2 22:09:13
|
||||
2025/12/15 23:05:57
|
||||
File diff suppressed because one or more lines are too long
@ -120,7 +120,7 @@
|
||||
<SetRegEntry>
|
||||
<Number>0</Number>
|
||||
<Key>CMSIS_AGDI</Key>
|
||||
<Name>-X"Any" -UAny -O206 -S8 -C0 -P00000000 -N00("ARM CoreSight SW-DP") -D00(2BA01477) -L00(0) -TO65554 -TC10000000 -TT10000000 -TP20 -TDS8007 -TDT0 -TDC1F -TIEFFFFFFFF -TIP8 -FO7 -FD20000000 -FC1000 -FN1 -FF0STM32F4xx_1024.FLM -FS08000000 -FL0100000 -FP0($$Device:STM32F407IGHx$CMSIS\Flash\STM32F4xx_1024.FLM)</Name>
|
||||
<Name>-X"Any" -UAny -O206 -S8 -C0 -P00000000 -N00("ARM CoreSight SW-DP") -D00(2BA01477) -L00(0) -TO65554 -TC10000000 -TT10000000 -TP20 -TDS8007 -TDT0 -TDC1F -TIEFFFFFFFF -TIP8 -FO15 -FD20000000 -FC1000 -FN1 -FF0STM32F4xx_1024.FLM -FS08000000 -FL0100000 -FP0($$Device:STM32F407IGHx$CMSIS\Flash\STM32F4xx_1024.FLM)</Name>
|
||||
</SetRegEntry>
|
||||
<SetRegEntry>
|
||||
<Number>0</Number>
|
||||
@ -158,32 +158,77 @@
|
||||
<Ww>
|
||||
<count>0</count>
|
||||
<WinNumber>1</WinNumber>
|
||||
<ItemText>gimbal_imu</ItemText>
|
||||
<ItemText>gimbal,0x0A</ItemText>
|
||||
</Ww>
|
||||
<Ww>
|
||||
<count>1</count>
|
||||
<WinNumber>1</WinNumber>
|
||||
<ItemText>gimbal,0x0A</ItemText>
|
||||
<ItemText>rc_ctrl,0x0A</ItemText>
|
||||
</Ww>
|
||||
<Ww>
|
||||
<count>2</count>
|
||||
<WinNumber>1</WinNumber>
|
||||
<ItemText>remote_cmd</ItemText>
|
||||
<ItemText>ai,0x10</ItemText>
|
||||
</Ww>
|
||||
<Ww>
|
||||
<count>3</count>
|
||||
<WinNumber>1</WinNumber>
|
||||
<ItemText>rc_ctrl,0x0A</ItemText>
|
||||
<ItemText>ai_cmd</ItemText>
|
||||
</Ww>
|
||||
<Ww>
|
||||
<count>4</count>
|
||||
<WinNumber>1</WinNumber>
|
||||
<ItemText>j1</ItemText>
|
||||
<ItemText>ai_g_cmd</ItemText>
|
||||
</Ww>
|
||||
<Ww>
|
||||
<count>5</count>
|
||||
<WinNumber>1</WinNumber>
|
||||
<ItemText>j2</ItemText>
|
||||
<ItemText>ai_cmd</ItemText>
|
||||
</Ww>
|
||||
<Ww>
|
||||
<count>6</count>
|
||||
<WinNumber>1</WinNumber>
|
||||
<ItemText>shoot_cmd,0x0A</ItemText>
|
||||
</Ww>
|
||||
<Ww>
|
||||
<count>7</count>
|
||||
<WinNumber>1</WinNumber>
|
||||
<ItemText>shoot_rc_cmd</ItemText>
|
||||
</Ww>
|
||||
<Ww>
|
||||
<count>8</count>
|
||||
<WinNumber>1</WinNumber>
|
||||
<ItemText>shoot</ItemText>
|
||||
</Ww>
|
||||
<Ww>
|
||||
<count>9</count>
|
||||
<WinNumber>1</WinNumber>
|
||||
<ItemText>R_mode</ItemText>
|
||||
</Ww>
|
||||
<Ww>
|
||||
<count>10</count>
|
||||
<WinNumber>1</WinNumber>
|
||||
<ItemText>s_mode</ItemText>
|
||||
</Ww>
|
||||
<Ww>
|
||||
<count>11</count>
|
||||
<WinNumber>1</WinNumber>
|
||||
<ItemText>jiaozhun</ItemText>
|
||||
</Ww>
|
||||
<Ww>
|
||||
<count>12</count>
|
||||
<WinNumber>1</WinNumber>
|
||||
<ItemText>cali_bmi088</ItemText>
|
||||
</Ww>
|
||||
<Ww>
|
||||
<count>13</count>
|
||||
<WinNumber>1</WinNumber>
|
||||
<ItemText>gimbal_cmd</ItemText>
|
||||
</Ww>
|
||||
<Ww>
|
||||
<count>14</count>
|
||||
<WinNumber>1</WinNumber>
|
||||
<ItemText>gimbal_imu</ItemText>
|
||||
</Ww>
|
||||
</WatchWindow1>
|
||||
<Tracepoint>
|
||||
@ -260,7 +305,7 @@
|
||||
|
||||
<Group>
|
||||
<GroupName>Application/User/Core</GroupName>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExp>1</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<cbSel>0</cbSel>
|
||||
<RteFlg>0</RteFlg>
|
||||
@ -796,7 +841,7 @@
|
||||
|
||||
<Group>
|
||||
<GroupName>bsp</GroupName>
|
||||
<tvExp>1</tvExp>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<cbSel>0</cbSel>
|
||||
<RteFlg>0</RteFlg>
|
||||
@ -896,6 +941,18 @@
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>6</GroupNumber>
|
||||
<FileNumber>52</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\User\bsp\dwt.c</PathWithFileName>
|
||||
<FilenameWithoutPath>dwt.c</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
</Group>
|
||||
|
||||
<Group>
|
||||
@ -906,7 +963,7 @@
|
||||
<RteFlg>0</RteFlg>
|
||||
<File>
|
||||
<GroupNumber>7</GroupNumber>
|
||||
<FileNumber>52</FileNumber>
|
||||
<FileNumber>53</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
@ -918,7 +975,7 @@
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>7</GroupNumber>
|
||||
<FileNumber>53</FileNumber>
|
||||
<FileNumber>54</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
@ -930,7 +987,7 @@
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>7</GroupNumber>
|
||||
<FileNumber>54</FileNumber>
|
||||
<FileNumber>55</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
@ -942,7 +999,7 @@
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>7</GroupNumber>
|
||||
<FileNumber>55</FileNumber>
|
||||
<FileNumber>56</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
@ -954,7 +1011,7 @@
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>7</GroupNumber>
|
||||
<FileNumber>56</FileNumber>
|
||||
<FileNumber>57</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
@ -966,7 +1023,7 @@
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>7</GroupNumber>
|
||||
<FileNumber>57</FileNumber>
|
||||
<FileNumber>58</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
@ -978,7 +1035,7 @@
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>7</GroupNumber>
|
||||
<FileNumber>58</FileNumber>
|
||||
<FileNumber>59</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
@ -990,7 +1047,7 @@
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>7</GroupNumber>
|
||||
<FileNumber>59</FileNumber>
|
||||
<FileNumber>60</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
@ -1002,7 +1059,7 @@
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>7</GroupNumber>
|
||||
<FileNumber>60</FileNumber>
|
||||
<FileNumber>61</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
@ -1014,7 +1071,7 @@
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>7</GroupNumber>
|
||||
<FileNumber>61</FileNumber>
|
||||
<FileNumber>62</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
@ -1026,7 +1083,7 @@
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>7</GroupNumber>
|
||||
<FileNumber>62</FileNumber>
|
||||
<FileNumber>63</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
@ -1038,7 +1095,7 @@
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>7</GroupNumber>
|
||||
<FileNumber>63</FileNumber>
|
||||
<FileNumber>64</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
@ -1050,7 +1107,7 @@
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>7</GroupNumber>
|
||||
<FileNumber>64</FileNumber>
|
||||
<FileNumber>65</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
@ -1062,7 +1119,7 @@
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>7</GroupNumber>
|
||||
<FileNumber>65</FileNumber>
|
||||
<FileNumber>66</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
@ -1082,7 +1139,7 @@
|
||||
<RteFlg>0</RteFlg>
|
||||
<File>
|
||||
<GroupNumber>8</GroupNumber>
|
||||
<FileNumber>66</FileNumber>
|
||||
<FileNumber>67</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
@ -1094,7 +1151,7 @@
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>8</GroupNumber>
|
||||
<FileNumber>67</FileNumber>
|
||||
<FileNumber>68</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
@ -1106,7 +1163,7 @@
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>8</GroupNumber>
|
||||
<FileNumber>68</FileNumber>
|
||||
<FileNumber>69</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
@ -1118,7 +1175,7 @@
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>8</GroupNumber>
|
||||
<FileNumber>69</FileNumber>
|
||||
<FileNumber>70</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
@ -1130,7 +1187,7 @@
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>8</GroupNumber>
|
||||
<FileNumber>70</FileNumber>
|
||||
<FileNumber>71</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
@ -1142,7 +1199,7 @@
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>8</GroupNumber>
|
||||
<FileNumber>71</FileNumber>
|
||||
<FileNumber>72</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
@ -1154,7 +1211,7 @@
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>8</GroupNumber>
|
||||
<FileNumber>72</FileNumber>
|
||||
<FileNumber>73</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
@ -1166,7 +1223,7 @@
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>8</GroupNumber>
|
||||
<FileNumber>73</FileNumber>
|
||||
<FileNumber>74</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
@ -1186,7 +1243,7 @@
|
||||
<RteFlg>0</RteFlg>
|
||||
<File>
|
||||
<GroupNumber>9</GroupNumber>
|
||||
<FileNumber>74</FileNumber>
|
||||
<FileNumber>75</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
@ -1198,7 +1255,7 @@
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>9</GroupNumber>
|
||||
<FileNumber>75</FileNumber>
|
||||
<FileNumber>76</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
@ -1210,7 +1267,7 @@
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>9</GroupNumber>
|
||||
<FileNumber>76</FileNumber>
|
||||
<FileNumber>77</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
@ -1222,7 +1279,7 @@
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>9</GroupNumber>
|
||||
<FileNumber>77</FileNumber>
|
||||
<FileNumber>78</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
@ -1234,7 +1291,7 @@
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>9</GroupNumber>
|
||||
<FileNumber>78</FileNumber>
|
||||
<FileNumber>79</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
@ -1244,6 +1301,30 @@
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>9</GroupNumber>
|
||||
<FileNumber>80</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\User\task\shoot_ctrl.c</PathWithFileName>
|
||||
<FilenameWithoutPath>shoot_ctrl.c</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>9</GroupNumber>
|
||||
<FileNumber>81</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\User\task\ai.c</PathWithFileName>
|
||||
<FilenameWithoutPath>ai.c</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
</Group>
|
||||
|
||||
<Group>
|
||||
@ -1254,7 +1335,31 @@
|
||||
<RteFlg>0</RteFlg>
|
||||
<File>
|
||||
<GroupNumber>10</GroupNumber>
|
||||
<FileNumber>79</FileNumber>
|
||||
<FileNumber>82</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\User\module\config.c</PathWithFileName>
|
||||
<FilenameWithoutPath>config.c</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>10</GroupNumber>
|
||||
<FileNumber>83</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\User\module\shoot.c</PathWithFileName>
|
||||
<FilenameWithoutPath>shoot.c</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>10</GroupNumber>
|
||||
<FileNumber>84</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
@ -1266,13 +1371,13 @@
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>10</GroupNumber>
|
||||
<FileNumber>80</FileNumber>
|
||||
<FileNumber>85</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\User\module\config.c</PathWithFileName>
|
||||
<FilenameWithoutPath>config.c</FilenameWithoutPath>
|
||||
<PathWithFileName>..\User\module\remote_cmd.c</PathWithFileName>
|
||||
<FilenameWithoutPath>remote_cmd.c</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
|
||||
@ -82,7 +82,7 @@
|
||||
</BeforeMake>
|
||||
<AfterMake>
|
||||
<RunUserProg1>0</RunUserProg1>
|
||||
<RunUserProg2>0</RunUserProg2>
|
||||
<RunUserProg2>1</RunUserProg2>
|
||||
<UserProg1Name></UserProg1Name>
|
||||
<UserProg2Name></UserProg2Name>
|
||||
<UserProg1Dos16Mode>0</UserProg1Dos16Mode>
|
||||
@ -358,7 +358,7 @@
|
||||
<MiscControls></MiscControls>
|
||||
<Define></Define>
|
||||
<Undefine></Undefine>
|
||||
<IncludePath>../Core/Inc</IncludePath>
|
||||
<IncludePath>../Core/Inc;../Drivers/CMSIS/Include</IncludePath>
|
||||
</VariousControls>
|
||||
</Aads>
|
||||
<LDads>
|
||||
@ -1906,6 +1906,11 @@
|
||||
<FileType>1</FileType>
|
||||
<FilePath>..\User\bsp\uart.c</FilePath>
|
||||
</File>
|
||||
<File>
|
||||
<FileName>dwt.c</FileName>
|
||||
<FileType>1</FileType>
|
||||
<FilePath>..\User\bsp\dwt.c</FilePath>
|
||||
</File>
|
||||
</Files>
|
||||
</Group>
|
||||
<Group>
|
||||
@ -2056,20 +2061,40 @@
|
||||
<FileType>1</FileType>
|
||||
<FilePath>..\User\task\gimbal_ctrl.c</FilePath>
|
||||
</File>
|
||||
<File>
|
||||
<FileName>shoot_ctrl.c</FileName>
|
||||
<FileType>1</FileType>
|
||||
<FilePath>..\User\task\shoot_ctrl.c</FilePath>
|
||||
</File>
|
||||
<File>
|
||||
<FileName>ai.c</FileName>
|
||||
<FileType>1</FileType>
|
||||
<FilePath>..\User\task\ai.c</FilePath>
|
||||
</File>
|
||||
</Files>
|
||||
</Group>
|
||||
<Group>
|
||||
<GroupName>modele</GroupName>
|
||||
<Files>
|
||||
<File>
|
||||
<FileName>config.c</FileName>
|
||||
<FileType>1</FileType>
|
||||
<FilePath>..\User\module\config.c</FilePath>
|
||||
</File>
|
||||
<File>
|
||||
<FileName>shoot.c</FileName>
|
||||
<FileType>1</FileType>
|
||||
<FilePath>..\User\module\shoot.c</FilePath>
|
||||
</File>
|
||||
<File>
|
||||
<FileName>gimbal.c</FileName>
|
||||
<FileType>1</FileType>
|
||||
<FilePath>..\User\module\gimbal.c</FilePath>
|
||||
</File>
|
||||
<File>
|
||||
<FileName>config.c</FileName>
|
||||
<FileName>remote_cmd.c</FileName>
|
||||
<FileType>1</FileType>
|
||||
<FilePath>..\User\module\config.c</FilePath>
|
||||
<FilePath>..\User\module\remote_cmd.c</FilePath>
|
||||
</File>
|
||||
</Files>
|
||||
</Group>
|
||||
|
||||
Binary file not shown.
@ -54,8 +54,5 @@ gimbal/ai.o: ..\User\device\ai.c ..\User\device\ai.h \
|
||||
..\Middlewares\Third_Party\FreeRTOS\Source\include\task.h \
|
||||
..\Middlewares\Third_Party\FreeRTOS\Source\include\list.h \
|
||||
..\Middlewares\Third_Party\FreeRTOS\Source\CMSIS_RTOS_V2\cmsis_os2.h \
|
||||
..\User\device\motor_rm.h ..\User\device\motor.h \
|
||||
..\User\device\remote_control.h ..\User\module\struct_typedef.h \
|
||||
..\User\component\bsp_rc.h \
|
||||
D:\Keil_v5\ARM\ARMCLANG\Bin\..\include\string.h ..\User\bsp\uart.h \
|
||||
..\Core\Inc\usart.h ..\User\component\crc16.h ..\User\component\crc8.h
|
||||
..\User\device\motor_rm.h ..\User\device\motor.h ..\User\bsp\uart.h \
|
||||
..\Core\Inc\usart.h ..\User\component\crc16.h
|
||||
|
||||
Binary file not shown.
58
MDK-ARM/gimbal/ai_1.d
Normal file
58
MDK-ARM/gimbal/ai_1.d
Normal file
@ -0,0 +1,58 @@
|
||||
gimbal/ai_1.o: ..\User\task\ai.c ..\User\task\user_task.h \
|
||||
..\Middlewares\Third_Party\FreeRTOS\Source\CMSIS_RTOS_V2\cmsis_os2.h \
|
||||
D:\Keil_v5\ARM\ARMCLANG\Bin\..\include\stdint.h \
|
||||
D:\Keil_v5\ARM\ARMCLANG\Bin\..\include\stddef.h \
|
||||
..\Middlewares\Third_Party\FreeRTOS\Source\include\FreeRTOS.h \
|
||||
..\Core\Inc\FreeRTOSConfig.h \
|
||||
..\Middlewares\Third_Party\FreeRTOS\Source\include\projdefs.h \
|
||||
..\Middlewares\Third_Party\FreeRTOS\Source\include\portable.h \
|
||||
..\Middlewares\Third_Party\FreeRTOS\Source\include\deprecated_definitions.h \
|
||||
..\Middlewares\Third_Party\FreeRTOS\Source\portable\RVDS\ARM_CM4F\portmacro.h \
|
||||
..\Middlewares\Third_Party\FreeRTOS\Source\include\mpu_wrappers.h \
|
||||
..\Middlewares\Third_Party\FreeRTOS\Source\include\task.h \
|
||||
..\Middlewares\Third_Party\FreeRTOS\Source\include\list.h \
|
||||
..\User\device\ai.h ..\User\component\user_math.h \
|
||||
D:\Keil_v5\ARM\ARMCLANG\Bin\..\include\float.h \
|
||||
D:\Keil_v5\ARM\ARMCLANG\Bin\..\include\math.h \
|
||||
D:\Keil_v5\ARM\ARMCLANG\Bin\..\include\stdbool.h \
|
||||
..\User\module\gimbal.h ..\User\component\ahrs.h \
|
||||
..\User\component\user_math.h ..\User\component\filter.h \
|
||||
..\User\component\pid.h ..\User\component\filter.h \
|
||||
..\User\device\motor.h ..\User\device\device.h \
|
||||
..\User\device\motor_dm.h ..\User\bsp\can.h ..\Core\Inc\can.h \
|
||||
..\Core\Inc\main.h ..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal.h \
|
||||
..\Core\Inc\stm32f4xx_hal_conf.h \
|
||||
..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_rcc.h \
|
||||
..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_def.h \
|
||||
..\Drivers\CMSIS\Device\ST\STM32F4xx\Include\stm32f4xx.h \
|
||||
..\Drivers\CMSIS\Device\ST\STM32F4xx\Include\stm32f407xx.h \
|
||||
..\Drivers\CMSIS\Include\core_cm4.h \
|
||||
..\Drivers\CMSIS\Include\cmsis_version.h \
|
||||
..\Drivers\CMSIS\Include\cmsis_compiler.h \
|
||||
..\Drivers\CMSIS\Include\cmsis_armclang.h \
|
||||
..\Drivers\CMSIS\Include\mpu_armv7.h \
|
||||
..\Drivers\CMSIS\Device\ST\STM32F4xx\Include\system_stm32f4xx.h \
|
||||
..\Drivers\STM32F4xx_HAL_Driver\Inc\Legacy\stm32_hal_legacy.h \
|
||||
..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_rcc_ex.h \
|
||||
..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_gpio.h \
|
||||
..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_gpio_ex.h \
|
||||
..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_exti.h \
|
||||
..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_dma.h \
|
||||
..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_dma_ex.h \
|
||||
..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_cortex.h \
|
||||
..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_can.h \
|
||||
..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_flash.h \
|
||||
..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_flash_ex.h \
|
||||
..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_flash_ramfunc.h \
|
||||
..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_i2c.h \
|
||||
..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_i2c_ex.h \
|
||||
..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_pwr.h \
|
||||
..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_pwr_ex.h \
|
||||
..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_spi.h \
|
||||
..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_tim.h \
|
||||
..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_tim_ex.h \
|
||||
..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_uart.h \
|
||||
..\User\bsp\bsp.h ..\User\bsp\mm.h \
|
||||
..\Middlewares\Third_Party\FreeRTOS\Source\CMSIS_RTOS_V2\cmsis_os.h \
|
||||
..\Middlewares\Third_Party\FreeRTOS\Source\CMSIS_RTOS_V2\cmsis_os2.h \
|
||||
..\User\device\motor_rm.h ..\User\device\motor.h
|
||||
BIN
MDK-ARM/gimbal/ai_1.o
Normal file
BIN
MDK-ARM/gimbal/ai_1.o
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -55,4 +55,5 @@ gimbal/config.o: ..\User\module\config.c ..\User\component\user_math.h \
|
||||
..\User\component\ahrs.h ..\User\component\user_math.h \
|
||||
..\User\component\filter.h ..\User\component\pid.h \
|
||||
..\User\component\filter.h ..\User\device\motor_dm.h \
|
||||
..\User\device\motor_rm.h ..\User\device\motor.h
|
||||
..\User\device\motor_rm.h ..\User\device\motor.h \
|
||||
..\User\module\shoot.h ..\Core\Inc\main.h
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
35
MDK-ARM/gimbal/dwt.d
Normal file
35
MDK-ARM/gimbal/dwt.d
Normal file
@ -0,0 +1,35 @@
|
||||
gimbal/dwt.o: ..\User\bsp\dwt.c ..\User\bsp\dwt.h ..\Core\Inc\main.h \
|
||||
..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal.h \
|
||||
..\Core\Inc\stm32f4xx_hal_conf.h \
|
||||
..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_rcc.h \
|
||||
..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_def.h \
|
||||
..\Drivers\CMSIS\Device\ST\STM32F4xx\Include\stm32f4xx.h \
|
||||
..\Drivers\CMSIS\Device\ST\STM32F4xx\Include\stm32f407xx.h \
|
||||
..\Drivers\CMSIS\Include\core_cm4.h \
|
||||
D:\Keil_v5\ARM\ARMCLANG\Bin\..\include\stdint.h \
|
||||
..\Drivers\CMSIS\Include\cmsis_version.h \
|
||||
..\Drivers\CMSIS\Include\cmsis_compiler.h \
|
||||
..\Drivers\CMSIS\Include\cmsis_armclang.h \
|
||||
..\Drivers\CMSIS\Include\mpu_armv7.h \
|
||||
..\Drivers\CMSIS\Device\ST\STM32F4xx\Include\system_stm32f4xx.h \
|
||||
..\Drivers\STM32F4xx_HAL_Driver\Inc\Legacy\stm32_hal_legacy.h \
|
||||
D:\Keil_v5\ARM\ARMCLANG\Bin\..\include\stddef.h \
|
||||
..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_rcc_ex.h \
|
||||
..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_gpio.h \
|
||||
..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_gpio_ex.h \
|
||||
..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_exti.h \
|
||||
..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_dma.h \
|
||||
..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_dma_ex.h \
|
||||
..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_cortex.h \
|
||||
..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_can.h \
|
||||
..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_flash.h \
|
||||
..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_flash_ex.h \
|
||||
..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_flash_ramfunc.h \
|
||||
..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_i2c.h \
|
||||
..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_i2c_ex.h \
|
||||
..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_pwr.h \
|
||||
..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_pwr_ex.h \
|
||||
..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_spi.h \
|
||||
..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_tim.h \
|
||||
..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_tim_ex.h \
|
||||
..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_uart.h
|
||||
BIN
MDK-ARM/gimbal/dwt.o
Normal file
BIN
MDK-ARM/gimbal/dwt.o
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -21,8 +21,8 @@ Target DLL: CMSIS_AGDI.dll V1.32.13.0
|
||||
Dialog DLL: TCM.DLL V1.48.0.0
|
||||
|
||||
<h2>Project:</h2>
|
||||
D:\yunha\1\git_gimbal\gimbal\MDK-ARM\gimbal.uvprojx
|
||||
Project File Date: 10/25/2025
|
||||
D:\yunha\git_gimbal\ai\gimbal\MDK-ARM\gimbal.uvprojx
|
||||
Project File Date: 01/03/2026
|
||||
|
||||
<h2>Output:</h2>
|
||||
*** Using Compiler 'V6.16', folder: 'D:\Keil_v5\ARM\ARMCLANG\Bin'
|
||||
@ -31,15 +31,10 @@ Note: source file '..\User\bsp\can.c' - object file renamed from 'gimbal\can.o'
|
||||
Note: source file '..\User\bsp\gpio.c' - object file renamed from 'gimbal\gpio.o' to 'gimbal\gpio_1.o'.
|
||||
Note: source file '..\User\bsp\i2c.c' - object file renamed from 'gimbal\i2c.o' to 'gimbal\i2c_1.o'.
|
||||
Note: source file '..\User\bsp\spi.c' - object file renamed from 'gimbal\spi.o' to 'gimbal\spi_1.o'.
|
||||
compiling ai.c...
|
||||
compiling config.c...
|
||||
compiling init.c...
|
||||
compiling atti_esti.c...
|
||||
compiling remote.c...
|
||||
compiling gimbal_ctrl.c...
|
||||
Note: source file '..\User\task\ai.c' - object file renamed from 'gimbal\ai.o' to 'gimbal\ai_1.o'.
|
||||
compiling gimbal.c...
|
||||
linking...
|
||||
Program Size: Code=85896 RO-data=996 RW-data=404 ZI-data=34388
|
||||
Program Size: Code=100536 RO-data=1728 RW-data=700 ZI-data=55348
|
||||
"gimbal\gimbal.axf" - 0 Error(s), 0 Warning(s).
|
||||
|
||||
<h2>Software Packages used:</h2>
|
||||
@ -64,7 +59,7 @@ Package Vendor: Keil
|
||||
|
||||
* Component: ARM::CMSIS:CORE:5.4.0
|
||||
Include file: CMSIS\Core\Include\tz_context.h
|
||||
Build Time Elapsed: 00:00:01
|
||||
Build Time Elapsed: 00:00:02
|
||||
</pre>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@ -50,6 +50,7 @@
|
||||
"gimbal\spi_1.o"
|
||||
"gimbal\time.o"
|
||||
"gimbal\uart.o"
|
||||
"gimbal\dwt.o"
|
||||
"gimbal\ahrs.o"
|
||||
"gimbal\cmd.o"
|
||||
"gimbal\filter.o"
|
||||
@ -77,8 +78,12 @@
|
||||
"gimbal\remote.o"
|
||||
"gimbal\user_task.o"
|
||||
"gimbal\gimbal_ctrl.o"
|
||||
"gimbal\gimbal.o"
|
||||
"gimbal\shoot_ctrl.o"
|
||||
"gimbal\ai_1.o"
|
||||
"gimbal\config.o"
|
||||
"gimbal\shoot.o"
|
||||
"gimbal\gimbal.o"
|
||||
"gimbal\remote_cmd.o"
|
||||
--strict --scatter "gimbal\gimbal.sct"
|
||||
--summary_stderr --info summarysizes --map --load_addr_map_info --xref --callgraph --symbols
|
||||
--info sizes --info totals --info unused --info veneers
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Binary file not shown.
@ -11,16 +11,16 @@ gimbal/gimbal_ctrl.o: ..\User\task\gimbal_ctrl.c ..\User\task\user_task.h \
|
||||
..\Middlewares\Third_Party\FreeRTOS\Source\include\mpu_wrappers.h \
|
||||
..\Middlewares\Third_Party\FreeRTOS\Source\include\task.h \
|
||||
..\Middlewares\Third_Party\FreeRTOS\Source\include\list.h \
|
||||
..\User\module\gimbal.h ..\User\component\ahrs.h \
|
||||
..\User\component\user_math.h \
|
||||
..\User\device\ai.h ..\User\component\user_math.h \
|
||||
D:\Keil_v5\ARM\ARMCLANG\Bin\..\include\float.h \
|
||||
D:\Keil_v5\ARM\ARMCLANG\Bin\..\include\math.h \
|
||||
D:\Keil_v5\ARM\ARMCLANG\Bin\..\include\stdbool.h \
|
||||
..\User\component\filter.h ..\User\component\pid.h \
|
||||
..\User\component\filter.h ..\User\device\motor.h \
|
||||
..\User\device\device.h ..\User\device\motor_dm.h ..\User\bsp\can.h \
|
||||
..\Core\Inc\can.h ..\Core\Inc\main.h \
|
||||
..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal.h \
|
||||
..\User\module\gimbal.h ..\User\component\ahrs.h \
|
||||
..\User\component\user_math.h ..\User\component\filter.h \
|
||||
..\User\component\pid.h ..\User\component\filter.h \
|
||||
..\User\device\motor.h ..\User\device\device.h \
|
||||
..\User\device\motor_dm.h ..\User\bsp\can.h ..\Core\Inc\can.h \
|
||||
..\Core\Inc\main.h ..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal.h \
|
||||
..\Core\Inc\stm32f4xx_hal_conf.h \
|
||||
..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_rcc.h \
|
||||
..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_def.h \
|
||||
@ -57,4 +57,5 @@ gimbal/gimbal_ctrl.o: ..\User\task\gimbal_ctrl.c ..\User\task\user_task.h \
|
||||
..\Middlewares\Third_Party\FreeRTOS\Source\CMSIS_RTOS_V2\cmsis_os2.h \
|
||||
..\User\device\motor_rm.h ..\User\device\motor.h \
|
||||
..\User\module\config.h ..\User\device\motor_lz.h \
|
||||
..\User\device\motor_lk.h ..\User\module\gimbal.h
|
||||
..\User\device\motor_lk.h ..\User\module\gimbal.h \
|
||||
..\User\module\shoot.h ..\Core\Inc\main.h
|
||||
|
||||
Binary file not shown.
File diff suppressed because it is too large
Load Diff
19
MDK-ARM/gimbal/gimbal_sct.Bak
Normal file
19
MDK-ARM/gimbal/gimbal_sct.Bak
Normal file
@ -0,0 +1,19 @@
|
||||
; *************************************************************
|
||||
; *** Scatter-Loading Description File generated by uVision ***
|
||||
; *************************************************************
|
||||
|
||||
LR_IROM1 0x08000000 0x00100000 { ; load region size_region
|
||||
ER_IROM1 0x08000000 0x00100000 { ; load address = execution address
|
||||
*.o (RESET, +First)
|
||||
*(InRoot$$Sections)
|
||||
.ANY (+RO)
|
||||
.ANY (+XO)
|
||||
}
|
||||
RW_IRAM1 0x20000000 0x0001C000 { ; RW data
|
||||
.ANY (+RW +ZI)
|
||||
}
|
||||
RW_IRAM2 0x2001C000 0x00004000 {
|
||||
.ANY (+RW +ZI)
|
||||
}
|
||||
}
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -57,4 +57,7 @@ gimbal/init.o: ..\User\task\init.c ..\User\task\user_task.h \
|
||||
..\Middlewares\Third_Party\FreeRTOS\Source\CMSIS_RTOS_V2\cmsis_os2.h \
|
||||
..\User\device\motor_rm.h ..\User\device\motor.h \
|
||||
..\User\device\remote_control.h ..\User\module\struct_typedef.h \
|
||||
..\User\component\bsp_rc.h
|
||||
..\User\component\bsp_rc.h ..\User\device\ai.h \
|
||||
..\User\component\user_math.h ..\User\module\gimbal.h \
|
||||
..\User\module\remote_cmd.h ..\User\module\gimbal.h \
|
||||
..\User\module\shoot.h ..\Core\Inc\main.h
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -12,17 +12,17 @@ gimbal/remote.o: ..\User\task\remote.c ..\User\task\user_task.h \
|
||||
..\Middlewares\Third_Party\FreeRTOS\Source\include\task.h \
|
||||
..\Middlewares\Third_Party\FreeRTOS\Source\include\list.h \
|
||||
..\User\device\remote_control.h ..\User\module\struct_typedef.h \
|
||||
..\User\component\bsp_rc.h ..\User\device\ai.h \
|
||||
..\User\component\user_math.h \
|
||||
D:\Keil_v5\ARM\ARMCLANG\Bin\..\include\float.h \
|
||||
D:\Keil_v5\ARM\ARMCLANG\Bin\..\include\math.h \
|
||||
..\User\component\bsp_rc.h \
|
||||
D:\Keil_v5\ARM\ARMCLANG\Bin\..\include\stdbool.h \
|
||||
..\User\module\gimbal.h ..\User\component\ahrs.h \
|
||||
..\User\component\user_math.h ..\User\component\filter.h \
|
||||
..\User\component\pid.h ..\User\component\filter.h \
|
||||
..\User\device\motor.h ..\User\device\device.h \
|
||||
..\User\device\motor_dm.h ..\User\bsp\can.h ..\Core\Inc\can.h \
|
||||
..\Core\Inc\main.h ..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal.h \
|
||||
..\User\module\remote_cmd.h ..\User\component\user_math.h \
|
||||
D:\Keil_v5\ARM\ARMCLANG\Bin\..\include\float.h \
|
||||
D:\Keil_v5\ARM\ARMCLANG\Bin\..\include\math.h ..\User\module\gimbal.h \
|
||||
..\User\component\ahrs.h ..\User\component\user_math.h \
|
||||
..\User\component\filter.h ..\User\component\pid.h \
|
||||
..\User\component\filter.h ..\User\device\motor.h \
|
||||
..\User\device\device.h ..\User\device\motor_dm.h ..\User\bsp\can.h \
|
||||
..\Core\Inc\can.h ..\Core\Inc\main.h \
|
||||
..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal.h \
|
||||
..\Core\Inc\stm32f4xx_hal_conf.h \
|
||||
..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_rcc.h \
|
||||
..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_def.h \
|
||||
@ -58,4 +58,5 @@ gimbal/remote.o: ..\User\task\remote.c ..\User\task\user_task.h \
|
||||
..\Middlewares\Third_Party\FreeRTOS\Source\CMSIS_RTOS_V2\cmsis_os.h \
|
||||
..\Middlewares\Third_Party\FreeRTOS\Source\CMSIS_RTOS_V2\cmsis_os2.h \
|
||||
..\User\device\motor_rm.h ..\User\device\motor.h \
|
||||
..\User\device\remote_control.h
|
||||
..\User\module\shoot.h ..\Core\Inc\main.h ..\User\module\gimbal.h \
|
||||
..\User\module\shoot.h
|
||||
|
||||
Binary file not shown.
61
MDK-ARM/gimbal/remote_cmd.d
Normal file
61
MDK-ARM/gimbal/remote_cmd.d
Normal file
@ -0,0 +1,61 @@
|
||||
gimbal/remote_cmd.o: ..\User\module\remote_cmd.c \
|
||||
..\User\module\remote_cmd.h ..\User\component\user_math.h \
|
||||
D:\Keil_v5\ARM\ARMCLANG\Bin\..\include\float.h \
|
||||
D:\Keil_v5\ARM\ARMCLANG\Bin\..\include\math.h \
|
||||
D:\Keil_v5\ARM\ARMCLANG\Bin\..\include\stdbool.h \
|
||||
D:\Keil_v5\ARM\ARMCLANG\Bin\..\include\stdint.h \
|
||||
D:\Keil_v5\ARM\ARMCLANG\Bin\..\include\stddef.h \
|
||||
..\User\module\gimbal.h ..\User\component\ahrs.h \
|
||||
..\User\component\user_math.h ..\User\component\filter.h \
|
||||
..\User\component\pid.h ..\User\component\filter.h \
|
||||
..\User\device\motor.h ..\User\device\device.h \
|
||||
..\User\device\motor_dm.h ..\User\bsp\can.h ..\Core\Inc\can.h \
|
||||
..\Core\Inc\main.h ..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal.h \
|
||||
..\Core\Inc\stm32f4xx_hal_conf.h \
|
||||
..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_rcc.h \
|
||||
..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_def.h \
|
||||
..\Drivers\CMSIS\Device\ST\STM32F4xx\Include\stm32f4xx.h \
|
||||
..\Drivers\CMSIS\Device\ST\STM32F4xx\Include\stm32f407xx.h \
|
||||
..\Drivers\CMSIS\Include\core_cm4.h \
|
||||
..\Drivers\CMSIS\Include\cmsis_version.h \
|
||||
..\Drivers\CMSIS\Include\cmsis_compiler.h \
|
||||
..\Drivers\CMSIS\Include\cmsis_armclang.h \
|
||||
..\Drivers\CMSIS\Include\mpu_armv7.h \
|
||||
..\Drivers\CMSIS\Device\ST\STM32F4xx\Include\system_stm32f4xx.h \
|
||||
..\Drivers\STM32F4xx_HAL_Driver\Inc\Legacy\stm32_hal_legacy.h \
|
||||
..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_rcc_ex.h \
|
||||
..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_gpio.h \
|
||||
..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_gpio_ex.h \
|
||||
..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_exti.h \
|
||||
..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_dma.h \
|
||||
..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_dma_ex.h \
|
||||
..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_cortex.h \
|
||||
..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_can.h \
|
||||
..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_flash.h \
|
||||
..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_flash_ex.h \
|
||||
..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_flash_ramfunc.h \
|
||||
..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_i2c.h \
|
||||
..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_i2c_ex.h \
|
||||
..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_pwr.h \
|
||||
..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_pwr_ex.h \
|
||||
..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_spi.h \
|
||||
..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_tim.h \
|
||||
..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_tim_ex.h \
|
||||
..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_uart.h \
|
||||
..\User\bsp\bsp.h ..\User\bsp\mm.h \
|
||||
..\Middlewares\Third_Party\FreeRTOS\Source\CMSIS_RTOS_V2\cmsis_os.h \
|
||||
..\Middlewares\Third_Party\FreeRTOS\Source\include\FreeRTOS.h \
|
||||
..\Core\Inc\FreeRTOSConfig.h \
|
||||
..\Middlewares\Third_Party\FreeRTOS\Source\include\projdefs.h \
|
||||
..\Middlewares\Third_Party\FreeRTOS\Source\include\portable.h \
|
||||
..\Middlewares\Third_Party\FreeRTOS\Source\include\deprecated_definitions.h \
|
||||
..\Middlewares\Third_Party\FreeRTOS\Source\portable\RVDS\ARM_CM4F\portmacro.h \
|
||||
..\Middlewares\Third_Party\FreeRTOS\Source\include\mpu_wrappers.h \
|
||||
..\Middlewares\Third_Party\FreeRTOS\Source\include\task.h \
|
||||
..\Middlewares\Third_Party\FreeRTOS\Source\include\list.h \
|
||||
..\Middlewares\Third_Party\FreeRTOS\Source\CMSIS_RTOS_V2\cmsis_os2.h \
|
||||
..\User\device\motor_rm.h ..\User\device\motor.h \
|
||||
..\User\device\remote_control.h ..\User\module\struct_typedef.h \
|
||||
..\User\component\bsp_rc.h ..\User\module\shoot.h ..\Core\Inc\main.h \
|
||||
D:\Keil_v5\ARM\ARMCLANG\Bin\..\include\string.h ..\User\bsp\uart.h \
|
||||
..\Core\Inc\usart.h ..\User\component\crc16.h ..\User\component\crc8.h
|
||||
BIN
MDK-ARM/gimbal/remote_cmd.o
Normal file
BIN
MDK-ARM/gimbal/remote_cmd.o
Normal file
Binary file not shown.
@ -1,6 +1,7 @@
|
||||
gimbal/remote_control.o: ..\User\device\remote_control.c \
|
||||
..\User\device\remote_control.h ..\User\module\struct_typedef.h \
|
||||
..\User\component\bsp_rc.h ..\Core\Inc\main.h \
|
||||
..\User\component\bsp_rc.h \
|
||||
D:\Keil_v5\ARM\ARMCLANG\Bin\..\include\stdbool.h ..\Core\Inc\main.h \
|
||||
..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal.h \
|
||||
..\Core\Inc\stm32f4xx_hal_conf.h \
|
||||
..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_rcc.h \
|
||||
|
||||
Binary file not shown.
58
MDK-ARM/gimbal/shoot.d
Normal file
58
MDK-ARM/gimbal/shoot.d
Normal file
@ -0,0 +1,58 @@
|
||||
gimbal/shoot.o: ..\User\module\shoot.c \
|
||||
D:\Keil_v5\ARM\ARMCLANG\Bin\..\include\math.h \
|
||||
D:\Keil_v5\ARM\ARMCLANG\Bin\..\include\string.h ..\User\module\shoot.h \
|
||||
D:\Keil_v5\ARM\ARMCLANG\Bin\..\include\stddef.h ..\Core\Inc\main.h \
|
||||
..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal.h \
|
||||
..\Core\Inc\stm32f4xx_hal_conf.h \
|
||||
..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_rcc.h \
|
||||
..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_def.h \
|
||||
..\Drivers\CMSIS\Device\ST\STM32F4xx\Include\stm32f4xx.h \
|
||||
..\Drivers\CMSIS\Device\ST\STM32F4xx\Include\stm32f407xx.h \
|
||||
..\Drivers\CMSIS\Include\core_cm4.h \
|
||||
D:\Keil_v5\ARM\ARMCLANG\Bin\..\include\stdint.h \
|
||||
..\Drivers\CMSIS\Include\cmsis_version.h \
|
||||
..\Drivers\CMSIS\Include\cmsis_compiler.h \
|
||||
..\Drivers\CMSIS\Include\cmsis_armclang.h \
|
||||
..\Drivers\CMSIS\Include\mpu_armv7.h \
|
||||
..\Drivers\CMSIS\Device\ST\STM32F4xx\Include\system_stm32f4xx.h \
|
||||
..\Drivers\STM32F4xx_HAL_Driver\Inc\Legacy\stm32_hal_legacy.h \
|
||||
..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_rcc_ex.h \
|
||||
..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_gpio.h \
|
||||
..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_gpio_ex.h \
|
||||
..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_exti.h \
|
||||
..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_dma.h \
|
||||
..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_dma_ex.h \
|
||||
..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_cortex.h \
|
||||
..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_can.h \
|
||||
..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_flash.h \
|
||||
..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_flash_ex.h \
|
||||
..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_flash_ramfunc.h \
|
||||
..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_i2c.h \
|
||||
..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_i2c_ex.h \
|
||||
..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_pwr.h \
|
||||
..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_pwr_ex.h \
|
||||
..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_spi.h \
|
||||
..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_tim.h \
|
||||
..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_tim_ex.h \
|
||||
..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_uart.h \
|
||||
..\User\component\pid.h ..\User\component\filter.h \
|
||||
..\User\component\user_math.h \
|
||||
D:\Keil_v5\ARM\ARMCLANG\Bin\..\include\float.h \
|
||||
D:\Keil_v5\ARM\ARMCLANG\Bin\..\include\stdbool.h \
|
||||
..\User\device\motor_rm.h ..\User\device\motor.h \
|
||||
..\User\device\device.h ..\User\device\motor.h ..\User\bsp\can.h \
|
||||
..\Core\Inc\can.h ..\Core\Inc\main.h ..\User\bsp\bsp.h \
|
||||
..\User\bsp\mm.h \
|
||||
..\Middlewares\Third_Party\FreeRTOS\Source\CMSIS_RTOS_V2\cmsis_os.h \
|
||||
..\Middlewares\Third_Party\FreeRTOS\Source\include\FreeRTOS.h \
|
||||
..\Core\Inc\FreeRTOSConfig.h \
|
||||
..\Middlewares\Third_Party\FreeRTOS\Source\include\projdefs.h \
|
||||
..\Middlewares\Third_Party\FreeRTOS\Source\include\portable.h \
|
||||
..\Middlewares\Third_Party\FreeRTOS\Source\include\deprecated_definitions.h \
|
||||
..\Middlewares\Third_Party\FreeRTOS\Source\portable\RVDS\ARM_CM4F\portmacro.h \
|
||||
..\Middlewares\Third_Party\FreeRTOS\Source\include\mpu_wrappers.h \
|
||||
..\Middlewares\Third_Party\FreeRTOS\Source\include\task.h \
|
||||
..\Middlewares\Third_Party\FreeRTOS\Source\include\list.h \
|
||||
..\Middlewares\Third_Party\FreeRTOS\Source\CMSIS_RTOS_V2\cmsis_os2.h \
|
||||
..\User\bsp\time.h ..\User\component\filter.h \
|
||||
..\User\component\user_math.h
|
||||
BIN
MDK-ARM/gimbal/shoot.o
Normal file
BIN
MDK-ARM/gimbal/shoot.o
Normal file
Binary file not shown.
64
MDK-ARM/gimbal/shoot_ctrl.d
Normal file
64
MDK-ARM/gimbal/shoot_ctrl.d
Normal file
@ -0,0 +1,64 @@
|
||||
gimbal/shoot_ctrl.o: ..\User\task\shoot_ctrl.c ..\User\task\user_task.h \
|
||||
..\Middlewares\Third_Party\FreeRTOS\Source\CMSIS_RTOS_V2\cmsis_os2.h \
|
||||
D:\Keil_v5\ARM\ARMCLANG\Bin\..\include\stdint.h \
|
||||
D:\Keil_v5\ARM\ARMCLANG\Bin\..\include\stddef.h \
|
||||
..\Middlewares\Third_Party\FreeRTOS\Source\include\FreeRTOS.h \
|
||||
..\Core\Inc\FreeRTOSConfig.h \
|
||||
..\Middlewares\Third_Party\FreeRTOS\Source\include\projdefs.h \
|
||||
..\Middlewares\Third_Party\FreeRTOS\Source\include\portable.h \
|
||||
..\Middlewares\Third_Party\FreeRTOS\Source\include\deprecated_definitions.h \
|
||||
..\Middlewares\Third_Party\FreeRTOS\Source\portable\RVDS\ARM_CM4F\portmacro.h \
|
||||
..\Middlewares\Third_Party\FreeRTOS\Source\include\mpu_wrappers.h \
|
||||
..\Middlewares\Third_Party\FreeRTOS\Source\include\task.h \
|
||||
..\Middlewares\Third_Party\FreeRTOS\Source\include\list.h \
|
||||
..\User\module\shoot.h ..\Core\Inc\main.h \
|
||||
..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal.h \
|
||||
..\Core\Inc\stm32f4xx_hal_conf.h \
|
||||
..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_rcc.h \
|
||||
..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_def.h \
|
||||
..\Drivers\CMSIS\Device\ST\STM32F4xx\Include\stm32f4xx.h \
|
||||
..\Drivers\CMSIS\Device\ST\STM32F4xx\Include\stm32f407xx.h \
|
||||
..\Drivers\CMSIS\Include\core_cm4.h \
|
||||
..\Drivers\CMSIS\Include\cmsis_version.h \
|
||||
..\Drivers\CMSIS\Include\cmsis_compiler.h \
|
||||
..\Drivers\CMSIS\Include\cmsis_armclang.h \
|
||||
..\Drivers\CMSIS\Include\mpu_armv7.h \
|
||||
..\Drivers\CMSIS\Device\ST\STM32F4xx\Include\system_stm32f4xx.h \
|
||||
..\Drivers\STM32F4xx_HAL_Driver\Inc\Legacy\stm32_hal_legacy.h \
|
||||
..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_rcc_ex.h \
|
||||
..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_gpio.h \
|
||||
..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_gpio_ex.h \
|
||||
..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_exti.h \
|
||||
..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_dma.h \
|
||||
..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_dma_ex.h \
|
||||
..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_cortex.h \
|
||||
..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_can.h \
|
||||
..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_flash.h \
|
||||
..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_flash_ex.h \
|
||||
..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_flash_ramfunc.h \
|
||||
..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_i2c.h \
|
||||
..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_i2c_ex.h \
|
||||
..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_pwr.h \
|
||||
..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_pwr_ex.h \
|
||||
..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_spi.h \
|
||||
..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_tim.h \
|
||||
..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_tim_ex.h \
|
||||
..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_uart.h \
|
||||
..\User\component\pid.h ..\User\component\filter.h \
|
||||
..\User\component\user_math.h \
|
||||
D:\Keil_v5\ARM\ARMCLANG\Bin\..\include\float.h \
|
||||
D:\Keil_v5\ARM\ARMCLANG\Bin\..\include\math.h \
|
||||
D:\Keil_v5\ARM\ARMCLANG\Bin\..\include\stdbool.h \
|
||||
..\User\device\motor_rm.h ..\User\device\motor.h \
|
||||
..\User\device\device.h ..\User\device\motor.h ..\User\bsp\can.h \
|
||||
..\Core\Inc\can.h ..\Core\Inc\main.h ..\User\bsp\bsp.h \
|
||||
..\User\bsp\mm.h \
|
||||
..\Middlewares\Third_Party\FreeRTOS\Source\CMSIS_RTOS_V2\cmsis_os.h \
|
||||
..\Middlewares\Third_Party\FreeRTOS\Source\CMSIS_RTOS_V2\cmsis_os2.h \
|
||||
..\User\module\config.h ..\User\device\motor_lz.h \
|
||||
..\User\device\motor_lk.h ..\User\module\gimbal.h \
|
||||
..\User\component\ahrs.h ..\User\component\filter.h \
|
||||
..\User\device\motor_dm.h ..\User\module\shoot.h \
|
||||
..\User\device\remote_control.h ..\User\module\struct_typedef.h \
|
||||
..\User\component\bsp_rc.h ..\User\module\remote_cmd.h \
|
||||
..\User\component\user_math.h ..\User\device\remote_control.h
|
||||
BIN
MDK-ARM/gimbal/shoot_ctrl.o
Normal file
BIN
MDK-ARM/gimbal/shoot_ctrl.o
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user