STM32CubeIDE (MCUs)

Ask questions on STM32CubeIDE. Discuss how to build, debug, configure, and optimize your project as well as how to use our software tools.

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

STM32CubeIDE 2.1.1 released

We are pleased to announce that the minor version 2.1.1 of STM32CubeIDE is available. What is new in 2.1.1: This release covers the topics listed below: SEGGER J-Link GDB server updated to 9.24 to fix an issue with the Live Expression view during the...

Aimen1 by ST Employee
  • 1096 Views
  • 0 replies
  • 1 kudos

STM32CubeCLT 1.21.0 released

We are pleased to announce that STM32CubeCLT 1.21.0 release is available. What is new in 1.21.0: Maintenance of the previous version: Updated in accordance with STM32CubeIDE v2.1.0Update of Clang/LLVM toolchainUpdate of GCC to GCC 14Update of STM32Cu...

Aimen1 by ST Employee
  • 477 Views
  • 0 replies
  • 0 kudos

STM32CubeIDE 2.0 release - early heads-up!

Starting from the release in November 2025, STM32CubeIDE and STM32CubeMX will be available exclusively in their standalone versions. STM32CubeMX will no longer be integrated inside STM32CubeIDE. Instead, the two tools will be interoperable in the sam...

Resolved! Error Using multiple Output Compare channels

Hello,I'm using a F401 blackpill board for a school project.Currently I'm trying to generate a pulse with adjustable length to open a MOSFET circuit.I managed the pulse by using an Output Compare channel and setting the CCR to 1, so the pulse would b...

Having problem setting up SPI for AksIM-2 Magnetic encoder

Hi, I am trying to set up magnetic encoder from RLS. It is communicating over SPI, but I am having hard time setting it up. I am not sure if I am not using SPI correctly or setting the settings specificated for encoder. Encoders LED light keeps blink...

Mijta_0-1709763781863.png Mijta_1-1709763820762.png Mijta_2-1709763833770.png Mijta_3-1709763911220.png
Mijta by Associate
  • 1881 Views
  • 1 replies
  • 0 kudos

Resolved! STM32CubeIDE 1.14.0 headless build

Hi,I'm migrating a headless build script we've used before to 1.14.0 - and it seems to fail with all the targets 2024-03-11T16:43:16.0230489Z /opt/st/stm32cubeide_1.14.0/stm32cubeide -data "/home/vsts/work/1/s/2023firmware/ws/" --launcher.suppressErr...

MikeAtETI by Associate III
  • 2974 Views
  • 3 replies
  • 1 kudos

Resolved! I2C issue with D6T-44L Omron, always return value 255

Hi everyoneI'm now using D6T-44L Omron sensor to measure Temparature, i read the User mannual as the below After that, i write my own code in IDEi use I2C_Scanner to check the device at which address is ready, here are my code and my result through U...

image.png Zk47_0-1710220330325.png Zk47_1-1710220433519.png Zk47_2-1710220457971.png
Zk47 by Associate II
  • 2235 Views
  • 3 replies
  • 1 kudos

Resolved! FLASH2 STM32h743

Hello, I program STM32H743ZGT6 with STM32CUBE IDE Version: 1.12.1.The FLASH1 is full and i want to use FLASH2 => during the compilation i have an error (of course).How can i use FLASH2 ? At the start i grown up the FLASH1 as below but i think its' no...

MHna1_0-1708698925226.png
MHéna.1 by Associate III
  • 7081 Views
  • 17 replies
  • 2 kudos

Resolved! Where to find the gcc in STM32 directory? How (and in what place) is it correct to specify the path to gcc files? I changed the PATH for make and gcc separately

22:39:03 **** Incremental Build of configuration Debug for project c1 ****make all Building file: ../src/c1.cInvoking: Cross GCC Compilergcc -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"src/c1.d" -MT"src/c1.o" -o "src/c1.o" "../src/c1.c"c:/st/stm...

DM-SH by Associate II
  • 19033 Views
  • 11 replies
  • 0 kudos

How to add C source files to a project in a Cube IDE project

I'm no noob to the STM32, but I am to Cube IDE.I've added a new directory for my user code to separate it as much as possible from this dog's dinner of code that Cube auto config creates. I've created a new function, it's all correct, its prototype i...

DiBosco by Senior II
  • 48053 Views
  • 14 replies
  • 12 kudos