source: rtems/c/src/lib/libbsp/arm/beagle/configure.ac @ 7a66986

4.115
Last change on this file since 7a66986 was 7a66986, checked in by Claas Ziemke <ziemke@…>, on Aug 22, 2012 at 12:39:02 PM

Added BeagleBoard? BSP

Coding done in course of GSoC2012.

Commit edited to be brought up-to-date with mainline by
Ben Gras <beng@…>.

  • Property mode set to 100644
File size: 3.6 KB
Line 
1##
2#
3# @file
4#
5# @brief Configure script of LibBSP for the BeagleBoards.
6#
7
8AC_PREREQ([2.68])
9AC_INIT([rtems-c-src-lib-libbsp-arm-beagle],[_RTEMS_VERSION],[rtems-bugs@rtems.com])
10AC_CONFIG_SRCDIR([bsp_specs])
11RTEMS_TOP(../../../../../..)
12
13RTEMS_CANONICAL_TARGET_CPU
14AM_INIT_AUTOMAKE([no-define nostdinc foreign 1.11.1])
15RTEMS_BSP_CONFIGURE
16
17RTEMS_PROG_CC_FOR_TARGET
18RTEMS_CANONICALIZE_TOOLS
19RTEMS_PROG_CCAS
20
21RTEMS_CHECK_NETWORKING
22AM_CONDITIONAL(HAS_NETWORKING,test "$HAS_NETWORKING" = "yes")
23
24RTEMS_BSPOPTS_SET([BSP_SMALL_MEMORY],[beagle_mzx_stage_1],[1])
25RTEMS_BSPOPTS_SET([BSP_SMALL_MEMORY],[*],[])
26RTEMS_BSPOPTS_HELP([BSP_SMALL_MEMORY],[disable testsuite samples with high memory demands])
27
28RTEMS_BSPOPTS_SET([BEAGLE_OSCILLATOR_MAIN],[*],[13000000U])
29RTEMS_BSPOPTS_HELP([BEAGLE_OSCILLATOR_MAIN],[main oscillator frequency in Hz])
30
31RTEMS_BSPOPTS_SET([BEAGLE_OSCILLATOR_RTC],[*],[32768U])
32RTEMS_BSPOPTS_HELP([BEAGLE_OSCILLATOR_RTC],[RTC oscillator frequency in Hz])
33
34RTEMS_BSPOPTS_SET([BEAGLE_PERIPH_CLK],[*],[13000000U])
35RTEMS_BSPOPTS_HELP([BEAGLE_PERIPH_CLK],[peripheral clock in Hz])
36
37RTEMS_BSPOPTS_SET([BEAGLE_ETHERNET_RMII],[*],[1])
38RTEMS_BSPOPTS_HELP([BEAGLE_ETHERNET_RMII],[enable RMII for Ethernet])
39
40RTEMS_BSPOPTS_SET([BEAGLE_UART_1_BAUD],[*],[])
41RTEMS_BSPOPTS_HELP([BEAGLE_UART_1_BAUD],[baud for UART 1])
42
43RTEMS_BSPOPTS_SET([BEAGLE_UART_2_BAUD],[*],[])
44RTEMS_BSPOPTS_HELP([BEAGLE_UART_2_BAUD],[baud for UART 2])
45
46RTEMS_BSPOPTS_SET([BEAGLE_UART_7_BAUD],[*],[])
47RTEMS_BSPOPTS_HELP([BEAGLE_UART_7_BAUD],[baud for UART 7])
48
49RTEMS_BSPOPTS_SET([BEAGLE_CONFIG_U3CLK],[*],[])
50RTEMS_BSPOPTS_HELP([BEAGLE_CONFIG_U3CLK],[clock configuration for UART 3])
51
52RTEMS_BSPOPTS_SET([BEAGLE_CONFIG_U4CLK],[*],[])
53RTEMS_BSPOPTS_HELP([BEAGLE_CONFIG_U4CLK],[clock configuration for UART 4])
54
55RTEMS_BSPOPTS_SET([BEAGLE_CONFIG_U5CLK],[*],[0x00001386U])
56RTEMS_BSPOPTS_HELP([BEAGLE_CONFIG_U5CLK],[clock configuration for UART 5])
57
58RTEMS_BSPOPTS_SET([BEAGLE_CONFIG_U6CLK],[*],[])
59RTEMS_BSPOPTS_HELP([BEAGLE_CONFIG_U6CLK],[clock configuration for UART 6])
60
61RTEMS_BSPOPTS_SET([BEAGLE_CONFIG_UART_CLKMODE],[*],[0x00000200U])
62RTEMS_BSPOPTS_HELP([BEAGLE_CONFIG_UART_CLKMODE],[clock mode configuration for UARTs])
63
64RTEMS_BSPOPTS_SET([BEAGLE_DISABLE_MMU],[*],[])
65RTEMS_BSPOPTS_HELP([BEAGLE_DISABLE_MMU],[disable MMU])
66
67RTEMS_BSPOPTS_SET([BEAGLE_DISABLE_READ_WRITE_DATA_CACHE],[*],[])
68RTEMS_BSPOPTS_HELP([BEAGLE_DISABLE_READ_WRITE_DATA_CACHE],[disable cache for read-write data sections])
69
70RTEMS_BSPOPTS_SET([BEAGLE_DISABLE_READ_ONLY_PROTECTION],[*],[])
71RTEMS_BSPOPTS_HELP([BEAGLE_DISABLE_READ_ONLY_PROTECTION],[disable MMU protection of read-only sections])
72
73RTEMS_BSPOPTS_SET([BEAGLE_SCRATCH_AREA_SIZE],[beagle_mzx*],[4096])
74RTEMS_BSPOPTS_HELP([BEAGLE_SCRATCH_AREA_SIZE],[size of scratch area])
75
76RTEMS_BSPOPTS_SET([BEAGLE_STOP_GPDMA],[*],[1])
77RTEMS_BSPOPTS_HELP([BEAGLE_STOP_GPDMA],[stop general purpose DMA at start-up to avoid DMA interference])
78
79RTEMS_BSPOPTS_SET([BEAGLE_STOP_ETHERNET],[*],[1])
80RTEMS_BSPOPTS_HELP([BEAGLE_STOP_ETHERNET],[stop Ethernet controller at start-up to avoid DMA interference])
81
82RTEMS_BSPOPTS_SET([BEAGLE_STOP_USB],[*],[1])
83RTEMS_BSPOPTS_HELP([BEAGLE_STOP_USB],[stop USB controller at start-up to avoid DMA interference])
84
85RTEMS_BSPOPTS_SET([BEAGLE_ENABLE_WATCHDOG_RESET],[*],[1])
86RTEMS_BSPOPTS_HELP([BEAGLE_ENABLE_WATCHDOG_RESET],[bsp_reset() will use the watchdog to reset the chip])
87
88RTEMS_BSPOPTS_SET([BSP_START_RESET_VECTOR],[*],[])
89RTEMS_BSPOPTS_HELP([BSP_START_RESET_VECTOR],[reset vector address for BSP start])
90
91RTEMS_BSPOPTS_SET([TESTS_USE_PRINTK],[*],[1])
92RTEMS_BSPOPTS_HELP([TESTS_USE_PRINTK],[tests use printk() for output])
93
94RTEMS_BSP_CLEANUP_OPTIONS(0, 0)
95RTEMS_BSP_LINKCMDS
96
97AC_CONFIG_FILES([Makefile])
98AC_OUTPUT
Note: See TracBrowser for help on using the repository browser.