2024-04-23 08:00 PM
I'm using MacOS and I'm trying to build the default code on `main.c` on the STM32CubeIDE which is below:
#include <stdint.h>
#if !defined(__SOFT_FP__) && defined(__ARM_FP)
#warning "FPU is not initialized, but the project is compiling for an FPU. Please initialize the FPU before use."
#endif
int main(void)
{
/* Loop forever */
for(;;);
}
But I'm getting the following error:
`22:10:25 **** Incremental Build of configuration Debug for project 001HelloWorld ****
make -j7 all
"make -j7 all" terminated with exit code -1. Build might be incomplete.`
Exception Type: EXC_BAD_ACCESS (SIGABRT)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000018
Exception Note: EXC_CORPSE_NOTIFY
VM Regions Near 0x18:
-->
__TEXT 0000000004e25000-0000000004e29000 [ 16K] r-x/r-x SM=COW /Applications/STM32CubeIDE.app/Contents/MacOS/STM32CubeIDE
Application Specific Information:
crashed on child side of fork pre-exec
Apparently it's trying to access an invalid memory location? Any help is greatly appreciated in fixing it. Here's a bigger screenshot if it helps: https://i.sstatic.net/FpallAVo.png
2024-05-07 02:01 AM
Hello @tadm123 and welcome to the community,
Could you provide the used STM32CubeIDE version and macOS?
Thanks,
Rim
2024-05-07 02:12 AM
MacOS Catalina version 10.15.7 (19H2026)
STM32CubeIDE version 1.15.0
2024-05-07 06:21 AM
Hello @tadm123 ,
According to the release note of STM32CubeIDE 1.15.0, the required macOs systems are Sonoma and Ventura as shown in the screenshot
Thanks,
Rim