1. error: #29: expected an expression
1. Error in compiling the following statement
for(int i=0; i<16; i++)
2. MDK uses C90 by default. It can support C99 after configuration. Modify it according to the following figure
2. error: #223-D: function “BSP_CLK_Init” declared implicitly
F460:
After initializing the BSP_CLK_Init function in main.c and calling it in the main function, this error is reported, indicating that the declaration is not legal.
Referring to the following article, I made a declaration at the beginning of main.c to call extern void BSP_CLK_Init(void);
after which the error disappears.
Read More:
- Android: How to Solve libuv Compile Error
- [app] install and compile libimobililedevice, How to solve the error
- [Solved] MDK Compile Error: error:No section matches selector – no section to be FIRST/LAST
- How to Solve UE5 Compile Error: Error MSB3073
- (Keil MDK) UCOS floating point support abnormal solution
- How to Solve UW Microcontroller KEIL _WEAK Error
- [Solved] No corresponding flash error is found during MDK download
- How to Solve Error: “initializer element is not constant”
- How to Solve Keil Error: error: #29: expected an expression
- How to Solve Node GYP Rebuild Error
- How to Solve OpenCV CVUI Error: LINK2019
- How to Solve Error: avoided redundant navigation to current location: “index/user”
- How to Solve linq Statement IsNullOrWhiteSpace Error
- [Solved] STM32F4 MDK5 Software Simulate Error: error 65: no ‘read‘ permission
- How to Solve using stm32f4 to drive PS2 error
- How to Solve Jetpack room use error
- How to Solve Logstash error: failed to execute action
- VS: How to Solve strcpy() Error
- Duplicate entry ‘1’ for key’PRIMARY’ (How to Solve)
- How to Solve Error: Type mismatch: cannot convert from Object to Car