forked from nanoframework/nf-interpreter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
target_common.h.in
61 lines (48 loc) · 2.2 KB
/
target_common.h.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
//
// Copyright (c) .NET Foundation and Contributors
// See LICENSE file in the project root for full license information.
//
//////////////////////////////////////////////////////////////////////////////
// This file was automatically generated by a tool. //
// Any changes you make here will be overwritten when it's generated again. //
//////////////////////////////////////////////////////////////////////////////
#ifndef TARGET_COMMON_H
#define TARGET_COMMON_H
#define TARGETINFOSTRING "@CMAKE_BUILD_TYPE@ build with TI CC13xx_26xx SDK v@TI_SL_CC13xx_26xx_SDK_TAG@"
/////////////////////////////////////////////////////////////////////////////////////////
// The following addresses and sizes should be filled in according to the SoC data-sheet
// they also must be coherent with what's in the linker file for nanoBooter and nanoCLR
// RAM base address
#define RAM1_MEMORY_StartAddress ((uint32_t)0x20000000)
// RAM size
#define RAM1_MEMORY_Size ((uint32_t)0x00014000)
// FLASH base address
#define FLASH1_MEMORY_StartAddress ((uint32_t)0x00000000)
// FLASH size
#define FLASH1_MEMORY_Size ((uint32_t)0x00058000)
/////////////////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////
#define PLATFORM_HAS_RNG TRUE
/////////////////////////////////////
//////////////////////////////////////////////
#define OEMSYSTEMINFOSTRING "nanoCLR running @ @TARGET_NAME@"
#define TARGETNAMESTRING "@TARGET_NAME@"
#define PLATFORMNAMESTRING "TI_SL_CC13x2"
//////////////////////////////////////////////
//////////////////////////////////////////////
// set Wire Protocol packet size
// valid sizes are 1024, 512, 256, 128
// check Monitor_Ping_Source_Flags enum
#define WP_PACKET_SIZE 512U
//////////////////////////////////////////////
/////////////////////////////////////
#if defined(DEBUG)
#define MANAGED_HEAP_SIZE (31*1024)
#else
#define MANAGED_HEAP_SIZE (36*1024)
#endif
/////////////////////////////////////
/////////////////////////////////////
//#define EVENTS_HEART_BEAT GPIO_toggle(Board_GPIO_RLED)
/////////////////////////////////////
#endif // TARGET_COMMON_H