5
Rev | Line | |
---|
[f2e0f8e] | 1 | /* |
---|
| 2 | * Copyright (c) 2016 embedded brains GmbH. All rights reserved. |
---|
| 3 | * |
---|
| 4 | * embedded brains GmbH |
---|
| 5 | * Dornierstr. 4 |
---|
| 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.org/license/LICENSE. |
---|
| 13 | */ |
---|
| 14 | |
---|
| 15 | #include <bsp.h> |
---|
| 16 | #include <bsp/bootcard.h> |
---|
| 17 | #include <bsp/irq.h> |
---|
| 18 | #include <bsp/irq-generic.h> |
---|
| 19 | |
---|
| 20 | #include <chip.h> |
---|
| 21 | |
---|
| 22 | RTEMS_STATIC_ASSERT( |
---|
| 23 | PERIPH_COUNT_IRQn <= BSP_INTERRUPT_VECTOR_MAX, |
---|
| 24 | PERIPH_COUNT_IRQn |
---|
| 25 | ); |
---|
| 26 | |
---|
| 27 | void bsp_start(void) |
---|
| 28 | { |
---|
| 29 | bsp_interrupt_initialize(); |
---|
| 30 | SCB_CleanDCache(); |
---|
| 31 | SCB_InvalidateICache(); |
---|
| 32 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.