summaryrefslogtreecommitdiff
path: root/nuttx/configs/shenzhou/scripts
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-09-22 14:06:47 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-09-22 14:06:47 +0000
commitb3da63f487b2ccc69afd9610e0a6082d8482df56 (patch)
treec56449217153b2e4274169aacbcd5d0a3d6b552f /nuttx/configs/shenzhou/scripts
parent23bb449f09e8044736e257cde80e07473216a30e (diff)
downloadpx4-nuttx-b3da63f487b2ccc69afd9610e0a6082d8482df56.tar.gz
px4-nuttx-b3da63f487b2ccc69afd9610e0a6082d8482df56.tar.bz2
px4-nuttx-b3da63f487b2ccc69afd9610e0a6082d8482df56.zip
Correct Shenzhou LED controls
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5174 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs/shenzhou/scripts')
-rw-r--r--nuttx/configs/shenzhou/scripts/ld.script12
-rw-r--r--nuttx/configs/shenzhou/scripts/ld.script.dfu12
2 files changed, 12 insertions, 12 deletions
diff --git a/nuttx/configs/shenzhou/scripts/ld.script b/nuttx/configs/shenzhou/scripts/ld.script
index 14f924bae..f07d4432d 100644
--- a/nuttx/configs/shenzhou/scripts/ld.script
+++ b/nuttx/configs/shenzhou/scripts/ld.script
@@ -63,6 +63,12 @@ SECTIONS
_etext = ABSOLUTE(.);
} > flash
+ __exidx_start = ABSOLUTE(.);
+ .ARM.exidx : {
+ *(.ARM.exidx*)
+ } >flash
+ __exidx_end = ABSOLUTE(.);
+
_eronly = ABSOLUTE(.);
/* The STM32F107VC has 64Kb of SRAM beginning at the following address */
@@ -79,12 +85,6 @@ SECTIONS
*(.ARM.extab*)
} >sram
- __exidx_start = ABSOLUTE(.);
- .ARM.exidx : {
- *(.ARM.exidx*)
- } >sram
- __exidx_end = ABSOLUTE(.);
-
.bss : {
_sbss = ABSOLUTE(.);
*(.bss .bss.*)
diff --git a/nuttx/configs/shenzhou/scripts/ld.script.dfu b/nuttx/configs/shenzhou/scripts/ld.script.dfu
index 53e3ee4fc..b9d94c7a0 100644
--- a/nuttx/configs/shenzhou/scripts/ld.script.dfu
+++ b/nuttx/configs/shenzhou/scripts/ld.script.dfu
@@ -65,6 +65,12 @@ SECTIONS
_etext = ABSOLUTE(.);
} > flash
+ __exidx_start = ABSOLUTE(.);
+ .ARM.exidx : {
+ *(.ARM.exidx*)
+ } >flash
+ __exidx_end = ABSOLUTE(.);
+
_eronly = ABSOLUTE(.);
/* The STM32F107VC has 64Kb of SRAM beginning at the following address */
@@ -81,12 +87,6 @@ SECTIONS
*(.ARM.extab*)
} >sram
- __exidx_start = ABSOLUTE(.);
- .ARM.exidx : {
- *(.ARM.exidx*)
- } >sram
- __exidx_end = ABSOLUTE(.);
-
.bss : {
_sbss = ABSOLUTE(.);
*(.bss .bss.*)