aboutsummaryrefslogtreecommitdiff
path: root/nuttx-configs
diff options
context:
space:
mode:
authorJakob Odersky <jodersky@gmail.com>2015-05-14 13:04:58 +0200
committerJakob Odersky <jodersky@gmail.com>2015-05-14 13:04:58 +0200
commita0f69cb0bc4be17431849753c6f7b720cec7f6a5 (patch)
tree3683c033f076c2a23b194b9a7f5c16de15b733a3 /nuttx-configs
parente4031ca37046ada989cc92abe79329f64f885e3c (diff)
downloadpx4-firmware-a0f69cb0bc4be17431849753c6f7b720cec7f6a5.tar.gz
px4-firmware-a0f69cb0bc4be17431849753c6f7b720cec7f6a5.tar.bz2
px4-firmware-a0f69cb0bc4be17431849753c6f7b720cec7f6a5.zip
implement device id
Diffstat (limited to 'nuttx-configs')
-rwxr-xr-xnuttx-configs/trifle/scripts/ld.script5
1 files changed, 5 insertions, 0 deletions
diff --git a/nuttx-configs/trifle/scripts/ld.script b/nuttx-configs/trifle/scripts/ld.script
index 23e6a5174..c721346f3 100755
--- a/nuttx-configs/trifle/scripts/ld.script
+++ b/nuttx-configs/trifle/scripts/ld.script
@@ -69,6 +69,11 @@ SECTIONS
KEEP(*(.cfmconfig))
} > cfmprotect
+ .idconfig : {
+ __device_id = ABSOLUTE(.);
+ KEEP(*(.idconfig))
+ } > progflash
+
.text : {
_stext = ABSOLUTE(.);
KEEP(*(.text .text.*))