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

4.115
Last change on this file since c918737e was c918737e, checked in by Christian Mauderer <Christian.Mauderer@…>, on Oct 24, 2013 at 2:26:59 PM

bsp/stm32f4: Add a simple I2C-driver.

  • Property mode set to 100644
File size: 2.7 KB
Line 
1AC_PREREQ([2.69])
2AC_INIT([rtems-c-src-lib-libbsp-arm-stm32f4],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla])
3AC_CONFIG_SRCDIR([bsp_specs])
4RTEMS_TOP(../../../../../..)
5
6RTEMS_CANONICAL_TARGET_CPU
7AM_INIT_AUTOMAKE([no-define nostdinc foreign 1.12.2])
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_FAMILY_F10XXX],[stm32f1*],[1])
21RTEMS_BSPOPTS_HELP([STM32F4_FAMILY_F10XXX],[Chip belongs to the STM32F10XXX family.])
22
23RTEMS_BSPOPTS_SET([STM32F4_FAMILY_F4XXXX],[stm32f4*],[1])
24RTEMS_BSPOPTS_HELP([STM32F4_FAMILY_F4XXXX],[Chip belongs to the STM32F4XXXX family.])
25
26RTEMS_BSPOPTS_SET([STM32F4_HSE_OSCILLATOR],[*],[8000000])
27RTEMS_BSPOPTS_HELP([STM32F4_HSE_OSCILLATOR],[HSE oscillator frequency in Hz])
28
29RTEMS_BSPOPTS_SET([STM32F4_SYSCLK],[stm32f1*],[8000000])
30RTEMS_BSPOPTS_SET([STM32F4_SYSCLK],[*],[16000000])
31RTEMS_BSPOPTS_HELP([STM32F4_SYSCLK],[SYSCLK frequency in Hz])
32
33RTEMS_BSPOPTS_SET([STM32F4_HCLK],[stm32f1*],[8000000])
34RTEMS_BSPOPTS_SET([STM32F4_HCLK],[*],[16000000])
35RTEMS_BSPOPTS_HELP([STM32F4_HCLK],[HCLK frequency in Hz])
36
37RTEMS_BSPOPTS_SET([STM32F4_PCLK1],[stm32f1*],[8000000])
38RTEMS_BSPOPTS_SET([STM32F4_PCLK1],[*],[16000000])
39RTEMS_BSPOPTS_HELP([STM32F4_PCLK1],[PCLK1 frequency in Hz])
40
41RTEMS_BSPOPTS_SET([STM32F4_PCLK1],[stm32f1*],[8000000])
42RTEMS_BSPOPTS_SET([STM32F4_PCLK2],[*],[16000000])
43RTEMS_BSPOPTS_HELP([STM32F4_PCLK2],[PCLK2 frequency in Hz])
44
45RTEMS_BSPOPTS_SET([STM32F4_USART_BAUD],[*],[115200])
46RTEMS_BSPOPTS_HELP([STM32F4_USART_BAUD],[baud for USARTs])
47
48RTEMS_BSPOPTS_SET([STM32F4_ENABLE_USART_1],[*],[])
49RTEMS_BSPOPTS_HELP([STM32F4_ENABLE_USART_1],[enable USART 1])
50
51RTEMS_BSPOPTS_SET([STM32F4_ENABLE_USART_2],[*],[])
52RTEMS_BSPOPTS_HELP([STM32F4_ENABLE_USART_2],[enable USART 2])
53
54RTEMS_BSPOPTS_SET([STM32F4_ENABLE_USART_3],[*],[1])
55RTEMS_BSPOPTS_HELP([STM32F4_ENABLE_USART_3],[enable USART 3])
56
57RTEMS_BSPOPTS_SET([STM32F4_ENABLE_UART_4],[*],[])
58RTEMS_BSPOPTS_HELP([STM32F4_ENABLE_UART_4],[enable UART 4])
59
60RTEMS_BSPOPTS_SET([STM32F4_ENABLE_UART_5],[*],[])
61RTEMS_BSPOPTS_HELP([STM32F4_ENABLE_UART_5],[enable UART 5])
62
63RTEMS_BSPOPTS_SET([STM32F4_ENABLE_USART_6],[*],[])
64RTEMS_BSPOPTS_HELP([STM32F4_ENABLE_USART_6],[enable USART 6])
65
66RTEMS_BSPOPTS_SET([STM32F4_ENABLE_I2C1],[stm32f1*],[1])
67RTEMS_BSPOPTS_SET([STM32F4_ENABLE_I2C1],[*],[])
68RTEMS_BSPOPTS_HELP([STM32F4_ENABLE_I2C1],[enable I2C 1])
69
70RTEMS_BSPOPTS_SET([STM32F4_ENABLE_I2C2],[*],[])
71RTEMS_BSPOPTS_HELP([STM32F4_ENABLE_I2C2],[enable I2C 2])
72
73RTEMS_BSP_CLEANUP_OPTIONS(0, 0)
74RTEMS_BSP_LINKCMDS
75
76AC_CONFIG_FILES([Makefile])
77AC_OUTPUT
Note: See TracBrowser for help on using the repository browser.