source: rtems/c/src/lib/libbsp/arm/lpc24xx/configure.ac @ 39c8fdb

4.104.11
Last change on this file since 39c8fdb was 39c8fdb, checked in by Thomas Doerfler <Thomas.Doerfler@…>, on Jan 12, 2010 at 3:03:22 PM

add support for lpc32xx

  • Property mode set to 100644
File size: 2.9 KB
Line 
1##
2#
3# @file
4#
5# @brief Configure script of LibBSP for the LPC24XX boards.
6#
7
8AC_PREREQ(2.59)
9AC_INIT([rtems-c-src-lib-libbsp-arm-lpc247x],[_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.9])
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([LPC24XX_OSCILLATOR_MAIN],[*],[12000000U])
25RTEMS_BSPOPTS_HELP([LPC24XX_OSCILLATOR_MAIN],[main oscillator frequency in Hz])
26
27RTEMS_BSPOPTS_SET([LPC24XX_OSCILLATOR_RTC],[*],[32768U])
28RTEMS_BSPOPTS_HELP([LPC24XX_OSCILLATOR_RTC],[RTC oscillator frequency in Hz])
29
30RTEMS_BSPOPTS_SET([LPC24XX_CCLK],[*],[72000000U])
31RTEMS_BSPOPTS_HELP([LPC24XX_CCLK],[CPU clock in Hz])
32
33RTEMS_BSPOPTS_SET([LPC24XX_UART_BAUD],[*],[115200U])
34RTEMS_BSPOPTS_HELP([LPC24XX_UART_BAUD],[baud for UARTs])
35
36RTEMS_BSPOPTS_SET([LPC24XX_ETHERNET_RMII],[*],[])
37RTEMS_BSPOPTS_HELP([LPC24XX_ETHERNET_RMII],[enable RMII for Ethernet])
38
39RTEMS_BSPOPTS_SET([LPC24XX_EMC_MICRON],[lpc24xx_ncs_rom_*],[1])
40RTEMS_BSPOPTS_HELP([LPC24XX_EMC_MICRON],[enable Micron configuration for EMC])
41
42RTEMS_BSPOPTS_SET([LPC24XX_EMC_NUMONYX],[lpc24xx_ncs_rom_*],[1])
43RTEMS_BSPOPTS_HELP([LPC24XX_EMC_NUMONYX],[enable Numonyx configuration for EMC])
44
45RTEMS_BSPOPTS_SET([LPC24XX_EMC_TEST],[*],[])
46RTEMS_BSPOPTS_HELP([LPC24XX_EMC_TEST],[enable tests for EMC])
47
48RTEMS_BSPOPTS_SET([LPC24XX_SPECIAL_TASK_STACKS_SUPPORT],[lpc2362],[])
49RTEMS_BSPOPTS_SET([LPC24XX_SPECIAL_TASK_STACKS_SUPPORT],[*],[1])
50RTEMS_BSPOPTS_HELP([LPC24XX_SPECIAL_TASK_STACKS_SUPPORT],[enable special task stack support for task stacks in internal RAM])
51
52RTEMS_BSPOPTS_SET([LPC24XX_CONFIG_CONSOLE],[*],[0])
53RTEMS_BSPOPTS_HELP([LPC24XX_CONFIG_CONSOLE],[configuration for console (UART 0)])
54
55RTEMS_BSPOPTS_SET([LPC24XX_CONFIG_UART_1],[*],[])
56RTEMS_BSPOPTS_HELP([LPC24XX_CONFIG_UART_1],[configuration for UART 1])
57
58RTEMS_BSPOPTS_SET([LPC24XX_CONFIG_UART_2],[lpc24xx_ncs_*],[0])
59RTEMS_BSPOPTS_HELP([LPC24XX_CONFIG_UART_2],[configuration for UART 2])
60
61RTEMS_BSPOPTS_SET([LPC24XX_CONFIG_UART_3],[lpc24xx_ncs_*],[0])
62RTEMS_BSPOPTS_HELP([LPC24XX_CONFIG_UART_3],[configuration for UART 3])
63
64RTEMS_BSPOPTS_SET([LPC24XX_CONFIG_I2C_0],[lpc24xx_ncs_*],[0])
65RTEMS_BSPOPTS_HELP([LPC24XX_CONFIG_I2C_0],[configuration for I2C 0])
66
67RTEMS_BSPOPTS_SET([LPC24XX_CONFIG_I2C_1],[lpc24xx_ncs_*],[1])
68RTEMS_BSPOPTS_HELP([LPC24XX_CONFIG_I2C_1],[configuration for I2C 1])
69
70RTEMS_BSPOPTS_SET([LPC24XX_CONFIG_I2C_2],[*],[])
71RTEMS_BSPOPTS_HELP([LPC24XX_CONFIG_I2C_2],[configuration for I2C 2])
72
73RTEMS_BSPOPTS_SET([BSP_START_RESET_VECTOR],[lpc24xx_ncs_rom_ext],[0x80000040])
74RTEMS_BSPOPTS_HELP([BSP_START_RESET_VECTOR],[reset vector address for BSP start])
75
76RTEMS_BSP_CLEANUP_OPTIONS(0, 0)
77RTEMS_BSP_LINKCMDS
78
79AC_CONFIG_FILES([Makefile])
80AC_OUTPUT
Note: See TracBrowser for help on using the repository browser.