source: rtems/c/src/lib/libbsp/arm/stm32f4/configure.ac @ e230fb4

4.115
Last change on this file since e230fb4 was e230fb4, checked in by Sebastian Huber <sebastian.huber@…>, on Mar 29, 2012 at 7:23:14 PM

bsp/stm32f4: New BSP

  • Property mode set to 100644
File size: 2.0 KB
Line 
1AC_PREREQ([2.68])
2AC_INIT([rtems-c-src-lib-libbsp-arm-stm32f4],[_RTEMS_VERSION],[rtems-bugs@rtems.com])
3AC_CONFIG_SRCDIR([bsp_specs])
4RTEMS_TOP(../../../../../..)
5
6RTEMS_CANONICAL_TARGET_CPU
7AM_INIT_AUTOMAKE([no-define nostdinc foreign 1.11.1])
8RTEMS_BSP_CONFIGURE
9
10RTEMS_PROG_CC_FOR_TARGET
11RTEMS_CANONICALIZE_TOOLS
12RTEMS_PROG_CCAS
13
14RTEMS_CHECK_NETWORKING
15AM_CONDITIONAL(HAS_NETWORKING,test "$HAS_NETWORKING" = "yes")
16
17RTEMS_BSPOPTS_SET([BSP_SMALL_MEMORY],[*],[])
18RTEMS_BSPOPTS_HELP([BSP_SMALL_MEMORY],[disable testsuite samples with high memory demands])
19
20RTEMS_BSPOPTS_SET([STM32F4_HSE_OSCILLATOR],[*],[8000000])
21RTEMS_BSPOPTS_HELP([STM32F4_HSE_OSCILLATOR],[HSE oscillator frequency in Hz])
22
23RTEMS_BSPOPTS_SET([STM32F4_SYSCLK],[*],[16000000])
24RTEMS_BSPOPTS_HELP([STM32F4_SYSCLK],[SYSCLK frequency in Hz])
25
26RTEMS_BSPOPTS_SET([STM32F4_HCLK],[*],[16000000])
27RTEMS_BSPOPTS_HELP([STM32F4_HCLK],[HCLK frequency in Hz])
28
29RTEMS_BSPOPTS_SET([STM32F4_PCLK1],[*],[16000000])
30RTEMS_BSPOPTS_HELP([STM32F4_PCLK1],[PCLK1 frequency in Hz])
31
32RTEMS_BSPOPTS_SET([STM32F4_PCLK2],[*],[16000000])
33RTEMS_BSPOPTS_HELP([STM32F4_PCLK2],[PCLK2 frequency in Hz])
34
35RTEMS_BSPOPTS_SET([STM32F4_USART_BAUD],[*],[115200])
36RTEMS_BSPOPTS_HELP([STM32F4_USART_BAUD],[baud for USARTs])
37
38RTEMS_BSPOPTS_SET([STM32F4_ENABLE_USART_1],[*],[1])
39RTEMS_BSPOPTS_HELP([STM32F4_ENABLE_USART_1],[enable USART 1])
40
41RTEMS_BSPOPTS_SET([STM32F4_ENABLE_USART_2],[*],[])
42RTEMS_BSPOPTS_HELP([STM32F4_ENABLE_USART_2],[enable USART 2])
43
44RTEMS_BSPOPTS_SET([STM32F4_ENABLE_USART_3],[*],[])
45RTEMS_BSPOPTS_HELP([STM32F4_ENABLE_USART_3],[enable USART 3])
46
47RTEMS_BSPOPTS_SET([STM32F4_ENABLE_UART_4],[*],[])
48RTEMS_BSPOPTS_HELP([STM32F4_ENABLE_UART_4],[enable UART 4])
49
50RTEMS_BSPOPTS_SET([STM32F4_ENABLE_UART_5],[*],[])
51RTEMS_BSPOPTS_HELP([STM32F4_ENABLE_UART_5],[enable UART 5])
52
53RTEMS_BSPOPTS_SET([STM32F4_ENABLE_USART_6],[*],[])
54RTEMS_BSPOPTS_HELP([STM32F4_ENABLE_USART_6],[enable USART 6])
55
56RTEMS_BSP_CLEANUP_OPTIONS(0, 0)
57RTEMS_BSP_LINKCMDS
58
59AC_CONFIG_FILES([Makefile])
60AC_OUTPUT
Note: See TracBrowser for help on using the repository browser.