source: rtems/c/src/lib/libbsp/powerpc/beatnik/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.4 KB
Line 
1## Process this file with autoconf to produce a configure script.
2
3AC_PREREQ([2.69])
4AC_INIT([rtems-c-src-lib-libbsp-powerpc-beatnik],[_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
15RTEMS_CHECK_TOOL([OBJCOPY],[objcopy])
16
17
18AS=$CC
19AM_PROG_AS
20
21RTEMS_BSPOPTS_SET_DATA_CACHE_ENABLED([*],[1])
22RTEMS_BSPOPTS_HELP_DATA_CACHE_ENABLED
23
24RTEMS_BSPOPTS_SET_INSTRUCTION_CACHE_ENABLED([*],[1])
25RTEMS_BSPOPTS_HELP_INSTRUCTION_CACHE_ENABLED
26
27RTEMS_BSPOPTS_SET([CONFIGURE_MALLOC_BSP_SUPPORTS_SBRK], [*], [1])
28RTEMS_BSPOPTS_HELP([CONFIGURE_MALLOC_BSP_SUPPORTS_SBRK],
29[If defined then the BSP may reduce the available memory size
30initially. This can be useful for debugging (reduce the core
31size) or dynamic loading (std gcc text offsets/jumps are < +/-32M).
32Note that the policy can still be defined by the application
33(see sbrk.c, BSP_sbrk_policy). By undefining
34CONFIGURE_MALLOC_BSP_SUPPORTS_SBRK this feature is removed
35and a little memory is saved.])
36
37RTEMS_BSPOPTS_SET([BSP_CONSOLE_BAUD],[*],[9600])
38RTEMS_BSPOPTS_HELP([BSP_CONSOLE_BAUD],
39[default console baud])
40
41AC_DEFINE(__ppc_generic, 1, [PowerPC model option])
42
43# Explicitly list all Makefiles here
44AC_CONFIG_FILES([Makefile])
45
46RTEMS_PPC_EXCEPTIONS
47
48AC_OUTPUT
Note: See TracBrowser for help on using the repository browser.