source: rtems/bsps/arm/lpc32xx/start/bspstart.c @ ba619b7f

Last change on this file since ba619b7f was ba619b7f, checked in by Joel Sherrill <joel@…>, on 03/01/22 at 21:38:20

bsps/arm/: Scripted embedded brains header file clean up

Updates #4625.

  • Property mode set to 100644
File size: 619 bytes
Line 
1/**
2 * @file
3 *
4 * @ingroup RTEMSBSPsARMLPC32XX
5 *
6 * @brief Startup code.
7 */
8
9/*
10 * Copyright (c) 2009-2014 embedded brains GmbH.  All rights reserved.
11 *
12 * The license and distribution terms for this file may be
13 * found in the file LICENSE in this distribution or at
14 * http://www.rtems.org/license/LICENSE.
15 */
16
17#include <rtems/counter.h>
18
19#include <bsp.h>
20#include <bsp/bootcard.h>
21#include <bsp/irq-generic.h>
22
23uint32_t _CPU_Counter_frequency(void)
24{
25  return LPC32XX_PERIPH_CLK;
26}
27
28CPU_Counter_ticks _CPU_Counter_read(void)
29{
30  return lpc32xx_timer();
31}
32
33void bsp_start(void)
34{
35  bsp_interrupt_initialize();
36}
Note: See TracBrowser for help on using the repository browser.