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 #ifndef DAPLINK_ADDR_H 00023 #define DAPLINK_ADDR_H 00024 00025 /* Device sizes */ 00026 00027 #define DAPLINK_ROM_START 0x08000000 00028 #define DAPLINK_ROM_SIZE 0x00020000 00029 00030 #define DAPLINK_RAM_START 0x20000000 00031 #define DAPLINK_RAM_SIZE 0x00005000 00032 00033 /* ROM sizes */ 00034 00035 #define DAPLINK_ROM_BL_START 0x08000000 00036 #define DAPLINK_ROM_BL_SIZE 0x0000BC00 00037 00038 #define DAPLINK_ROM_CONFIG_ADMIN_START 0x0800BC00 00039 #define DAPLINK_ROM_CONFIG_ADMIN_SIZE 0x00000400 00040 00041 #define DAPLINK_ROM_IF_START 0x0800C000 00042 #define DAPLINK_ROM_IF_SIZE 0x00013C00 00043 00044 #define DAPLINK_ROM_CONFIG_USER_START 0x0801FC00 00045 #define DAPLINK_ROM_CONFIG_USER_SIZE 0x00000400 00046 00047 /* RAM sizes */ 00048 00049 #define DAPLINK_RAM_APP_START 0x20000000 00050 #define DAPLINK_RAM_APP_SIZE 0x00004F00 00051 00052 #define DAPLINK_RAM_SHARED_START 0x20004F00 00053 #define DAPLINK_RAM_SHARED_SIZE 0x00000100 00054 00055 /* Flash Programming Info */ 00056 00057 #define DAPLINK_SECTOR_SIZE 0x00000400 00058 #define DAPLINK_MIN_WRITE_SIZE 0x00000400 00059 00060 /* Current build */ 00061 00062 #if defined(DAPLINK_BL) 00063 00064 #define DAPLINK_ROM_APP_START DAPLINK_ROM_BL_START 00065 #define DAPLINK_ROM_APP_SIZE DAPLINK_ROM_BL_SIZE 00066 #define DAPLINK_ROM_UPDATE_START DAPLINK_ROM_IF_START 00067 #define DAPLINK_ROM_UPDATE_SIZE DAPLINK_ROM_IF_SIZE 00068 00069 #elif defined(DAPLINK_IF) 00070 00071 #define DAPLINK_ROM_APP_START DAPLINK_ROM_IF_START 00072 #define DAPLINK_ROM_APP_SIZE DAPLINK_ROM_IF_SIZE 00073 #define DAPLINK_ROM_UPDATE_START DAPLINK_ROM_BL_START 00074 #define DAPLINK_ROM_UPDATE_SIZE DAPLINK_ROM_BL_SIZE 00075 00076 #else 00077 00078 #error "Build must be either bootloader or interface" 00079 00080 #endif 00081 00082 #endif
Generated on Tue Jul 12 2022 15:37:15 by
1.7.2