STM32CubeIDE (MCUs)

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

STM32CubeIDE 1.16.0 released

STM32CubeIDE 1.16.0 was released today on st.com as well as an in-tool update patch. What is new in 1.16.0?Microcontroller and board lists aligned with STM32CubeMX v6.12.0 : STM32C0, STM32WB0 and STM32MP25XXAdded CMake support for multicontext projec...

How do you change an ADC channel at the low level

Hello, I am working with the low level drivers and trying to configure an ADC to read 2 channels via the Cube IDE. I am triggering the read of the ADC via a 1 ms internal timer interrupt. Note I am trying to do this read via polling and not via inter...

SJohn.5 by Associate II
  • 804 Views
  • 3 replies
  • 0 kudos

Compiler optimization does not produce correct code

Hi there,I have encouraged a strange behavior inside newlib_lock_glue.c.On few devices the code does note execute correctly when the optimization is turned on.To me it looks like the optimization throw away the return and just continue evaluating. th...

0693W00000UokFgQAJ.png 0693W00000UokG5QAJ.png
Fero by Associate II
  • 752 Views
  • 3 replies
  • 0 kudos

Debug issues

I defined a structure in the H file and entered the Debug mode to observe it, but in single-step debugging, whether it is Expressions or live, the changes are always inconsistent, and I have not checked this structure elsewhere. Assignment, what is t...

0693W00000Uoi3JQAR.png 0693W00000Uoi3OQAR.png

STM32CubeIDE memory browser display bug.

Software:Version: 1.10.1Build: 12716_20220707_0928 (UTC)When I use the Memory Browser and display 32 bits wide, and hover my mouse over the LSB, it shows as at address 0x2001FFE3But, if I change the display to 8 bits wide, it clearly shows the LSB at...

0693W00000UnfRaQAJ.png 0693W00000UnfRfQAJ.png
JJaco.8 by Associate
  • 606 Views
  • 1 replies
  • 0 kudos

Examples do not always run/compile ?

I'm really confused with these examples. I started a new project using the Cube IDE and all works perfectly. I was never a fan of Cube IDE ( 2015 ) but coming back to ST and using Cube IDE I have to say it is rather nice. ... Until you run any examp...

ulao by Associate III
  • 326 Views
  • 3 replies
  • 0 kudos

Resolved! Linker error using static library

Hello,I use an open source projet (open62541 on github) to get OPC-UA implementation over lwip.When my projet is compiled with open62541 source code, it's works without error.But the 2 files generated 'open62541.c' and 'open62541.h' are very big (aro...

thln47 by Associate III
  • 673 Views
  • 2 replies
  • 0 kudos