source: rtems/c/src/lib/libbsp/arm/stm32f4/startup/bspstart.c @ c050143

4.115
Last change on this file since c050143 was 7be19f8, checked in by Sebastian Huber <sebastian.huber@…>, on 04/15/12 at 19:15:22

bsp/stm32f4: API changes

  • Property mode set to 100644
File size: 632 bytes
Line 
1/*
2 * Copyright (c) 2012 Sebastian Huber.  All rights reserved.
3 *
4 *  embedded brains GmbH
5 *  Obere Lagerstr. 30
6 *  82178 Puchheim
7 *  Germany
8 *  <rtems@embedded-brains.de>
9 *
10 * The license and distribution terms for this file may be
11 * found in the file LICENSE in this distribution or at
12 * http://www.rtems.com/license/LICENSE.
13 */
14
15#include <bsp.h>
16#include <bsp/io.h>
17#include <bsp/irq.h>
18#include <bsp/bootcard.h>
19#include <bsp/irq-generic.h>
20
21void bsp_start(void)
22{
23  stm32f4_gpio_set_config_array(&stm32f4_start_config_gpio [0]);
24
25  if (bsp_interrupt_initialize() != RTEMS_SUCCESSFUL) {
26    _CPU_Fatal_halt(0xe);
27  }
28}
Note: See TracBrowser for help on using the repository browser.