source: rtems/c/src/lib/libbsp/arm/lpc24xx/configure.ac @ 82dcbc8

4.115
Last change on this file since 82dcbc8 was b18fd86, checked in by Sebastian Huber <sebastian.huber@…>, on Jun 23, 2010 at 8:11:28 AM

2010-06-23 Sebastian Huber <sebastian.huber@…>

  • make/custom/lpc23xx_tli800.cfg, startup/linkcmds.lpc23xx_tli800: New files.
  • Makefile.am, configure.ac: Reflect changes above.
  • startup/linkcmds.lpc2362: Typos.
  • README: Documentation.
  • Property mode set to 100644
File size: 4.0 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-lpc24xx],[_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([BSP_SMALL_MEMORY],[lpc23*],[1])
25RTEMS_BSPOPTS_SET([BSP_SMALL_MEMORY],[*],[])
26RTEMS_BSPOPTS_HELP([BSP_SMALL_MEMORY],[disable testsuite samples with high memory demands])
27
28RTEMS_BSPOPTS_SET([LPC24XX_OSCILLATOR_MAIN],[lpc23*],[3686400U])
29RTEMS_BSPOPTS_SET([LPC24XX_OSCILLATOR_MAIN],[*],[12000000U])
30RTEMS_BSPOPTS_HELP([LPC24XX_OSCILLATOR_MAIN],[main oscillator frequency in Hz])
31
32RTEMS_BSPOPTS_SET([LPC24XX_OSCILLATOR_RTC],[*],[32768U])
33RTEMS_BSPOPTS_HELP([LPC24XX_OSCILLATOR_RTC],[RTC oscillator frequency in Hz])
34
35RTEMS_BSPOPTS_SET([LPC24XX_CCLK],[lpc23*],[58982400U])
36RTEMS_BSPOPTS_SET([LPC24XX_CCLK],[*],[72000000U])
37RTEMS_BSPOPTS_HELP([LPC24XX_CCLK],[CPU clock in Hz])
38
39RTEMS_BSPOPTS_SET([LPC24XX_UART_BAUD],[*],[115200U])
40RTEMS_BSPOPTS_HELP([LPC24XX_UART_BAUD],[baud for UARTs])
41
42RTEMS_BSPOPTS_SET([LPC24XX_ETHERNET_RMII],[lpc24xx_ea],[1])
43RTEMS_BSPOPTS_SET([LPC24XX_ETHERNET_RMII],[*],[])
44RTEMS_BSPOPTS_HELP([LPC24XX_ETHERNET_RMII],[enable RMII for Ethernet])
45
46RTEMS_BSPOPTS_SET([LPC24XX_EMC_MICRON],[lpc24xx_ncs_rom_*],[1])
47RTEMS_BSPOPTS_HELP([LPC24XX_EMC_MICRON],[enable Micron configuration for EMC])
48
49RTEMS_BSPOPTS_SET([LPC24XX_EMC_NUMONYX],[lpc24xx_ncs_rom_*],[1])
50RTEMS_BSPOPTS_HELP([LPC24XX_EMC_NUMONYX],[enable Numonyx configuration for EMC])
51
52RTEMS_BSPOPTS_SET([LPC24XX_EMC_TEST],[*],[])
53RTEMS_BSPOPTS_HELP([LPC24XX_EMC_TEST],[enable tests for EMC])
54
55RTEMS_BSPOPTS_SET([LPC24XX_SPECIAL_TASK_STACKS_SUPPORT],[lpc23*],[])
56RTEMS_BSPOPTS_SET([LPC24XX_SPECIAL_TASK_STACKS_SUPPORT],[*],[1])
57RTEMS_BSPOPTS_HELP([LPC24XX_SPECIAL_TASK_STACKS_SUPPORT],[enable special task stack support for task stacks in internal RAM])
58
59RTEMS_BSPOPTS_SET([LPC24XX_CONFIG_CONSOLE],[*],[0])
60RTEMS_BSPOPTS_HELP([LPC24XX_CONFIG_CONSOLE],[configuration for console (UART 0)])
61
62RTEMS_BSPOPTS_SET([LPC24XX_CONFIG_UART_1],[*],[])
63RTEMS_BSPOPTS_HELP([LPC24XX_CONFIG_UART_1],[configuration for UART 1])
64
65RTEMS_BSPOPTS_SET([LPC24XX_CONFIG_UART_2],[lpc23*],[0])
66RTEMS_BSPOPTS_SET([LPC24XX_CONFIG_UART_2],[lpc24xx_ncs_*],[0])
67RTEMS_BSPOPTS_HELP([LPC24XX_CONFIG_UART_2],[configuration for UART 2])
68
69RTEMS_BSPOPTS_SET([LPC24XX_CONFIG_UART_3],[lpc23*],[0])
70RTEMS_BSPOPTS_SET([LPC24XX_CONFIG_UART_3],[lpc24xx_ncs_*],[0])
71RTEMS_BSPOPTS_HELP([LPC24XX_CONFIG_UART_3],[configuration for UART 3])
72
73RTEMS_BSPOPTS_SET([LPC24XX_CONFIG_I2C_0],[lpc24xx_ncs_*],[0])
74RTEMS_BSPOPTS_HELP([LPC24XX_CONFIG_I2C_0],[configuration for I2C 0])
75
76RTEMS_BSPOPTS_SET([LPC24XX_CONFIG_I2C_1],[lpc24xx_ncs_*],[1])
77RTEMS_BSPOPTS_HELP([LPC24XX_CONFIG_I2C_1],[configuration for I2C 1])
78
79RTEMS_BSPOPTS_SET([LPC24XX_CONFIG_I2C_2],[*],[])
80RTEMS_BSPOPTS_HELP([LPC24XX_CONFIG_I2C_2],[configuration for I2C 2])
81
82RTEMS_BSPOPTS_SET([LPC24XX_HEAP_EXTEND],[lpc23*],[1])
83RTEMS_BSPOPTS_HELP([LPC24XX_HEAP_EXTEND],[enable heap extend by Ethernet and USB regions])
84
85RTEMS_BSPOPTS_SET([LPC24XX_STOP_GPDMA],[*],[1])
86RTEMS_BSPOPTS_HELP([LPC24XX_STOP_GPDMA],[stop general purpose DMA at start-up to avoid DMA interference])
87
88RTEMS_BSPOPTS_SET([LPC24XX_STOP_ETHERNET],[lpc23*],[])
89RTEMS_BSPOPTS_SET([LPC24XX_STOP_ETHERNET],[*],[1])
90RTEMS_BSPOPTS_HELP([LPC24XX_STOP_ETHERNET],[stop Ethernet controller at start-up to avoid DMA interference])
91
92RTEMS_BSPOPTS_SET([LPC24XX_STOP_USB],[lpc23*],[])
93RTEMS_BSPOPTS_SET([LPC24XX_STOP_USB],[*],[1])
94RTEMS_BSPOPTS_HELP([LPC24XX_STOP_USB],[stop USB controller at start-up to avoid DMA interference])
95
96RTEMS_BSPOPTS_SET([BSP_START_RESET_VECTOR],[lpc24xx_ncs_rom_ext],[0x80000040])
97RTEMS_BSPOPTS_HELP([BSP_START_RESET_VECTOR],[reset vector address for BSP start])
98
99RTEMS_BSP_CLEANUP_OPTIONS(0, 0)
100RTEMS_BSP_LINKCMDS
101
102AC_CONFIG_FILES([Makefile])
103AC_OUTPUT
Note: See TracBrowser for help on using the repository browser.