Changeset 98b6874 in rtems for c/src/lib/libbsp/arm/tms570


Ignore:
Timestamp:
Sep 22, 2016, 7:23:17 AM (3 years ago)
Author:
Pavel Pisa <pisa@…>
Branches:
master
Children:
aae17bf3
Parents:
29430a3
git-author:
Pavel Pisa <pisa@…> (09/22/16 07:23:17)
git-committer:
Pavel Pisa <pisa@…> (09/22/16 07:51:21)
Message:

arm/tms570: include TMS570_USE_HWINIT_STARTUP option to select bare metal startup and selftest.

Location:
c/src/lib/libbsp/arm/tms570
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/arm/tms570/Makefile.am

    r29430a3 r98b6874  
    169169libbsp_a_CPPFLAGS += -I$(srcdir)/../../../libcpu/arm/shared/include
    170170
     171if TMS570_USE_HWINIT_STARTUP
     172libbsp_a_SOURCES += hwinit/tms570_sys_core.S
     173libbsp_a_SOURCES += hwinit/fail_notification.c
     174libbsp_a_SOURCES += hwinit/init_emif_sdram.c
     175libbsp_a_SOURCES += hwinit/init_esm.c
     176libbsp_a_SOURCES += hwinit/init_pinmux.c
     177libbsp_a_SOURCES += hwinit/init_system.c
     178libbsp_a_SOURCES += hwinit/tms570_selftest.c
     179libbsp_a_SOURCES += hwinit/tms570_selftest_par_can.c
     180libbsp_a_SOURCES += hwinit/tms570_selftest_par_mibspi.c
     181libbsp_a_SOURCES += hwinit/tms570_selftest_par_std.c
     182libbsp_a_SOURCES += hwinit/tms570_selftest_parity.c
     183libbsp_a_SOURCES += hwinit/tms570_tcram_tests.c
     184
     185include_bsp_HEADERS += hwinit/tms570_selftest_parity.h
     186include_bsp_HEADERS += hwinit/tms570_hwinit.h
     187include_bsp_HEADERS += hwinit/tms570_selftest.h
     188
     189# Start hooks
     190libbsp_a_SOURCES += hwinit/bspstarthooks-hwinit.c
     191else
    171192# Start hooks
    172193libbsp_a_SOURCES += startup/bspstarthooks.c
     194endif
    173195
    174196# ----------------------------
  • c/src/lib/libbsp/arm/tms570/configure.ac

    r29430a3 r98b6874  
    5151RTEMS_BSPOPTS_HELP([TMS570_CCLK],[CPU clock in Hz])
    5252
     53RTEMS_BSPOPTS_SET([TMS570_USE_HWINIT_STARTUP],[*],[0])
     54RTEMS_BSPOPTS_HELP([TMS570_USE_HWINIT_STARTUP],[Include BSP startup code for TMS570LS3137 which allows to start RTEMS application directly after reset])
     55AM_CONDITIONAL(TMS570_USE_HWINIT_STARTUP,test "$TMS570_USE_HWINIT_STARTUP" = "1")
     56
    5357RTEMS_BSP_CLEANUP_OPTIONS(0, 1)
    5458RTEMS_BSP_LINKCMDS
Note: See TracChangeset for help on using the changeset viewer.