不进TXEVENT中断
This commit is contained in:
parent
37055c30a3
commit
9acb2d39d4
File diff suppressed because one or more lines are too long
@ -19,7 +19,7 @@ if(NOT CMAKE_BUILD_TYPE)
|
||||
endif()
|
||||
|
||||
# Set the project name
|
||||
set(CMAKE_PROJECT_NAME hero)
|
||||
set(CMAKE_PROJECT_NAME miao_h7)
|
||||
|
||||
# Enable compile command to ease indexing with e.g. clangd
|
||||
set(CMAKE_EXPORT_COMPILE_COMMANDS TRUE)
|
||||
|
||||
@ -53,8 +53,11 @@ void BusFault_Handler(void);
|
||||
void UsageFault_Handler(void);
|
||||
void DebugMon_Handler(void);
|
||||
void FDCAN1_IT0_IRQHandler(void);
|
||||
void FDCAN2_IT0_IRQHandler(void);
|
||||
void FDCAN1_IT1_IRQHandler(void);
|
||||
void FDCAN2_IT1_IRQHandler(void);
|
||||
void TIM2_IRQHandler(void);
|
||||
void FDCAN3_IT0_IRQHandler(void);
|
||||
void FDCAN3_IT1_IRQHandler(void);
|
||||
/* USER CODE BEGIN EFP */
|
||||
|
||||
|
||||
@ -62,7 +62,7 @@ void MX_FDCAN1_Init(void)
|
||||
hfdcan1.Init.RxFifo1ElmtSize = FDCAN_DATA_BYTES_8;
|
||||
hfdcan1.Init.RxBuffersNbr = 0;
|
||||
hfdcan1.Init.RxBufferSize = FDCAN_DATA_BYTES_8;
|
||||
hfdcan1.Init.TxEventsNbr = 0;
|
||||
hfdcan1.Init.TxEventsNbr = 8;
|
||||
hfdcan1.Init.TxBuffersNbr = 0;
|
||||
hfdcan1.Init.TxFifoQueueElmtsNbr = 8;
|
||||
hfdcan1.Init.TxFifoQueueMode = FDCAN_TX_FIFO_OPERATION;
|
||||
@ -110,7 +110,7 @@ void MX_FDCAN2_Init(void)
|
||||
hfdcan2.Init.RxFifo1ElmtSize = FDCAN_DATA_BYTES_64;
|
||||
hfdcan2.Init.RxBuffersNbr = 0;
|
||||
hfdcan2.Init.RxBufferSize = FDCAN_DATA_BYTES_8;
|
||||
hfdcan2.Init.TxEventsNbr = 0;
|
||||
hfdcan2.Init.TxEventsNbr = 8;
|
||||
hfdcan2.Init.TxBuffersNbr = 0;
|
||||
hfdcan2.Init.TxFifoQueueElmtsNbr = 8;
|
||||
hfdcan2.Init.TxFifoQueueMode = FDCAN_TX_FIFO_OPERATION;
|
||||
@ -158,7 +158,7 @@ void MX_FDCAN3_Init(void)
|
||||
hfdcan3.Init.RxFifo1ElmtSize = FDCAN_DATA_BYTES_64;
|
||||
hfdcan3.Init.RxBuffersNbr = 0;
|
||||
hfdcan3.Init.RxBufferSize = FDCAN_DATA_BYTES_8;
|
||||
hfdcan3.Init.TxEventsNbr = 0;
|
||||
hfdcan3.Init.TxEventsNbr = 8;
|
||||
hfdcan3.Init.TxBuffersNbr = 0;
|
||||
hfdcan3.Init.TxFifoQueueElmtsNbr = 8;
|
||||
hfdcan3.Init.TxFifoQueueMode = FDCAN_TX_FIFO_OPERATION;
|
||||
@ -205,6 +205,8 @@ void HAL_FDCAN_MspInit(FDCAN_HandleTypeDef* fdcanHandle)
|
||||
/* FDCAN1 interrupt Init */
|
||||
HAL_NVIC_SetPriority(FDCAN1_IT0_IRQn, 5, 0);
|
||||
HAL_NVIC_EnableIRQ(FDCAN1_IT0_IRQn);
|
||||
HAL_NVIC_SetPriority(FDCAN1_IT1_IRQn, 5, 0);
|
||||
HAL_NVIC_EnableIRQ(FDCAN1_IT1_IRQn);
|
||||
/* USER CODE BEGIN FDCAN1_MspInit 1 */
|
||||
|
||||
/* USER CODE END FDCAN1_MspInit 1 */
|
||||
@ -233,6 +235,8 @@ void HAL_FDCAN_MspInit(FDCAN_HandleTypeDef* fdcanHandle)
|
||||
HAL_GPIO_Init(GPIOB, &GPIO_InitStruct);
|
||||
|
||||
/* FDCAN2 interrupt Init */
|
||||
HAL_NVIC_SetPriority(FDCAN2_IT0_IRQn, 5, 0);
|
||||
HAL_NVIC_EnableIRQ(FDCAN2_IT0_IRQn);
|
||||
HAL_NVIC_SetPriority(FDCAN2_IT1_IRQn, 5, 0);
|
||||
HAL_NVIC_EnableIRQ(FDCAN2_IT1_IRQn);
|
||||
/* USER CODE BEGIN FDCAN2_MspInit 1 */
|
||||
@ -263,6 +267,8 @@ void HAL_FDCAN_MspInit(FDCAN_HandleTypeDef* fdcanHandle)
|
||||
HAL_GPIO_Init(GPIOD, &GPIO_InitStruct);
|
||||
|
||||
/* FDCAN3 interrupt Init */
|
||||
HAL_NVIC_SetPriority(FDCAN3_IT0_IRQn, 5, 0);
|
||||
HAL_NVIC_EnableIRQ(FDCAN3_IT0_IRQn);
|
||||
HAL_NVIC_SetPriority(FDCAN3_IT1_IRQn, 5, 0);
|
||||
HAL_NVIC_EnableIRQ(FDCAN3_IT1_IRQn);
|
||||
/* USER CODE BEGIN FDCAN3_MspInit 1 */
|
||||
@ -293,6 +299,7 @@ void HAL_FDCAN_MspDeInit(FDCAN_HandleTypeDef* fdcanHandle)
|
||||
|
||||
/* FDCAN1 interrupt Deinit */
|
||||
HAL_NVIC_DisableIRQ(FDCAN1_IT0_IRQn);
|
||||
HAL_NVIC_DisableIRQ(FDCAN1_IT1_IRQn);
|
||||
/* USER CODE BEGIN FDCAN1_MspDeInit 1 */
|
||||
|
||||
/* USER CODE END FDCAN1_MspDeInit 1 */
|
||||
@ -315,6 +322,7 @@ void HAL_FDCAN_MspDeInit(FDCAN_HandleTypeDef* fdcanHandle)
|
||||
HAL_GPIO_DeInit(GPIOB, GPIO_PIN_5|GPIO_PIN_6);
|
||||
|
||||
/* FDCAN2 interrupt Deinit */
|
||||
HAL_NVIC_DisableIRQ(FDCAN2_IT0_IRQn);
|
||||
HAL_NVIC_DisableIRQ(FDCAN2_IT1_IRQn);
|
||||
/* USER CODE BEGIN FDCAN2_MspDeInit 1 */
|
||||
|
||||
@ -338,6 +346,7 @@ void HAL_FDCAN_MspDeInit(FDCAN_HandleTypeDef* fdcanHandle)
|
||||
HAL_GPIO_DeInit(GPIOD, GPIO_PIN_12|GPIO_PIN_13);
|
||||
|
||||
/* FDCAN3 interrupt Deinit */
|
||||
HAL_NVIC_DisableIRQ(FDCAN3_IT0_IRQn);
|
||||
HAL_NVIC_DisableIRQ(FDCAN3_IT1_IRQn);
|
||||
/* USER CODE BEGIN FDCAN3_MspDeInit 1 */
|
||||
|
||||
|
||||
@ -25,7 +25,7 @@
|
||||
|
||||
/* Private includes ----------------------------------------------------------*/
|
||||
/* USER CODE BEGIN Includes */
|
||||
|
||||
#include "task/user_task.h"
|
||||
/* USER CODE END Includes */
|
||||
|
||||
/* Private typedef -----------------------------------------------------------*/
|
||||
@ -96,6 +96,8 @@ void MX_FREERTOS_Init(void) {
|
||||
|
||||
/* USER CODE BEGIN RTOS_THREADS */
|
||||
/* add threads, ... */
|
||||
osThreadNew(Task_Init, NULL, &attr_init); // 创建初始化任务
|
||||
|
||||
/* USER CODE END RTOS_THREADS */
|
||||
|
||||
/* USER CODE BEGIN RTOS_EVENTS */
|
||||
|
||||
@ -48,6 +48,7 @@ void MX_GPIO_Init(void)
|
||||
__HAL_RCC_GPIOC_CLK_ENABLE();
|
||||
__HAL_RCC_GPIOH_CLK_ENABLE();
|
||||
__HAL_RCC_GPIOD_CLK_ENABLE();
|
||||
__HAL_RCC_GPIOA_CLK_ENABLE();
|
||||
__HAL_RCC_GPIOB_CLK_ENABLE();
|
||||
|
||||
/*Configure GPIO pin Output Level */
|
||||
|
||||
@ -176,6 +176,34 @@ void FDCAN1_IT0_IRQHandler(void)
|
||||
/* USER CODE END FDCAN1_IT0_IRQn 1 */
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief This function handles FDCAN2 interrupt 0.
|
||||
*/
|
||||
void FDCAN2_IT0_IRQHandler(void)
|
||||
{
|
||||
/* USER CODE BEGIN FDCAN2_IT0_IRQn 0 */
|
||||
|
||||
/* USER CODE END FDCAN2_IT0_IRQn 0 */
|
||||
HAL_FDCAN_IRQHandler(&hfdcan2);
|
||||
/* USER CODE BEGIN FDCAN2_IT0_IRQn 1 */
|
||||
|
||||
/* USER CODE END FDCAN2_IT0_IRQn 1 */
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief This function handles FDCAN1 interrupt 1.
|
||||
*/
|
||||
void FDCAN1_IT1_IRQHandler(void)
|
||||
{
|
||||
/* USER CODE BEGIN FDCAN1_IT1_IRQn 0 */
|
||||
|
||||
/* USER CODE END FDCAN1_IT1_IRQn 0 */
|
||||
HAL_FDCAN_IRQHandler(&hfdcan1);
|
||||
/* USER CODE BEGIN FDCAN1_IT1_IRQn 1 */
|
||||
|
||||
/* USER CODE END FDCAN1_IT1_IRQn 1 */
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief This function handles FDCAN2 interrupt 1.
|
||||
*/
|
||||
@ -204,6 +232,20 @@ void TIM2_IRQHandler(void)
|
||||
/* USER CODE END TIM2_IRQn 1 */
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief This function handles FDCAN3 interrupt 0.
|
||||
*/
|
||||
void FDCAN3_IT0_IRQHandler(void)
|
||||
{
|
||||
/* USER CODE BEGIN FDCAN3_IT0_IRQn 0 */
|
||||
|
||||
/* USER CODE END FDCAN3_IT0_IRQn 0 */
|
||||
HAL_FDCAN_IRQHandler(&hfdcan3);
|
||||
/* USER CODE BEGIN FDCAN3_IT0_IRQn 1 */
|
||||
|
||||
/* USER CODE END FDCAN3_IT0_IRQn 1 */
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief This function handles FDCAN3 interrupt 1.
|
||||
*/
|
||||
|
||||
62
FDCAN.ioc
62
FDCAN.ioc
@ -13,7 +13,7 @@ FDCAN1.DataSyncJumpWidth=5
|
||||
FDCAN1.DataTimeSeg1=14
|
||||
FDCAN1.DataTimeSeg2=5
|
||||
FDCAN1.ExtFiltersNbr=1
|
||||
FDCAN1.IPParameters=CalculateTimeQuantumNominal,CalculateTimeBitNominal,CalculateBaudRateNominal,ProtocolException,NominalSyncJumpWidth,DataPrescaler,DataSyncJumpWidth,DataTimeSeg1,DataTimeSeg2,NominalPrescaler,NominalTimeSeg1,NominalTimeSeg2,RxFifo0ElmtsNbr,TxFifoQueueElmtsNbr,StdFiltersNbr,RxFifo0ElmtSize,TxElmtSize,AutoRetransmission,ExtFiltersNbr
|
||||
FDCAN1.IPParameters=CalculateTimeQuantumNominal,CalculateTimeBitNominal,CalculateBaudRateNominal,ProtocolException,NominalSyncJumpWidth,DataPrescaler,DataSyncJumpWidth,DataTimeSeg1,DataTimeSeg2,NominalPrescaler,NominalTimeSeg1,NominalTimeSeg2,RxFifo0ElmtsNbr,TxFifoQueueElmtsNbr,StdFiltersNbr,RxFifo0ElmtSize,TxElmtSize,AutoRetransmission,ExtFiltersNbr,TxEventsNbr
|
||||
FDCAN1.NominalPrescaler=5
|
||||
FDCAN1.NominalSyncJumpWidth=5
|
||||
FDCAN1.NominalTimeSeg1=14
|
||||
@ -23,6 +23,7 @@ FDCAN1.RxFifo0ElmtSize=FDCAN_DATA_BYTES_64
|
||||
FDCAN1.RxFifo0ElmtsNbr=8
|
||||
FDCAN1.StdFiltersNbr=1
|
||||
FDCAN1.TxElmtSize=FDCAN_DATA_BYTES_64
|
||||
FDCAN1.TxEventsNbr=8
|
||||
FDCAN1.TxFifoQueueElmtsNbr=8
|
||||
FDCAN2.AutoRetransmission=ENABLE
|
||||
FDCAN2.CalculateBaudRateNominal=1000000
|
||||
@ -34,7 +35,7 @@ FDCAN2.DataTimeSeg1=14
|
||||
FDCAN2.DataTimeSeg2=5
|
||||
FDCAN2.ExtFiltersNbr=1
|
||||
FDCAN2.FrameFormat=FDCAN_FRAME_FD_BRS
|
||||
FDCAN2.IPParameters=CalculateTimeQuantumNominal,CalculateTimeBitNominal,CalculateBaudRateNominal,FrameFormat,AutoRetransmission,StdFiltersNbr,ExtFiltersNbr,RxFifo0ElmtsNbr,NominalSyncJumpWidth,DataPrescaler,DataSyncJumpWidth,DataTimeSeg1,DataTimeSeg2,MessageRAMOffset,RxFifo1ElmtsNbr,RxFifo1ElmtSize,TxFifoQueueElmtsNbr,NominalPrescaler,NominalTimeSeg1,NominalTimeSeg2,ProtocolException
|
||||
FDCAN2.IPParameters=CalculateTimeQuantumNominal,CalculateTimeBitNominal,CalculateBaudRateNominal,FrameFormat,AutoRetransmission,StdFiltersNbr,ExtFiltersNbr,RxFifo0ElmtsNbr,NominalSyncJumpWidth,DataPrescaler,DataSyncJumpWidth,DataTimeSeg1,DataTimeSeg2,MessageRAMOffset,RxFifo1ElmtsNbr,RxFifo1ElmtSize,TxFifoQueueElmtsNbr,NominalPrescaler,NominalTimeSeg1,NominalTimeSeg2,ProtocolException,TxEventsNbr
|
||||
FDCAN2.MessageRAMOffset=831
|
||||
FDCAN2.NominalPrescaler=5
|
||||
FDCAN2.NominalSyncJumpWidth=5
|
||||
@ -45,6 +46,7 @@ FDCAN2.RxFifo0ElmtsNbr=0
|
||||
FDCAN2.RxFifo1ElmtSize=FDCAN_DATA_BYTES_64
|
||||
FDCAN2.RxFifo1ElmtsNbr=8
|
||||
FDCAN2.StdFiltersNbr=1
|
||||
FDCAN2.TxEventsNbr=8
|
||||
FDCAN2.TxFifoQueueElmtsNbr=8
|
||||
FDCAN3.AutoRetransmission=ENABLE
|
||||
FDCAN3.CalculateBaudRateNominal=1000000
|
||||
@ -55,7 +57,7 @@ FDCAN3.DataSyncJumpWidth=5
|
||||
FDCAN3.DataTimeSeg1=14
|
||||
FDCAN3.DataTimeSeg2=5
|
||||
FDCAN3.FrameFormat=FDCAN_FRAME_FD_NO_BRS
|
||||
FDCAN3.IPParameters=CalculateTimeQuantumNominal,CalculateTimeBitNominal,CalculateBaudRateNominal,MessageRAMOffset,FrameFormat,AutoRetransmission,ProtocolException,NominalSyncJumpWidth,DataPrescaler,DataSyncJumpWidth,DataTimeSeg1,DataTimeSeg2,StdFiltersNbr,RxFifo1ElmtsNbr,RxFifo1ElmtSize,TxFifoQueueElmtsNbr,NominalPrescaler,NominalTimeSeg1,NominalTimeSeg2
|
||||
FDCAN3.IPParameters=CalculateTimeQuantumNominal,CalculateTimeBitNominal,CalculateBaudRateNominal,MessageRAMOffset,FrameFormat,AutoRetransmission,ProtocolException,NominalSyncJumpWidth,DataPrescaler,DataSyncJumpWidth,DataTimeSeg1,DataTimeSeg2,StdFiltersNbr,RxFifo1ElmtsNbr,RxFifo1ElmtSize,TxFifoQueueElmtsNbr,NominalPrescaler,NominalTimeSeg1,NominalTimeSeg2,TxEventsNbr
|
||||
FDCAN3.MessageRAMOffset=1662
|
||||
FDCAN3.NominalPrescaler=5
|
||||
FDCAN3.NominalSyncJumpWidth=5
|
||||
@ -65,6 +67,7 @@ FDCAN3.ProtocolException=ENABLE
|
||||
FDCAN3.RxFifo1ElmtSize=FDCAN_DATA_BYTES_64
|
||||
FDCAN3.RxFifo1ElmtsNbr=8
|
||||
FDCAN3.StdFiltersNbr=1
|
||||
FDCAN3.TxEventsNbr=8
|
||||
FDCAN3.TxFifoQueueElmtsNbr=8
|
||||
FREERTOS.IPParameters=Tasks01
|
||||
FREERTOS.Tasks01=defaultTask,24,128,StartDefaultTask,Default,NULL,Dynamic,NULL,NULL
|
||||
@ -76,32 +79,35 @@ MMTConfigApplied=false
|
||||
Mcu.CPN=STM32H723VGT6
|
||||
Mcu.Family=STM32H7
|
||||
Mcu.IP0=CORTEX_M7
|
||||
Mcu.IP1=FDCAN1
|
||||
Mcu.IP2=FDCAN2
|
||||
Mcu.IP3=FDCAN3
|
||||
Mcu.IP4=FREERTOS
|
||||
Mcu.IP5=MEMORYMAP
|
||||
Mcu.IP6=NVIC
|
||||
Mcu.IP7=RCC
|
||||
Mcu.IP8=SYS
|
||||
Mcu.IPNb=9
|
||||
Mcu.IP1=DEBUG
|
||||
Mcu.IP2=FDCAN1
|
||||
Mcu.IP3=FDCAN2
|
||||
Mcu.IP4=FDCAN3
|
||||
Mcu.IP5=FREERTOS
|
||||
Mcu.IP6=MEMORYMAP
|
||||
Mcu.IP7=NVIC
|
||||
Mcu.IP8=RCC
|
||||
Mcu.IP9=SYS
|
||||
Mcu.IPNb=10
|
||||
Mcu.Name=STM32H723VGTx
|
||||
Mcu.Package=LQFP100
|
||||
Mcu.Pin0=PC13
|
||||
Mcu.Pin1=PC14-OSC32_IN
|
||||
Mcu.Pin10=PB6
|
||||
Mcu.Pin11=VP_FREERTOS_VS_CMSIS_V2
|
||||
Mcu.Pin12=VP_SYS_VS_tim2
|
||||
Mcu.Pin13=VP_MEMORYMAP_VS_MEMORYMAP
|
||||
Mcu.Pin10=PD1
|
||||
Mcu.Pin11=PB5
|
||||
Mcu.Pin12=PB6
|
||||
Mcu.Pin13=VP_FREERTOS_VS_CMSIS_V2
|
||||
Mcu.Pin14=VP_SYS_VS_tim2
|
||||
Mcu.Pin15=VP_MEMORYMAP_VS_MEMORYMAP
|
||||
Mcu.Pin2=PC15-OSC32_OUT
|
||||
Mcu.Pin3=PH0-OSC_IN
|
||||
Mcu.Pin4=PH1-OSC_OUT
|
||||
Mcu.Pin5=PD12
|
||||
Mcu.Pin6=PD13
|
||||
Mcu.Pin7=PD0
|
||||
Mcu.Pin8=PD1
|
||||
Mcu.Pin9=PB5
|
||||
Mcu.PinsNb=14
|
||||
Mcu.Pin7=PA13(JTMS/SWDIO)
|
||||
Mcu.Pin8=PA14(JTCK/SWCLK)
|
||||
Mcu.Pin9=PD0
|
||||
Mcu.PinsNb=16
|
||||
Mcu.ThirdPartyNb=0
|
||||
Mcu.UserConstants=
|
||||
Mcu.UserName=STM32H723VGTx
|
||||
@ -110,7 +116,10 @@ MxDb.Version=DB.6.0.150
|
||||
NVIC.BusFault_IRQn=true\:0\:0\:false\:false\:true\:false\:false\:false\:false
|
||||
NVIC.DebugMonitor_IRQn=true\:0\:0\:false\:false\:true\:false\:false\:false\:false
|
||||
NVIC.FDCAN1_IT0_IRQn=true\:5\:0\:false\:false\:true\:true\:true\:true\:true
|
||||
NVIC.FDCAN1_IT1_IRQn=true\:5\:0\:false\:false\:true\:true\:true\:true\:true
|
||||
NVIC.FDCAN2_IT0_IRQn=true\:5\:0\:false\:false\:true\:true\:true\:true\:true
|
||||
NVIC.FDCAN2_IT1_IRQn=true\:5\:0\:false\:false\:true\:true\:true\:true\:true
|
||||
NVIC.FDCAN3_IT0_IRQn=true\:5\:0\:false\:false\:true\:true\:true\:true\:true
|
||||
NVIC.FDCAN3_IT1_IRQn=true\:5\:0\:false\:false\:true\:true\:true\:true\:true
|
||||
NVIC.ForceEnableDMAVector=true
|
||||
NVIC.HardFault_IRQn=true\:0\:0\:false\:false\:true\:false\:false\:false\:false
|
||||
@ -127,6 +136,12 @@ NVIC.TIM2_IRQn=true\:15\:0\:false\:false\:true\:false\:false\:true\:true
|
||||
NVIC.TimeBase=TIM2_IRQn
|
||||
NVIC.TimeBaseIP=TIM2
|
||||
NVIC.UsageFault_IRQn=true\:0\:0\:false\:false\:true\:false\:false\:false\:false
|
||||
PA13(JTMS/SWDIO).Locked=true
|
||||
PA13(JTMS/SWDIO).Mode=Serial_Wire
|
||||
PA13(JTMS/SWDIO).Signal=DEBUG_JTMS-SWDIO
|
||||
PA14(JTCK/SWCLK).Locked=true
|
||||
PA14(JTCK/SWCLK).Mode=Serial_Wire
|
||||
PA14(JTCK/SWCLK).Signal=DEBUG_JTCK-SWCLK
|
||||
PB5.Locked=true
|
||||
PB5.Mode=FDCAN_Activate
|
||||
PB5.Signal=FDCAN2_RX
|
||||
@ -173,7 +188,7 @@ ProjectManager.DeviceId=STM32H723VGTx
|
||||
ProjectManager.FirmwarePackage=STM32Cube FW_H7 V1.12.1
|
||||
ProjectManager.FreePins=false
|
||||
ProjectManager.HalAssertFull=false
|
||||
ProjectManager.HeapSize=0x200
|
||||
ProjectManager.HeapSize=0x1000
|
||||
ProjectManager.KeepUserCode=true
|
||||
ProjectManager.LastFirmware=true
|
||||
ProjectManager.LibraryCopy=1
|
||||
@ -185,7 +200,7 @@ ProjectManager.ProjectFileName=FDCAN.ioc
|
||||
ProjectManager.ProjectName=FDCAN
|
||||
ProjectManager.ProjectStructure=
|
||||
ProjectManager.RegisterCallBack=
|
||||
ProjectManager.StackSize=0x400
|
||||
ProjectManager.StackSize=0x2000
|
||||
ProjectManager.TargetToolchain=MDK-ARM V5.32
|
||||
ProjectManager.ToolChainLocation=
|
||||
ProjectManager.UAScriptAfterPath=
|
||||
@ -262,7 +277,7 @@ RCC.SYSCLKFreq_VALUE=480000000
|
||||
RCC.SYSCLKSource=RCC_SYSCLKSOURCE_PLLCLK
|
||||
RCC.Tim1OutputFreq_Value=240000000
|
||||
RCC.Tim2OutputFreq_Value=240000000
|
||||
RCC.TraceFreq_Value=64000000
|
||||
RCC.TraceFreq_Value=240000000
|
||||
RCC.USART16Freq_Value=120000000
|
||||
RCC.USART234578Freq_Value=120000000
|
||||
RCC.USBFreq_Value=120000000
|
||||
@ -279,4 +294,3 @@ VP_MEMORYMAP_VS_MEMORYMAP.Signal=MEMORYMAP_VS_MEMORYMAP
|
||||
VP_SYS_VS_tim2.Mode=TIM2
|
||||
VP_SYS_VS_tim2.Signal=SYS_VS_tim2
|
||||
board=custom
|
||||
rtos.0.ip=FREERTOS
|
||||
|
||||
9
MDK-ARM/EventRecorderStub.scvd
Normal file
9
MDK-ARM/EventRecorderStub.scvd
Normal file
@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<component_viewer schemaVersion="0.1" xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="Component_Viewer.xsd">
|
||||
|
||||
<component name="EventRecorderStub" version="1.0.0"/> <!--name and version of the component-->
|
||||
<events>
|
||||
</events>
|
||||
|
||||
</component_viewer>
|
||||
File diff suppressed because one or more lines are too long
@ -103,7 +103,7 @@
|
||||
<bEvRecOn>1</bEvRecOn>
|
||||
<bSchkAxf>0</bSchkAxf>
|
||||
<bTchkAxf>0</bTchkAxf>
|
||||
<nTsel>6</nTsel>
|
||||
<nTsel>4</nTsel>
|
||||
<sDll></sDll>
|
||||
<sDllPa></sDllPa>
|
||||
<sDlgDll></sDlgDll>
|
||||
@ -114,9 +114,29 @@
|
||||
<tDlgDll></tDlgDll>
|
||||
<tDlgPa></tDlgPa>
|
||||
<tIfile></tIfile>
|
||||
<pMon>STLink\ST-LINKIII-KEIL_SWO.dll</pMon>
|
||||
<pMon>Segger\JL2CM3.dll</pMon>
|
||||
</DebugOpt>
|
||||
<TargetDriverDllRegistry>
|
||||
<SetRegEntry>
|
||||
<Number>0</Number>
|
||||
<Key>ARMRTXEVENTFLAGS</Key>
|
||||
<Name>-L70 -Z18 -C0 -M0 -T1</Name>
|
||||
</SetRegEntry>
|
||||
<SetRegEntry>
|
||||
<Number>0</Number>
|
||||
<Key>DLGTARM</Key>
|
||||
<Name>(1010=-1,-1,-1,-1,0)(6017=-1,-1,-1,-1,0)(1008=-1,-1,-1,-1,0)(6016=-1,-1,-1,-1,0)(1012=-1,-1,-1,-1,0)</Name>
|
||||
</SetRegEntry>
|
||||
<SetRegEntry>
|
||||
<Number>0</Number>
|
||||
<Key>ARMDBGFLAGS</Key>
|
||||
<Name></Name>
|
||||
</SetRegEntry>
|
||||
<SetRegEntry>
|
||||
<Number>0</Number>
|
||||
<Key>JL2CM3</Key>
|
||||
<Name>-U20750720 -O78 -S2 -ZTIFSpeedSel5000 -A0 -C0 -JU1 -JI127.0.0.1 -JP0 -RST0 -N00("ARM CoreSight SW-DP") -D00(6BA02477) -L00(0) -TO18 -TC10000000 -TP21 -TDS8007 -TDT0 -TDC1F -TIEFFFFFFFF -TIP8 -TB1 -TFE0 -FO15 -FD20000000 -FC8000 -FN1 -FF0STM32H72x-73x_1024.FLM -FS08000000 -FL0100000 -FP0($$Device:STM32H723VGTx$CMSIS\Flash\STM32H72x-73x_1024.FLM)</Name>
|
||||
</SetRegEntry>
|
||||
<SetRegEntry>
|
||||
<Number>0</Number>
|
||||
<Key>UL2CM3</Key>
|
||||
@ -125,10 +145,97 @@
|
||||
<SetRegEntry>
|
||||
<Number>0</Number>
|
||||
<Key>ST-LINKIII-KEIL_SWO</Key>
|
||||
<Name>-U-O142 -O2254 -S0 -C0 -N00("ARM CoreSight SW-DP") -D00(5BA02477) -L00(0) -TO18 -TC10000000 -TP21 -TDS8007 -TDT0 -TDC1F -TIEFFFFFFFF -TIP8 -FO7 -FD20000000 -FC1000 -FN1 -FF0STM32H72x-73x_1024.FLM -FS08000000 -FL0100000 -FP0($$Device:STM32H723VGTx$CMSIS\Flash\STM32H72x-73x_1024.FLM)</Name>
|
||||
<Name>-U-O142 -O2254 -SF5000 -C0 -A0 -I0 -HNlocalhost -HP7184 -P1 -N00("ARM CoreSight SW-DP (ARM Core") -D00(6BA02477) -L00(0) -TO131090 -TC10000000 -TT10000000 -TP21 -TDS8007 -TDT0 -TDC1F -TIEFFFFFFFF -TIP8 -FO7 -FD20000000 -FC1000 -FN1 -FF0STM32H72x-73x_1024.FLM -FS08000000 -FL0100000 -FP0($$Device:STM32H723VGTx$CMSIS\Flash\STM32H72x-73x_1024.FLM)</Name>
|
||||
</SetRegEntry>
|
||||
</TargetDriverDllRegistry>
|
||||
<Breakpoint/>
|
||||
<Breakpoint>
|
||||
<Bp>
|
||||
<Number>0</Number>
|
||||
<Type>0</Type>
|
||||
<LineNumber>214</LineNumber>
|
||||
<EnabledFlag>1</EnabledFlag>
|
||||
<Address>134224464</Address>
|
||||
<ByteObject>0</ByteObject>
|
||||
<HtxType>0</HtxType>
|
||||
<ManyObjects>0</ManyObjects>
|
||||
<SizeOfObject>0</SizeOfObject>
|
||||
<BreakByAccess>0</BreakByAccess>
|
||||
<BreakIfRCount>1</BreakIfRCount>
|
||||
<Filename>..\User\bsp\fdcan.c</Filename>
|
||||
<ExecCommand></ExecCommand>
|
||||
<Expression>\\FDCAN\../User/bsp/fdcan.c\214</Expression>
|
||||
</Bp>
|
||||
<Bp>
|
||||
<Number>1</Number>
|
||||
<Type>0</Type>
|
||||
<LineNumber>134</LineNumber>
|
||||
<EnabledFlag>1</EnabledFlag>
|
||||
<Address>0</Address>
|
||||
<ByteObject>0</ByteObject>
|
||||
<HtxType>0</HtxType>
|
||||
<ManyObjects>0</ManyObjects>
|
||||
<SizeOfObject>0</SizeOfObject>
|
||||
<BreakByAccess>0</BreakByAccess>
|
||||
<BreakIfRCount>0</BreakIfRCount>
|
||||
<Filename>..\User\bsp\fdcan.c</Filename>
|
||||
<ExecCommand></ExecCommand>
|
||||
<Expression></Expression>
|
||||
</Bp>
|
||||
<Bp>
|
||||
<Number>2</Number>
|
||||
<Type>0</Type>
|
||||
<LineNumber>155</LineNumber>
|
||||
<EnabledFlag>1</EnabledFlag>
|
||||
<Address>0</Address>
|
||||
<ByteObject>0</ByteObject>
|
||||
<HtxType>0</HtxType>
|
||||
<ManyObjects>0</ManyObjects>
|
||||
<SizeOfObject>0</SizeOfObject>
|
||||
<BreakByAccess>0</BreakByAccess>
|
||||
<BreakIfRCount>0</BreakIfRCount>
|
||||
<Filename>..\User\bsp\fdcan.c</Filename>
|
||||
<ExecCommand></ExecCommand>
|
||||
<Expression></Expression>
|
||||
</Bp>
|
||||
<Bp>
|
||||
<Number>3</Number>
|
||||
<Type>0</Type>
|
||||
<LineNumber>184</LineNumber>
|
||||
<EnabledFlag>1</EnabledFlag>
|
||||
<Address>0</Address>
|
||||
<ByteObject>0</ByteObject>
|
||||
<HtxType>0</HtxType>
|
||||
<ManyObjects>0</ManyObjects>
|
||||
<SizeOfObject>0</SizeOfObject>
|
||||
<BreakByAccess>0</BreakByAccess>
|
||||
<BreakIfRCount>0</BreakIfRCount>
|
||||
<Filename>..\User\bsp\fdcan.c</Filename>
|
||||
<ExecCommand></ExecCommand>
|
||||
<Expression></Expression>
|
||||
</Bp>
|
||||
</Breakpoint>
|
||||
<WatchWindow1>
|
||||
<Ww>
|
||||
<count>0</count>
|
||||
<WinNumber>1</WinNumber>
|
||||
<ItemText>queue_list</ItemText>
|
||||
</Ww>
|
||||
<Ww>
|
||||
<count>1</count>
|
||||
<WinNumber>1</WinNumber>
|
||||
<ItemText>tx_queues</ItemText>
|
||||
</Ww>
|
||||
<Ww>
|
||||
<count>2</count>
|
||||
<WinNumber>1</WinNumber>
|
||||
<ItemText>msg</ItemText>
|
||||
</Ww>
|
||||
<Ww>
|
||||
<count>3</count>
|
||||
<WinNumber>1</WinNumber>
|
||||
<ItemText>fifolevel</ItemText>
|
||||
</Ww>
|
||||
</WatchWindow1>
|
||||
<Tracepoint>
|
||||
<THDelay>0</THDelay>
|
||||
</Tracepoint>
|
||||
@ -171,9 +278,15 @@
|
||||
<pszMrulep></pszMrulep>
|
||||
<pSingCmdsp></pSingCmdsp>
|
||||
<pMultCmdsp></pMultCmdsp>
|
||||
<SystemViewers>
|
||||
<Entry>
|
||||
<Name>System Viewer\FDCAN1</Name>
|
||||
<WinId>35905</WinId>
|
||||
</Entry>
|
||||
</SystemViewers>
|
||||
<DebugDescription>
|
||||
<Enable>1</Enable>
|
||||
<EnableFlashSeq>1</EnableFlashSeq>
|
||||
<EnableFlashSeq>0</EnableFlashSeq>
|
||||
<EnableLog>0</EnableLog>
|
||||
<Protocol>2</Protocol>
|
||||
<DbgClock>5000000</DbgClock>
|
||||
@ -342,18 +455,6 @@
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>../Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_fdcan.c</PathWithFileName>
|
||||
<FilenameWithoutPath>stm32h7xx_hal_fdcan.c</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>3</GroupNumber>
|
||||
<FileNumber>13</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>../Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_rcc.c</PathWithFileName>
|
||||
<FilenameWithoutPath>stm32h7xx_hal_rcc.c</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
@ -361,7 +462,7 @@
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>3</GroupNumber>
|
||||
<FileNumber>14</FileNumber>
|
||||
<FileNumber>13</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
@ -373,7 +474,7 @@
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>3</GroupNumber>
|
||||
<FileNumber>15</FileNumber>
|
||||
<FileNumber>14</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
@ -385,7 +486,7 @@
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>3</GroupNumber>
|
||||
<FileNumber>16</FileNumber>
|
||||
<FileNumber>15</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
@ -397,7 +498,7 @@
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>3</GroupNumber>
|
||||
<FileNumber>17</FileNumber>
|
||||
<FileNumber>16</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
@ -409,7 +510,7 @@
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>3</GroupNumber>
|
||||
<FileNumber>18</FileNumber>
|
||||
<FileNumber>17</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
@ -421,7 +522,7 @@
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>3</GroupNumber>
|
||||
<FileNumber>19</FileNumber>
|
||||
<FileNumber>18</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
@ -433,7 +534,7 @@
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>3</GroupNumber>
|
||||
<FileNumber>20</FileNumber>
|
||||
<FileNumber>19</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
@ -445,7 +546,7 @@
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>3</GroupNumber>
|
||||
<FileNumber>21</FileNumber>
|
||||
<FileNumber>20</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
@ -457,7 +558,7 @@
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>3</GroupNumber>
|
||||
<FileNumber>22</FileNumber>
|
||||
<FileNumber>21</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
@ -469,7 +570,7 @@
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>3</GroupNumber>
|
||||
<FileNumber>23</FileNumber>
|
||||
<FileNumber>22</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
@ -481,7 +582,7 @@
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>3</GroupNumber>
|
||||
<FileNumber>24</FileNumber>
|
||||
<FileNumber>23</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
@ -493,7 +594,7 @@
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>3</GroupNumber>
|
||||
<FileNumber>25</FileNumber>
|
||||
<FileNumber>24</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
@ -505,7 +606,7 @@
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>3</GroupNumber>
|
||||
<FileNumber>26</FileNumber>
|
||||
<FileNumber>25</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
@ -517,7 +618,7 @@
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>3</GroupNumber>
|
||||
<FileNumber>27</FileNumber>
|
||||
<FileNumber>26</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
@ -527,6 +628,18 @@
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>3</GroupNumber>
|
||||
<FileNumber>27</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>../Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_fdcan.c</PathWithFileName>
|
||||
<FilenameWithoutPath>stm32h7xx_hal_fdcan.c</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
</Group>
|
||||
|
||||
<Group>
|
||||
@ -903,7 +1016,7 @@
|
||||
|
||||
<Group>
|
||||
<GroupName>User/task</GroupName>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExp>1</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<cbSel>0</cbSel>
|
||||
<RteFlg>0</RteFlg>
|
||||
|
||||
@ -138,7 +138,7 @@
|
||||
</Flash1>
|
||||
<bUseTDR>1</bUseTDR>
|
||||
<Flash2>BIN\UL2V8M.DLL</Flash2>
|
||||
<Flash3></Flash3>
|
||||
<Flash3>"" ()</Flash3>
|
||||
<Flash4></Flash4>
|
||||
<pFcarmOut></pFcarmOut>
|
||||
<pFcarmGrp></pFcarmGrp>
|
||||
@ -499,11 +499,6 @@
|
||||
<FileType>1</FileType>
|
||||
<FilePath>../Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_cortex.c</FilePath>
|
||||
</File>
|
||||
<File>
|
||||
<FileName>stm32h7xx_hal_fdcan.c</FileName>
|
||||
<FileType>1</FileType>
|
||||
<FilePath>../Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_fdcan.c</FilePath>
|
||||
</File>
|
||||
<File>
|
||||
<FileName>stm32h7xx_hal_rcc.c</FileName>
|
||||
<FileType>1</FileType>
|
||||
@ -579,6 +574,11 @@
|
||||
<FileType>1</FileType>
|
||||
<FilePath>../Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_exti.c</FilePath>
|
||||
</File>
|
||||
<File>
|
||||
<FileName>stm32h7xx_hal_fdcan.c</FileName>
|
||||
<FileType>1</FileType>
|
||||
<FilePath>../Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_fdcan.c</FilePath>
|
||||
</File>
|
||||
</Files>
|
||||
</Group>
|
||||
<Group>
|
||||
|
||||
2
MDK-ARM/FDCAN/ExtDll.iex
Normal file
2
MDK-ARM/FDCAN/ExtDll.iex
Normal file
@ -0,0 +1,2 @@
|
||||
[EXTDLL]
|
||||
Count=0
|
||||
BIN
MDK-ARM/FDCAN/FDCAN.axf
Normal file
BIN
MDK-ARM/FDCAN/FDCAN.axf
Normal file
Binary file not shown.
@ -17,7 +17,7 @@ Library Manager: ArmAr.exe V5.06 update 7 (build 960)
|
||||
Hex Converter: FromElf.exe V5.06 update 7 (build 960)
|
||||
CPU DLL: SARMCM3.DLL V5.34.0.0
|
||||
Dialog DLL: DCM.DLL V1.17.3.0
|
||||
Target DLL: STLink\ST-LINKIII-KEIL_SWO.dll V3.0.8.0
|
||||
Target DLL: Segger\JL2CM3.dll V2.99.38.0
|
||||
Dialog DLL: TCM.DLL V1.48.0.0
|
||||
|
||||
<h2>Project:</h2>
|
||||
@ -26,146 +26,15 @@ Project File Date: 12/26/2025
|
||||
|
||||
<h2>Output:</h2>
|
||||
*** Using Compiler 'V5.06 update 7 (build 960)', folder: 'D:\cangming\ARM\ARMCC\Bin'
|
||||
Rebuild target 'FDCAN'
|
||||
Build target 'FDCAN'
|
||||
Note: source file '..\User\bsp\fdcan.c' - object file renamed from 'FDCAN\fdcan.o' to 'FDCAN\fdcan_1.o'.
|
||||
assembling startup_stm32h723xx.s...
|
||||
compiling list.c...
|
||||
compiling croutine.c...
|
||||
compiling event_groups.c...
|
||||
compiling queue.c...
|
||||
compiling stream_buffer.c...
|
||||
compiling tasks.c...
|
||||
compiling timers.c...
|
||||
compiling freertos.c...
|
||||
compiling fdcan.c...
|
||||
compiling stm32h7xx_it.c...
|
||||
compiling gpio.c...
|
||||
compiling stm32h7xx_hal_pwr.c...
|
||||
compiling stm32h7xx_hal_flash.c...
|
||||
compiling stm32h7xx_hal_cortex.c...
|
||||
compiling heap_4.c...
|
||||
compiling stm32h7xx_hal_flash_ex.c...
|
||||
compiling system_stm32h7xx.c...
|
||||
compiling main.c...
|
||||
compiling stm32h7xx_hal_timebase_tim.c...
|
||||
compiling fdcan.c...
|
||||
compiling stm32h7xx_hal.c...
|
||||
compiling stm32h7xx_hal_gpio.c...
|
||||
compiling stm32h7xx_hal_msp.c...
|
||||
compiling stm32h7xx_hal_exti.c...
|
||||
compiling stm32h7xx_hal_i2c_ex.c...
|
||||
compiling stm32h7xx_hal_hsem.c...
|
||||
compiling stm32h7xx_hal_dma_ex.c...
|
||||
compiling stm32h7xx_hal_fdcan.c...
|
||||
compiling stm32h7xx_hal_pwr_ex.c...
|
||||
compiling stm32h7xx_hal_mdma.c...
|
||||
compiling stm32h7xx_hal_rcc_ex.c...
|
||||
compiling stm32h7xx_hal_tim_ex.c...
|
||||
compiling stm32h7xx_hal_tim.c...
|
||||
compiling stm32h7xx_hal_rcc.c...
|
||||
compiling port.c...
|
||||
compiling mm.c...
|
||||
compiling stm32h7xx_hal_i2c.c...
|
||||
compiling stm32h7xx_hal_dma.c...
|
||||
compiling crc16.c...
|
||||
..\User\component\user_math.h(179): warning: #1-D: last line of file ends without a newline
|
||||
/* USER FUNCTION END */
|
||||
..\User\component\crc16.c: 1 warning, 0 errors
|
||||
compiling filter.c...
|
||||
..\User\component\user_math.h(179): warning: #1-D: last line of file ends without a newline
|
||||
/* USER FUNCTION END */
|
||||
..\User\component\filter.c: 1 warning, 0 errors
|
||||
compiling pid.c...
|
||||
..\User\component\user_math.h(179): warning: #1-D: last line of file ends without a newline
|
||||
/* USER FUNCTION END */
|
||||
..\User\component\pid.c: 1 warning, 0 errors
|
||||
compiling user_math.c...
|
||||
..\User\component\user_math.h(179): warning: #1-D: last line of file ends without a newline
|
||||
/* USER FUNCTION END */
|
||||
..\User\component\user_math.c(147): warning: #1-D: last line of file ends without a newline
|
||||
/* USER FUNCTION END */
|
||||
..\User\component\user_math.c: 2 warnings, 0 errors
|
||||
compiling init.c...
|
||||
compiling user_task.c...
|
||||
compiling cmsis_os2.c...
|
||||
compiling blink.c...
|
||||
../Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_rcc_ex.h(3901): error: #20: identifier "HAL_StatusTypeDef" is undefined
|
||||
HAL_StatusTypeDef HAL_RCCEx_PeriphCLKConfig(RCC_PeriphCLKInitTypeDef *PeriphClkInit);
|
||||
../Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_rcc.h(7969): error: #20: identifier "HAL_StatusTypeDef" is undefined
|
||||
HAL_StatusTypeDef HAL_RCC_DeInit(void);
|
||||
../Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_rcc.h(7970): error: #20: identifier "HAL_StatusTypeDef" is undefined
|
||||
HAL_StatusTypeDef HAL_RCC_OscConfig(RCC_OscInitTypeDef *RCC_OscInitStruct);
|
||||
../Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_rcc.h(7971): error: #20: identifier "HAL_StatusTypeDef" is undefined
|
||||
HAL_StatusTypeDef HAL_RCC_ClockConfig(const RCC_ClkInitTypeDef *RCC_ClkInitStruct, uint32_t FLatency);
|
||||
../Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_dma.h(142): error: #20: identifier "HAL_LockTypeDef" is undefined
|
||||
HAL_LockTypeDef Lock; /*!< DMA locking object */
|
||||
../Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_dma_ex.h(237): error: #20: identifier "HAL_StatusTypeDef" is undefined
|
||||
HAL_StatusTypeDef HAL_DMAEx_MultiBufferStart(DMA_HandleTypeDef *hdma, uint32_t SrcAddress, uint32_t DstAddress, uint32_t SecondMemAddress, uint32_t DataLength);
|
||||
../Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_dma_ex.h(238): error: #20: identifier "HAL_StatusTypeDef" is undefined
|
||||
HAL_StatusTypeDef HAL_DMAEx_MultiBufferStart_IT(DMA_HandleTypeDef *hdma, uint32_t SrcAddress, uint32_t DstAddress, uint32_t SecondMemAddress, uint32_t DataLength);
|
||||
../Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_dma_ex.h(239): error: #20: identifier "HAL_StatusTypeDef" is undefined
|
||||
HAL_StatusTypeDef HAL_DMAEx_ChangeMemory(DMA_HandleTypeDef *hdma, uint32_t Address, HAL_DMA_MemoryTypeDef memory);
|
||||
../Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_dma_ex.h(240): error: #20: identifier "HAL_StatusTypeDef" is undefined
|
||||
HAL_StatusTypeDef HAL_DMAEx_ConfigMuxSync(DMA_HandleTypeDef *hdma, HAL_DMA_MuxSyncConfigTypeDef *pSyncConfig);
|
||||
../Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_dma_ex.h(241): error: #20: identifier "HAL_StatusTypeDef" is undefined
|
||||
HAL_StatusTypeDef HAL_DMAEx_ConfigMuxRequestGenerator (DMA_HandleTypeDef *hdma, HAL_DMA_MuxRequestGeneratorConfigTypeDef *pRequestGeneratorConfig);
|
||||
../Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_dma_ex.h(242): error: #20: identifier "HAL_StatusTypeDef" is undefined
|
||||
HAL_StatusTypeDef HAL_DMAEx_EnableMuxRequestGenerator (DMA_HandleTypeDef *hdma);
|
||||
../Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_dma_ex.h(243): error: #20: identifier "HAL_StatusTypeDef" is undefined
|
||||
HAL_StatusTypeDef HAL_DMAEx_DisableMuxRequestGenerator (DMA_HandleTypeDef *hdma);
|
||||
../Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_dma.h(1187): error: #20: identifier "HAL_StatusTypeDef" is undefined
|
||||
HAL_StatusTypeDef HAL_DMA_Init(DMA_HandleTypeDef *hdma);
|
||||
../Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_dma.h(1188): error: #20: identifier "HAL_StatusTypeDef" is undefined
|
||||
HAL_StatusTypeDef HAL_DMA_DeInit(DMA_HandleTypeDef *hdma);
|
||||
../Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_dma.h(1197): error: #20: identifier "HAL_StatusTypeDef" is undefined
|
||||
HAL_StatusTypeDef HAL_DMA_Start (DMA_HandleTypeDef *hdma, uint32_t SrcAddress, uint32_t DstAddress, uint32_t DataLength);
|
||||
../Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_dma.h(1198): error: #20: identifier "HAL_StatusTypeDef" is undefined
|
||||
HAL_StatusTypeDef HAL_DMA_Start_IT(DMA_HandleTypeDef *hdma, uint32_t SrcAddress, uint32_t DstAddress, uint32_t DataLength);
|
||||
../Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_dma.h(1199): error: #20: identifier "HAL_StatusTypeDef" is undefined
|
||||
HAL_StatusTypeDef HAL_DMA_Abort(DMA_HandleTypeDef *hdma);
|
||||
../Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_dma.h(1200): error: #20: identifier "HAL_StatusTypeDef" is undefined
|
||||
HAL_StatusTypeDef HAL_DMA_Abort_IT(DMA_HandleTypeDef *hdma);
|
||||
../Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_dma.h(1201): error: #20: identifier "HAL_StatusTypeDef" is undefined
|
||||
HAL_StatusTypeDef HAL_DMA_PollForTransfer(DMA_HandleTypeDef *hdma, HAL_DMA_LevelCompleteTypeDef CompleteLevel, uint32_t Timeout);
|
||||
../Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_dma.h(1203): error: #20: identifier "HAL_StatusTypeDef" is undefined
|
||||
HAL_StatusTypeDef HAL_DMA_RegisterCallback(DMA_HandleTypeDef *hdma, HAL_DMA_CallbackIDTypeDef CallbackID, void (* pCallback)(DMA_HandleTypeDef *_hdma));
|
||||
../Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_dma.h(1204): error: #20: identifier "HAL_StatusTypeDef" is undefined
|
||||
HAL_StatusTypeDef HAL_DMA_UnRegisterCallback(DMA_HandleTypeDef *hdma, HAL_DMA_CallbackIDTypeDef CallbackID);
|
||||
../Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_mdma.h(208): error: #20: identifier "HAL_LockTypeDef" is undefined
|
||||
HAL_LockTypeDef Lock; /*!< MDMA locking object */
|
||||
../Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_mdma.h(640): error: #20: identifier "HAL_StatusTypeDef" is undefined
|
||||
HAL_StatusTypeDef HAL_MDMA_Init(MDMA_HandleTypeDef *hmdma);
|
||||
../Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_mdma.h(641): error: #20: identifier "HAL_StatusTypeDef" is undefined
|
||||
HAL_StatusTypeDef HAL_MDMA_DeInit (MDMA_HandleTypeDef *hmdma);
|
||||
../Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_mdma.h(642): error: #20: identifier "HAL_StatusTypeDef" is undefined
|
||||
HAL_StatusTypeDef HAL_MDMA_ConfigPostRequestMask(MDMA_HandleTypeDef *hmdma, uint32_t MaskAddress, uint32_t MaskData);
|
||||
../Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_mdma.h(644): error: #20: identifier "HAL_StatusTypeDef" is undefined
|
||||
HAL_StatusTypeDef HAL_MDMA_RegisterCallback(MDMA_HandleTypeDef *hmdma, HAL_MDMA_CallbackIDTypeDef CallbackID, void (* pCallback)(MDMA_HandleTypeDef *_hmdma));
|
||||
../Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_mdma.h(645): error: #20: identifier "HAL_StatusTypeDef" is undefined
|
||||
HAL_StatusTypeDef HAL_MDMA_UnRegisterCallback(MDMA_HandleTypeDef *hmdma, HAL_MDMA_CallbackIDTypeDef CallbackID);
|
||||
../Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_mdma.h(657): error: #20: identifier "HAL_StatusTypeDef" is undefined
|
||||
HAL_StatusTypeDef HAL_MDMA_LinkedList_CreateNode(MDMA_LinkNodeTypeDef *pNode, MDMA_LinkNodeConfTypeDef *pNodeConfig);
|
||||
../Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_mdma.h(658): error: #20: identifier "HAL_StatusTypeDef" is undefined
|
||||
HAL_StatusTypeDef HAL_MDMA_LinkedList_AddNode(MDMA_HandleTypeDef *hmdma, MDMA_LinkNodeTypeDef *pNewNode, const MDMA_LinkNodeTypeDef *pPrevNode);
|
||||
../Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_mdma.h(659): error: #20: identifier "HAL_StatusTypeDef" is undefined
|
||||
HAL_StatusTypeDef HAL_MDMA_LinkedList_RemoveNode(MDMA_HandleTypeDef *hmdma, MDMA_LinkNodeTypeDef *pNode);
|
||||
..\User\task\blink.c: 0 warnings, 30 errors
|
||||
compiling fdcan.c...
|
||||
..\User\bsp\fdcan.h(16): error: #5: cannot open source input file "stdatomic.h": No such file or directory
|
||||
#include <stdatomic.h>
|
||||
..\User\bsp\fdcan.c: 0 warnings, 1 error
|
||||
compiling time.c...
|
||||
../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\bsp\time.c(43): warning: #1295-D: Deprecated declaration BSP_TIME_Get - give arg types
|
||||
uint64_t BSP_TIME_Get() __attribute__((alias("BSP_TIME_Get_us")));
|
||||
..\User\bsp\time.c(81): warning: #1-D: last line of file ends without a newline
|
||||
/* USER FUNCTION END */
|
||||
..\User\bsp\time.c: 5 warnings, 0 errors
|
||||
"FDCAN\FDCAN.axf" - 31 Error(s), 10 Warning(s).
|
||||
linking...
|
||||
Program Size: Code=23600 RO-data=996 RW-data=176 ZI-data=36776
|
||||
FromELF: creating hex file...
|
||||
"FDCAN\FDCAN.axf" - 0 Error(s), 0 Warning(s).
|
||||
|
||||
<h2>Software Packages used:</h2>
|
||||
|
||||
@ -188,8 +57,7 @@ Package Vendor: Keil
|
||||
|
||||
* Component: ARM::CMSIS:CORE:5.4.0
|
||||
Include file: CMSIS\Core\Include\tz_context.h
|
||||
Target not created.
|
||||
Build Time Elapsed: 00:00:13
|
||||
Build Time Elapsed: 00:00:05
|
||||
</pre>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -2,6 +2,7 @@
|
||||
"fdcan\startup_stm32h723xx.o"
|
||||
"fdcan\main.o"
|
||||
"fdcan\gpio.o"
|
||||
"fdcan\freertos.o"
|
||||
"fdcan\fdcan.o"
|
||||
"fdcan\stm32h7xx_it.o"
|
||||
"fdcan\stm32h7xx_hal_msp.o"
|
||||
@ -9,7 +10,6 @@
|
||||
"fdcan\stm32h7xx_hal_tim.o"
|
||||
"fdcan\stm32h7xx_hal_tim_ex.o"
|
||||
"fdcan\stm32h7xx_hal_cortex.o"
|
||||
"fdcan\stm32h7xx_hal_fdcan.o"
|
||||
"fdcan\stm32h7xx_hal_rcc.o"
|
||||
"fdcan\stm32h7xx_hal_rcc_ex.o"
|
||||
"fdcan\stm32h7xx_hal_flash.o"
|
||||
@ -25,7 +25,28 @@
|
||||
"fdcan\stm32h7xx_hal_i2c.o"
|
||||
"fdcan\stm32h7xx_hal_i2c_ex.o"
|
||||
"fdcan\stm32h7xx_hal_exti.o"
|
||||
"fdcan\stm32h7xx_hal_fdcan.o"
|
||||
"fdcan\system_stm32h7xx.o"
|
||||
"fdcan\croutine.o"
|
||||
"fdcan\event_groups.o"
|
||||
"fdcan\list.o"
|
||||
"fdcan\queue.o"
|
||||
"fdcan\stream_buffer.o"
|
||||
"fdcan\tasks.o"
|
||||
"fdcan\timers.o"
|
||||
"fdcan\cmsis_os2.o"
|
||||
"fdcan\heap_4.o"
|
||||
"fdcan\port.o"
|
||||
"fdcan\fdcan_1.o"
|
||||
"fdcan\mm.o"
|
||||
"fdcan\time.o"
|
||||
"fdcan\crc16.o"
|
||||
"fdcan\filter.o"
|
||||
"fdcan\pid.o"
|
||||
"fdcan\user_math.o"
|
||||
"fdcan\blink.o"
|
||||
"fdcan\init.o"
|
||||
"fdcan\user_task.o"
|
||||
--strict --scatter "FDCAN\FDCAN.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
@ -1,6 +1,6 @@
|
||||
Dependencies for Project 'FDCAN', Target 'FDCAN': (DO NOT MODIFY !)
|
||||
CompilerVersion: 5060960::V5.06 update 7 (build 960)::.\ARMCC
|
||||
F (startup_stm32h723xx.s)(0x694E3400)(--cpu Cortex-M7.fp.dp -g --apcs=interwork -I ../Drivers/CMSIS/Include
-I.\RTE\_FDCAN
-ID:\cangming\ARM\CMSIS\5.7.0\CMSIS\Core\Include
--pd "__UVISION_VERSION SETA 534" --pd "_RTE_ SETA 1" --pd "STM32H723xx SETA 1" --pd "_RTE_ SETA 1"
--list startup_stm32h723xx.lst --xref -o fdcan\startup_stm32h723xx.o --depend fdcan\startup_stm32h723xx.d)
|
||||
F (startup_stm32h723xx.s)(0x694EA5AF)(--cpu Cortex-M7.fp.dp -g --apcs=interwork -I ../Drivers/CMSIS/Include
-I.\RTE\_FDCAN
-ID:\cangming\ARM\CMSIS\5.7.0\CMSIS\Core\Include
--pd "__UVISION_VERSION SETA 534" --pd "_RTE_ SETA 1" --pd "STM32H723xx SETA 1" --pd "_RTE_ SETA 1"
--list startup_stm32h723xx.lst --xref -o fdcan\startup_stm32h723xx.o --depend fdcan\startup_stm32h723xx.d)
|
||||
F (../Core/Src/main.c)(0x694E2F79)(--c99 --gnu -c --cpu Cortex-M7.fp.dp -g -O3 --apcs=interwork --split_sections -I ../Core/Inc -I ../Drivers/STM32H7xx_HAL_Driver/Inc -I ../Drivers/STM32H7xx_HAL_Driver/Inc/Legacy -I ../Drivers/CMSIS/Device/ST/STM32H7xx/Include -I ../Drivers/CMSIS/Include -I ../Middlewares/Third_Party/FreeRTOS/Source/include -I ../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2 -I ../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM4F -I ../User
-I.\RTE\_FDCAN
-ID:\cangming\ARM\CMSIS\5.7.0\CMSIS\Core\Include
-D__UVISION_VERSION="534" -D_RTE_ -DSTM32H723xx -D_RTE_ -DUSE_PWR_LDO_SUPPLY -DUSE_HAL_DRIVER -DSTM32H723xx
-o fdcan\main.o --omf_browse fdcan\main.crf --depend fdcan\main.d)
|
||||
I (../Core/Inc/main.h)(0x694E28D6)
|
||||
I (../Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal.h)(0x6944350B)
|
||||
@ -50,7 +50,7 @@ I (../Middlewares/Third_Party/FreeRTOS/Source/include/list.h)(0x694434DA)
|
||||
I (../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/cmsis_os2.h)(0x694434DA)
|
||||
I (../Core/Inc/fdcan.h)(0x69469E17)
|
||||
I (../Core/Inc/gpio.h)(0x6944350E)
|
||||
F (../Core/Src/gpio.c)(0x694E28D3)(--c99 --gnu -c --cpu Cortex-M7.fp.dp -g -O3 --apcs=interwork --split_sections -I ../Core/Inc -I ../Drivers/STM32H7xx_HAL_Driver/Inc -I ../Drivers/STM32H7xx_HAL_Driver/Inc/Legacy -I ../Drivers/CMSIS/Device/ST/STM32H7xx/Include -I ../Drivers/CMSIS/Include -I ../Middlewares/Third_Party/FreeRTOS/Source/include -I ../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2 -I ../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM4F -I ../User
-I.\RTE\_FDCAN
-ID:\cangming\ARM\CMSIS\5.7.0\CMSIS\Core\Include
-D__UVISION_VERSION="534" -D_RTE_ -DSTM32H723xx -D_RTE_ -DUSE_PWR_LDO_SUPPLY -DUSE_HAL_DRIVER -DSTM32H723xx
-o fdcan\gpio.o --omf_browse fdcan\gpio.crf --depend fdcan\gpio.d)
|
||||
F (../Core/Src/gpio.c)(0x694E48FA)(--c99 --gnu -c --cpu Cortex-M7.fp.dp -g -O3 --apcs=interwork --split_sections -I ../Core/Inc -I ../Drivers/STM32H7xx_HAL_Driver/Inc -I ../Drivers/STM32H7xx_HAL_Driver/Inc/Legacy -I ../Drivers/CMSIS/Device/ST/STM32H7xx/Include -I ../Drivers/CMSIS/Include -I ../Middlewares/Third_Party/FreeRTOS/Source/include -I ../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2 -I ../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM4F -I ../User
-I.\RTE\_FDCAN
-ID:\cangming\ARM\CMSIS\5.7.0\CMSIS\Core\Include
-D__UVISION_VERSION="534" -D_RTE_ -DSTM32H723xx -D_RTE_ -DUSE_PWR_LDO_SUPPLY -DUSE_HAL_DRIVER -DSTM32H723xx
-o fdcan\gpio.o --omf_browse fdcan\gpio.crf --depend fdcan\gpio.d)
|
||||
I (../Core/Inc/gpio.h)(0x6944350E)
|
||||
I (../Core/Inc/main.h)(0x694E28D6)
|
||||
I (../Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal.h)(0x6944350B)
|
||||
@ -87,7 +87,7 @@ I (../Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_pwr.h)(0x6944350B)
|
||||
I (../Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_pwr_ex.h)(0x6944350B)
|
||||
I (../Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_tim.h)(0x6944350B)
|
||||
I (../Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_tim_ex.h)(0x6944350B)
|
||||
F (../Core/Src/freertos.c)(0x6946749D)(--c99 --gnu -c --cpu Cortex-M7.fp.dp -g -O3 --apcs=interwork --split_sections -I ../Core/Inc -I ../Drivers/STM32H7xx_HAL_Driver/Inc -I ../Drivers/STM32H7xx_HAL_Driver/Inc/Legacy -I ../Drivers/CMSIS/Device/ST/STM32H7xx/Include -I ../Drivers/CMSIS/Include -I ../Middlewares/Third_Party/FreeRTOS/Source/include -I ../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2 -I ../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM4F -I ../User
-I.\RTE\_FDCAN
-ID:\cangming\ARM\CMSIS\5.7.0\CMSIS\Core\Include
-D__UVISION_VERSION="534" -D_RTE_ -DSTM32H723xx -D_RTE_ -DUSE_PWR_LDO_SUPPLY -DUSE_HAL_DRIVER -DSTM32H723xx
-o fdcan\freertos.o --omf_browse fdcan\freertos.crf --depend fdcan\freertos.d)
|
||||
F (../Core/Src/freertos.c)(0x694E58CD)(--c99 --gnu -c --cpu Cortex-M7.fp.dp -g -O3 --apcs=interwork --split_sections -I ../Core/Inc -I ../Drivers/STM32H7xx_HAL_Driver/Inc -I ../Drivers/STM32H7xx_HAL_Driver/Inc/Legacy -I ../Drivers/CMSIS/Device/ST/STM32H7xx/Include -I ../Drivers/CMSIS/Include -I ../Middlewares/Third_Party/FreeRTOS/Source/include -I ../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2 -I ../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM4F -I ../User
-I.\RTE\_FDCAN
-ID:\cangming\ARM\CMSIS\5.7.0\CMSIS\Core\Include
-D__UVISION_VERSION="534" -D_RTE_ -DSTM32H723xx -D_RTE_ -DUSE_PWR_LDO_SUPPLY -DUSE_HAL_DRIVER -DSTM32H723xx
-o fdcan\freertos.o --omf_browse fdcan\freertos.crf --depend fdcan\freertos.d)
|
||||
I (../Middlewares/Third_Party/FreeRTOS/Source/include/FreeRTOS.h)(0x694434DA)
|
||||
I (D:\cangming\ARM\ARMCC\include\stddef.h)(0x5E8E3CC2)
|
||||
I (D:\cangming\ARM\ARMCC\include\stdint.h)(0x5E8E3CC2)
|
||||
@ -134,7 +134,8 @@ I (../Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_tim.h)(0x6944350B)
|
||||
I (../Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_tim_ex.h)(0x6944350B)
|
||||
I (../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/cmsis_os.h)(0x694434DA)
|
||||
I (../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/cmsis_os2.h)(0x694434DA)
|
||||
F (../Core/Src/fdcan.c)(0x69469E17)(--c99 --gnu -c --cpu Cortex-M7.fp.dp -g -O3 --apcs=interwork --split_sections -I ../Core/Inc -I ../Drivers/STM32H7xx_HAL_Driver/Inc -I ../Drivers/STM32H7xx_HAL_Driver/Inc/Legacy -I ../Drivers/CMSIS/Device/ST/STM32H7xx/Include -I ../Drivers/CMSIS/Include -I ../Middlewares/Third_Party/FreeRTOS/Source/include -I ../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2 -I ../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM4F -I ../User
-I.\RTE\_FDCAN
-ID:\cangming\ARM\CMSIS\5.7.0\CMSIS\Core\Include
-D__UVISION_VERSION="534" -D_RTE_ -DSTM32H723xx -D_RTE_ -DUSE_PWR_LDO_SUPPLY -DUSE_HAL_DRIVER -DSTM32H723xx
-o fdcan\fdcan.o --omf_browse fdcan\fdcan.crf --depend fdcan\fdcan.d)
|
||||
I (../User/task/user_task.h)(0x693967A8)
|
||||
F (../Core/Src/fdcan.c)(0x694EA5AE)(--c99 --gnu -c --cpu Cortex-M7.fp.dp -g -O3 --apcs=interwork --split_sections -I ../Core/Inc -I ../Drivers/STM32H7xx_HAL_Driver/Inc -I ../Drivers/STM32H7xx_HAL_Driver/Inc/Legacy -I ../Drivers/CMSIS/Device/ST/STM32H7xx/Include -I ../Drivers/CMSIS/Include -I ../Middlewares/Third_Party/FreeRTOS/Source/include -I ../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2 -I ../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM4F -I ../User
-I.\RTE\_FDCAN
-ID:\cangming\ARM\CMSIS\5.7.0\CMSIS\Core\Include
-D__UVISION_VERSION="534" -D_RTE_ -DSTM32H723xx -D_RTE_ -DUSE_PWR_LDO_SUPPLY -DUSE_HAL_DRIVER -DSTM32H723xx
-o fdcan\fdcan.o --omf_browse fdcan\fdcan.crf --depend fdcan\fdcan.d)
|
||||
I (../Core/Inc/fdcan.h)(0x69469E17)
|
||||
I (../Core/Inc/main.h)(0x694E28D6)
|
||||
I (../Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal.h)(0x6944350B)
|
||||
@ -171,7 +172,7 @@ I (../Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_pwr.h)(0x6944350B)
|
||||
I (../Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_pwr_ex.h)(0x6944350B)
|
||||
I (../Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_tim.h)(0x6944350B)
|
||||
I (../Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_tim_ex.h)(0x6944350B)
|
||||
F (../Core/Src/stm32h7xx_it.c)(0x69469E17)(--c99 --gnu -c --cpu Cortex-M7.fp.dp -g -O3 --apcs=interwork --split_sections -I ../Core/Inc -I ../Drivers/STM32H7xx_HAL_Driver/Inc -I ../Drivers/STM32H7xx_HAL_Driver/Inc/Legacy -I ../Drivers/CMSIS/Device/ST/STM32H7xx/Include -I ../Drivers/CMSIS/Include -I ../Middlewares/Third_Party/FreeRTOS/Source/include -I ../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2 -I ../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM4F -I ../User
-I.\RTE\_FDCAN
-ID:\cangming\ARM\CMSIS\5.7.0\CMSIS\Core\Include
-D__UVISION_VERSION="534" -D_RTE_ -DSTM32H723xx -D_RTE_ -DUSE_PWR_LDO_SUPPLY -DUSE_HAL_DRIVER -DSTM32H723xx
-o fdcan\stm32h7xx_it.o --omf_browse fdcan\stm32h7xx_it.crf --depend fdcan\stm32h7xx_it.d)
|
||||
F (../Core/Src/stm32h7xx_it.c)(0x694EA5AE)(--c99 --gnu -c --cpu Cortex-M7.fp.dp -g -O3 --apcs=interwork --split_sections -I ../Core/Inc -I ../Drivers/STM32H7xx_HAL_Driver/Inc -I ../Drivers/STM32H7xx_HAL_Driver/Inc/Legacy -I ../Drivers/CMSIS/Device/ST/STM32H7xx/Include -I ../Drivers/CMSIS/Include -I ../Middlewares/Third_Party/FreeRTOS/Source/include -I ../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2 -I ../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM4F -I ../User
-I.\RTE\_FDCAN
-ID:\cangming\ARM\CMSIS\5.7.0\CMSIS\Core\Include
-D__UVISION_VERSION="534" -D_RTE_ -DSTM32H723xx -D_RTE_ -DUSE_PWR_LDO_SUPPLY -DUSE_HAL_DRIVER -DSTM32H723xx
-o fdcan\stm32h7xx_it.o --omf_browse fdcan\stm32h7xx_it.crf --depend fdcan\stm32h7xx_it.d)
|
||||
I (../Core/Inc/main.h)(0x694E28D6)
|
||||
I (../Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal.h)(0x6944350B)
|
||||
I (../Core/Inc/stm32h7xx_hal_conf.h)(0x6946871A)
|
||||
@ -207,7 +208,7 @@ I (../Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_pwr.h)(0x6944350B)
|
||||
I (../Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_pwr_ex.h)(0x6944350B)
|
||||
I (../Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_tim.h)(0x6944350B)
|
||||
I (../Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_tim_ex.h)(0x6944350B)
|
||||
I (../Core/Inc/stm32h7xx_it.h)(0x69469E17)
|
||||
I (../Core/Inc/stm32h7xx_it.h)(0x694EA5AE)
|
||||
F (../Core/Src/stm32h7xx_hal_msp.c)(0x6946749E)(--c99 --gnu -c --cpu Cortex-M7.fp.dp -g -O3 --apcs=interwork --split_sections -I ../Core/Inc -I ../Drivers/STM32H7xx_HAL_Driver/Inc -I ../Drivers/STM32H7xx_HAL_Driver/Inc/Legacy -I ../Drivers/CMSIS/Device/ST/STM32H7xx/Include -I ../Drivers/CMSIS/Include -I ../Middlewares/Third_Party/FreeRTOS/Source/include -I ../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2 -I ../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM4F -I ../User
-I.\RTE\_FDCAN
-ID:\cangming\ARM\CMSIS\5.7.0\CMSIS\Core\Include
-D__UVISION_VERSION="534" -D_RTE_ -DSTM32H723xx -D_RTE_ -DUSE_PWR_LDO_SUPPLY -DUSE_HAL_DRIVER -DSTM32H723xx
-o fdcan\stm32h7xx_hal_msp.o --omf_browse fdcan\stm32h7xx_hal_msp.crf --depend fdcan\stm32h7xx_hal_msp.d)
|
||||
I (../Core/Inc/main.h)(0x694E28D6)
|
||||
I (../Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal.h)(0x6944350B)
|
||||
@ -384,41 +385,6 @@ I (../Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_pwr.h)(0x6944350B)
|
||||
I (../Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_pwr_ex.h)(0x6944350B)
|
||||
I (../Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_tim.h)(0x6944350B)
|
||||
I (../Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_tim_ex.h)(0x6944350B)
|
||||
F (../Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_fdcan.c)(0x6944350B)(--c99 --gnu -c --cpu Cortex-M7.fp.dp -g -O3 --apcs=interwork --split_sections -I ../Core/Inc -I ../Drivers/STM32H7xx_HAL_Driver/Inc -I ../Drivers/STM32H7xx_HAL_Driver/Inc/Legacy -I ../Drivers/CMSIS/Device/ST/STM32H7xx/Include -I ../Drivers/CMSIS/Include -I ../Middlewares/Third_Party/FreeRTOS/Source/include -I ../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2 -I ../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM4F -I ../User
-I.\RTE\_FDCAN
-ID:\cangming\ARM\CMSIS\5.7.0\CMSIS\Core\Include
-D__UVISION_VERSION="534" -D_RTE_ -DSTM32H723xx -D_RTE_ -DUSE_PWR_LDO_SUPPLY -DUSE_HAL_DRIVER -DSTM32H723xx
-o fdcan\stm32h7xx_hal_fdcan.o --omf_browse fdcan\stm32h7xx_hal_fdcan.crf --depend fdcan\stm32h7xx_hal_fdcan.d)
|
||||
I (../Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal.h)(0x6944350B)
|
||||
I (../Core/Inc/stm32h7xx_hal_conf.h)(0x6946871A)
|
||||
I (../Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_rcc.h)(0x6944350B)
|
||||
I (../Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_def.h)(0x6944350B)
|
||||
I (../Drivers/CMSIS/Device/ST/STM32H7xx/Include/stm32h7xx.h)(0x6944350B)
|
||||
I (../Drivers/CMSIS/Device/ST/STM32H7xx/Include/stm32h723xx.h)(0x6944350B)
|
||||
I (../Drivers/CMSIS/Include/core_cm7.h)(0x694434DE)
|
||||
I (D:\cangming\ARM\ARMCC\include\stdint.h)(0x5E8E3CC2)
|
||||
I (../Drivers/CMSIS/Include/cmsis_version.h)(0x694434DE)
|
||||
I (../Drivers/CMSIS/Include/cmsis_compiler.h)(0x694434DE)
|
||||
I (../Drivers/CMSIS/Include/cmsis_armcc.h)(0x694434DE)
|
||||
I (../Drivers/CMSIS/Include/mpu_armv7.h)(0x694434DE)
|
||||
I (../Drivers/CMSIS/Device/ST/STM32H7xx/Include/system_stm32h7xx.h)(0x6944350B)
|
||||
I (../Drivers/STM32H7xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h)(0x6944350B)
|
||||
I (D:\cangming\ARM\ARMCC\include\stddef.h)(0x5E8E3CC2)
|
||||
I (D:\cangming\ARM\ARMCC\include\math.h)(0x5E8E3CC2)
|
||||
I (../Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_rcc_ex.h)(0x6944350B)
|
||||
I (../Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_gpio.h)(0x6944350B)
|
||||
I (../Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_gpio_ex.h)(0x6944350B)
|
||||
I (../Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_dma.h)(0x6944350B)
|
||||
I (../Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_dma_ex.h)(0x6944350B)
|
||||
I (../Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_mdma.h)(0x6944350B)
|
||||
I (../Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_exti.h)(0x6944350B)
|
||||
I (../Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_cortex.h)(0x6944350B)
|
||||
I (../Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_fdcan.h)(0x6944350B)
|
||||
I (../Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_flash.h)(0x6944350B)
|
||||
I (../Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_flash_ex.h)(0x6944350B)
|
||||
I (../Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_hsem.h)(0x6944350B)
|
||||
I (../Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_i2c.h)(0x6944350B)
|
||||
I (../Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_i2c_ex.h)(0x6944350B)
|
||||
I (../Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_pwr.h)(0x6944350B)
|
||||
I (../Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_pwr_ex.h)(0x6944350B)
|
||||
I (../Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_tim.h)(0x6944350B)
|
||||
I (../Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_tim_ex.h)(0x6944350B)
|
||||
F (../Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_rcc.c)(0x6944350B)(--c99 --gnu -c --cpu Cortex-M7.fp.dp -g -O3 --apcs=interwork --split_sections -I ../Core/Inc -I ../Drivers/STM32H7xx_HAL_Driver/Inc -I ../Drivers/STM32H7xx_HAL_Driver/Inc/Legacy -I ../Drivers/CMSIS/Device/ST/STM32H7xx/Include -I ../Drivers/CMSIS/Include -I ../Middlewares/Third_Party/FreeRTOS/Source/include -I ../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2 -I ../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM4F -I ../User
-I.\RTE\_FDCAN
-ID:\cangming\ARM\CMSIS\5.7.0\CMSIS\Core\Include
-D__UVISION_VERSION="534" -D_RTE_ -DSTM32H723xx -D_RTE_ -DUSE_PWR_LDO_SUPPLY -DUSE_HAL_DRIVER -DSTM32H723xx
-o fdcan\stm32h7xx_hal_rcc.o --omf_browse fdcan\stm32h7xx_hal_rcc.crf --depend fdcan\stm32h7xx_hal_rcc.d)
|
||||
I (../Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal.h)(0x6944350B)
|
||||
I (../Core/Inc/stm32h7xx_hal_conf.h)(0x6946871A)
|
||||
@ -944,6 +910,41 @@ I (../Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_pwr.h)(0x6944350B)
|
||||
I (../Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_pwr_ex.h)(0x6944350B)
|
||||
I (../Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_tim.h)(0x6944350B)
|
||||
I (../Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_tim_ex.h)(0x6944350B)
|
||||
F (../Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_fdcan.c)(0x6944350B)(--c99 --gnu -c --cpu Cortex-M7.fp.dp -g -O3 --apcs=interwork --split_sections -I ../Core/Inc -I ../Drivers/STM32H7xx_HAL_Driver/Inc -I ../Drivers/STM32H7xx_HAL_Driver/Inc/Legacy -I ../Drivers/CMSIS/Device/ST/STM32H7xx/Include -I ../Drivers/CMSIS/Include -I ../Middlewares/Third_Party/FreeRTOS/Source/include -I ../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2 -I ../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM4F -I ../User
-I.\RTE\_FDCAN
-ID:\cangming\ARM\CMSIS\5.7.0\CMSIS\Core\Include
-D__UVISION_VERSION="534" -D_RTE_ -DSTM32H723xx -D_RTE_ -DUSE_PWR_LDO_SUPPLY -DUSE_HAL_DRIVER -DSTM32H723xx
-o fdcan\stm32h7xx_hal_fdcan.o --omf_browse fdcan\stm32h7xx_hal_fdcan.crf --depend fdcan\stm32h7xx_hal_fdcan.d)
|
||||
I (../Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal.h)(0x6944350B)
|
||||
I (../Core/Inc/stm32h7xx_hal_conf.h)(0x6946871A)
|
||||
I (../Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_rcc.h)(0x6944350B)
|
||||
I (../Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_def.h)(0x6944350B)
|
||||
I (../Drivers/CMSIS/Device/ST/STM32H7xx/Include/stm32h7xx.h)(0x6944350B)
|
||||
I (../Drivers/CMSIS/Device/ST/STM32H7xx/Include/stm32h723xx.h)(0x6944350B)
|
||||
I (../Drivers/CMSIS/Include/core_cm7.h)(0x694434DE)
|
||||
I (D:\cangming\ARM\ARMCC\include\stdint.h)(0x5E8E3CC2)
|
||||
I (../Drivers/CMSIS/Include/cmsis_version.h)(0x694434DE)
|
||||
I (../Drivers/CMSIS/Include/cmsis_compiler.h)(0x694434DE)
|
||||
I (../Drivers/CMSIS/Include/cmsis_armcc.h)(0x694434DE)
|
||||
I (../Drivers/CMSIS/Include/mpu_armv7.h)(0x694434DE)
|
||||
I (../Drivers/CMSIS/Device/ST/STM32H7xx/Include/system_stm32h7xx.h)(0x6944350B)
|
||||
I (../Drivers/STM32H7xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h)(0x6944350B)
|
||||
I (D:\cangming\ARM\ARMCC\include\stddef.h)(0x5E8E3CC2)
|
||||
I (D:\cangming\ARM\ARMCC\include\math.h)(0x5E8E3CC2)
|
||||
I (../Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_rcc_ex.h)(0x6944350B)
|
||||
I (../Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_gpio.h)(0x6944350B)
|
||||
I (../Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_gpio_ex.h)(0x6944350B)
|
||||
I (../Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_dma.h)(0x6944350B)
|
||||
I (../Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_dma_ex.h)(0x6944350B)
|
||||
I (../Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_mdma.h)(0x6944350B)
|
||||
I (../Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_exti.h)(0x6944350B)
|
||||
I (../Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_cortex.h)(0x6944350B)
|
||||
I (../Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_fdcan.h)(0x6944350B)
|
||||
I (../Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_flash.h)(0x6944350B)
|
||||
I (../Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_flash_ex.h)(0x6944350B)
|
||||
I (../Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_hsem.h)(0x6944350B)
|
||||
I (../Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_i2c.h)(0x6944350B)
|
||||
I (../Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_i2c_ex.h)(0x6944350B)
|
||||
I (../Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_pwr.h)(0x6944350B)
|
||||
I (../Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_pwr_ex.h)(0x6944350B)
|
||||
I (../Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_tim.h)(0x6944350B)
|
||||
I (../Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_tim_ex.h)(0x6944350B)
|
||||
F (../Core/Src/system_stm32h7xx.c)(0x6944350B)(--c99 --gnu -c --cpu Cortex-M7.fp.dp -g -O3 --apcs=interwork --split_sections -I ../Core/Inc -I ../Drivers/STM32H7xx_HAL_Driver/Inc -I ../Drivers/STM32H7xx_HAL_Driver/Inc/Legacy -I ../Drivers/CMSIS/Device/ST/STM32H7xx/Include -I ../Drivers/CMSIS/Include -I ../Middlewares/Third_Party/FreeRTOS/Source/include -I ../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2 -I ../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM4F -I ../User
-I.\RTE\_FDCAN
-ID:\cangming\ARM\CMSIS\5.7.0\CMSIS\Core\Include
-D__UVISION_VERSION="534" -D_RTE_ -DSTM32H723xx -D_RTE_ -DUSE_PWR_LDO_SUPPLY -DUSE_HAL_DRIVER -DSTM32H723xx
-o fdcan\system_stm32h7xx.o --omf_browse fdcan\system_stm32h7xx.crf --depend fdcan\system_stm32h7xx.d)
|
||||
I (../Drivers/CMSIS/Device/ST/STM32H7xx/Include/stm32h7xx.h)(0x6944350B)
|
||||
I (../Drivers/CMSIS/Device/ST/STM32H7xx/Include/stm32h723xx.h)(0x6944350B)
|
||||
@ -1157,8 +1158,8 @@ I (../Middlewares/Third_Party/FreeRTOS/Source/include/mpu_wrappers.h)(0x694434DA
|
||||
I (../Middlewares/Third_Party/FreeRTOS/Source/include/task.h)(0x694434DA)
|
||||
I (../Middlewares/Third_Party/FreeRTOS/Source/include/list.h)(0x694434DA)
|
||||
F (..\User\bsp\bsp.h)(0x694E34A2)()
|
||||
F (..\User\bsp\fdcan.c)(0x694BB1B8)(--c99 --gnu -c --cpu Cortex-M7.fp.dp -g -O3 --apcs=interwork --split_sections -I ../Core/Inc -I ../Drivers/STM32H7xx_HAL_Driver/Inc -I ../Drivers/STM32H7xx_HAL_Driver/Inc/Legacy -I ../Drivers/CMSIS/Device/ST/STM32H7xx/Include -I ../Drivers/CMSIS/Include -I ../Middlewares/Third_Party/FreeRTOS/Source/include -I ../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2 -I ../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM4F -I ../User
-I.\RTE\_FDCAN
-ID:\cangming\ARM\CMSIS\5.7.0\CMSIS\Core\Include
-D__UVISION_VERSION="534" -D_RTE_ -DSTM32H723xx -D_RTE_ -DUSE_PWR_LDO_SUPPLY -DUSE_HAL_DRIVER -DSTM32H723xx
-o fdcan\fdcan_1.o --omf_browse fdcan\fdcan_1.crf --depend fdcan\fdcan_1.d)
|
||||
I (..\User\bsp\fdcan.h)(0x69492F8D)
|
||||
F (..\User\bsp\fdcan.c)(0x694EA3AF)(--c99 --gnu -c --cpu Cortex-M7.fp.dp -g -O3 --apcs=interwork --split_sections -I ../Core/Inc -I ../Drivers/STM32H7xx_HAL_Driver/Inc -I ../Drivers/STM32H7xx_HAL_Driver/Inc/Legacy -I ../Drivers/CMSIS/Device/ST/STM32H7xx/Include -I ../Drivers/CMSIS/Include -I ../Middlewares/Third_Party/FreeRTOS/Source/include -I ../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2 -I ../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM4F -I ../User
-I.\RTE\_FDCAN
-ID:\cangming\ARM\CMSIS\5.7.0\CMSIS\Core\Include
-D__UVISION_VERSION="534" -D_RTE_ -DSTM32H723xx -D_RTE_ -DUSE_PWR_LDO_SUPPLY -DUSE_HAL_DRIVER -DSTM32H723xx
-o fdcan\fdcan_1.o --omf_browse fdcan\fdcan_1.crf --depend fdcan\fdcan_1.d)
|
||||
I (..\User\bsp\fdcan.h)(0x694EA3E9)
|
||||
I (D:\cangming\ARM\ARMCC\include\stdint.h)(0x5E8E3CC2)
|
||||
I (D:\cangming\ARM\ARMCC\include\stdbool.h)(0x5E8E3CC2)
|
||||
I (../User/bsp/bsp.h)(0x694E34A2)
|
||||
@ -1209,7 +1210,8 @@ I (../Middlewares/Third_Party/FreeRTOS/Source/include/list.h)(0x694434DA)
|
||||
I (../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/cmsis_os2.h)(0x694434DA)
|
||||
I (../Core/Inc/fdcan.h)(0x69469E17)
|
||||
I (../Core/Inc/main.h)(0x694E28D6)
|
||||
F (..\User\bsp\fdcan.h)(0x69492F8D)()
|
||||
I (D:\cangming\ARM\ARMCC\include\string.h)(0x5E8E3CC2)
|
||||
F (..\User\bsp\fdcan.h)(0x694EA3E9)()
|
||||
F (..\User\bsp\mm.c)(0x690DC361)(--c99 --gnu -c --cpu Cortex-M7.fp.dp -g -O3 --apcs=interwork --split_sections -I ../Core/Inc -I ../Drivers/STM32H7xx_HAL_Driver/Inc -I ../Drivers/STM32H7xx_HAL_Driver/Inc/Legacy -I ../Drivers/CMSIS/Device/ST/STM32H7xx/Include -I ../Drivers/CMSIS/Include -I ../Middlewares/Third_Party/FreeRTOS/Source/include -I ../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2 -I ../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM4F -I ../User
-I.\RTE\_FDCAN
-ID:\cangming\ARM\CMSIS\5.7.0\CMSIS\Core\Include
-D__UVISION_VERSION="534" -D_RTE_ -DSTM32H723xx -D_RTE_ -DUSE_PWR_LDO_SUPPLY -DUSE_HAL_DRIVER -DSTM32H723xx
-o fdcan\mm.o --omf_browse fdcan\mm.crf --depend fdcan\mm.d)
|
||||
I (..\User\bsp/mm.h)(0x690DC361)
|
||||
I (D:\cangming\ARM\ARMCC\include\stddef.h)(0x5E8E3CC2)
|
||||
@ -1309,26 +1311,60 @@ I (D:\cangming\ARM\ARMCC\include\stdint.h)(0x5E8E3CC2)
|
||||
I (D:\cangming\ARM\ARMCC\include\stddef.h)(0x5E8E3CC2)
|
||||
I (D:\cangming\ARM\ARMCC\include\string.h)(0x5E8E3CC2)
|
||||
F (..\User\component\user_math.h)(0x690DD4C7)()
|
||||
F (..\User\task\blink.c)(0x694E2AB0)(--c99 --gnu -c --cpu Cortex-M7.fp.dp -g -O3 --apcs=interwork --split_sections -I ../Core/Inc -I ../Drivers/STM32H7xx_HAL_Driver/Inc -I ../Drivers/STM32H7xx_HAL_Driver/Inc/Legacy -I ../Drivers/CMSIS/Device/ST/STM32H7xx/Include -I ../Drivers/CMSIS/Include -I ../Middlewares/Third_Party/FreeRTOS/Source/include -I ../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2 -I ../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM4F -I ../User
-I.\RTE\_FDCAN
-ID:\cangming\ARM\CMSIS\5.7.0\CMSIS\Core\Include
-D__UVISION_VERSION="534" -D_RTE_ -DSTM32H723xx -D_RTE_ -DUSE_PWR_LDO_SUPPLY -DUSE_HAL_DRIVER -DSTM32H723xx
-o fdcan\blink.o --omf_browse fdcan\blink.crf --depend fdcan\blink.d)
|
||||
I (../Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_gpio.h)(0x6944350B)
|
||||
F (..\User\task\blink.c)(0x694EA4C4)(--c99 --gnu -c --cpu Cortex-M7.fp.dp -g -O3 --apcs=interwork --split_sections -I ../Core/Inc -I ../Drivers/STM32H7xx_HAL_Driver/Inc -I ../Drivers/STM32H7xx_HAL_Driver/Inc/Legacy -I ../Drivers/CMSIS/Device/ST/STM32H7xx/Include -I ../Drivers/CMSIS/Include -I ../Middlewares/Third_Party/FreeRTOS/Source/include -I ../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2 -I ../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM4F -I ../User
-I.\RTE\_FDCAN
-ID:\cangming\ARM\CMSIS\5.7.0\CMSIS\Core\Include
-D__UVISION_VERSION="534" -D_RTE_ -DSTM32H723xx -D_RTE_ -DUSE_PWR_LDO_SUPPLY -DUSE_HAL_DRIVER -DSTM32H723xx
-o fdcan\blink.o --omf_browse fdcan\blink.crf --depend fdcan\blink.d)
|
||||
I (../User/task/user_task.h)(0x693967A8)
|
||||
I (../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/cmsis_os2.h)(0x694434DA)
|
||||
I (D:\cangming\ARM\ARMCC\include\stdint.h)(0x5E8E3CC2)
|
||||
I (D:\cangming\ARM\ARMCC\include\stddef.h)(0x5E8E3CC2)
|
||||
I (../Middlewares/Third_Party/FreeRTOS/Source/include/FreeRTOS.h)(0x694434DA)
|
||||
I (../Core/Inc/FreeRTOSConfig.h)(0x6946749D)
|
||||
I (../Middlewares/Third_Party/FreeRTOS/Source/include/projdefs.h)(0x694434DA)
|
||||
I (../Middlewares/Third_Party/FreeRTOS/Source/include/portable.h)(0x694434DA)
|
||||
I (../Middlewares/Third_Party/FreeRTOS/Source/include/deprecated_definitions.h)(0x694434DA)
|
||||
I (../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM4F/portmacro.h)(0x694434DA)
|
||||
I (../Middlewares/Third_Party/FreeRTOS/Source/include/mpu_wrappers.h)(0x694434DA)
|
||||
I (../Middlewares/Third_Party/FreeRTOS/Source/include/task.h)(0x694434DA)
|
||||
I (../Middlewares/Third_Party/FreeRTOS/Source/include/list.h)(0x694434DA)
|
||||
I (../User/bsp/bsp.h)(0x694E34A2)
|
||||
I (../Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal.h)(0x6944350B)
|
||||
I (../Core/Inc/stm32h7xx_hal_conf.h)(0x6946871A)
|
||||
I (../Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_rcc.h)(0x6944350B)
|
||||
I (../Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_def.h)(0x6944350B)
|
||||
I (../Drivers/CMSIS/Device/ST/STM32H7xx/Include/stm32h7xx.h)(0x6944350B)
|
||||
I (../Drivers/CMSIS/Device/ST/STM32H7xx/Include/stm32h723xx.h)(0x6944350B)
|
||||
I (../Drivers/CMSIS/Include/core_cm7.h)(0x694434DE)
|
||||
I (D:\cangming\ARM\ARMCC\include\stdint.h)(0x5E8E3CC2)
|
||||
I (../Drivers/CMSIS/Include/cmsis_version.h)(0x694434DE)
|
||||
I (../Drivers/CMSIS/Include/cmsis_compiler.h)(0x694434DE)
|
||||
I (../Drivers/CMSIS/Include/cmsis_armcc.h)(0x694434DE)
|
||||
I (../Drivers/CMSIS/Include/mpu_armv7.h)(0x694434DE)
|
||||
I (../Drivers/CMSIS/Device/ST/STM32H7xx/Include/system_stm32h7xx.h)(0x6944350B)
|
||||
I (../Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal.h)(0x6944350B)
|
||||
I (../Core/Inc/stm32h7xx_hal_conf.h)(0x6946871A)
|
||||
I (../Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_rcc.h)(0x6944350B)
|
||||
I (../Drivers/STM32H7xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h)(0x6944350B)
|
||||
I (D:\cangming\ARM\ARMCC\include\math.h)(0x5E8E3CC2)
|
||||
I (../Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_rcc_ex.h)(0x6944350B)
|
||||
I (../Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_gpio.h)(0x6944350B)
|
||||
I (../Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_gpio_ex.h)(0x6944350B)
|
||||
I (../Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_dma.h)(0x6944350B)
|
||||
I (../Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_dma_ex.h)(0x6944350B)
|
||||
I (../Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_mdma.h)(0x6944350B)
|
||||
F (..\User\task\init.c)(0x694675AA)(--c99 --gnu -c --cpu Cortex-M7.fp.dp -g -O3 --apcs=interwork --split_sections -I ../Core/Inc -I ../Drivers/STM32H7xx_HAL_Driver/Inc -I ../Drivers/STM32H7xx_HAL_Driver/Inc/Legacy -I ../Drivers/CMSIS/Device/ST/STM32H7xx/Include -I ../Drivers/CMSIS/Include -I ../Middlewares/Third_Party/FreeRTOS/Source/include -I ../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2 -I ../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM4F -I ../User
-I.\RTE\_FDCAN
-ID:\cangming\ARM\CMSIS\5.7.0\CMSIS\Core\Include
-D__UVISION_VERSION="534" -D_RTE_ -DSTM32H723xx -D_RTE_ -DUSE_PWR_LDO_SUPPLY -DUSE_HAL_DRIVER -DSTM32H723xx
-o fdcan\init.o --omf_browse fdcan\init.crf --depend fdcan\init.d)
|
||||
I (../Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_exti.h)(0x6944350B)
|
||||
I (../Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_cortex.h)(0x6944350B)
|
||||
I (../Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_fdcan.h)(0x6944350B)
|
||||
I (../Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_flash.h)(0x6944350B)
|
||||
I (../Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_flash_ex.h)(0x6944350B)
|
||||
I (../Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_hsem.h)(0x6944350B)
|
||||
I (../Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_i2c.h)(0x6944350B)
|
||||
I (../Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_i2c_ex.h)(0x6944350B)
|
||||
I (../Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_pwr.h)(0x6944350B)
|
||||
I (../Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_pwr_ex.h)(0x6944350B)
|
||||
I (../Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_tim.h)(0x6944350B)
|
||||
I (../Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_tim_ex.h)(0x6944350B)
|
||||
I (../User/bsp/fdcan.h)(0x694EA3E9)
|
||||
I (D:\cangming\ARM\ARMCC\include\stdbool.h)(0x5E8E3CC2)
|
||||
I (../User/bsp/mm.h)(0x690DC361)
|
||||
I (../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/cmsis_os.h)(0x694434DA)
|
||||
I (../Core/Inc/fdcan.h)(0x69469E17)
|
||||
I (../Core/Inc/main.h)(0x694E28D6)
|
||||
F (..\User\task\init.c)(0x694E4396)(--c99 --gnu -c --cpu Cortex-M7.fp.dp -g -O3 --apcs=interwork --split_sections -I ../Core/Inc -I ../Drivers/STM32H7xx_HAL_Driver/Inc -I ../Drivers/STM32H7xx_HAL_Driver/Inc/Legacy -I ../Drivers/CMSIS/Device/ST/STM32H7xx/Include -I ../Drivers/CMSIS/Include -I ../Middlewares/Third_Party/FreeRTOS/Source/include -I ../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2 -I ../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM4F -I ../User
-I.\RTE\_FDCAN
-ID:\cangming\ARM\CMSIS\5.7.0\CMSIS\Core\Include
-D__UVISION_VERSION="534" -D_RTE_ -DSTM32H723xx -D_RTE_ -DUSE_PWR_LDO_SUPPLY -DUSE_HAL_DRIVER -DSTM32H723xx
-o fdcan\init.o --omf_browse fdcan\init.crf --depend fdcan\init.d)
|
||||
I (..\User\task/user_task.h)(0x693967A8)
|
||||
I (../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/cmsis_os2.h)(0x694434DA)
|
||||
I (D:\cangming\ARM\ARMCC\include\stdint.h)(0x5E8E3CC2)
|
||||
|
||||
BIN
MDK-ARM/FDCAN/blink.crf
Normal file
BIN
MDK-ARM/FDCAN/blink.crf
Normal file
Binary file not shown.
@ -1,21 +1,54 @@
|
||||
fdcan\blink.o: ..\User\task\blink.c
|
||||
fdcan\blink.o: ../Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_gpio.h
|
||||
fdcan\blink.o: ../User/task/user_task.h
|
||||
fdcan\blink.o: ../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/cmsis_os2.h
|
||||
fdcan\blink.o: D:\cangming\ARM\ARMCC\Bin\..\include\stdint.h
|
||||
fdcan\blink.o: D:\cangming\ARM\ARMCC\Bin\..\include\stddef.h
|
||||
fdcan\blink.o: ../Middlewares/Third_Party/FreeRTOS/Source/include/FreeRTOS.h
|
||||
fdcan\blink.o: ../Core/Inc/FreeRTOSConfig.h
|
||||
fdcan\blink.o: ../Middlewares/Third_Party/FreeRTOS/Source/include/projdefs.h
|
||||
fdcan\blink.o: ../Middlewares/Third_Party/FreeRTOS/Source/include/portable.h
|
||||
fdcan\blink.o: ../Middlewares/Third_Party/FreeRTOS/Source/include/deprecated_definitions.h
|
||||
fdcan\blink.o: ../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM4F/portmacro.h
|
||||
fdcan\blink.o: ../Middlewares/Third_Party/FreeRTOS/Source/include/mpu_wrappers.h
|
||||
fdcan\blink.o: ../Middlewares/Third_Party/FreeRTOS/Source/include/task.h
|
||||
fdcan\blink.o: ../Middlewares/Third_Party/FreeRTOS/Source/include/list.h
|
||||
fdcan\blink.o: ../User/bsp/bsp.h
|
||||
fdcan\blink.o: ../Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal.h
|
||||
fdcan\blink.o: ../Core/Inc/stm32h7xx_hal_conf.h
|
||||
fdcan\blink.o: ../Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_rcc.h
|
||||
fdcan\blink.o: ../Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_def.h
|
||||
fdcan\blink.o: ../Drivers/CMSIS/Device/ST/STM32H7xx/Include/stm32h7xx.h
|
||||
fdcan\blink.o: ../Drivers/CMSIS/Device/ST/STM32H7xx/Include/stm32h723xx.h
|
||||
fdcan\blink.o: ../Drivers/CMSIS/Include/core_cm7.h
|
||||
fdcan\blink.o: D:\cangming\ARM\ARMCC\Bin\..\include\stdint.h
|
||||
fdcan\blink.o: ../Drivers/CMSIS/Include/cmsis_version.h
|
||||
fdcan\blink.o: ../Drivers/CMSIS/Include/cmsis_compiler.h
|
||||
fdcan\blink.o: ../Drivers/CMSIS/Include/cmsis_armcc.h
|
||||
fdcan\blink.o: ../Drivers/CMSIS/Include/mpu_armv7.h
|
||||
fdcan\blink.o: ../Drivers/CMSIS/Device/ST/STM32H7xx/Include/system_stm32h7xx.h
|
||||
fdcan\blink.o: ../Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal.h
|
||||
fdcan\blink.o: ../Core/Inc/stm32h7xx_hal_conf.h
|
||||
fdcan\blink.o: ../Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_rcc.h
|
||||
fdcan\blink.o: ../Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_def.h
|
||||
fdcan\blink.o: ../Drivers/STM32H7xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h
|
||||
fdcan\blink.o: D:\cangming\ARM\ARMCC\Bin\..\include\math.h
|
||||
fdcan\blink.o: ../Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_rcc_ex.h
|
||||
fdcan\blink.o: ../Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_gpio.h
|
||||
fdcan\blink.o: ../Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_gpio_ex.h
|
||||
fdcan\blink.o: ../Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_dma.h
|
||||
fdcan\blink.o: ../Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_dma_ex.h
|
||||
fdcan\blink.o: ../Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_mdma.h
|
||||
fdcan\blink.o: ../Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_exti.h
|
||||
fdcan\blink.o: ../Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_cortex.h
|
||||
fdcan\blink.o: ../Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_fdcan.h
|
||||
fdcan\blink.o: ../Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_flash.h
|
||||
fdcan\blink.o: ../Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_flash_ex.h
|
||||
fdcan\blink.o: ../Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_hsem.h
|
||||
fdcan\blink.o: ../Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_i2c.h
|
||||
fdcan\blink.o: ../Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_i2c_ex.h
|
||||
fdcan\blink.o: ../Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_pwr.h
|
||||
fdcan\blink.o: ../Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_pwr_ex.h
|
||||
fdcan\blink.o: ../Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_tim.h
|
||||
fdcan\blink.o: ../Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_tim_ex.h
|
||||
fdcan\blink.o: ../User/bsp/fdcan.h
|
||||
fdcan\blink.o: D:\cangming\ARM\ARMCC\Bin\..\include\stdbool.h
|
||||
fdcan\blink.o: ../User/bsp/mm.h
|
||||
fdcan\blink.o: ../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/cmsis_os.h
|
||||
fdcan\blink.o: ../Core/Inc/fdcan.h
|
||||
fdcan\blink.o: ../Core/Inc/main.h
|
||||
|
||||
BIN
MDK-ARM/FDCAN/blink.o
Normal file
BIN
MDK-ARM/FDCAN/blink.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.
BIN
MDK-ARM/FDCAN/fdcan_1.crf
Normal file
BIN
MDK-ARM/FDCAN/fdcan_1.crf
Normal file
Binary file not shown.
@ -51,3 +51,4 @@ fdcan\fdcan_1.o: ../Middlewares/Third_Party/FreeRTOS/Source/include/list.h
|
||||
fdcan\fdcan_1.o: ../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/cmsis_os2.h
|
||||
fdcan\fdcan_1.o: ../Core/Inc/fdcan.h
|
||||
fdcan\fdcan_1.o: ../Core/Inc/main.h
|
||||
fdcan\fdcan_1.o: D:\cangming\ARM\ARMCC\Bin\..\include\string.h
|
||||
|
||||
BIN
MDK-ARM/FDCAN/fdcan_1.o
Normal file
BIN
MDK-ARM/FDCAN/fdcan_1.o
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -46,3 +46,4 @@ fdcan\freertos.o: ../Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_tim.h
|
||||
fdcan\freertos.o: ../Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_tim_ex.h
|
||||
fdcan\freertos.o: ../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/cmsis_os.h
|
||||
fdcan\freertos.o: ../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/cmsis_os2.h
|
||||
fdcan\freertos.o: ../User/task/user_task.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.
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.
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.
1374
MDK-ARM/JLinkLog.txt
Normal file
1374
MDK-ARM/JLinkLog.txt
Normal file
File diff suppressed because it is too large
Load Diff
47
MDK-ARM/JLinkSettings.ini
Normal file
47
MDK-ARM/JLinkSettings.ini
Normal file
@ -0,0 +1,47 @@
|
||||
[BREAKPOINTS]
|
||||
ForceImpTypeAny = 0
|
||||
ShowInfoWin = 1
|
||||
EnableFlashBP = 2
|
||||
BPDuringExecution = 0
|
||||
[CFI]
|
||||
CFISize = 0x00
|
||||
CFIAddr = 0x00
|
||||
[CPU]
|
||||
MonModeVTableAddr = 0xFFFFFFFF
|
||||
MonModeDebug = 0
|
||||
MaxNumAPs = 0
|
||||
LowPowerHandlingMode = 0
|
||||
OverrideMemMap = 0
|
||||
AllowSimulation = 1
|
||||
ScriptFile=""
|
||||
[FLASH]
|
||||
RMWThreshold = 0x400
|
||||
Loaders=""
|
||||
EraseType = 0x00
|
||||
CacheExcludeSize = 0x00
|
||||
CacheExcludeAddr = 0x00
|
||||
MinNumBytesFlashDL = 0
|
||||
SkipProgOnCRCMatch = 1
|
||||
VerifyDownload = 1
|
||||
AllowCaching = 1
|
||||
EnableFlashDL = 2
|
||||
Override = 0
|
||||
Device="ARM7"
|
||||
[GENERAL]
|
||||
MaxNumTransfers = 0x00
|
||||
WorkRAMSize = 0x00
|
||||
WorkRAMAddr = 0x00
|
||||
RAMUsageLimit = 0x00
|
||||
[SWO]
|
||||
SWOLogFile=""
|
||||
[MEM]
|
||||
RdOverrideOrMask = 0x00
|
||||
RdOverrideAndMask = 0xFFFFFFFF
|
||||
RdOverrideAddr = 0xFFFFFFFF
|
||||
WrOverrideOrMask = 0x00
|
||||
WrOverrideAndMask = 0xFFFFFFFF
|
||||
WrOverrideAddr = 0xFFFFFFFF
|
||||
[RAM]
|
||||
VerifyDownload = 0x00
|
||||
[DYN_MEM_MAP]
|
||||
NumUserRegion = 0x00
|
||||
@ -46,22 +46,22 @@ ARM Macro Assembler Page 1
|
||||
29 00000000 ; <o> Stack Size (in Bytes) <0x0-0xFFFFFFFF:8>
|
||||
30 00000000 ; </h>
|
||||
31 00000000
|
||||
32 00000000 00000400
|
||||
32 00000000 00002000
|
||||
Stack_Size
|
||||
EQU 0x400
|
||||
EQU 0x2000
|
||||
33 00000000
|
||||
34 00000000 AREA STACK, NOINIT, READWRITE, ALIGN
|
||||
=3
|
||||
35 00000000 Stack_Mem
|
||||
SPACE Stack_Size
|
||||
36 00000400 __initial_sp
|
||||
37 00000400
|
||||
38 00000400
|
||||
39 00000400 ; <h> Heap Configuration
|
||||
40 00000400 ; <o> Heap Size (in Bytes) <0x0-0xFFFFFFFF:8>
|
||||
41 00000400 ; </h>
|
||||
42 00000400
|
||||
43 00000400 00000200
|
||||
36 00002000 __initial_sp
|
||||
37 00002000
|
||||
38 00002000
|
||||
39 00002000 ; <h> Heap Configuration
|
||||
40 00002000 ; <o> Heap Size (in Bytes) <0x0-0xFFFFFFFF:8>
|
||||
41 00002000 ; </h>
|
||||
42 00002000
|
||||
43 00002000 00001000
|
||||
Heap_Size
|
||||
|
||||
|
||||
@ -69,21 +69,21 @@ ARM Macro Assembler Page 1
|
||||
ARM Macro Assembler Page 2
|
||||
|
||||
|
||||
EQU 0x200
|
||||
44 00000400
|
||||
45 00000400 AREA HEAP, NOINIT, READWRITE, ALIGN=
|
||||
EQU 0x1000
|
||||
44 00002000
|
||||
45 00002000 AREA HEAP, NOINIT, READWRITE, ALIGN=
|
||||
3
|
||||
46 00000000 __heap_base
|
||||
47 00000000 Heap_Mem
|
||||
SPACE Heap_Size
|
||||
48 00000200 __heap_limit
|
||||
49 00000200
|
||||
50 00000200 PRESERVE8
|
||||
51 00000200 THUMB
|
||||
52 00000200
|
||||
53 00000200
|
||||
54 00000200 ; Vector Table Mapped to Address 0 at Reset
|
||||
55 00000200 AREA RESET, DATA, READONLY
|
||||
48 00001000 __heap_limit
|
||||
49 00001000
|
||||
50 00001000 PRESERVE8
|
||||
51 00001000 THUMB
|
||||
52 00001000
|
||||
53 00001000
|
||||
54 00001000 ; Vector Table Mapped to Address 0 at Reset
|
||||
55 00001000 AREA RESET, DATA, READONLY
|
||||
56 00000000 EXPORT __Vectors
|
||||
57 00000000 EXPORT __Vectors_End
|
||||
58 00000000 EXPORT __Vectors_Size
|
||||
@ -1270,8 +1270,8 @@ ARM Macro Assembler Page 20
|
||||
00000000
|
||||
00000000
|
||||
00000000
|
||||
00000400
|
||||
00000200
|
||||
00002000
|
||||
00001000
|
||||
00000000
|
||||
Command Line: --debug --xref --diag_suppress=9931 --cpu=Cortex-M7.fp.dp --apcs=
|
||||
interwork --depend=fdcan\startup_stm32h723xx.d -ofdcan\startup_stm32h723xx.o -I
|
||||
@ -1302,7 +1302,7 @@ Symbol: Stack_Mem
|
||||
At line 609 in file startup_stm32h723xx.s
|
||||
At line 611 in file startup_stm32h723xx.s
|
||||
|
||||
__initial_sp 00000400
|
||||
__initial_sp 00002000
|
||||
|
||||
Symbol: __initial_sp
|
||||
Definitions
|
||||
@ -1342,7 +1342,7 @@ Symbol: __heap_base
|
||||
Uses
|
||||
None
|
||||
Comment: __heap_base unused
|
||||
__heap_limit 00000200
|
||||
__heap_limit 00001000
|
||||
|
||||
Symbol: __heap_limit
|
||||
Definitions
|
||||
@ -2877,7 +2877,7 @@ Comment: __user_initial_stackheap used once
|
||||
ARM Macro Assembler Page 1 Alphabetic symbol ordering
|
||||
Absolute symbols
|
||||
|
||||
Heap_Size 00000200
|
||||
Heap_Size 00001000
|
||||
|
||||
Symbol: Heap_Size
|
||||
Definitions
|
||||
@ -2886,7 +2886,7 @@ Symbol: Heap_Size
|
||||
At line 47 in file startup_stm32h723xx.s
|
||||
At line 610 in file startup_stm32h723xx.s
|
||||
|
||||
Stack_Size 00000400
|
||||
Stack_Size 00002000
|
||||
|
||||
Symbol: Stack_Size
|
||||
Definitions
|
||||
|
||||
@ -29,7 +29,7 @@
|
||||
; <o> Stack Size (in Bytes) <0x0-0xFFFFFFFF:8>
|
||||
; </h>
|
||||
|
||||
Stack_Size EQU 0x400
|
||||
Stack_Size EQU 0x2000
|
||||
|
||||
AREA STACK, NOINIT, READWRITE, ALIGN=3
|
||||
Stack_Mem SPACE Stack_Size
|
||||
@ -40,7 +40,7 @@ __initial_sp
|
||||
; <o> Heap Size (in Bytes) <0x0-0xFFFFFFFF:8>
|
||||
; </h>
|
||||
|
||||
Heap_Size EQU 0x200
|
||||
Heap_Size EQU 0x1000
|
||||
|
||||
AREA HEAP, NOINIT, READWRITE, ALIGN=3
|
||||
__heap_base
|
||||
|
||||
@ -66,8 +66,8 @@ FLASH (rx) : ORIGIN = 0x8000000, LENGTH = 1024K
|
||||
/* Highest address of the user mode stack */
|
||||
_estack = ORIGIN(DTCMRAM) + LENGTH(DTCMRAM); /* end of RAM */
|
||||
/* Generate a link error if heap and stack don't fit into RAM */
|
||||
_Min_Heap_Size = 0x200; /* required amount of heap */
|
||||
_Min_Stack_Size = 0x400; /* required amount of stack */
|
||||
_Min_Heap_Size = 0x1000; /* required amount of heap */
|
||||
_Min_Stack_Size = 0x2000; /* required amount of stack */
|
||||
|
||||
/* Define output sections */
|
||||
SECTIONS
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
#include <fdcan.h>
|
||||
#include <cmsis_os2.h>
|
||||
#include <string.h>
|
||||
#include <stdatomic.h>
|
||||
|
||||
/* Private define ----------------------------------------------------------- */
|
||||
#define FDCAN_QUEUE_MUTEX_TIMEOUT 100
|
||||
|
||||
@ -20,14 +20,18 @@ typedef struct BSP_FDCAN_QueueNode {
|
||||
} BSP_FDCAN_QueueNode_t;
|
||||
|
||||
/* Private variables -------------------------------------------------------- */
|
||||
static BSP_FDCAN_QueueNode_t *queue_list = NULL;
|
||||
static osMutexId_t queue_mutex = NULL;
|
||||
static osMutexId_t tx_queue_mutex[BSP_FDCAN_NUM] = { NULL };
|
||||
static void (*FDCAN_Callback[BSP_FDCAN_NUM][HAL_FDCAN_CB_NUM])(void);
|
||||
static bool inited = false;
|
||||
static BSP_FDCAN_IdParser_t id_parser = NULL;
|
||||
static BSP_FDCAN_TxQueue_t tx_queues[BSP_FDCAN_NUM];
|
||||
|
||||
//static BSP_FDCAN_QueueNode_t *queue_list = NULL;
|
||||
//static osMutexId_t queue_mutex = NULL;
|
||||
//static void (*FDCAN_Callback[BSP_FDCAN_NUM][HAL_FDCAN_CB_NUM])(void);
|
||||
//static bool inited = false;
|
||||
//static BSP_FDCAN_IdParser_t id_parser = NULL;
|
||||
//static BSP_FDCAN_TxQueue_t tx_queues[BSP_FDCAN_NUM];
|
||||
BSP_FDCAN_QueueNode_t *queue_list = NULL;
|
||||
osMutexId_t queue_mutex = NULL;
|
||||
void (*FDCAN_Callback[BSP_FDCAN_NUM][HAL_FDCAN_CB_NUM])(void);
|
||||
bool inited = false;
|
||||
BSP_FDCAN_IdParser_t id_parser = NULL;
|
||||
BSP_FDCAN_TxQueue_t tx_queues[BSP_FDCAN_NUM];
|
||||
/* Private function prototypes ---------------------------------------------- */
|
||||
static BSP_FDCAN_t FDCAN_Get(FDCAN_HandleTypeDef *hfdcan);
|
||||
static osMessageQueueId_t BSP_FDCAN_FindQueue(BSP_FDCAN_t fdcan, uint32_t can_id);
|
||||
@ -47,6 +51,7 @@ static BSP_FDCAN_t FDCAN_Get(FDCAN_HandleTypeDef *hfdcan) {
|
||||
if (hfdcan == NULL) return BSP_FDCAN_ERR;
|
||||
if (hfdcan->Instance == FDCAN1) return BSP_FDCAN_1;
|
||||
else if (hfdcan->Instance == FDCAN2) return BSP_FDCAN_2;
|
||||
else if (hfdcan->Instance == FDCAN3) return BSP_FDCAN_3;
|
||||
else return BSP_FDCAN_ERR;
|
||||
}
|
||||
|
||||
@ -99,48 +104,35 @@ static uint32_t BSP_FDCAN_DefaultIdParser(uint32_t original_id, BSP_FDCAN_FrameT
|
||||
|
||||
static void BSP_FDCAN_TxQueueInit(BSP_FDCAN_t fdcan) {
|
||||
if (fdcan >= BSP_FDCAN_NUM) return;
|
||||
__atomic_store_n((uint32_t *)&tx_queues[fdcan].head, 0U, __ATOMIC_RELAXED);
|
||||
__atomic_store_n((uint32_t *)&tx_queues[fdcan].tail, 0U, __ATOMIC_RELAXED);
|
||||
tx_queues[fdcan].head = 0;
|
||||
tx_queues[fdcan].tail = 0;
|
||||
}
|
||||
|
||||
static bool BSP_FDCAN_TxQueuePush(BSP_FDCAN_t fdcan, BSP_FDCAN_TxMessage_t *msg) {
|
||||
if (fdcan >= BSP_FDCAN_NUM || msg == NULL) return false;
|
||||
BSP_FDCAN_TxQueue_t *queue = &tx_queues[fdcan];
|
||||
if (tx_queue_mutex[fdcan] == NULL) return false;
|
||||
if (osMutexAcquire(tx_queue_mutex[fdcan], FDCAN_QUEUE_MUTEX_TIMEOUT) != osOK) return false;
|
||||
uint32_t head = __atomic_load_n((uint32_t *)&queue->head, __ATOMIC_RELAXED);
|
||||
uint32_t tail = __atomic_load_n((uint32_t *)&queue->tail, __ATOMIC_ACQUIRE);
|
||||
uint32_t next_head = (head + 1) % BSP_FDCAN_TX_QUEUE_SIZE;
|
||||
if (next_head == tail) {
|
||||
osMutexRelease(tx_queue_mutex[fdcan]);
|
||||
return false;
|
||||
}
|
||||
queue->buffer[head] = *msg;
|
||||
__atomic_store_n((uint32_t *)&queue->head, next_head, __ATOMIC_RELEASE);
|
||||
osMutexRelease(tx_queue_mutex[fdcan]);
|
||||
uint32_t next_head = (queue->head + 1) % BSP_FDCAN_TX_QUEUE_SIZE;
|
||||
if (next_head == queue->tail) return false;
|
||||
queue->buffer[queue->head] = *msg;
|
||||
queue->head = next_head;
|
||||
return true;
|
||||
}
|
||||
|
||||
static bool BSP_FDCAN_TxQueuePop(BSP_FDCAN_t fdcan, BSP_FDCAN_TxMessage_t *msg) {
|
||||
if (fdcan >= BSP_FDCAN_NUM || msg == NULL) return false;
|
||||
BSP_FDCAN_TxQueue_t *queue = &tx_queues[fdcan];
|
||||
uint32_t head = __atomic_load_n((uint32_t *)&queue->head, __ATOMIC_ACQUIRE);
|
||||
uint32_t tail = __atomic_load_n((uint32_t *)&queue->tail, __ATOMIC_RELAXED);
|
||||
if (head == tail) return false;
|
||||
*msg = queue->buffer[tail];
|
||||
uint32_t next_tail = (tail + 1) % BSP_FDCAN_TX_QUEUE_SIZE;
|
||||
__atomic_store_n((uint32_t *)&queue->tail, next_tail, __ATOMIC_RELEASE);
|
||||
if (queue->head == queue->tail) return false;
|
||||
*msg = queue->buffer[queue->tail];
|
||||
queue->tail = (queue->tail + 1) % BSP_FDCAN_TX_QUEUE_SIZE;
|
||||
return true;
|
||||
}
|
||||
|
||||
static bool BSP_FDCAN_TxQueueIsEmpty(BSP_FDCAN_t fdcan) {
|
||||
if (fdcan >= BSP_FDCAN_NUM) return true;
|
||||
uint32_t head = __atomic_load_n((uint32_t *)&tx_queues[fdcan].head, __ATOMIC_ACQUIRE);
|
||||
uint32_t tail = __atomic_load_n((uint32_t *)&tx_queues[fdcan].tail, __ATOMIC_RELAXED);
|
||||
return head == tail;
|
||||
return tx_queues[fdcan].head == tx_queues[fdcan].tail;
|
||||
}
|
||||
|
||||
static void BSP_FDCAN_TxCompleteCallback(void) {
|
||||
void BSP_FDCAN_TxCompleteCallback(void) {
|
||||
//static void BSP_FDCAN_TxCompleteCallback(void) {
|
||||
for (int i = 0; i < BSP_FDCAN_NUM; i++) {
|
||||
BSP_FDCAN_t fdcan = (BSP_FDCAN_t)i;
|
||||
FDCAN_HandleTypeDef *hfdcan = BSP_FDCAN_GetHandle(fdcan);
|
||||
@ -281,17 +273,6 @@ int8_t BSP_FDCAN_Init(void) {
|
||||
|
||||
if (queue_mutex == NULL) return BSP_ERR;
|
||||
|
||||
/* create per-instance tx queue mutexes (producers will lock) */
|
||||
for (int i = 0; i < BSP_FDCAN_NUM; i++) {
|
||||
tx_queue_mutex[i] = osMutexNew(NULL);
|
||||
if (tx_queue_mutex[i] == NULL) {
|
||||
/* cleanup previously created */
|
||||
for (int j = 0; j < i; j++) osMutexDelete(tx_queue_mutex[j]);
|
||||
osMutexDelete(queue_mutex);
|
||||
return BSP_ERR;
|
||||
}
|
||||
}
|
||||
|
||||
inited = true;
|
||||
|
||||
/* 配置并启动 FDCAN 实例,绑定中断/回调 */
|
||||
@ -369,11 +350,6 @@ int8_t BSP_FDCAN_Init(void) {
|
||||
HAL_FDCAN_ConfigFilter(&hfdcan3, &sFilterConfig);
|
||||
HAL_FDCAN_ConfigGlobalFilter(&hfdcan3,FDCAN_REJECT, FDCAN_REJECT, DISABLE, DISABLE);
|
||||
|
||||
/* __ ,启动! */
|
||||
HAL_FDCAN_Start(&hfdcan1);
|
||||
HAL_FDCAN_Start(&hfdcan2);
|
||||
HAL_FDCAN_Start(&hfdcan3);
|
||||
|
||||
HAL_FDCAN_ActivateNotification(&hfdcan1, FDCAN_IT_RX_FIFO0_NEW_MESSAGE
|
||||
| FDCAN_IT_TX_EVT_FIFO_NEW_DATA
|
||||
| FDCAN_IT_RAM_ACCESS_FAILURE, 0);//加一个RAM访问失败中断
|
||||
@ -393,6 +369,11 @@ int8_t BSP_FDCAN_Init(void) {
|
||||
BSP_FDCAN_RegisterCallback(BSP_FDCAN_3, HAL_FDCAN_RX_FIFO1_MSG_PENDING_CB, BSP_FDCAN_RxFifo1Callback);
|
||||
BSP_FDCAN_RegisterCallback(BSP_FDCAN_3, HAL_FDCAN_TX_EVENT_FIFO_CB, BSP_FDCAN_TxCompleteCallback);
|
||||
|
||||
/* __ ,启动! */
|
||||
HAL_FDCAN_Start(&hfdcan1);
|
||||
HAL_FDCAN_Start(&hfdcan2);
|
||||
HAL_FDCAN_Start(&hfdcan3);
|
||||
|
||||
//POWER ENABLE
|
||||
// HAL_GPIO_WritePin(GPIO_TypeDef *GPIOx, uint16_t GPIO_Pin, GPIO_PinState PinState);
|
||||
|
||||
@ -404,6 +385,7 @@ FDCAN_HandleTypeDef *BSP_FDCAN_GetHandle(BSP_FDCAN_t fdcan) {
|
||||
switch (fdcan) {
|
||||
case BSP_FDCAN_1: return &hfdcan1;
|
||||
case BSP_FDCAN_2: return &hfdcan2;
|
||||
case BSP_FDCAN_3: return &hfdcan3;
|
||||
default: return NULL;
|
||||
}
|
||||
}
|
||||
@ -416,7 +398,7 @@ int8_t BSP_FDCAN_RegisterCallback(BSP_FDCAN_t fdcan, BSP_FDCAN_Callback_t type,
|
||||
FDCAN_Callback[fdcan][type] = callback;
|
||||
return BSP_OK;
|
||||
}
|
||||
|
||||
uint32_t fifolevel=0;
|
||||
int8_t BSP_FDCAN_Transmit(BSP_FDCAN_t fdcan, BSP_FDCAN_Format_t format, uint32_t id, uint8_t *data, uint8_t dlc) {
|
||||
if (!inited) return BSP_ERR_INITED;
|
||||
if (fdcan >= BSP_FDCAN_NUM) return BSP_ERR;
|
||||
@ -451,8 +433,9 @@ int8_t BSP_FDCAN_Transmit(BSP_FDCAN_t fdcan, BSP_FDCAN_Format_t format, uint32_t
|
||||
return BSP_ERR;
|
||||
}
|
||||
tx_msg.header.DataLength = dlc * 8;
|
||||
if (data != NULL && dlc > 0) memcpy(tx_msg.data, data, dlc);
|
||||
|
||||
if (data != NULL && dlc > 0)
|
||||
memcpy(tx_msg.data, data, dlc);
|
||||
fifolevel=HAL_FDCAN_GetTxFifoFreeLevel(hfdcan);
|
||||
if (HAL_FDCAN_GetTxFifoFreeLevel(hfdcan) > 0) {
|
||||
if (HAL_FDCAN_AddMessageToTxFifoQ(hfdcan, &tx_msg.header, tx_msg.data) == HAL_OK) return BSP_OK;
|
||||
}
|
||||
|
||||
@ -13,7 +13,6 @@ extern "C" {
|
||||
|
||||
/* USER INCLUDE BEGIN */
|
||||
#include <fdcan.h>
|
||||
#include <stdatomic.h>
|
||||
/* USER INCLUDE END */
|
||||
|
||||
/* Exported constants ------------------------------------------------------- */
|
||||
@ -21,7 +20,7 @@ extern "C" {
|
||||
#define BSP_FDCAN_DEFAULT_QUEUE_SIZE 10
|
||||
#define BSP_FDCAN_TIMEOUT_IMMEDIATE 0
|
||||
#define BSP_FDCAN_TIMEOUT_FOREVER osWaitForever
|
||||
#define BSP_FDCAN_TX_QUEUE_SIZE 32
|
||||
#define BSP_FDCAN_TX_QUEUE_SIZE 16
|
||||
|
||||
/* Exported types ----------------------------------------------------------- */
|
||||
typedef enum {
|
||||
@ -94,8 +93,8 @@ typedef struct {
|
||||
|
||||
typedef struct {
|
||||
BSP_FDCAN_TxMessage_t buffer[BSP_FDCAN_TX_QUEUE_SIZE];
|
||||
atomic_uint_least32_t head;
|
||||
atomic_uint_least32_t tail;
|
||||
volatile uint32_t head;
|
||||
volatile uint32_t tail;
|
||||
} BSP_FDCAN_TxQueue_t;
|
||||
|
||||
/* Exported functions prototypes -------------------------------------------- */
|
||||
@ -113,6 +112,8 @@ int8_t BSP_FDCAN_FlushQueue(BSP_FDCAN_t can, uint32_t can_id);
|
||||
int8_t BSP_FDCAN_RegisterIdParser(BSP_FDCAN_IdParser_t parser);
|
||||
uint32_t BSP_FDCAN_ParseId(uint32_t original_id, BSP_FDCAN_FrameType_t frame_type);
|
||||
|
||||
|
||||
void BSP_FDCAN_TxCompleteCallback(void);
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
@ -4,9 +4,11 @@
|
||||
*/
|
||||
|
||||
/* Includes ----------------------------------------------------------------- */
|
||||
#include "stm32h7xx_hal_gpio.h"
|
||||
#include "task/user_task.h"
|
||||
/* USER INCLUDE BEGIN */
|
||||
|
||||
#include "bsp/bsp.h"
|
||||
#include "bsp/fdcan.h"
|
||||
// #include "bsp/pwm.h"
|
||||
#include <math.h>
|
||||
/* USER INCLUDE END */
|
||||
@ -16,7 +18,7 @@
|
||||
/* Private macro ------------------------------------------------------------ */
|
||||
/* Private variables -------------------------------------------------------- */
|
||||
/* USER STRUCT BEGIN */
|
||||
|
||||
BSP_FDCAN_Message_t msg;
|
||||
/* USER STRUCT END */
|
||||
|
||||
/* Private function --------------------------------------------------------- */
|
||||
@ -37,9 +39,15 @@ void Task_blink(void *argument) {
|
||||
// BSP_PWM_SetComp(BSP_PWM_LED_G, 0.0f);
|
||||
// BSP_PWM_Start(BSP_PWM_LED_G);
|
||||
|
||||
// HAL_GPIO_WritePin(GPIOC, GPIO_PIN_13, GPIO_PIN_SET);
|
||||
// HAL_GPIO_WritePin(GPIOC, GPIO_PIN_14, GPIO_PIN_SET);
|
||||
// HAL_GPIO_WritePin(GPIOC, GPIO_PIN_15, GPIO_PIN_SET);
|
||||
HAL_GPIO_WritePin(GPIOC, GPIO_PIN_13, GPIO_PIN_SET);
|
||||
HAL_GPIO_WritePin(GPIOC, GPIO_PIN_14, GPIO_PIN_SET);
|
||||
HAL_GPIO_WritePin(GPIOC, GPIO_PIN_15, GPIO_PIN_SET);
|
||||
|
||||
BSP_FDCAN_Init();
|
||||
// 注册要接收的 CAN ID(示例)
|
||||
BSP_FDCAN_RegisterId(BSP_FDCAN_1, 0x101, 8);
|
||||
BSP_FDCAN_RegisterId(BSP_FDCAN_2, 0x102, 8);
|
||||
BSP_FDCAN_RegisterId(BSP_FDCAN_3, 0x103, 8);
|
||||
/* USER CODE INIT END */
|
||||
|
||||
while (1) {
|
||||
@ -49,6 +57,35 @@ void Task_blink(void *argument) {
|
||||
// float duty = (sinf(tick * 0.003f) + 1.0f) * 0.5f; // 0到1之间的正弦波,加快频率
|
||||
// BSP_PWM_SetComp(BSP_PWM_LED_G, duty);
|
||||
|
||||
// 测试:向三路 CAN 周期性发送电机控制帧(示例数据),并轮询接收
|
||||
{
|
||||
uint8_t data1[8] = {0xA1, 0x01, 0x34, 0x12, 0x10, 0x00, 0x00, 0x00};
|
||||
uint8_t data2[8] = {0xA1, 0x02, 0x78, 0x56, 0x20, 0x00, 0x00, 0x00};
|
||||
uint8_t data3[8] = {0xA1, 0x03, 0x00, 0x01, 0x30, 0x00, 0x00, 0x00};
|
||||
|
||||
// 简单 CRC/校验(可选)
|
||||
data1[7] = data1[0] ^ data1[1] ^ data1[2];
|
||||
data2[7] = data2[0] ^ data2[1] ^ data2[2];
|
||||
data3[7] = data3[0] ^ data3[1] ^ data3[2];
|
||||
|
||||
// 使用 BSP 封装的发送接口(非阻塞,若硬件 FIFO 满则内部入队)
|
||||
BSP_FDCAN_Transmit(BSP_FDCAN_1, BSP_FDCAN_FORMAT_STD_DATA, 0x101, data1, 8);
|
||||
BSP_FDCAN_Transmit(BSP_FDCAN_2, BSP_FDCAN_FORMAT_STD_DATA, 0x102, data2, 8);
|
||||
BSP_FDCAN_Transmit(BSP_FDCAN_3, BSP_FDCAN_FORMAT_STD_DATA, 0x103, data3, 8);
|
||||
|
||||
/* 尝试驱动软件 TX 队列续写(当硬件 FIFO 满且未启用 Tx Event 回调时使用轮询/主动驱动) */
|
||||
// BSP_FDCAN_TxCompleteCallback();
|
||||
|
||||
// 立即轮询接收(非阻塞),收到消息则通过 LED 指示
|
||||
|
||||
if (BSP_FDCAN_GetMessage(BSP_FDCAN_1, 0x101, &msg, BSP_FDCAN_TIMEOUT_IMMEDIATE) == BSP_OK) {
|
||||
}
|
||||
if (BSP_FDCAN_GetMessage(BSP_FDCAN_2, 0x102, &msg, BSP_FDCAN_TIMEOUT_IMMEDIATE) == BSP_OK) {
|
||||
}
|
||||
if (BSP_FDCAN_GetMessage(BSP_FDCAN_3, 0x103, &msg, BSP_FDCAN_TIMEOUT_IMMEDIATE) == BSP_OK) {
|
||||
}
|
||||
}
|
||||
osDelay(10);
|
||||
/* USER CODE END */
|
||||
osDelayUntil(tick); /* 运行结束,等待下一次唤醒 */
|
||||
}
|
||||
|
||||
@ -30,7 +30,6 @@ void Task_Init(void *argument) {
|
||||
osKernelLock(); /* 锁定内核,防止任务切换 */
|
||||
|
||||
/* 创建任务线程 */
|
||||
task_runtime.thread.rc = osThreadNew(Task_rc, NULL, &attr_rc);
|
||||
task_runtime.thread.blink = osThreadNew(Task_blink, NULL, &attr_blink);
|
||||
// 创建消息队列
|
||||
/* USER MESSAGE BEGIN */
|
||||
|
||||
@ -22,7 +22,7 @@ set(MX_Include_Dirs
|
||||
)
|
||||
|
||||
# STM32CubeMX generated application sources
|
||||
set(MX_Application_Src
|
||||
set(MX_Application_Src
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../../Core/Src/main.c
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../../Core/Src/gpio.c
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../../Core/Src/freertos.c
|
||||
@ -32,16 +32,15 @@ set(MX_Application_Src
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../../Core/Src/stm32h7xx_hal_timebase_tim.c
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../../Core/Src/sysmem.c
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../../Core/Src/syscalls.c
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../../startup_stm32h723xx.s
|
||||
)
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../../startup_stm32h723xx.s
|
||||
)
|
||||
|
||||
# STM32 HAL/LL Drivers
|
||||
set(STM32_Drivers_Src
|
||||
set(STM32_Drivers_Src
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../../Core/Src/system_stm32h7xx.c
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../../Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_tim.c
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../../Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_tim_ex.c
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../../Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_cortex.c
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../../Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_fdcan.c
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../../Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_rcc.c
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../../Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_rcc_ex.c
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../../Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_flash.c
|
||||
@ -57,7 +56,8 @@ set(STM32_Drivers_Src
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../../Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_i2c.c
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../../Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_i2c_ex.c
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../../Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_exti.c
|
||||
)
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../../Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_fdcan.c
|
||||
)
|
||||
|
||||
# Drivers Midllewares
|
||||
|
||||
@ -72,7 +72,7 @@ set(FreeRTOS_Src
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../../Middlewares/Third_Party/FreeRTOS/Source/timers.c
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/cmsis_os2.c
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../../Middlewares/Third_Party/FreeRTOS/Source/portable/MemMang/heap_4.c
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM4F/port.c
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM4F/port.c
|
||||
)
|
||||
|
||||
# Link directories setup
|
||||
@ -83,8 +83,7 @@ set(MX_LINK_DIRS
|
||||
set(MX_LINK_LIBS
|
||||
STM32_Drivers
|
||||
${TOOLCHAIN_LINK_LIBRARIES}
|
||||
FreeRTOS
|
||||
|
||||
FreeRTOS
|
||||
)
|
||||
# Interface library for includes and symbols
|
||||
add_library(stm32cubemx INTERFACE)
|
||||
@ -96,11 +95,11 @@ add_library(STM32_Drivers OBJECT)
|
||||
target_sources(STM32_Drivers PRIVATE ${STM32_Drivers_Src})
|
||||
target_link_libraries(STM32_Drivers PUBLIC stm32cubemx)
|
||||
|
||||
|
||||
# Create FreeRTOS static library
|
||||
add_library(FreeRTOS OBJECT)
|
||||
target_sources(FreeRTOS PRIVATE ${FreeRTOS_Src})
|
||||
target_link_libraries(FreeRTOS PUBLIC stm32cubemx)
|
||||
|
||||
# Create FreeRTOS static library
|
||||
add_library(FreeRTOS OBJECT)
|
||||
target_sources(FreeRTOS PRIVATE ${FreeRTOS_Src})
|
||||
target_link_libraries(FreeRTOS PUBLIC stm32cubemx)
|
||||
|
||||
# Add STM32CubeMX generated application sources to the project
|
||||
target_sources(${CMAKE_PROJECT_NAME} PRIVATE ${MX_Application_Src})
|
||||
|
||||
Loading…
Reference in New Issue
Block a user