forked from nanoframework/nf-interpreter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
target_common.h.in
41 lines (31 loc) · 1.51 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
//
// 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_
#include <target_os.h>
/////////////////////////////////////////////////////////////////////////////////////////
// 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)0xD0000000)
// RAM size
#define RAM1_MEMORY_Size ((uint32_t)0x00800000)
// FLASH base address
#define FLASH1_MEMORY_StartAddress ((uint32_t)0x08000000)
// FLASH size
#define FLASH1_MEMORY_Size ((uint32_t)0x00200000)
/////////////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////
#define TARGETNAMESTRING "@TARGET_NAME@"
#define PLATFORMNAMESTRING "STM32F4"
//////////////////////////////////////////////
/////////////////////////////////////
//#define EVENTS_HEART_BEAT palToggleLine(GPIOG_LED3_GREEN)
/////////////////////////////////////
#endif /* _TARGET_COMMON_H_ */