source: rtems/c/src/lib/libbsp/arm/tms570/configure.ac @ 59990cc

4.115
Last change on this file since 59990cc was 4407ee6, checked in by Premysl Houdek <kom541000@…>, on 08/20/14 at 15:24:23

BSP for TMS570LS31x Hercules Development Kit from TI (TMS570LS3137)

Included variants:

tms570ls3137_hdk_intram - place code and data into internal SRAM
tms570ls3137_hdk_sdram - place code into external SDRAM and data to SRAM
tms570ls3137_hdk - variant prepared for stand-alone RTEMS aplication

stored and running directly from flash. Not working yet.

Chip initialization code not included in BSP.
External startup generated by TI's HalCoGen? was used for
testing and debugging.

More information about TMS570 BSP can be found at

http://www.rtems.org/wiki/index.php/Tms570

Patch version 2

  • most of the formatting suggestion applied.
  • BSP converted to use clock shell
  • console driver "set attributes" tested. Baudrate change working

Patch version 3

  • more formatting changes.
  • removed leftover defines and test functions

Todo:

refactor header files (name register fields)

  • Property mode set to 100644
File size: 1.5 KB
Line 
1##
2#
3# @file configure.ac
4#
5# @brief Configure script of LibBSP for the TMS570 board.
6#
7
8AC_PREREQ([2.69])
9AC_INIT([rtems-c-src-lib-libbsp-arm-tms570],[_RTEMS_VERSION],
10                                [http://www.rtems.org/bugzilla])
11AC_CONFIG_SRCDIR([bsp_specs])
12RTEMS_TOP(../../../../../..)
13
14RTEMS_CANONICAL_TARGET_CPU
15AM_INIT_AUTOMAKE([no-define nostdinc foreign 1.12.2])
16RTEMS_BSP_CONFIGURE
17
18RTEMS_PROG_CC_FOR_TARGET
19RTEMS_CANONICALIZE_TOOLS
20RTEMS_PROG_CCAS
21
22RTEMS_CHECK_NETWORKING
23AM_CONDITIONAL(HAS_NETWORKING,test "$HAS_NETWORKING" = "no")
24
25RTEMS_BSPOPTS_SET([TMS570_SCI_BAUD_RATE],[*],[115200U])
26RTEMS_BSPOPTS_HELP([TMS570_SCI_BAUD_RATE],[baud for UARTs])
27
28RTEMS_BSPOPTS_SET([CONSOLE_USE_INTERRUPTS],[*],[1])
29RTEMS_BSPOPTS_HELP([CONSOLE_USE_INTERRUPTS],
30[The tms570 console driver can operate in either polled or interrupt mode.])
31
32RTEMS_BSPOPTS_SET([ARM_TMS570LS3137],[*],[0])
33RTEMS_BSPOPTS_HELP([ARM_TMS570LS3137],[target used for identify TMS570LS3137 board])
34
35RTEMS_BSPOPTS_SET([BSP_MINIMUM_TASK_STACK_SIZE],[*],[1024])
36RTEMS_BSPOPTS_HELP([BSP_MINIMUM_TASK_STACK_SIZE],[Suggested minimum task stack
37                        size in bytes])
38
39RTEMS_BSPOPTS_SET([TMS570_OSCILLATOR_MAIN],[*],[12000000U])
40RTEMS_BSPOPTS_HELP([TMS570_OSCILLATOR_MAIN],[main oscillator frequency in Hz])
41
42RTEMS_BSPOPTS_SET([TMS570_OSCILLATOR_RTC],[*],[32768U])
43RTEMS_BSPOPTS_HELP([TMS570_OSCILLATOR_RTC],[RTC oscillator frequency in Hz])
44
45RTEMS_BSPOPTS_SET([TMS570_CCLK],[*],[96000000U])
46RTEMS_BSPOPTS_HELP([TMS570_CCLK],[CPU clock in Hz])
47
48RTEMS_BSP_CLEANUP_OPTIONS(0, 1)
49RTEMS_BSP_LINKCMDS
50
51AC_CONFIG_FILES([Makefile])
52AC_OUTPUT
Note: See TracBrowser for help on using the repository browser.