Fercad писал(а):
85105565Для чего нужен "en.patch-cubemx-6.7.1.zip"? Ставить обязательно?
When FreeRtos is enabled in STM32CubeMx, the generated code should create the tasks already configured by the user.
In this context, a regression was detected in the latest STM32CubeMX version (6.7.0) and only with the STM32F4 series of MCUs.
As a result, we propose this temporary solution while the fix is implemented in a future release. To put it in place, follow the step described down below. And please if you are not using an F4 we advise you to not apply this solution.
1. For windows:
1.1. STM32CubeMx standalone:
1.1.1. Download the file found under this link.
1.1.2. Extract the “FREERTOS-STM32F4xx_Configs.xml” file from the downloaded archive.
1.1.3. Copy the file to the following directory found under the STM32CubeMx installation directory “db\mcu\config”.
The default path is: “C:\Program Files\STMicroelectronics\STM32Cube\STM32CubeMX\db\mcu\config”
Adapt the path to your case if you have changed the default path or have multiple CubeMx versions already installed on your PC.
The simplest way is to go to Desktop and right click on the CubeMx shortcut -> Click Open file location then navigate to “db\mcu\config”
1.2. STM32CubeIDE plugin:
1.2.1. Download the file found under this link
1.2.2. Extract the “FREERTOS-STM32F4xx_Configs.xml” file from the downloaded archive
1.2.3. Copy the file to the following directory found under the STM32CubeIDE installation directory “plugins\com.st.stm32cube.common.mx_6.7.0.202211181646\db\mcu\config”.
The default path is: “C:\ST\STM32CubeIDE_1.11.0\STM32CubeIDE\plugins\com.st.stm32cube.common.mx_6.7.0.202211181646\db\mcu\config”
Adapt the path to your case if you have changed the default path or have multiple CubeMx versions already installed on your PC.
The simplest way is to go to Desktop and right click on the CubeIDE shortcut -> Click Open file location then navigate to “plugins\com.st.stm32cube.common.mx_6.7.0.202211181646\db\mcu\config”.
2. For Linux:
2.1. STM32CubeMx standalone:
2.1.1. Download the file found under this link
2.1.2. Extract the “FREERTOS-STM32F4xx_Configs.xml” file from the downloaded archive.
2.1.3. Copy the file to the following directory found under the STM32CubeMx installation directory “db\mcu\config”.
The default path is: “/home/username/STM32CubeMX”
Adapt the path to your case if you have changed the default path or have multiple CubeMx versions already installed on your PC.
2.2. STM32CubeIDE plugin:
2.2.1. Download the file found under this link
2.2.2. Extract the “FREERTOS-STM32F4xx_Configs.xml” file from the downloaded archive
2.2.3. Copy the file to the following directory found under the STM32CubeIDE installation directory “plugins\com.st.stm32cube.common.mx_6.7.0.202211181646\db\mcu\config”.
The default path is: “opt/ST/stm32cubeide_1.11.0 /plugins/com.st.stm32cube.common.mx_6.7.0.202211181646\db/mcu/config”
Adapt the path to your case if you have changed the default path or have multiple CubeMx versions already installed on your PC.
3. For MacOS:
3.1. STM32CubeMx standalone
3.1.1. Download the file found under this link
3.1.2. Extract the “FREERTOS-STM32F4xx_Configs.xml” file from the downloaded archive
3.1.3. Copy the file to the following directory found under the STM32CubeMx installation directory “db\mcu\config”.
To access this directory, in “Application” choose the STM32CubeMx6.7.0 and click on “Show Package Contents” then navigate to the mentioned directory where you copy the xml file and replace the original one.
3.2. STM32CubeIDE plugin:
3.2.1. Download the file found under this link
3.2.2. Extract the “FREERTOS-STM32F4xx_Configs.xml” file from the downloaded archive
3.2.3. Copy the file to the following directory found under the STM32CubeIDE installation directory “plugins\com.st.stm32cube.common.mx_6.7.0.202211181646\db\mcu\config”.
To access this directory, in “Application” choose the STM32CubeIDE 1.11.0 and click on “Show Package Contents” then navigate to the mentioned directory where you copy the xml file and replace the original one.