Skip to main content
Associate
Jan 10, 2024 12:29 AM UTC
Question

Could somebody help me with this strange hal.o thing?

Sweed_0-1704846542816.png

 

    This topic has been closed for replies.

    12 replies

    KnarfB
    Super User
    Jan 10, 2024 12:58 AM UTC

    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

    SweedAuthor
    Associate
    Jan 10, 2024 11:47 AM UTC

    Its like this

    Sweed_0-1704887186197.png

    i also attach build log file

    SweedAuthor
    Associate
    Jan 10, 2024 12:21 PM UTC

    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.

    Tesla DeLorean
    Guru
    Jan 10, 2024 12:28 PM UTC

    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.

    Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
    KnarfB
    Super User
    Jan 10, 2024 1:39 PM UTC

    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

    Rim LANDOLSI
    ST Employee
    Jan 11, 2024 1:52 PM UTC

    Hello @Sweed and welcome to the community,

     

    Could you check the include paths of the project and make sure that the path "../Drivers/STM32F3xx_HAL_Driver/Inc" is included. If it is not the case, it may be causing the problem you have found.

     

    Thanks,

    Rim.