I rebuilt RTX not long ago and was not very difficult. Though I did not change the flags, we my need to look into that.
It's also possible that TF-M could benefit from a more up-to-date version of RTX.
Not sure what others think. Maybe a discussion topic for the next Tech Forum?
Thanks Nick
________________________________ From: David Hazi via TF-M tf-m@lists.trustedfirmware.org Sent: 26 February 2026 16:24 To: Antonio De Angelis Antonio.DeAngelis@arm.com; Bohdan.Hunko@infineon.com Bohdan.Hunko@infineon.com; tf-m@lists.trustedfirmware.org tf-m@lists.trustedfirmware.org Cc: nd nd@arm.com Subject: [TF-M] Re: Short enums and short wchar
Hi all,
https://github.com/ARM-software/CMSIS-RTX/releases/tag/v5.9.1 Prebuilt images are in the RTX_Lib.tar.bz2 file.
There were discussions about switching to FreeRTOS, is this still an option?
Dávid
From: Antonio De Angelis via TF-M tf-m@lists.trustedfirmware.org Date: Thursday, 2026. February 26. at 17:22 To: Bohdan.Hunko@infineon.com Bohdan.Hunko@infineon.com, tf-m@lists.trustedfirmware.org tf-m@lists.trustedfirmware.org Cc: nd nd@arm.com Subject: [TF-M] Re: Short enums and short wchar
Hi Bohdan,
Prebuilt RTX libraries were provided by the CMSIS project but I believe that now they have stopped distributing them. Using the prebuilt libraries at the beginning of TF-M was just a practical choice, I’d very much welcome a contribution to build RTX from source as part of the NS code. Do you think you can work towards that? Currently our bandwidth is limited to spend some engineering time on that but would very much appreciate any contributions.
Thanks, Antonio
Sent from Outlook for Mac
From: Bohdan.Hunko--- via TF-M tf-m@lists.trustedfirmware.org Date: Thursday, 26 February 2026 at 15:58 To: tf-m@lists.trustedfirmware.org tf-m@lists.trustedfirmware.org Subject: [TF-M] Short enums and short wchar
Hi all,
Currently TFM specifies -fshort-wchar and -fshort-enums
There previously was a discussion about this in https://lists.trustedfirmware.org/archives/list/tf-m@lists.trustedfirmware.o...
The decision was to remove these flags – which was done in https://review.trustedfirmware.org/c/TF-M/trusted-firmware-m/+/6186
But then fix was reverted in https://review.trustedfirmware.org/c/TF-M/trusted-firmware-m/+/6349 because:
Removing the -fshort-wchar flag will cause link error with
RTX library while using armclang and debug mode.
Now we faced same issue when linking some of our prebuilt crypto libraries.
Since RTX libraries ware prebuilt by TFM maintainers (prebuilt RTX libs are not part of CMSIS RTX) – I believe it is better to rebuild them without -fshort-wchar and -fshort-enums and remove these flags in TFM.
Does TFM team still have a possibility to rebuild these RTX libs? Does this change make sense to TFM community?
Best regards,
Bohdan Hunko
Cypress Semiconductor Ukraine LLC
Senior Engineer
CSS ICW SW INT BFS SFW
Mobile: +380995019714 Bohdan.Hunko@infineon.commailto:Bohdan.Hunko@infineon.com