Changeset 8aefe83 in rtems


Ignore:
Timestamp:
Aug 11, 1999, 11:58:16 PM (20 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
ea562ee9
Parents:
1d4048b2
Message:

Patch from Tony R. Ambardar <tonya@…>:

I'm attaching a big patch for the ts_386ex BSP which adds and includes
the following:

1) Conversion to ELF format + minor code cleanups + documentation.

2) An Ada95 binding to FreeBSD sockets, based on Samuel Tardieu's

adasockets-0.1.3 package. This includes some sample applications.

3) Some Ada and C interfaces to add serial-port debugging to

programs. Comes with examples, too; the Ada one shows how
transparent adding the support can be. Note that Rosimildo sent me
the original C code.

The network stuff is not BSP specific, and could be added to your Ada
code collection. The debugging stuff is specific to the i386. Right
now, everything sits in my "tools" directory.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • make/custom/ts_386ex.cfg

    r1d4048b2 r8aefe83  
    2222# -O4 is ok for RTEMS
    2323# -fomit-frame-pointer breaks debugging and C++ exceptions
    24 CFLAGS_OPTIMIZE_V=-O4
     24CFLAGS_OPTIMIZE_V= -O4
    2525
    2626#  This section makes the target dependent options file.
     
    4747        @echo "#define RTEMS_TEST_NO_PAUSE 1"           >>$@
    4848        @echo "#define RTEMS_DEBUG  1"                  >>$@
    49         @echo "#define UARTDEBUG  1"                    >>$@
    50         @echo "#define BSP_DEBUG  1"                    >>$@
     49        @echo "/* #define UARTDEBUG  1 */"                      >>$@
     50        @echo "/* #define BSP_DEBUG  1 */"                      >>$@
    5151        @echo "#define LOAD_RTC_AT_START  1"            >>$@
    5252endef
     
    7777else
    7878define make-exe
    79         $(CC) $(CPPFLAGS) $(CFLAGS) $(CFLAGS_LD) -o $(basename $@).coff \
     79        $(CC) $(CPPFLAGS) $(CFLAGS) $(CFLAGS_LD) -o $(basename $@).elf \
    8080            $(LINK_OBJS) $(LINK_LIBS)
    81         $(OBJCOPY) -O srec $(basename $@).coff $(basename $@).i
    82         $(SED) -e 's/.$$//' -e '/^S0/d' $(basename $@).i | \
    83                   $(PACKHEX) > $(basename $@).exe
    84         $(NM) -g -n $(basename $@).coff > $(basename $@).num
    85         $(SIZE) $(basename $@).coff
     81        $(OBJCOPY) -O binary $(basename $@).elf $(basename $@).exe
     82        $(NM) -g -n $(basename $@).elf > $(basename $@).num
     83        $(SIZE) $(basename $@).elf
    8684endef
    8785endif
Note: See TracChangeset for help on using the changeset viewer.