[En-Nut-Discussion] Bug in ARM Semihosting console

Uwe Bonnes bon at elektron.ikp.physik.tu-darmstadt.de
Sat Jul 27 12:00:08 CEST 2013

>>>>> "Ole" == Ole Reinhardt <ole.reinhardt at embedded-it.de> writes:

    Ole> Hi Uwe, if compiling for Ethernut 5 for example the semihosting
    Ole> code does not compile.

    Ole> 22:59:22: ----- Running 'make all' ----- 22:59:27:
    Ole> /home/ole/work/NutOS/ethernut/trunk/nut/dev/semihosting.c:83:0:
    Ole> error: "AngelSWI" redefined [-Werror]
    Ole> /home/ole/work/NutOS/ethernut/trunk/nut/dev/semihosting.c:81:0:
    Ole> note: this is the location of the previous definition

    Ole> Depending if you compile for a thumb architecture or not, you
    Ole> redefine the AngelSWI instruction in line 83. I think this is not
    Ole> by intention :)

    Ole> Could you please check the code again?

    Ole> Have you tested compilation for other platforms as well?

It compiles for me now after fixxing the ommissions in cut and paste for
cortex and several arm-non-cortex.

Uwe Bonnes                bon at elektron.ikp.physik.tu-darmstadt.de

Institut fuer Kernphysik  Schlossgartenstrasse 9  64289 Darmstadt
--------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------

More information about the En-Nut-Discussion mailing list