Code: Select all
sprintf(Buf, "REVID: %u DEVID: %u\r\n", HAL_GetREVID(), HAL_GetDEVID());
CDC_Transmit_FS(Buf, strlen(Buf));
Maybe I'm not interested in testing this problem any more. I continue my project with a working board. Before I found solution there were too many "moving parts". Now there is a brighter way to go.
If You ask google "HAL_GetREVID", you find intresting stories.