source: rtems/c/src/lib/libbsp/arm/lpc176x/configure.ac @ 19260fb

4.115
Last change on this file since 19260fb was 19260fb, checked in by Martin Boretto <martin.boretto@…>, on Jun 9, 2014 at 2:27:18 PM

bsp/lpc176x: New BSP

  • Property mode set to 100644
File size: 2.2 KB
Line 
1##
2#
3# @file
4#
5# @brief Configure script of LibBSP for the LPC176X board.
6#
7
8AC_PREREQ([2.69])
9AC_INIT([rtems-c-src-lib-libbsp-arm-lpc176x],[_RTEMS_VERSION],
10                                [http://www.rtems.org/bugzilla])
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([ARM_LPC1768],[*],[0])
26RTEMS_BSPOPTS_HELP([ARM_LPC1768],[target used for identify LPC1768 board])
27
28RTEMS_BSPOPTS_SET([BSP_MINIMUM_TASK_STACK_SIZE],[*],[1024])
29RTEMS_BSPOPTS_HELP([BSP_MINIMUM_TASK_STACK_SIZE],[Suggested minimum task stack
30                        size in bytes])
31
32RTEMS_BSPOPTS_SET([BSP_SMALL_MEMORY],[*],[])
33RTEMS_BSPOPTS_HELP([BSP_SMALL_MEMORY],[disable testsuite
34                        samples with high memory demands])
35
36RTEMS_BSPOPTS_SET([LPC176X_OSCILLATOR_MAIN],[*],[12000000U])
37RTEMS_BSPOPTS_HELP([LPC176X_OSCILLATOR_MAIN],[main oscillator frequency in Hz])
38
39RTEMS_BSPOPTS_SET([LPC176X_OSCILLATOR_RTC],[*],[32768U])
40RTEMS_BSPOPTS_HELP([LPC176X_OSCILLATOR_RTC],[RTC oscillator frequency in Hz])
41
42RTEMS_BSPOPTS_SET([LPC176X_CCLK],[*],[96000000U])
43RTEMS_BSPOPTS_HELP([LPC176X_CCLK],[CPU clock in Hz])
44
45RTEMS_BSPOPTS_SET([LPC176X_PCLKDIV],[*],[1U])
46RTEMS_BSPOPTS_HELP([LPC176X_PCLKDIV],[clock divider for default
47                        PCLK (PCLK = CCLK / PCLKDIV)])
48
49RTEMS_BSPOPTS_SET([LPC176X_UART_BAUD],[*],[9600U])
50RTEMS_BSPOPTS_HELP([LPC176X_UART_BAUD],[baud for UARTs])
51
52RTEMS_BSPOPTS_SET([LPC176X_CONFIG_CONSOLE],[*],[0])
53RTEMS_BSPOPTS_HELP([LPC176X_CONFIG_CONSOLE],[configuration
54                        for console (UART 0)])
55
56RTEMS_BSPOPTS_SET([LPC176X_STOP_GPDMA],[*],[1])
57RTEMS_BSPOPTS_HELP([LPC176X_STOP_GPDMA],[stop general purpose DMA
58                        at start-up to avoid DMA interference])
59
60RTEMS_BSPOPTS_SET([LPC176X_STOP_USB],[*],[1])
61RTEMS_BSPOPTS_HELP([LPC176X_STOP_USB],[stop USB controller
62                        at start-up to avoid DMA interference])
63
64RTEMS_BSPOPTS_SET([LPC_DMA_CHANNEL_COUNT],[*],[2])
65RTEMS_BSPOPTS_HELP([LPC_DMA_CHANNEL_COUNT],[DMA channel count])
66
67RTEMS_BSP_CLEANUP_OPTIONS(0, 1)
68RTEMS_BSP_LINKCMDS
69
70AC_CONFIG_FILES([Makefile])
71AC_OUTPUT
Note: See TracBrowser for help on using the repository browser.