Skip to main content
LMI2
Senior III
October 10, 2017
Question

How to find project specific files in CubeMx?

  • October 10, 2017
  • 4 replies
  • 807 views
Posted on October 10, 2017 at 18:50

A Cube template, example or whatever contains around 150 files. I don't think that each of them is edited for every project but some of course are. When trying to use those examples the user should know what files to look or where to find them.

    This topic has been closed for replies.

    4 replies

    Tesla DeLorean
    Guru
    October 10, 2017
    Posted on October 10, 2017 at 19:27

    I use a file manager, and static source analysis tools.

    Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
    LMI2
    LMI2Author
    Senior III
    October 10, 2017
    Posted on October 10, 2017 at 20:30

    Can they help finding differences in files. Especially with files from CubeMX. I think part of the problem is that there are project (application, example, template) specific, family specific, board files and so on. Finding a baseline for comparison will be hard.

    'I use a file manager, and static source analysis tools.' Can you name a few simple examples?

    Edit: I think this expalins a part why I am asking this:

    https://community.st.com/0D50X00009XkgANSAZ

    'The question is of the form 'why can't the compiler compile itself?', and relates to the rather poorly executed transition from a working library to one where the 'code/example' generation tool doesn't infact generate the code required, and deviates from the manner in which the supplied 'examples' do, and does so in a way that 'merging' code from one to the other is neither practical or functional.'

    Combining examples is hard when changes are spread over many files.

    Tesla DeLorean
    Guru
    October 10, 2017
    Posted on October 10, 2017 at 20:49

    ZTree,

    https://en.wikipedia.org/wiki/ZTreeWin

     

    WinMerge,

    http://winmerge.org/?lang=en

     

    Araxis Merge,

    https://www.araxis.com/merge/index.en

     

    Understand C/C++

    https://scitools.com/

     
    Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..