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