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