summaryrefslogtreecommitdiff
path: root/nuttx/configs
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2009-10-11 19:52:20 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2009-10-11 19:52:20 +0000
commit58278ea5cfe0d7bf7bdba285052d506c6cc677f3 (patch)
tree4455652298bcc4d204d17222dddd709481252b4c /nuttx/configs
parentdbda6f5f4a9f9175500e1db3641245be6f9fd3ac (diff)
downloadpx4-nuttx-58278ea5cfe0d7bf7bdba285052d506c6cc677f3.tar.gz
px4-nuttx-58278ea5cfe0d7bf7bdba285052d506c6cc677f3.tar.bz2
px4-nuttx-58278ea5cfe0d7bf7bdba285052d506c6cc677f3.zip
Basic USART setup works
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2126 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs')
-rwxr-xr-xnuttx/configs/stm3210e-eval/README.txt3
-rwxr-xr-xnuttx/configs/stm3210e-eval/RIDE/nuttx.ctx27
-rwxr-xr-xnuttx/configs/stm3210e-eval/RIDE/nuttx.rapp50
-rwxr-xr-xnuttx/configs/stm3210e-eval/RIDE/nuttx.rdbbin114688 -> 116736 bytes
-rw-r--r--nuttx/configs/stm3210e-eval/ostest/Make.defs2
-rwxr-xr-xnuttx/configs/stm3210e-eval/ostest/defconfig2
6 files changed, 67 insertions, 17 deletions
diff --git a/nuttx/configs/stm3210e-eval/README.txt b/nuttx/configs/stm3210e-eval/README.txt
index 37a2c2148..b36d4f20b 100755
--- a/nuttx/configs/stm3210e-eval/README.txt
+++ b/nuttx/configs/stm3210e-eval/README.txt
@@ -346,4 +346,7 @@ Where <subdir> is one of the following:
This configuration directory, performs a simple OS test using
examples/ostest.
+ RIDE
+ This configuration builds a trivial bring-up binary. It is
+ useful only because it words with the RIDE7 IDE and R-Link debugger.
diff --git a/nuttx/configs/stm3210e-eval/RIDE/nuttx.ctx b/nuttx/configs/stm3210e-eval/RIDE/nuttx.ctx
index 8dad95fea..eaa41d318 100755
--- a/nuttx/configs/stm3210e-eval/RIDE/nuttx.ctx
+++ b/nuttx/configs/stm3210e-eval/RIDE/nuttx.ctx
@@ -1,11 +1,11 @@
<Debug>
- <Views/>
+ <FindStrings/>
+ <ReplaceStrings/>
<nuttx>
- <MemoryView Focus="4294967294" TopRow="0" NbPerLine="8" />
- <MemoryView Focus="4294967294" TopRow="0" NbPerLine="8" />
- <CodeView Focus="4294967294" TopRow="0" NbPerLine="8" />
- <CodeView Focus="4294967294" TopRow="0" NbPerLine="8" />
+ <CodeView TopRow="134220190" Focus="4294967295" />
+ <CodeView TopRow="134220190" Focus="4294967295" />
+
</nuttx>
<Flags>
<Report>
@@ -18,8 +18,23 @@
<Col Type="PT_STRING" Header="Condition" sizeCache="DDDDDDDDDDDDDDDDDDDDDDDD" AutoSize="1" Edit="0" Sortable="0" />
<Col Type="PT_STRING" Header="Line" sizeCache="DDDDDD" AutoSize="1" Edit="0" Sortable="1" Visible="1" />
<Col Type="PT_STRING" Header="Path" sizeCache="DDDDDDDDDDDDDDDDDDDD" AutoSize="1" Edit="0" Sortable="1" Visible="1" />
+
+ </Def>
+ <Rows>
+ <Row Check="True" Kind="Breakpoint" KindID="0" Space="code" SpaceID="0" Condition="" Line="L:148" Path="C:\cygwin\home\Owner\projects\nuttx\nuttx\arch\arm\src\stm32\stm32_start.c" />
+
+ </Rows>
+
+ </Report>
+
+ </Flags>
+ <Views/>
+</Debug>AutoSize="1" Edit="0" Sortable="1" Visible="1" />
+ <Col Type="PT_STRING" Header="Path" sizeCache="DDDDDDDDDDDDDDDDDDDD" AutoSize="1" Edit="0" Sortable="1" Visible="1" />
</Def>
- <Rows/>
+ <Rows>
+ <Row Check="True" Kind="Breakpoint" KindID="0" Space="code" SpaceID="0" Condition="" Line="L:148" Path="C:\cygwin\home\Owner\projects\nuttx\nuttx\arch\arm\src\stm32\stm32_start.c" />
+ </Rows>
</Report>
</Flags>
</Debug> \ No newline at end of file
diff --git a/nuttx/configs/stm3210e-eval/RIDE/nuttx.rapp b/nuttx/configs/stm3210e-eval/RIDE/nuttx.rapp
index d4fdfd6d4..3a57d815d 100755
--- a/nuttx/configs/stm3210e-eval/RIDE/nuttx.rapp
+++ b/nuttx/configs/stm3210e-eval/RIDE/nuttx.rapp
@@ -1,47 +1,79 @@
<ApplicationBuild Header="nuttx" Extern=".\nuttx.rapp" Path=".\nuttx.rapp" OutputFile=".\nuttx.elf" sate="98" >
- <NodeC Path="..\..\..\arch\arm\src\stm32\stm32_timerisr.c" Header="stm32_timerisr.c" Marker="-1" OutputFile=".\stm32_timerisr.o" sate="0" />
<NodeC Path="..\..\..\arch\arm\src\stm32\stm32_gpio.c" Header="stm32_gpio.c" Marker="-1" OutputFile=".\stm32_gpio.o" sate="0" />
<NodeC Path="..\..\..\arch\arm\src\stm32\stm32_irq.c" Header="stm32_irq.c" Marker="-1" OutputFile=".\stm32_irq.o" sate="0" />
<NodeC Path="..\..\..\arch\arm\src\stm32\stm32_lowputc.c" Header="stm32_lowputc.c" Marker="-1" OutputFile=".\stm32_lowputc.o" sate="0" />
<NodeC Path="..\..\..\arch\arm\src\stm32\stm32_rcc.c" Header="stm32_rcc.c" Marker="-1" OutputFile=".\stm32_rcc.o" sate="0" />
<NodeC Path="..\..\..\arch\arm\src\stm32\stm32_serial.c" Header="stm32_serial.c" Marker="-1" OutputFile=".\stm32_serial.o" sate="0" />
<NodeC Path="..\..\..\arch\arm\src\stm32\stm32_start.c" Header="stm32_start.c" Marker="-1" OutputFile=".\stm32_start.o" sate="0" />
+ <NodeC Path=".\bigfatstub.c" Header="bigfatstub.c" Marker="-1" OutputFile=".\bigfatstub.o" sate="0" />
+ <NodeC Path="..\..\..\arch\arm\src\cortexm3\up_svcall.c" Header="up_svcall.c" Marker="-1" OutputFile=".\up_svcall.o" sate="0" />
+ <NodeC Path="..\..\..\arch\arm\src\cortexm3\up_hardfault.c" Header="up_hardfault.c" Marker="-1" OutputFile=".\up_hardfault.o" sate="0" />
+ <NodeC Path="..\src\up_leds.c" Header="up_leds.c" Marker="-1" OutputFile=".\up_leds.o" sate="0" />
+ <NodeC Path="..\src\up_boot.c" Header="up_boot.c" Marker="-1" OutputFile=".\up_boot.o" sate="0" />
+ <NodeC Path="..\..\..\sched\irq_unexpectedisr.c" Header="irq_unexpectedisr.c" Marker="-1" OutputFile=".\irq_unexpectedisr.o" sate="0" />
+ <NodeC Path="..\..\..\lib\lib_memcpy.c" Header="lib_memcpy.c" Marker="-1" OutputFile=".\lib_memcpy.o" sate="0" />
<Options>
<Config Header="Standard" >
<Set Header="ApplicationBuild" >
<Section Header="General" >
<Property Header="TargetFamily" Value="ARM" />
-
+
</Section>
<Section Header="Directories" >
<Property Header="IncDir" Value=".;C:\cygwin\home\Owner\projects\nuttx\nuttx\arch\arm\src\common;C:\cygwin\home\Owner\projects\nuttx\nuttx\arch\arm\src\cortexm3;C:\cygwin\home\Owner\projects\nuttx\nuttx\arch\arm\src\stm32;C:\cygwin\home\Owner\projects\nuttx\nuttx\include;C:\cygwin\home\Owner\projects\nuttx\nuttx\sched" Removable="1" />
-
+
</Section>
-
+
</Set>
<Set Header="Target" >
<Section Header="ProcessorARM" >
<Property Header="Processor" Value="STM32F101VET6" />
-
+
</Section>
<Section Header="ToolSetARM" >
<Property Header="BuildToolSetARM" Value="ARM\\GNU.config" Removable="1" />
-
+
</Section>
-
+
</Set>
<Set Header="AS" >
<Section Header="Options" >
<Property Header="More" Value="-D __ASSEMBLY__" />
-
+
</Section>
-
+
</Set>
<Set Header="LD" >
<Section Header="Startup" >
<Property Header="DEFAULTSTARTUP" Value="No" Removable="1" />
<Property Header="File" Value="C:\cygwin\home\Owner\projects\nuttx\nuttx\arch\arm\src\stm32_vectors.o" Removable="1" />
+
+ </Section>
+ <Section Header="More" >
+ <Property Header="More" Value="-nostdlib" />
+
+ </Section>
+ <Section Header="LIB" >
+ <Property Header="STLIB" Value="0" Removable="1" />
+ <Property Header="UART0PUTC" Value="0" Removable="1" />
+ <Property Header="SMALLP" Value="0" Removable="1" />
+
+ </Section>
+ <Section Header="Scripts" >
+ <Property Header="SCRIPTFILES" Value="No" Removable="1" />
+ <Property Header="File" Value="C:\cygwin\home\Owner\projects\nuttx\nuttx\configs\stm3210e-eval\RIDE\stm32-nuttx.ld" Removable="1" />
+
+ </Section>
+ <Section Header="Linker" >
+ <Property Header="GC_SECTIONS" Value="" Removable="1" />
+
+ </Section>
+
+ </Set>
+ <Set Header="GCC" >
+ <Section Header="More" >
+ <Property Header="More" Value="-nostdinc" />
</Section>
diff --git a/nuttx/configs/stm3210e-eval/RIDE/nuttx.rdb b/nuttx/configs/stm3210e-eval/RIDE/nuttx.rdb
index bba763865..5a4c7145c 100755
--- a/nuttx/configs/stm3210e-eval/RIDE/nuttx.rdb
+++ b/nuttx/configs/stm3210e-eval/RIDE/nuttx.rdb
Binary files differ
diff --git a/nuttx/configs/stm3210e-eval/ostest/Make.defs b/nuttx/configs/stm3210e-eval/ostest/Make.defs
index 773b3e71c..2940b86fd 100644
--- a/nuttx/configs/stm3210e-eval/ostest/Make.defs
+++ b/nuttx/configs/stm3210e-eval/ostest/Make.defs
@@ -37,7 +37,7 @@ include ${TOPDIR}/.config
# Setup for the selected toolchain
-ifeq ($(CONFIG_STM32_DFU)y)
+ifeq ($(CONFIG_STM32_DFU),y)
LDSCRIPT = ld.script.dfu
else
LDSCRIPT = ld.script
diff --git a/nuttx/configs/stm3210e-eval/ostest/defconfig b/nuttx/configs/stm3210e-eval/ostest/defconfig
index 7c5afbdf7..f490ea9fc 100755
--- a/nuttx/configs/stm3210e-eval/ostest/defconfig
+++ b/nuttx/configs/stm3210e-eval/ostest/defconfig
@@ -92,7 +92,7 @@ CONFIG_STM32_CODESOURCERY=n
CONFIG_STM32_DEVKITARM=n
CONFIG_STM32_RAISONANCE=n
CONFIG_STM32_BUILDROOT=y
-CONFIG_STM32_DFU=n
+CONFIG_STM32_DFU=y
#
# Individual subsystems can be enabled: