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...

FatFs f_open() hard fault

int main(void){FATFS FatFs;FIL fil;FRESULT fr;UINT bw; fr = f_mount(&FatFs, "", 0);if (fr != FR_OK) {return (int)fr;}fr = f_open(&fil, "example.txt", FA_WRITE | FA_CREATE_ALWAYS);if (fr != FR_OK) { f_mount(NULL, "", 0);return (int)fr;}f_close(&fil);}...

meco54 by Associate
  • 116 Views
  • 2 replies
  • 0 kudos

CubeIDE Debug Application with BootLoader

I am porting over an application from SystemWorkbench to CubeIDE. This application has a bootloader and application. The application is loaded at 0x08008000. With SystemWorkbench I added a linker flag of -nmagic, but in CubeIDE that throws an error. ...

Stephen28 by Associate III
  • 1326 Views
  • 5 replies
  • 1 kudos

Flashing code with stlink does not run code

I used the STM32CubeIDE to make a simple LED flashing program for an STM32H753. When I run the code with the CubeIDE, it uploads and flashes the LED as intended.I would like to be able to run this code without the CubeIDE. I am on Mac and have stlink...

JKing.8 by Associate III
  • 1491 Views
  • 8 replies
  • 0 kudos

const volatile objects are not stored in .rodata

I often use const data tables that may be changed by a configuration process at runtime. Depending on how these tables are used, it is sometimes necessary to make them volatile so that accesses to the values are not replaced by the use of inline cons...

CTapp.1 by Associate III
  • 232 Views
  • 4 replies
  • 1 kudos

STM32CubeIDE V1.15.1 slow build process

Hello everyone,I've just updated cubeIDE from V1.14.x to V1.15.1 and duration of build process on the same project increased by around 4x.  With V1.14 it took around ~10s, now with V1.15.1 takes ~40s to build the same project on the same machine.  Is...

zmiga by Associate II
  • 228 Views
  • 3 replies
  • 0 kudos

STM32CubeIDE - 1.15.1 - Dependency to libncurses5

Hello,I want to use STM32CubeIDE with Ubuntu 24.04 (new LTS), but on this version we don't have libncurses5 but libncurses6. If we install STM32CubeIDE from .deb we have an error because libncurses5 is not installableIf we install STM32CubeIDE from g...

Dunfell by Associate
  • 481 Views
  • 3 replies
  • 4 kudos

PWM Timer Issue in stm32go70rbt6 controller

Hi All,I'm working on stm32g070rbt6 controller, for vending project.For some requirement implemented PWM timer(i.e. TIM1 & Channel 2) to run the dc motor(i.e. 24V). based on the input from keypad.PWM implemented with soft start from 0 to 1800 which i...

NAdim.1 by Associate II
  • 124 Views
  • 2 replies
  • 0 kudos