Skip to content

Commit ec28cd7

Browse files
author
Amanda Butler
authored
Update mbed_targets.md
Update device_name section with more recent content from mbed-os / docs
1 parent b82d15c commit ec28cd7

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

docs/advanced/mbed_targets.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -167,9 +167,7 @@ The hook code can look quite different for different targets. Take a look at the
167167

168168
## device_name
169169

170-
Passes necessary data for exporting the mbed code to various third party tools and IDEs.
170+
This property is used to pass necessary data for exporting the mbed code to various third party tools and IDEs.
171171

172-
This is possible because the device name corresponds to a field in publicly hosted CMSIS packs. These packs hold target properties. [This](http://www.keil.com/pack/Keil.Kinetis_K20_DFP.pdsc) is the PDSC that contains the TEENSY_31 device (MK20DX256xxx7). The device information begins on line 156. The dname (device name) field on line 156 directly corresponds to that in the Uvision5 IDE target selection window. Beginning on line 15 of `tools/export/uvision/uvision.tmpl`, target information from these packs is used to generate valid Uvision5 projects. If the device name is not found, we use a generic ARM CPU target in Uvision5.
173-
174-
`tools/export/iar/iar_definitions.json` uses this device name to store information necessary to set the target in an IAR project.
172+
Please see [exporters.md](exporters.md) for information about this field.
175173

0 commit comments

Comments
 (0)