Skip to main content
Richard Lowe
Senior II
Jan 27, 2018 7:16 AM UTC
Solved

Atollic CubeMX Missing Source Files

Posted on January 27, 2018 at 08:16

Every project generated in CubeMX with Truestudio as the target fails.

0690X00000609V7QAI.png

The project generates ''Virtual'' folders in Drivers but the contents of the folders are missing. Compilation fails due to missing HAL_ driver source.

Also generates a ''Virtual'' folder called Application but that folder does not exist. What is the purpose of it?

    This topic has been closed for replies.
    Richard Lowe
    Richard LoweBest answer
    Senior II
    Jan 27, 2018 7:27 AM UTC
    Posted on January 27, 2018 at 08:27

    Ah. Fix is to uncheck ''Generate in root'' in project config;

    0690X00000609VRQAY.png

    2 replies

    Richard Lowe
    Richard LoweAuthorBest answer
    Senior II
    Jan 27, 2018 7:27 AM UTC
    Posted on January 27, 2018 at 08:27

    Ah. Fix is to uncheck ''Generate in root'' in project config;

    0690X00000609VRQAY.png
    Richard Lowe
    Senior II
    May 28, 2018 10:00 PM UTC
    Posted on May 28, 2018 at 22:00

    This has been resolved in CubeMx 4.25. Thanks ST.