2019-01-25 09:48 PM
2019-01-25 11:55 PM
There are some cross definitions, however, compiler will successfully work. Some of the #include within a header file are not placed at the top of the file.
Most headers are recurse protected either by compiler preprocessor (we have past the jurassic period), or simply by the
#ifndef _THIS_HEADER_FILE_
#define _THIS_HEADER_FILE_
#include "againthisone.h"
#endif...
2019-01-26 04:01 AM
the point is sequence。Under these conditions,compiler will compile stm32f4xx_hal.h first。but the defined structure:HAL_StatusTypeDef is in stm32f4xx_hal_def.h。like recurse
2019-01-26 05:55 AM
You must call out the modules you want to include via defines in stm32f4xx_hal_conf.h in your project. Review the template projects.