summaryrefslogblamecommitdiffstats
path: root/bsps/arm/stm32f4/start/bspstarthook.c
blob: bbfaed615ee71ceca8bb48d18bce2a26ae9b99e5 (plain) (tree)
1
2
3
4
5
6


                                                            

                                                          
                                        












                                                  
                        


                                                                   
/*
 * Copyright (c) 2012 Sebastian Huber.  All rights reserved.
 *
 * The license and distribution terms for this file may be
 * found in the file LICENSE in this distribution or at
 * http://www.rtems.org/license/LICENSE.
 */

#include <bsp.h>
#include <bsp/start.h>

void BSP_START_TEXT_SECTION bsp_start_hook_0(void)
{
  /* Do nothing */
}

void BSP_START_TEXT_SECTION bsp_start_hook_1(void)
{
  bsp_start_copy_sections();
  bsp_start_clear_bss();

  /* At this point we can use objects outside the .start section */
}