Compiled HAL Library Errors
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-02-19 5:23 PM
Ever since the dawn of HAL, every HAL library I have tried has contained compiler detected errors. My latest frustration source is the STM32L4xx HAL library version 1.6.0. The problems are diverse and include:
- Typo differences in peripheral register bit definitions between the reference manual, the device stm32l4yyxx.h file and the hal peripheral .c file (yy = 76, 86, etc.).
- Missing peripheral register bit definitions in the device stm32lyyxx.h file.
- Hal peripheral .c file with a code segment with no conditional compile referencing a conditionally compiled parameter.
Some of the problems I can fix myself, but I don’t think I should have to. The root problem seems to be incomplete or non-existent library compile and fix before release.
It’s tough to get universal HAL acceptance with stuff like this going on.
Hal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-02-20 2:57 AM
Hi
Baird.Hal
,Could you please provide more detailsabout the issue that you have encountered using the
STM32L4xx HAL library version 1.6.0, so that it will be easier to check and report internally?
-Nesrine-
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-02-20 6:58 AM
The issue is simple - the libraries need to be compiled and all compiler detected errors fixed before release.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-02-20 1:33 PM
My apologies.
I had updated the HAL Peripheral Library, but the device header file stm32L476xx.h was a previous version. I get a clean compile now.
Hal
