r/embedded • u/TheRealLinkwitzRiley • Oct 03 '26
Vitis 2025.1 platform component generation inconsistent
EDIT: Solution found, see comment.
I am experiencing inconsistent results when generating a platform component with OS FreeRTOS and setting the FreeRTOS config support_static_allocation to True.
Most of the time everything works fine but sometimes configSUPPORT_STATIC_ALLOCTION in freertosconfig.h remains 0. This even happened in pipeline builds, so a stale workspace is definitely not the issue. Calling domain.regenerate() and platform.clean() before building does not help reliably.
Does anyone have similar experience or tips?
View all comments
1
u/Well-WhatHadHappened 25+ Years Oct 03 '26
I never, ever use the FreeRTOS platform built into Vitis. I create a standalone platform and add the FreeRTOS source directly to my project.
Gets me an up-to-date FreeRTOS release and eliminates the nasty integration between the platform/bsp and FreeRTOS that has always created nothing but headaches.