Basic USART setup works

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2126 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo 2009-10-11 19:52:20 +00:00
parent 5a95e97ae3
commit 6c5304ef30
6 changed files with 73 additions and 23 deletions

View File

@ -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.

View File

@ -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/>
<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>
<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>

View File

@ -1,12 +1,18 @@
<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" >
@ -44,6 +50,32 @@
<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>
</Set>
</Config>

Binary file not shown.

View File

@ -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

View File

@ -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: