Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
daplink_addr.h
00001 /** 00002 * @file daplink_addr.h 00003 * @brief 00004 * 00005 * DAPLink Interface Firmware 00006 * Copyright (c) 2009-2016, ARM Limited, All Rights Reserved 00007 * SPDX-License-Identifier: Apache-2.0 00008 * 00009 * Licensed under the Apache License, Version 2.0 (the "License"); you may 00010 * not use this file except in compliance with the License. 00011 * You may obtain a copy of the License at 00012 * 00013 * http://www.apache.org/licenses/LICENSE-2.0 00014 * 00015 * Unless required by applicable law or agreed to in writing, software 00016 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 00017 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 00018 * See the License for the specific language governing permissions and 00019 * limitations under the License. 00020 */ 00021 00022 00023 #ifndef DAPLINK_ADDR_H 00024 #define DAPLINK_ADDR_H 00025 00026 /* Device sizes */ 00027 00028 #define DAPLINK_ROM_START 0x00000000 00029 #define DAPLINK_ROM_SIZE 0x00020000 00030 00031 #define DAPLINK_RAM_START 0x1FFFF000 00032 #define DAPLINK_RAM_SIZE 0x00004000 00033 00034 /* ROM sizes */ 00035 00036 #define DAPLINK_ROM_BL_START 0x00000000 00037 #define DAPLINK_ROM_BL_SIZE 0x00008000 00038 00039 #define DAPLINK_ROM_CONFIG_ADMIN_START 0x00008000 00040 #define DAPLINK_ROM_CONFIG_ADMIN_SIZE 0x00000000 00041 00042 #define DAPLINK_ROM_IF_START 0x00008000 00043 #define DAPLINK_ROM_IF_SIZE 0x00017C00 00044 00045 #define DAPLINK_ROM_CONFIG_USER_START 0x0001FC00 00046 #define DAPLINK_ROM_CONFIG_USER_SIZE 0x00000400 00047 00048 /* RAM sizes */ 00049 00050 #define DAPLINK_RAM_APP_START 0x1FFFF000 00051 #define DAPLINK_RAM_APP_SIZE 0x00003F00 00052 00053 #define DAPLINK_RAM_SHARED_START 0x20002F00 00054 #define DAPLINK_RAM_SHARED_SIZE 0x00000100 00055 00056 /* Flash Programming Info */ 00057 00058 #define DAPLINK_SECTOR_SIZE 0x00000400 00059 #define DAPLINK_MIN_WRITE_SIZE 0x00000100 00060 00061 /* Current build */ 00062 00063 #if defined(DAPLINK_BL) 00064 00065 #define DAPLINK_ROM_APP_START DAPLINK_ROM_BL_START 00066 #define DAPLINK_ROM_APP_SIZE DAPLINK_ROM_BL_SIZE 00067 #define DAPLINK_ROM_UPDATE_START DAPLINK_ROM_IF_START 00068 #define DAPLINK_ROM_UPDATE_SIZE DAPLINK_ROM_IF_SIZE 00069 00070 #elif defined(DAPLINK_IF) 00071 00072 #define DAPLINK_ROM_APP_START DAPLINK_ROM_IF_START 00073 #define DAPLINK_ROM_APP_SIZE DAPLINK_ROM_IF_SIZE 00074 #define DAPLINK_ROM_UPDATE_START DAPLINK_ROM_BL_START 00075 #define DAPLINK_ROM_UPDATE_SIZE DAPLINK_ROM_BL_SIZE 00076 00077 #else 00078 00079 #error "Build must be either bootloader or interface" 00080 00081 #endif 00082 00083 #endif
Generated on Tue Jul 12 2022 15:37:15 by
1.7.2