source: rtems/c/src/lib/libbsp/arm/altera-cyclone-v/configure.ac @ 782182eb

4.11
Last change on this file since 782182eb was 782182eb, checked in by Ralf Kirchner <ralf.kirchner@…>, on Apr 10, 2014 at 2:54:39 PM

bsp/altera-cyclone-v: Change console baud rate

The baud rate of the altera cyclone-V U-Boot can not be changed at the
u-Boot console prompt. Thus we use the same baud rate as the U-Boot for
the BSP.

  • Property mode set to 100644
File size: 1.8 KB
RevLine 
[f73cfe99]1##
2#
3# @file
4#
5# @brief Configure script of LibBSP for the Altera Cyclone-V platform.
6#
7
8AC_PREREQ([2.69])
9AC_INIT([rtems-c-src-lib-libbsp-arm-xilinx-zynq-a9],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla])
10AC_CONFIG_SRCDIR([bsp_specs])
11RTEMS_TOP(../../../../../..)
12
13RTEMS_CANONICAL_TARGET_CPU
14AM_INIT_AUTOMAKE([no-define nostdinc foreign 1.12.2])
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_START_RESET_VECTOR],[*],[])
25RTEMS_BSPOPTS_HELP([BSP_START_RESET_VECTOR],[reset vector address for BSP start])
26
27RTEMS_BSPOPTS_SET([BSP_ARM_A9MPCORE_PERIPHCLK],[altcycv_devkit*],[200000000U])
28RTEMS_BSPOPTS_SET([BSP_ARM_A9MPCORE_PERIPHCLK],[*],[100000000U])
29RTEMS_BSPOPTS_HELP([BSP_ARM_A9MPCORE_PERIPHCLK],[ARM Cortex-A9 MPCore PERIPHCLK clock frequency in Hz])
30
31RTEMS_BSPOPTS_SET([CLOCK_DRIVER_USE_FAST_IDLE],[*qemu],[1])
32RTEMS_BSPOPTS_HELP([CLOCK_DRIVER_USE_FAST_IDLE],
33[This sets a mode where the time runs as fast as possible when a clock ISR
34occurs while the IDLE thread is executing.  This can significantly reduce
35simulation times.])
36
37RTEMS_BSPOPTS_SET([BSP_CONSOLE_MINOR],[*],[0])
38RTEMS_BSPOPTS_HELP([BSP_CONSOLE_MINOR],[minor number of console device])
39
40RTEMS_BSPOPTS_SET([CYCLONE_V_CONFIG_CONSOLE],[*],[0])
41RTEMS_BSPOPTS_HELP([CYCLONE_V_CONFIG_CONSOLE],[configuration for console (UART 0)])
42
43RTEMS_BSPOPTS_SET([CYCLONE_V_CONFIG_UART_1],[*],[0])
44RTEMS_BSPOPTS_HELP([CYCLONE_V_CONFIG_UART_1],[configuration for UART 1])
45
[782182eb]46RTEMS_BSPOPTS_SET([CYCLONE_V_UART_BAUD],[*],[57600U])
[f73cfe99]47RTEMS_BSPOPTS_HELP([CYCLONE_V_UART_BAUD],[baud for UARTs])
48
49RTEMS_CHECK_SMP
50AM_CONDITIONAL(HAS_SMP,[test "$rtems_cv_HAS_SMP" = "yes"])
51
52RTEMS_BSP_CLEANUP_OPTIONS(0, 1)
53RTEMS_BSP_LINKCMDS
54
55AC_CONFIG_FILES([Makefile])
56AC_OUTPUT
Note: See TracBrowser for help on using the repository browser.