The main points of keil programming in C++

1. Interrupt processing, add a macro definition. If it is not added, the interrupt service function will not be linked to the download file; after the interrupt occurs, it will stay in the "B ." statement of the xxx.s file.

#ifdef __cplusplus
 extern "C" {
#endif

#ifdef __cplusplus
}
#endif

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324691401&siteId=291194637