2023-07-31 05:48 AM
Hello dear ST Community
I have my first real problem, unfortunately.
Since we now want to work with multiple people on projects, we have now set up our git cleanly by only sharing the project files (no workspace). However, now I unfortunately have the problem that on my computer the project is not compilable. I get the following error messages:
i have already tried:
- as recommended in another post here, add the line #include <sys/types.h> to the sysmem.c file.
- change the code in sysmem.c from
I understand that caddr_t seems to be an outdated system. Unfortunately, I don't fully understand how to replace the old version with the code from a newly generated sysmem.c file.
I hope you know a solution to my problem.
Many greetings and thanks in advance
Patrick
2023-08-02 01:28 AM
A short answer: your project or team has grown to the state when it needs a person who deals with these software & tools issues for all team members. Congratulations. If you are assuming this role, consider finding a consultant.
2024-07-07 07:06 AM
For anyone who stumbles upon the same problem, the solution is: use the same toolchain version that STM32CubeIDE ships with. For example, if the IDE lives in:
c:\ST\STM32CubeIDE_1.15.1\STM32CubeIDE\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.12.3.rel1.win32_1.0.200.202406191623\tools\bin
then you should install arm-gnu-toolchain-12.3.rel1-mingw-w64-i686-arm-none-eabi.exe from https://developer.arm.com/downloads/-/arm-gnu-toolchain-downloads and make sure that specific version is in your PATH. Alternatively, you can add the above folder to PATH if you have the IDE installed.