Could somebody help me with this strange hal.o thing?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-01-09 4:29 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-01-09 4:58 PM - edited ‎2024-01-09 4:59 PM
Don't you have more detailed output, like from the console?
Looks more llike an error in the toolset/setup, not in your code.
Can you build a new project using the generated skeleton code only?
hth
KnarfB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-01-10 3:47 AM
Its like this
i also attach build log file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-01-10 4:21 AM
Oh. And it doesnt compile as a default project. Even when I just add 4 PWM channels, generace C code and press run this error occurs.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-01-10 4:28 AM
Complaining it can't find or load CC1, a pass of the compiler. Check presence of tool files and PATH setting. Not installed properly. Do as Admin.
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-01-10 5:39 AM
in addition, make sure that
- the IDE is installed on a short, simple path like C:\ST\ not containing white space, umlauts, and other "difficult" chars that the underlying software cannot properly handle
- there are no competing other compiler toolchains on the path.
hth
KnarfB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-01-10 8:06 AM
Could you direct me little more? I am a complete beginner. Where to check it?
I also found what Mr.KnarfB wrote somewhere that there is this file
C:\ST\STM32CubeIDE\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.11.3.rel1.win32_1.1.0.202305231506\tools\bin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-01-10 12:24 PM
That's a Directory, not a File
It should contain the files than make up the compiler, linker, etc.
If you open a command line, ie CMD, you should be able to type "SET" to see the environment variables, including PATH, and you should be able to run the CC1 app
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-01-10 1:54 PM
Okay now i have less errors.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-01-10 2:06 PM
Yes and no, because this is a higher level error which prevents make from running (and therefore producing the previous errors) :(.
Uninstall STM32CubeIDE and make a clean new install to the default path C:\ST. This usually works on an average Windows system.
hth
KnarfB
