Skip to main content
Associate
January 10, 2024
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
    January 10, 2024

    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
    January 10, 2024

    Its like this

    Sweed_0-1704887186197.png

    i also attach build log file

    SweedAuthor
    Associate
    January 10, 2024

    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
    January 10, 2024

    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
    January 10, 2024

    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
    January 11, 2024

    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.