Comments (8)
Hi @CanastraRF,
Thank you for this report. Would you mind providing the error message you get in order to allow us to investigate this issue?
With regards,
from stm32cubel0.
Dear Support
I've got the following code snipped for STM32L053:
{
RTC_HandleTypeDef hRtc;
int i = __HAL_RTC_TAMPER_GET_IT(&hRtc, RTC_IT_TAMP2);
}
The Compiler output is:
../Src/main.c(95): error: #53: expected a ":"
int i = __HAL_RTC_TAMPER_GET_IT(&hRtc, RTC_IT_TAMP2);
../Src/main.c: 0 warnings, 1 error
"../Src/main.c" - 1 Error(s), 0 Warning(s).
I report this in the last 5 years several times.
So, I hope you can fix this soon.
With regards,
Reto
from stm32cubel0.
Hi @CanastraRF,
The issue you reported has been confirmed. Actually, it has been already fixed internally. The fix will be available in a future release, very soon hopefully. Below is how the macro has been redefined.
#define __HAL_RTC_TAMPER_GET_IT(__HANDLE__, __INTERRUPT__) (((__INTERRUPT__) == RTC_IT_TAMP1) ? (((((__HANDLE__)->Instance->ISR) & ((__INTERRUPT__)>> 3U)) != 0U) ? 1U : 0U) : \
((__INTERRUPT__) == RTC_IT_TAMP2) ? (((((__HANDLE__)->Instance->ISR) & ((__INTERRUPT__)>> 5U)) != 0U) ? 1U : 0U) : \
- ((__INTERRUPT__) == RTC_IT_TAMP3) ? (((((__HANDLE__)->Instance->ISR) & ((__INTERRUPT__)>> 7U)) != 0U) ? 1U : 0U))
+ (((((__HANDLE__)->Instance->ISR) & ((__INTERRUPT__)>> 7U)) != 0U) ? 1U : 0U))
Thank you for your patience and thank you again for your report.
With regards,
from stm32cubel0.
Hi @ALABSTM
Thank You for your feedback.
I Hope this will be fixed soon too.
I've got some improvments in the cube code.
Is this a way to communicate with the development?
The 1st level support often does not understand the problems.
Reto Felix
from stm32cubel0.
Hi @CanastraRF,
Indeed, this support channel has been especially created for all aspects related to the Cube firmware published within these repositories (CMSIS Device, HAL-LL, MW, BSP, and Projects). Your suggestions and proposals are more than welcome.
Please note however that any other topic related to documentation, ecosystem, or hardware for instance is out of the scope of this support channel. In that case, you may rather submit your questions and proposals to the ST Community.
I hope I answered your question. We are looking forward to reading your improvement proposals.
With regards,
from stm32cubel0.
ST Internal Reference: 58409
from stm32cubel0.
Thanks
from stm32cubel0.
Hi @CanastraRF,
I hope you are doing well. Issue fixed and fix now available in the frame of the STM32CubeL0 v1.12.0 published a couple of days ago on GitHub. Thank you again for having reported.
With regards,
Ali
from stm32cubel0.
Related Issues (20)
- Add HAL_TIM_DMABurst_MultiWriteStart and HAL_TIM_DMABurst_MultiReadStart HOT 2
- Build Error in STM32CubeL0_v1.12.0\stm32l0xx_hal_dac.c for STM32L052 and others HOT 3
- RCC->CRRCR register accesses should have RCC_HSI48_SUPPORT compilation guard HOT 3
- MCO register is incorrect width in some SystemInit examples HOT 4
- HAL_PWR_EnterSLEEPMode() HAL_PWR_EnterSTOPMode() and WFI instructions HOT 3
- Duplicate volatile reads in interrupt handler for hal_timer HOT 3
- Duplicate volatile reads in interrupt handler for adc HOT 3
- HAL_MPU_ConfigRegion() and HAL_MPU_Enable() barrier instructions are not compliant with the ARM specs HOT 4
- Unused parameter in Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_adc.h HOT 3
- Timers missing from stm32l051xx.h HOT 1
- USB Sending Report Not Working HOT 5
- i2c slave mode gets stuck HOT 7
- Adding user context to the peripheral handlers HOT 3
- Passing interrupt reason to RxEventCallback HOT 2
- Presence of TS_CAL1 on STM32L011 HOT 6
- Outdated CMSIS header HOT 1
- Introduction of LL_PWR_IsActiveFlag_VOS() call in SystemClock_Config is causing freeze on start HOT 7
- port to F411 HOT 1
- __HAL_TSC_GET_GROUP_STATUS returns status for incorrect TSC group HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from stm32cubel0.