On my Linux machine, I compiled MatekH743 firmware to be used for Matek H743-WLITE board. The resulting file is attached. When I flash it, I can subsequently connect to the board from GCS, but after few seconds the connection fails. Subsequent reconnection attempts keep tell me the following in the logs:
I tried to find the actual watchdog messages via log analysis, but it appears that the logs are not really written: the log size is 4096 bytes and there is nothing in it.
I am not sure where to look for, could somebody please direct me to that?
Possibly relevant info:
There is a difference in *.apj image size between my version (1346036 bytes) and the official one (1360056 bytes).
I guess the standard 4.5.0-beta firmware is OK? I think it must be because I’m sure that other users (and developers) have successfully used it.
… in which case this is most likely an issue with the development environment on your local PC. Of course you’ve followed the instructions here on the wiki?
The thing is, my environment is sufficient to build working firmware for another board I have, FlywooF405S-AIO - just tested that. A month ago I also successfully built firmware for FlywooF745.
The GCC is from Gentoo crossdev, and its -v output is this:
One of possible explanations is that GCC 13.2.1 optimizes out something it should not, but it is only relevant for complete firmware and not for the feature-reduced one.