Headless build fail on linux STM32CubeIDE v1.13.1
- August 24, 2023
- 3 replies
- 2679 views
OS: Ubuntu 20.04.6 LTS
STM32CubeIDE version 1.13.0 or 1.13.1
My project builds fine in the IDE and with headless builds on version 1.12.1. With version 1.13.X builds within the IDE work fine, but attempting a headless build from command line fails nearly instantly with "An error has occurred. See the log file" (attached .log file).
One line I found particularly disturbing in the .log was "!MESSAGE Only a single IDE contribution is supported. Your STM32Cube tools installation is corrupted." As a result I have attempted reinstalling the IDE from the installer 3 times (each for 1.13.0 and 1.13.1), when I first upgraded in the tool itself.
I've tried downgrading the MCU toolchain to the same toolchain used in v1.12.1.
I've tried changing the runtime library from reduced C/C++ to standard C/C++.
I've tried the newlib workaround (add linker file GROUP) described by
I've tried another newlib workaround (add weak function defines to main.c) also described by
I've tried turning off CDT from available software sites.
I've reviewed this post that appears related to my problem. Was the long-term fix recently released that inadvertently reintroduced the problem?
Any help is greatly appreciated!
Marshall
