nf-Community-Targets/ChibiOS/ST_STM32F411_DISCOVERY/target_common.h.in

34 строки
1.3 KiB
C

//
// 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
// 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)0x00020000)
// FLASH base address
#define FLASH1_MEMORY_StartAddress ((uint32_t)0x08000000)
// FLASH size
#define FLASH1_MEMORY_Size ((uint32_t)0x00080000)
/////////////////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////
#define TARGETNAMESTRING "@TARGET_NAME@"
#define PLATFORMNAMESTRING "STM32F4"
///////////////////////////////////////////////
#endif // TARGET_COMMON_H