I am using CubeIDE, stm32l0xx_hal_def.h Apach-2.0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-08-02 7: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.
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-08-02 7: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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-08-02 7: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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-08-02 7: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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-08-02 9:06 PM
TDK san, Thank you!
This issue has been resolved.
