Menu

Differences between Linux and Windows

stancecoke
2017-10-24
2017-10-25
  • stancecoke

    stancecoke - 2017-10-24

    We are developing an open source firmware for a cheap E-bike controller with a STM8 processor:
    https://github.com/OpenSource-EBike-firmware/BMSBattery_S_controllers_firmware

    Now we came to a point, where the code seems to work, if it's compiled with Linux. Compiled with Windows it doesn't work.

    Any ideas how to solve this problem?

    Regards
    stancecoke

     
  • Frieder Ferlemann

    two random thoughts:

    Compare the .asm listing files (with a tool comparing directories and ignoring white-space changes (on Windows e.g. TotalCommander)).

    Check the include files actually used (there might be surprises because file name matching is case-insensitive on Windows).

     
  • stancecoke

    stancecoke - 2017-10-25

    The difference seems to be in the debug information mainly ?!
    Compiled with windows, the application runs properly for one ore two seconds, then it stops :-(

    regards
    stancecoke

     

Log in to post a comment.