diff --git a/Core/Src/main.c b/Core/Src/main.c index 42b9a6a..533f1dd 100644 --- a/Core/Src/main.c +++ b/Core/Src/main.c @@ -329,7 +329,7 @@ static void MX_FDCAN1_Init(void) { hfdcan1.Init.RxBufferSize = FDCAN_DATA_BYTES_8; hfdcan1.Init.TxEventsNbr = 0; hfdcan1.Init.TxBuffersNbr = 0; - hfdcan1.Init.TxFifoQueueElmtsNbr = 1; + hfdcan1.Init.TxFifoQueueElmtsNbr = 32; hfdcan1.Init.TxFifoQueueMode = FDCAN_TX_FIFO_OPERATION; hfdcan1.Init.TxElmtSize = FDCAN_DATA_BYTES_8; if (HAL_FDCAN_Init(&hfdcan1) != HAL_OK) { diff --git a/Makefile b/Makefile index eca9c9a..2b4657b 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ ########################################################################################################################## -# File automatically-generated by tool: [projectgenerator] version: [4.1.0] date: [Mon Jul 24 18:47:29 CEST 2023] +# File automatically-generated by tool: [projectgenerator] version: [4.3.0-B58] date: [Wed Jun 12 17:44:56 CEST 2024] ########################################################################################################################## # ------------------------------------------------ @@ -228,7 +228,16 @@ Middlewares/ST/threadx/common/src/txe_timer_delete.c \ Middlewares/ST/threadx/common/src/txe_timer_info_get.c \ TouchGFX/App/app_touchgfx.c \ Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_crc.c \ -Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_crc_ex.c +Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_crc_ex.c \ +TouchGFX/target/TouchGFXHAL.cpp \ +TouchGFX/target/STM32TouchController.cpp \ +TouchGFX/target/TouchGFXGPIO.cpp \ +TouchGFX/target/generated/TouchGFXConfiguration.cpp \ +TouchGFX/target/generated/TouchGFXGeneratedHAL.cpp \ +TouchGFX/target/generated/STM32DMA.cpp \ +TouchGFX/target/generated/OSWrappers.cpp \ +Core/Src/sysmem.c \ +Core/Src/syscalls.c # ASM sources ASM_SOURCES = \ diff --git a/TouchGFX/App/app_touchgfx.c b/TouchGFX/App/app_touchgfx.c index d57e704..daf3898 100644 --- a/TouchGFX/App/app_touchgfx.c +++ b/TouchGFX/App/app_touchgfx.c @@ -8,7 +8,7 @@ ****************************************************************************** * @attention * - * Copyright (c) 2023 STMicroelectronics. + * Copyright (c) 2024 STMicroelectronics. * All rights reserved. * * This software is licensed under terms that can be found in the LICENSE file diff --git a/TouchGFX/App/app_touchgfx.h b/TouchGFX/App/app_touchgfx.h index 31f7546..44db8ac 100644 --- a/TouchGFX/App/app_touchgfx.h +++ b/TouchGFX/App/app_touchgfx.h @@ -8,7 +8,7 @@ ****************************************************************************** * @attention * - * Copyright (c) 2023 STMicroelectronics. + * Copyright (c) 2024 STMicroelectronics. * All rights reserved. * * This software is licensed under terms that can be found in the LICENSE file diff --git a/TouchGFX/target/generated/OSWrappers.cpp b/TouchGFX/target/generated/OSWrappers.cpp index 175b6b7..7a4c2a2 100644 --- a/TouchGFX/target/generated/OSWrappers.cpp +++ b/TouchGFX/target/generated/OSWrappers.cpp @@ -6,7 +6,7 @@ ****************************************************************************** * @attention * - * Copyright (c) 2023 STMicroelectronics. + * Copyright (c) 2024 STMicroelectronics. * All rights reserved. * * This software is licensed under terms that can be found in the LICENSE file diff --git a/TouchGFX/target/generated/STM32DMA.cpp b/TouchGFX/target/generated/STM32DMA.cpp index bb77229..f3519fd 100644 --- a/TouchGFX/target/generated/STM32DMA.cpp +++ b/TouchGFX/target/generated/STM32DMA.cpp @@ -7,7 +7,7 @@ ****************************************************************************** * @attention * - * Copyright (c) 2023 STMicroelectronics. + * Copyright (c) 2024 STMicroelectronics. * All rights reserved. * * This software is licensed under terms that can be found in the LICENSE file diff --git a/TouchGFX/target/generated/STM32DMA.hpp b/TouchGFX/target/generated/STM32DMA.hpp index 089442d..20a97a1 100644 --- a/TouchGFX/target/generated/STM32DMA.hpp +++ b/TouchGFX/target/generated/STM32DMA.hpp @@ -6,7 +6,7 @@ ****************************************************************************** * @attention * - * Copyright (c) 2023 STMicroelectronics. + * Copyright (c) 2024 STMicroelectronics. * All rights reserved. * * This software is licensed under terms that can be found in the LICENSE file diff --git a/TouchGFX/target/generated/TouchGFXConfiguration.cpp b/TouchGFX/target/generated/TouchGFXConfiguration.cpp index 14f6da8..3f55554 100644 --- a/TouchGFX/target/generated/TouchGFXConfiguration.cpp +++ b/TouchGFX/target/generated/TouchGFXConfiguration.cpp @@ -6,7 +6,7 @@ ****************************************************************************** * @attention * - * Copyright (c) 2023 STMicroelectronics. + * Copyright (c) 2024 STMicroelectronics. * All rights reserved. * * This software is licensed under terms that can be found in the LICENSE file diff --git a/TouchGFX/target/generated/TouchGFXGeneratedHAL.cpp b/TouchGFX/target/generated/TouchGFXGeneratedHAL.cpp index 7263312..69f0de4 100644 --- a/TouchGFX/target/generated/TouchGFXGeneratedHAL.cpp +++ b/TouchGFX/target/generated/TouchGFXGeneratedHAL.cpp @@ -6,7 +6,7 @@ ****************************************************************************** * @attention * - * Copyright (c) 2023 STMicroelectronics. + * Copyright (c) 2024 STMicroelectronics. * All rights reserved. * * This software is licensed under terms that can be found in the LICENSE file diff --git a/TouchGFX/target/generated/TouchGFXGeneratedHAL.hpp b/TouchGFX/target/generated/TouchGFXGeneratedHAL.hpp index 49696e2..d1344b1 100644 --- a/TouchGFX/target/generated/TouchGFXGeneratedHAL.hpp +++ b/TouchGFX/target/generated/TouchGFXGeneratedHAL.hpp @@ -6,7 +6,7 @@ ****************************************************************************** * @attention * - * Copyright (c) 2023 STMicroelectronics. + * Copyright (c) 2024 STMicroelectronics. * All rights reserved. * * This software is licensed under terms that can be found in the LICENSE file diff --git a/steering-wheel.ioc b/steering-wheel.ioc index d422253..2b188d9 100644 --- a/steering-wheel.ioc +++ b/steering-wheel.ioc @@ -36,7 +36,7 @@ FDCAN1.NominalTimeSeg1=63 FDCAN1.NominalTimeSeg2=16 FDCAN1.RxFifo0ElmtsNbr=16 FDCAN1.StdFiltersNbr=32 -FDCAN1.TxFifoQueueElmtsNbr=1 +FDCAN1.TxFifoQueueElmtsNbr=32 File.Version=6 GPIO.groupedBy=Show All JPEG.IPParameters=JPEG_RGB_FORMAT @@ -152,8 +152,8 @@ Mcu.Pin7=PF2 Mcu.Pin70=VP_TIM1_VS_ClockSourceINT Mcu.Pin71=VP_TIM2_VS_ClockSourceINT Mcu.Pin72=VP_TIM17_VS_ClockSourceINT -Mcu.Pin73=VP_STMicroelectronics.X-CUBE-AZRTOS-H7_VS_RTOSJjThreadX_6.1.12_3.0.0 -Mcu.Pin74=VP_STMicroelectronics.X-CUBE-TOUCHGFX_VS_GraphicsJjApplication_4.22.0 +Mcu.Pin73=VP_STMicroelectronics.X-CUBE-TOUCHGFX_VS_GraphicsJjApplication_4.22.0 +Mcu.Pin74=VP_STMicroelectronics.X-CUBE-AZRTOS-H7_VS_RTOSJjThreadX_6.1.12_3.0.0 Mcu.Pin8=PF3 Mcu.Pin9=PF4 Mcu.PinsNb=75 @@ -448,7 +448,7 @@ ProjectManager.ToolChainLocation= ProjectManager.UAScriptAfterPath= ProjectManager.UAScriptBeforePath= ProjectManager.UnderRoot=false -ProjectManager.functionlistsort=1-SystemClock_Config-RCC-false-HAL-false,2-MX_GPIO_Init-GPIO-false-HAL-true,3-MX_DMA_Init-DMA-false-HAL-true,4-MX_FDCAN1_Init-FDCAN1-false-HAL-true,5-MX_LTDC_Init-LTDC-false-HAL-true,6-MX_JPEG_Init-JPEG-false-HAL-true,7-MX_OCTOSPI1_Init-OCTOSPI1-false-HAL-true,8-MX_SPI3_Init-SPI3-false-HAL-true,9-MX_TIM1_Init-TIM1-false-HAL-true,10-MX_TIM2_Init-TIM2-false-HAL-true,11-MX_TIM4_Init-TIM4-false-HAL-true,12-MX_CRC_Init-CRC-false-HAL-true,13-MX_TIM17_Init-TIM17-false-HAL-true,14-MX_DMA2D_Init-DMA2D-false-HAL-true,16-MX_TouchGFX_Init-STMicroelectronics.X-CUBE-TOUCHGFX.4.21.2-false-HAL-false,17-MX_TouchGFX_Process-STMicroelectronics.X-CUBE-TOUCHGFX.4.21.2-false-HAL-false,0-MX_CORTEX_M7_Init-CORTEX_M7-false-HAL-true +ProjectManager.functionlistsort=1-SystemClock_Config-RCC-false-HAL-false,2-MX_GPIO_Init-GPIO-false-HAL-true,3-MX_DMA_Init-DMA-false-HAL-true,4-MX_FDCAN1_Init-FDCAN1-false-HAL-true,5-MX_LTDC_Init-LTDC-false-HAL-true,6-MX_JPEG_Init-JPEG-false-HAL-true,7-MX_OCTOSPI1_Init-OCTOSPI1-false-HAL-true,8-MX_SPI3_Init-SPI3-false-HAL-true,9-MX_TIM1_Init-TIM1-false-HAL-true,10-MX_TIM2_Init-TIM2-false-HAL-true,11-MX_TIM4_Init-TIM4-false-HAL-true,12-MX_CRC_Init-CRC-false-HAL-true,13-MX_TIM17_Init-TIM17-false-HAL-true,14-MX_DMA2D_Init-DMA2D-false-HAL-true,15-MX_TouchGFX_Init-STMicroelectronics.X-CUBE-TOUCHGFX.4.22.0-false-HAL-false,16-MX_TouchGFX_Process-STMicroelectronics.X-CUBE-TOUCHGFX.4.22.0-false-HAL-false,0-MX_CORTEX_M7_Init-CORTEX_M7-false-HAL-true RCC.ADCFreq_Value=2000000 RCC.AHB12Freq_Value=160000000 RCC.AHB4Freq_Value=160000000