Others: STM32 MCUs related

Find out more about STM32 implementations with external components, discuss use cases, and discover how to use new tools and ST components.

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

alternative malloc implementation

Hello,I am using Truestudio 9.2.0 with FreeRTOS 10.2.0I want to add custom malloc implementation in my project. I declared void * malloc( size_t xSize ){//please add your own code}in my c files but it gives me error.c:/program files (x86)/atollic/tru...

tushar_tp by Associate III
  • 698 Views
  • 1 replies
  • 0 kudos

Finding sizeof(structure) in Atollic TrueSTUDIO

Hello, I am programming a SMT32 chip and I am trying to find the size of a defined structure like the code snippet below. From reading online, using sizeof() on a structure can yield different results on different IDEs. When I use sizeof(struct some...

BRoge by Associate II
  • 960 Views
  • 2 replies
  • 0 kudos

Exporting Keil projects to platformio

Hi all,I have a project at Keil µVision using STM32F407VG board (it is created using cubeMX). I would export it as a plateformIO Atom project. The issue is that when generating the code in cubeMX I haven't the IDE platformIO. So I try to create a pro...

Pstud by Associate
  • 1403 Views
  • 1 replies
  • 0 kudos

Why would syscalls.c generated by newly installed STM32CubeMX 4.26.1 break the build in Eclipse (SW4STM32)?

On my Mac, I just now upgraded to STM32CubeMX 4.26.1 which generates code with a file Src/syscalls.c. Nearly every function there (_close, _exit, _isatty, _kill, ...) show up in the "Problems" view of my Ac6 SystemWorkbench (aka SW4STM32). If I delet...

APagl by Associate III
  • 549 Views
  • 0 replies
  • 0 kudos

How do I get SWO working on the STM32F373

My product uses the STM32F373CCT6 and can't get SWO working on the IAR tools and an iJet. These work on other projects just fine.I've contacted IAR and after enough digging it looks like their doing everything correctly (as I said, these things work ...

DBurk by Associate
  • 889 Views
  • 2 replies
  • 0 kudos

Resolved! Why does this code not work properly in trueSTUDIO?

​Hi.​I changed the debugging tool from IAR to trueSTUDIO for STM32.​There is code that IAR created and completed the operation. However, the same code, but does not work in trueSTUDIO.​An example of the code is shown below.​int a = 0;​void HAL_TIM_Pe...

SWoon by Associate II
  • 810 Views
  • 1 replies
  • 0 kudos

Resolved! Global Variables and Timer Interrupt

Greetings to all.I'm new to this forum and new with STM32 too. So i decided to experiment (and mess) with them to learn something.Now the first problem. I am esperimenting with timers, and after i discovered we can't use HAL_Delay() inside a timer's ...

VForm by Associate II
  • 6078 Views
  • 5 replies
  • 0 kudos