source: rtems/c/src/lib/libbsp/powerpc/haleakala/configure.ac @ 9c13e52

Last change on this file since 9c13e52 was 9c13e52, checked in by Peter Dufault <dufault@…>, on 04/27/21 at 17:48:46

powerpc/shared/console: Make console baud rate configurable.

The "powerpc/shared/console" code has the start-up console value fixed
at 9600 baud. This changes the hard-wired constant "9600" in the code
to the configuration setting "BSP_CONSOLE_BAUD" and adds configuration
support in both the "waf" and the legacy configuration systems.

Note that the VME BSPs beatnik, mvme3100, and mve5100 can be improved
by adding a "mvmexxxx" BSP family. This configuration change, as well
as future configuration changes, could then be made in a "grp.yml" file.

  • Property mode set to 100644
File size: 1.2 KB
Line 
1dnl Process this file with autoconf to produce a configure script.
2
3AC_PREREQ([2.69])
4AC_INIT([rtems-c-src-lib-libbsp-powerpc-haleakala],[_RTEMS_VERSION],[https://devel.rtems.org/newticket])
5RTEMS_TOP(../../../../../..)
6RTEMS_SOURCE_TOP
7RTEMS_BUILD_TOP
8RTEMS_BSP_LINKCMDS
9
10RTEMS_CANONICAL_TARGET_CPU
11AM_INIT_AUTOMAKE([no-define nostdinc foreign 1.12.2])
12RTEMS_BSP_CONFIGURE
13
14
15
16RTEMS_BSPOPTS_SET([PPC_USE_SPRG],[*],[1])
17RTEMS_BSPOPTS_HELP([PPC_USE_SPRG],
18[If defined, then the PowerPC specific code in RTEMS will use some
19 of the special purpose registers to slightly optimize interrupt
20 response time.  The use of these registers can conflict with
21 other tools like debuggers.])
22
23RTEMS_BSPOPTS_SET([PPC_VECTOR_FILE_BASE],[*],[0x0100])
24RTEMS_BSPOPTS_HELP([PPC_VECTOR_FILE_BASE],
25[This defines the base address of the exception table.
26 NOTE: Vectors are actually at 0xFFF00000 but file starts at offset.])
27
28RTEMS_BSPOPTS_SET([BSP_CONSOLE_BAUD],[*],[9600])
29RTEMS_BSPOPTS_HELP([BSP_CONSOLE_BAUD],
30[default console baud])
31
32AC_DEFINE(ppc405, 1, [PowerPC model option])
33
34RTEMS_BSP_CLEANUP_OPTIONS
35
36# Explicitly list all Makefiles here
37AC_CONFIG_FILES([Makefile])
38
39RTEMS_PPC_EXCEPTIONS
40
41AC_OUTPUT
Note: See TracBrowser for help on using the repository browser.