Eclipse Embedded for ARM

see blog.bachi.net mbed.org
see blog.bachi.net Regular Expression

  • Eclipse Neon (4.6)
  • Eclipse Mars (4.5)
  • Eclipse Luna (4.4)
  • Eclipse Kepler (4.3)
  • Eclipse Juno (4.2)

How to install the GNU ARM Eclipse plug-ins?
How to install the Windows Build Tools?
GNU ARM Eclipse plug-ins: Received fatal alert: handshake_failure

livius dot net – IT Design & Consulting – Creativity without borders

cross_make / cross_gcc not set

Invalid project path: Include path not found

Remove:
<entry kind="includePath" name="/${ProjName}/#undef __ARM_FP">
    <flag value="BUILTIN|READONLY|VALUE_WORKSPACE_PATH"/>
</entry>
<entry kind="includePath" name="/${ProjName}/#undef __ARM_FEATURE_FMA">
    <flag value="BUILTIN|READONLY|VALUE_WORKSPACE_PATH"/>
</entry>
<entry kind="includePath" name="/${ProjName}/#undef __ARM_NEON__">
    <flag value="BUILTIN|READONLY|VALUE_WORKSPACE_PATH"/>
</entry>
<entry kind="includePath" name="/${ProjName}/#undef __ARM_NEON">
    <flag value="BUILTIN|READONLY|VALUE_WORKSPACE_PATH"/>
</entry>

Add:
<language id="org.eclipse.cdt.core.gcc">
    <entry kind="includePath" name="C:/Program Files (x86)/GNU Tools ARM Embedded/6 2017-q1-update/lib/gcc/arm-none-eabi/6.3.1/include">
        <flag value="BUILTIN|READONLY"/>
    </entry>
    <entry kind="includePath" name="C:/Program Files (x86)/GNU Tools ARM Embedded/6 2017-q1-update/lib/gcc/arm-none-eabi/6.3.1/include-fixed">
        <flag value="BUILTIN|READONLY"/>
    </entry>
    <entry kind="includePath" name="C:/Program Files (x86)/GNU Tools ARM Embedded/6 2017-q1-update/arm-none-eabi/include">
        <flag value="BUILTIN|READONLY"/>
    </entry>
</language>
    
<language id="org.eclipse.cdt.core.g++">
    <entry kind="includePath" name="C:/Program Files (x86)/GNU Tools ARM Embedded/6 2017-q1-update/arm-none-eabi/include/c++/6.3.1">
        <flag value="BUILTIN|READONLY"/>
    </entry>
    <entry kind="includePath" name="C:/Program Files (x86)/GNU Tools ARM Embedded/6 2017-q1-update/arm-none-eabi/include/c++/6.3.1/arm-none-eabi/thumb/v8-m.main">
        <flag value="BUILTIN|READONLY"/>
    </entry>
    <entry kind="includePath" name="C:/Program Files (x86)/GNU Tools ARM Embedded/6 2017-q1-update/arm-none-eabi/include/c++/6.3.1/backward">
        <flag value="BUILTIN|READONLY"/>
    </entry>
    <entry kind="includePath" name="C:/Program Files (x86)/GNU Tools ARM Embedded/6 2017-q1-update/lib/gcc/arm-none-eabi/6.3.1/include">
        <flag value="BUILTIN|READONLY"/>
    </entry>
    <entry kind="includePath" name="C:/Program Files (x86)/GNU Tools ARM Embedded/6 2017-q1-update/lib/gcc/arm-none-eabi/6.3.1/include-fixed">
        <flag value="BUILTIN|READONLY"/>
    </entry>
    <entry kind="includePath" name="C:/Program Files (x86)/GNU Tools ARM Embedded/6 2017-q1-update/arm-none-eabi/include">
        <flag value="BUILTIN|READONLY"/>
    </entry>
</language>

Standards

mbed: CMSIS-DAP
mbed: CMSIS-DAP Interface Firmware
GitHub: mbedmicro/CMSIS-DAP
Keil: CMSIS-DAP

Tutorials

Installing Eclipse for use with FreeRTOS.org
ARM-Projects by Martin THOMAS

Plugins

GNU ARM Eclipse Plug-ins with J-Link Debugging Support
GNU ARM Eclipse Plug-ins
Welcome to the EmbSysRegView Project
Eclipse Embedded Systems Register View, displays special function Registers (SFRs) while debugging

undefined reference to `__real_main'

link: ROME2_P1_A4.elf
../mbed/TARGET_NUCLEO_F446RE/TOOLCHAIN_GCC_ARM/retarget.o: In function `__wrap_main':
retarget.cpp:(.text.__wrap_main+0xa): undefined reference to `__real_main'
collect2.exe: error: ld returned 1 exit status

Solution:
add "-Wl,--gc-sections" to LD_FLAGS and LD

1 thought on “Eclipse Embedded for ARM

  1. Pingback: ROME2 | Andreas' Blog

Leave a Reply

Your email address will not be published. Required fields are marked *