5
Last change
on this file since 38404cb was
4407ee6,
checked in by Premysl Houdek <kom541000@…>, on 08/20/14 at 15:24:23
|
BSP for TMS570LS31x Hercules Development Kit from TI (TMS570LS3137)
Included variants:
tms570ls3137_hdk_intram - place code and data into internal SRAM
tms570ls3137_hdk_sdram - place code into external SDRAM and data to SRAM
tms570ls3137_hdk - variant prepared for stand-alone RTEMS aplication
stored and running directly from flash. Not working yet.
Chip initialization code not included in BSP.
External startup generated by TI's HalCoGen? was used for
testing and debugging.
More information about TMS570 BSP can be found at
http://www.rtems.org/wiki/index.php/Tms570
Patch version 2
- most of the formatting suggestion applied.
- BSP converted to use clock shell
- console driver "set attributes" tested. Baudrate change working
Patch version 3
- more formatting changes.
- removed leftover defines and test functions
Todo:
refactor header files (name register fields)
|
-
Property mode set to
100644
|
File size:
885 bytes
|
Line | |
---|
1 | /** |
---|
2 | * @file bspstarthooks.c |
---|
3 | * |
---|
4 | * @ingroup tms570 |
---|
5 | * |
---|
6 | * @brief First configurations and initializations to the correct |
---|
7 | * functionality of the board. |
---|
8 | */ |
---|
9 | |
---|
10 | /* |
---|
11 | * Copyright (c) 2014 Premysl Houdek <kom541000@gmail.com> |
---|
12 | * |
---|
13 | * Google Summer of Code 2014 at |
---|
14 | * Czech Technical University in Prague |
---|
15 | * Zikova 1903/4 |
---|
16 | * 166 36 Praha 6 |
---|
17 | * Czech Republic |
---|
18 | * |
---|
19 | * Based on LPC24xx and LPC1768 BSP |
---|
20 | * by embedded brains GmbH and others |
---|
21 | * |
---|
22 | * The license and distribution terms for this file may be |
---|
23 | * found in the file LICENSE in this distribution or at |
---|
24 | * http://www.rtems.org/license/LICENSE. |
---|
25 | */ |
---|
26 | |
---|
27 | #include <bsp.h> |
---|
28 | #include <bsp/start.h> |
---|
29 | |
---|
30 | BSP_START_TEXT_SECTION void bsp_start_hook_0( void ) |
---|
31 | { |
---|
32 | ; |
---|
33 | } |
---|
34 | |
---|
35 | BSP_START_TEXT_SECTION void bsp_start_hook_1( void ) |
---|
36 | { |
---|
37 | bsp_start_copy_sections(); |
---|
38 | bsp_start_clear_bss(); |
---|
39 | |
---|
40 | /* At this point we can use objects outside the .start section */ |
---|
41 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.