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

4.11
Last change on this file since 053abcda was 053abcda, checked in by Joel Sherrill <joel.sherrill@…>, on Apr 23, 2014 at 11:38:43 PM

multiple BSPs: Remove BSP_SMALL_MEMORY

  • Property mode set to 100644
File size: 2.6 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([STM32F4_FAMILY_F10XXX],[stm32f1*],[1])
18RTEMS_BSPOPTS_HELP([STM32F4_FAMILY_F10XXX],[Chip belongs to the STM32F10XXX family.])
19
20RTEMS_BSPOPTS_SET([STM32F4_FAMILY_F4XXXX],[stm32f4*],[1])
21RTEMS_BSPOPTS_HELP([STM32F4_FAMILY_F4XXXX],[Chip belongs to the STM32F4XXXX family.])
22
23RTEMS_BSPOPTS_SET([STM32F4_HSE_OSCILLATOR],[*],[8000000])
24RTEMS_BSPOPTS_HELP([STM32F4_HSE_OSCILLATOR],[HSE oscillator frequency in Hz])
25
26RTEMS_BSPOPTS_SET([STM32F4_SYSCLK],[stm32f1*],[8000000])
27RTEMS_BSPOPTS_SET([STM32F4_SYSCLK],[*],[16000000])
28RTEMS_BSPOPTS_HELP([STM32F4_SYSCLK],[SYSCLK frequency in Hz])
29
30RTEMS_BSPOPTS_SET([STM32F4_HCLK],[stm32f1*],[8000000])
31RTEMS_BSPOPTS_SET([STM32F4_HCLK],[*],[16000000])
32RTEMS_BSPOPTS_HELP([STM32F4_HCLK],[HCLK frequency in Hz])
33
34RTEMS_BSPOPTS_SET([STM32F4_PCLK1],[stm32f1*],[8000000])
35RTEMS_BSPOPTS_SET([STM32F4_PCLK1],[*],[16000000])
36RTEMS_BSPOPTS_HELP([STM32F4_PCLK1],[PCLK1 frequency in Hz])
37
38RTEMS_BSPOPTS_SET([STM32F4_PCLK1],[stm32f1*],[8000000])
39RTEMS_BSPOPTS_SET([STM32F4_PCLK2],[*],[16000000])
40RTEMS_BSPOPTS_HELP([STM32F4_PCLK2],[PCLK2 frequency in Hz])
41
42RTEMS_BSPOPTS_SET([STM32F4_USART_BAUD],[*],[115200])
43RTEMS_BSPOPTS_HELP([STM32F4_USART_BAUD],[baud for USARTs])
44
45RTEMS_BSPOPTS_SET([STM32F4_ENABLE_USART_1],[*],[])
46RTEMS_BSPOPTS_HELP([STM32F4_ENABLE_USART_1],[enable USART 1])
47
48RTEMS_BSPOPTS_SET([STM32F4_ENABLE_USART_2],[*],[])
49RTEMS_BSPOPTS_HELP([STM32F4_ENABLE_USART_2],[enable USART 2])
50
51RTEMS_BSPOPTS_SET([STM32F4_ENABLE_USART_3],[*],[1])
52RTEMS_BSPOPTS_HELP([STM32F4_ENABLE_USART_3],[enable USART 3])
53
54RTEMS_BSPOPTS_SET([STM32F4_ENABLE_UART_4],[*],[])
55RTEMS_BSPOPTS_HELP([STM32F4_ENABLE_UART_4],[enable UART 4])
56
57RTEMS_BSPOPTS_SET([STM32F4_ENABLE_UART_5],[*],[])
58RTEMS_BSPOPTS_HELP([STM32F4_ENABLE_UART_5],[enable UART 5])
59
60RTEMS_BSPOPTS_SET([STM32F4_ENABLE_USART_6],[*],[])
61RTEMS_BSPOPTS_HELP([STM32F4_ENABLE_USART_6],[enable USART 6])
62
63RTEMS_BSPOPTS_SET([STM32F4_ENABLE_I2C1],[stm32f1*],[1])
64RTEMS_BSPOPTS_SET([STM32F4_ENABLE_I2C1],[*],[])
65RTEMS_BSPOPTS_HELP([STM32F4_ENABLE_I2C1],[enable I2C 1])
66
67RTEMS_BSPOPTS_SET([STM32F4_ENABLE_I2C2],[*],[])
68RTEMS_BSPOPTS_HELP([STM32F4_ENABLE_I2C2],[enable I2C 2])
69
70RTEMS_BSP_CLEANUP_OPTIONS(0, 0)
71RTEMS_BSP_LINKCMDS
72
73AC_CONFIG_FILES([Makefile])
74AC_OUTPUT
Note: See TracBrowser for help on using the repository browser.