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

Conflicting compiler for startup_stm32f070xb.s file

Hi,

I am new at KEIL. Planning to work in this environment

IDE-Version:
µVision V5.21.1.0
Copyright (C) 2016 ARM Ltd and ARM Germany GmbH. All rights reserved.

Tool Version Numbers:
Toolchain: MDK-Lite Version: 5.21a
Toolchain Path: C:\Keil_v5\ARM\ARMCC\Bin
C Compiler: Armcc.exe V5.06 update 3 (build 300)
Assembler: Armasm.exe V5.06 update 3 (build 300)
Linker/Locator: ArmLink.exe V5.06 update 3 (build 300)
Library Manager: ArmAr.exe V5.06 update 3 (build 300)
Hex Converter: FromElf.exe V5.06 update 3 (build 300)
CPU DLL: SARMCM3.DLL V5.21a
Dialog DLL: DCM.DLL V1.13.8.0
Target DLL: UL2CM3.DLL V1.158.5.0
Dialog DLL: TCM.DLL V1.14.14.0

I was using GNU Tools ARM Embedded(5.4 2016q3) in Coocox v.2 beta IDE environment.
The compiler gives the error such as,
\common\Drivers\CMSIS\Device\ST\STM32F0xx\Source\Templates\gcc does not exist.

In this file location startup_stm32f070xb.s file is already exists !

Whats wrong with here? Do I need to update version of anything?
Help me please

Help me to open or make a new project in MDK-Lite

  • If you do not provide the path to GCC in Keil, you will receive the erroe.

    Alternatively, you can choose ARMCC instead of GCC in Options for target -> Target tab

  • Dear Sir,

    I added my files from Coocox IDE to Keil.

    Few things I need to know.

    1. After adding, GCC error massage is coming,

    For support see http://silver.arm.com/support
    Software supplied by: ARM Limited
    compiling lib_mem.c...
    Error: C9593E: FLEX_USE is set to 1 in C:\Keil_v5\tools.ini but no FLEX=port@host is defined.
    Product: MDK Professional 5.21 (Evaluation)
    Component: ARM Compiler 5.06 update 3 (build 300)
    Tool: ArmCC [4d35f0]
    For support see http://silver.arm.com/support
    Software supplied by: ARM Limited
    compiling lib_str.c...
    Error: C9593E: FLEX_USE is set to 1 in C:\Keil_v5\tools.ini but no FLEX=port@host is defined.
    Product: MDK Professional 5.21 (Evaluation)
    Component: ARM Compiler 5.06 update 3 (build 300)
    Tool: ArmCC [4d35f0]
    For support see http://silver.arm.com/support
    Software supplied by: ARM Limited
    ".\Rice_heat_circuit.axf" - 1 Error(s), 0 Warning(s).
    Target not created.
    Build Time Elapsed: 00:00:02

    2. If I want to use HAL library, I need to make folder in Project branch ?

    3. My mcu is stm32f070rb, but keil suggest to download STM32F072-Discovery, my board is custom one.

    4. How can I add my other necessary files from coocox, is there any import file system other than copy?

    Let me know.