source: rtems/c/src/lib/libbsp/arm/lpc24xx/configure.ac @ 7ae2775

4.104.115
Last change on this file since 7ae2775 was 7ae2775, checked in by Thomas Doerfler <Thomas.Doerfler@…>, on Jul 17, 2009 at 1:53:04 PM

ARM bsp maintenance

  • Property mode set to 100644
File size: 2.4 KB
Line 
1##
2#
3# @file
4#
5# @ingroup mpc55xx_config
6#
7# @brief Configure script of LibBSP for the LPC247X boards.
8#
9
10AC_PREREQ(2.59)
11AC_INIT([rtems-c-src-lib-libbsp-arm-lpc247x],[_RTEMS_VERSION],[rtems-bugs@rtems.com])
12AC_CONFIG_SRCDIR([bsp_specs])
13RTEMS_TOP(../../../../../..)
14
15RTEMS_CANONICAL_TARGET_CPU
16AM_INIT_AUTOMAKE([no-define nostdinc foreign 1.9])
17RTEMS_BSP_CONFIGURE
18
19RTEMS_PROG_CC_FOR_TARGET([-fasm])
20RTEMS_CANONICALIZE_TOOLS
21RTEMS_PROG_CCAS
22
23RTEMS_CHECK_NETWORKING
24AM_CONDITIONAL(HAS_NETWORKING,test "$HAS_NETWORKING" = "yes")
25
26RTEMS_BSPOPTS_SET([LPC24XX_OSCILLATOR_MAIN],[*],[12000000U])
27RTEMS_BSPOPTS_HELP([LPC24XX_OSCILLATOR_MAIN],[main oscillator frequency in Hz])
28
29RTEMS_BSPOPTS_SET([LPC24XX_OSCILLATOR_RTC],[*],[32768U])
30RTEMS_BSPOPTS_HELP([LPC24XX_OSCILLATOR_RTC],[RTC oscillator frequency in Hz])
31
32RTEMS_BSPOPTS_SET([LPC24XX_CCLK],[*],[72000000U])
33RTEMS_BSPOPTS_HELP([LPC24XX_CCLK],[CPU clock in Hz])
34
35RTEMS_BSPOPTS_SET([LPC24XX_UART_BAUD],[*],[115200U])
36RTEMS_BSPOPTS_HELP([LPC24XX_UART_BAUD],[baud for UARTs])
37
38RTEMS_BSPOPTS_SET([LPC24XX_HAS_UBOOT],[lpc2478],[1])
39RTEMS_BSPOPTS_SET([LPC24XX_HAS_UBOOT],[lpc2478_ncs_ram],[1])
40RTEMS_BSPOPTS_HELP([LPC24XX_HAS_UBOOT],[enable U-Boot startup])
41
42RTEMS_BSPOPTS_SET([LPC24XX_ETHERNET_RMII],[lpc2478_ncs],[1])
43RTEMS_BSPOPTS_SET([LPC24XX_ETHERNET_RMII],[lpc2478_ncs_ram],[1])
44RTEMS_BSPOPTS_HELP([LPC24XX_ETHERNET_RMII],[enable RMII for Ethernet])
45
46RTEMS_BSPOPTS_SET([LPC24XX_EMC_MICRON],[lpc2478_ncs],[1])
47RTEMS_BSPOPTS_HELP([LPC24XX_EMC_MICRON],[use Micron configuration for EMC])
48
49RTEMS_BSPOPTS_SET([LPC24XX_CONFIG_CONSOLE],[*],[0])
50RTEMS_BSPOPTS_HELP([LPC24XX_CONFIG_CONSOLE],[configuration for console (UART 0)])
51
52RTEMS_BSPOPTS_SET([LPC24XX_CONFIG_UART_1],[*],[])
53RTEMS_BSPOPTS_HELP([LPC24XX_CONFIG_UART_1],[configuration for UART 1])
54
55RTEMS_BSPOPTS_SET([LPC24XX_CONFIG_UART_2],[*],[])
56RTEMS_BSPOPTS_HELP([LPC24XX_CONFIG_UART_2],[configuration for UART 2])
57
58RTEMS_BSPOPTS_SET([LPC24XX_CONFIG_UART_3],[*],[])
59RTEMS_BSPOPTS_HELP([LPC24XX_CONFIG_UART_3],[configuration for UART 3])
60
61RTEMS_BSPOPTS_SET([LPC24XX_CONFIG_I2C_0],[lpc2478_ncs_ram],[0])
62RTEMS_BSPOPTS_HELP([LPC24XX_CONFIG_I2C_0],[configuration for I2C 0])
63
64RTEMS_BSPOPTS_SET([LPC24XX_CONFIG_I2C_1],[*],[])
65RTEMS_BSPOPTS_HELP([LPC24XX_CONFIG_I2C_1],[configuration for I2C 1])
66
67RTEMS_BSPOPTS_SET([LPC24XX_CONFIG_I2C_2],[*],[])
68RTEMS_BSPOPTS_HELP([LPC24XX_CONFIG_I2C_2],[configuration for I2C 2])
69
70RTEMS_BSP_BOOTCARD_OPTIONS
71RTEMS_BSP_CLEANUP_OPTIONS(0, 0)
72
73AC_CONFIG_FILES([Makefile])
74AC_OUTPUT
Note: See TracBrowser for help on using the repository browser.