Skip to main content
AVill.1
Associate
March 24, 2021
Solved

Compiling differences.

  • March 24, 2021
  • 6 replies
  • 1642 views

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.
    Best answer by Andrew Neil

    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 ...

    6 replies

    Andrew Neil
    Andrew NeilBest answer
    Super User
    March 24, 2021

    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
    March 24, 2021

    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
    March 24, 2021

    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
    March 25, 2021

    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
    March 25, 2021

    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.