source: rtems/c/src/lib/libbsp/arm/tms570/configure.ac @ 9935c23

Last change on this file since 9935c23 was 98b6874, checked in by Pavel Pisa <pisa@…>, on Sep 22, 2016 at 7:23:17 AM

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

  • Property mode set to 100644
File size: 2.0 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                                [https://devel.rtems.org/newticket])
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([BSP_START_NEEDS_REGISTER_INITIALIZATION],[*],[1])
40RTEMS_BSPOPTS_HELP([BSP_START_NEEDS_REGISTER_INITIALIZATION],
41                                        [The TMS570 needs to have the registers of its CPU initialized
42                                        to avoid CCMR4F errors])
43
44RTEMS_BSPOPTS_SET([TMS570_OSCILLATOR_MAIN],[*],[12000000U])
45RTEMS_BSPOPTS_HELP([TMS570_OSCILLATOR_MAIN],[main oscillator frequency in Hz])
46
47RTEMS_BSPOPTS_SET([TMS570_OSCILLATOR_RTC],[*],[32768U])
48RTEMS_BSPOPTS_HELP([TMS570_OSCILLATOR_RTC],[RTC oscillator frequency in Hz])
49
50RTEMS_BSPOPTS_SET([TMS570_CCLK],[*],[96000000U])
51RTEMS_BSPOPTS_HELP([TMS570_CCLK],[CPU clock in Hz])
52
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
57RTEMS_BSP_CLEANUP_OPTIONS(0, 1)
58RTEMS_BSP_LINKCMDS
59
60AC_CONFIG_FILES([Makefile])
61AC_OUTPUT
Note: See TracBrowser for help on using the repository browser.