This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Keil is creating an unwanted out file

I'm using uVision 5.41.

I'm creating a new project, select uC STM32H723, Packs: none selected. Add a simple main.c and a init file (tried a C init and a .s init, both same result).

Compile the project. Got the error:

Build target 'Target_1'
FCARM - Output Name not specified, please check 'Options for Target - Utilities'

Go to Options for target -> Utilities tab -> put a name for FCARM "project_out"

Then Keil is creating a huge "project_out" file with a lot of trash that I don't want to have, and it generates a lot of errors in the compilation.

Starting of the created file:

/*----------------------------------------------------------------------------
* Generated by FCARM FILE CONVERTER V2.59
*----------------------------------------------------------------------------
* Name: project_out
* Purpose: HTTP Web page, generated by the user.
* Note: This is a generated file, do not modify !!!
*----------------------------------------------------------------------------
* This code is part of the RealView Run-Time Library.
* Copyright (C) 2015-2022 ARM Ltd and ARM Germany GmbH. All rights reserved.
*---------------------------------------------------------------------------*/

#include <Net_Config.h>

/* Last-Modified: Mon, 08 Sep 2025 12:57:45 GMT */
const U32 FileMD = 1757336265U;

/*---------------------------------------------------------------------------*/

static const U8 Web[25234U] = {

/*-- File: Sources\startup_stm32h743xx.c, 25086 bytes --*/
0x2FU,0x2AU,0x3DU,0x3DU,0x3DU,0x3DU,0x3DU,0x3DU,0x3DU,0x3DU,0x3DU,0x3DU,0x3DU,
0x3DU,0x3DU,0x3DU,0x3DU,0x3DU,0x3DU,0x3DU,0x3DU,0x3DU,0x3DU,0x3DU,0x3DU,0x3DU,
0x3DU,0x3DU,0x3DU,0x3DU,0x3DU,0x3DU,0x3DU,0x3DU,0x3DU,0x3DU,0x3DU,0x3DU,0x3DU,
0x3DU,0x3DU,0x3DU,0x3DU,0x3DU,0x3DU,0x3DU,0x3DU,0x3DU,0x3DU,0x3DU,0x3DU,0x3DU,
0x3DU,0x3DU,0x3DU,0x3DU,0x3DU,0x3DU,0x3DU,0x3DU,0x3DU,0x3DU,0x3DU,0x3DU,0x3DU,
0x3DU,0x3DU,0x3DU,0x3DU,0x3DU,0x3DU,0x3DU,0x3DU,0x3DU,0x3DU,0x3DU,0x3DU,0x3DU,
0x3DU,0x3DU,0x0AU,0x20U,0x4EU,0x61U,0x6DU,0x65U,0x20U,0x20U,0x20U,0x20U,0x20U,

I have a simple board with the uC, without any wi-fi, and I don't want it. I just want to run a simple main.c to flash a LED.

How to solve this?

Parents
  • Hello Hans,

    Thank you for answering.

    After some hours working on it, I found the reason. 

    I had a folder named "Sources" where I put the sources - .c files.

    I just renamed it to "src" and the issue disappeared.

    It seems Keil looks for a specific folder named "Sources" for something.

    Regards,

    Ricardo 

Reply
  • Hello Hans,

    Thank you for answering.

    After some hours working on it, I found the reason. 

    I had a folder named "Sources" where I put the sources - .c files.

    I just renamed it to "src" and the issue disappeared.

    It seems Keil looks for a specific folder named "Sources" for something.

    Regards,

    Ricardo 

Children
No data