GithubHelp home page GithubHelp logo

Comments (8)

ALABSTM avatar ALABSTM commented on August 24, 2024

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.

CanastraRF avatar CanastraRF commented on August 24, 2024

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.

ALABSTM avatar ALABSTM commented on August 24, 2024

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.

CanastraRF avatar CanastraRF commented on August 24, 2024

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.

ALABSTM avatar ALABSTM commented on August 24, 2024

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.

ALABSTM avatar ALABSTM commented on August 24, 2024

ST Internal Reference: 58409

from stm32cubel0.

CanastraRF avatar CanastraRF commented on August 24, 2024

Thanks

from stm32cubel0.

ALABSTM avatar ALABSTM commented on August 24, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.