Tag Archives: Embedded C

20851;2011;Error: identifier 822’HAL’s StatusTypeDef 8225; is undefined.

This bug appears when editing code with Hal Library of STM32. Right click to locate the relevant header file, but the system still reports an error. In fact, the main problem is the header file.

1. It is necessary to check whether the part used by the main program in the header file has been enabled, especially “stm32f1xx”_ hal_ “Con. H” and “stm32f1xx”_ hal.h”。

2. The compiler error is not accurate, such as the header file stm32f1xx_ Hal in RCC. H_ Statustypedef is not defined. You need to check carefully. The error is reported when compiling the. C file. Basically, they are all written by themselves. This kind of error will be reported only when there is an error in the compilation of the. C file. We need to pay attention to the unified include  “ stm32f7xx_ hal.h>”,    Instead of a separate include “stm32f7xx”_ hal_ gpio.h>” stm32f1xx_ hal_ (such as XXX. H header file)

Adding project folder in SourceInsight is empty

A very strange problem occurred when I added the folder named Stdio to the project and found that the folder appeared empty in Soureinsight.
At first I thought it was a folder permissions issue, so I made all the files readable and writable. Still not solving the problem, I stumbled across a particular project in SourceInsight: the Base project
The purpose of this project is to put files that are common to all projects, thus achieving the effect of sharing public files. Have a try!
Come on!!

Shows my function!!