Arrow / Mbed OS DAPLink Reset
Embed: (wiki syntax)

« Back to documentation index

target_config.h File Reference

target_config.h File Reference

DAPLink Interface Firmware Copyright (c) 2009-2019, ARM Limited, All Rights Reserved SPDX-License-Identifier: Apache-2.0. More...

Go to the source code of this file.

Enumerations

enum  _region_flags { kRegionIsDefault = (1 << 0), kRegionIsSecure = (1 << 1) }
 

Option flags for memory regions.

More...

Functions

struct __attribute__ ((__packed__)) region_info
 Details of a target flash or RAM memory region.

Detailed Description

DAPLink Interface Firmware Copyright (c) 2009-2019, ARM Limited, All Rights Reserved SPDX-License-Identifier: Apache-2.0.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Definition in file target_config.h.


Enumeration Type Documentation

Option flags for memory regions.

Enumerator:
kRegionIsDefault 

Out of bounds regions will use the same flash algo if this is set

kRegionIsSecure 

The region can only be accessed from the secure world. Only applies for TrustZone-enabled targets.

Definition at line 38 of file target_config.h.


Function Documentation

struct __attribute__ ( (__packed__)   ) [read]

Details of a target flash or RAM memory region.

Information required to program target flash.

< Region start address.

< Region end address.

< Flags for this region from the _region_flags enumeration.

< Use with flags; will point to a different index if there is an alias region

< A pointer to the flash algorithm structure

< Target configuration version

< Sector start and length list

< Number of entries in the sectors_info array

< Flash regions

< RAM regions

< If assigned, this is a flexible board ID

< If assigned, this is a flexible family ID

< Reset after performing an erase

Definition at line 46 of file target_config.h.