2023-08-02 07:17 PM
The contents of "stm32l0xx_hal_def." are shown in the attached photo.
It says something like "Apache-2.0".
This causes a compile error.
What should I do?
Solved! Go to Solution.
2023-08-02 07:36 PM
That's not a valid header file, no wonder it's giving error. Where did you get the project or how did you generate it? No doubt something went wrong in the process.
See here for the correct file:
Lots of error icons showing up on other headers, wouldn't be surprised if other files are wrong as well.
2023-08-02 07:18 PM
The contents of "stm32l0xx_hal_def." are as follows
---------------------------------------------------------
This software component is provided to you as part of a software package and
applicable license terms are in the Package_license file. If you received this
software component outside of a package or without applicable license terms,
the terms of the Apache-2.0 license shall apply.
You may obtain a copy of the Apache-2.0 at:
https://opensource.org/licenses/Apache-2.0
2023-08-02 07:36 PM
That's not a valid header file, no wonder it's giving error. Where did you get the project or how did you generate it? No doubt something went wrong in the process.
See here for the correct file:
Lots of error icons showing up on other headers, wouldn't be surprised if other files are wrong as well.
2023-08-02 09:06 PM
TDK san, Thank you!
This issue has been resolved.