Skip to main content
AVill.1
Associate
Mar 24, 2021 1:59 PM UTC
Solved

Compiling differences.

We are compiling the same project in two different computers, we are getting the same .hex file, but different .list and .map files. We would like to know why, as we need to share this project and we want it to be exactly the same.

    This topic has been closed for replies.
    Andrew Neil
    Andrew NeilBest answer
    Super User
    Mar 24, 2021 3:30 PM UTC

    In what way(s), exactly, are the  .list and .map files different?

    If there are differences in path names, that would be expected to affect  .list and .map files ...

    A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.

    6 replies

    Andrew Neil
    Andrew NeilBest answer
    Super User
    Mar 24, 2021 3:30 PM UTC

    In what way(s), exactly, are the  .list and .map files different?

    If there are differences in path names, that would be expected to affect  .list and .map files ...

    A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
    AVill.1
    AVill.1Author
    Associate
    Mar 24, 2021 3:38 PM UTC

    0693W000008xoLxQAI.png 

    That is the difference, is something related with the debug configuration, but we have checked the project configuration the IDE version of both computers and there is no difference. But when we compile we get this difference.

    Tesla DeLorean
    Guru
    Mar 24, 2021 4:18 PM UTC

    Ok, so perhaps paths, user and file name differences between systems, and expressed in the debug data to find said files.

    Lacking a lot of system detail here, perhaps you use ST tools, where repositories are under User directories rather than off the root of C: ?

    Do the objects need to be identical for each user to perform debug? If the .BIN and .HEX are identical the code the MCU sees is the same.

    Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
    AVill.1
    AVill.1Author
    Associate
    Mar 25, 2021 7:46 AM UTC

    You were right, we have tryed it wiht the same path in both computers and now is exactly the same. Thank you very much, we needed to be sure about the differences.

    Andrew Neil
    Super User
    Mar 25, 2021 10:22 AM UTC

    0693W000008ww08QAA.png

    A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.