This project actually builds
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2123 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
parent
e38e09fc61
commit
530d3787f9
38
configs/stm3210e-eval/RIDE/README.txt
Executable file
38
configs/stm3210e-eval/RIDE/README.txt
Executable file
@ -0,0 +1,38 @@
|
||||
README
|
||||
------
|
||||
|
||||
This directory contains a simple RIDE7 project used to bring up the
|
||||
STM3210E-EVAL board. This project includes only the STM32 boot-up
|
||||
code under arch/arm/src and configs/stm3210e-eval/src plus as little
|
||||
additional environmental support as necessary.
|
||||
|
||||
bigfatstub.c
|
||||
|
||||
The NuttX OS is not included in this project. This file contains
|
||||
stubs for all of the NuttX entry points and this replaces NuttX
|
||||
|
||||
Make.defs, defconfig, setenv.h
|
||||
|
||||
The first step to using this RIDE project is to build a compatible
|
||||
cygwin project. This will set up of the directories and produce
|
||||
all of the necessary autogenerated files.
|
||||
|
||||
cd tools
|
||||
./configure.sh stm3210e-eva/RIDE
|
||||
cd ..
|
||||
. ./setenv.sh
|
||||
make
|
||||
|
||||
nuttx.*
|
||||
|
||||
RIDE7 project files
|
||||
|
||||
stm32-nuttx.ld
|
||||
|
||||
This is the linker script that replaces the RIDE7 linker script.
|
||||
|
||||
stm32-ld.sh
|
||||
|
||||
This is a shell script that will use the RIDE7 tools to relink the
|
||||
NuttX binaries. Useful because RIDE7 does not provide much linker
|
||||
output to see what is going on.
|
@ -1,3 +1,5 @@
|
||||
#include <sys/types.h>
|
||||
#include <nuttx/irq.h>
|
||||
#include "up_internal.h"
|
||||
|
||||
void os_start(void)
|
||||
@ -5,4 +7,25 @@ void os_start(void)
|
||||
up_lowputc('X');
|
||||
up_lowputc('\n');
|
||||
for (;;);
|
||||
}
|
||||
|
||||
void up_assert_code(const ubyte *filename, int lineno, int errorcode)
|
||||
{
|
||||
up_lowputc('?');
|
||||
up_lowputc('\n');
|
||||
for (;;);
|
||||
}
|
||||
|
||||
int irq_attach(int irq, xcpt_t isr)
|
||||
{
|
||||
up_lowputc('A');
|
||||
up_lowputc('\n');
|
||||
for (;;);
|
||||
}
|
||||
|
||||
uint32 *up_doirq(int irq, uint32 *regs)
|
||||
{
|
||||
up_lowputc('I');
|
||||
up_lowputc('\n');
|
||||
for (;;);
|
||||
}
|
@ -2,17 +2,17 @@
|
||||
SEARCH_DIR(".")
|
||||
SEARCH_DIR("C:\Program Files\Raisonance\Ride\Lib\ARM")
|
||||
STARTUP("C:\cygwin\home\Owner\projects\nuttx\nuttx\arch\arm\src\stm32_vectors.o")
|
||||
INPUT("C:\cygwin\home\Owner\projects\nuttx\nuttx\configs\stm3210e-eval\RIDE\stm32_timerisr.o")
|
||||
INPUT("C:\cygwin\home\Owner\projects\nuttx\nuttx\configs\stm3210e-eval\RIDE\stm32_gpio.o")
|
||||
INPUT("C:\cygwin\home\Owner\projects\nuttx\nuttx\configs\stm3210e-eval\RIDE\stm32_irq.o")
|
||||
INPUT("C:\cygwin\home\Owner\projects\nuttx\nuttx\configs\stm3210e-eval\RIDE\stm32_lowputc.o")
|
||||
INPUT("C:\cygwin\home\Owner\projects\nuttx\nuttx\configs\stm3210e-eval\RIDE\stm32_rcc.o")
|
||||
INPUT("C:\cygwin\home\Owner\projects\nuttx\nuttx\configs\stm3210e-eval\RIDE\stm32_serial.o")
|
||||
INPUT("C:\cygwin\home\Owner\projects\nuttx\nuttx\configs\stm3210e-eval\RIDE\stm32_start.o")
|
||||
EXTERN( __io_putchar )
|
||||
EXTERN( _write )
|
||||
INPUT("STM32x_io_putchar_thumb.a")
|
||||
INPUT("e_stdio_thumb.a")
|
||||
INPUT("STM32F10x_thumb.lib")
|
||||
INPUT("C:\cygwin\home\Owner\projects\nuttx\nuttx\configs\stm3210e-eval\RIDE\bigfatstub.o")
|
||||
INPUT("C:\cygwin\home\Owner\projects\nuttx\nuttx\configs\stm3210e-eval\RIDE\up_svcall.o")
|
||||
INPUT("C:\cygwin\home\Owner\projects\nuttx\nuttx\configs\stm3210e-eval\RIDE\up_hardfault.o")
|
||||
INPUT("C:\cygwin\home\Owner\projects\nuttx\nuttx\configs\stm3210e-eval\RIDE\up_leds.o")
|
||||
INPUT("C:\cygwin\home\Owner\projects\nuttx\nuttx\configs\stm3210e-eval\RIDE\up_boot.o")
|
||||
INPUT("C:\cygwin\home\Owner\projects\nuttx\nuttx\configs\stm3210e-eval\RIDE\irq_unexpectedisr.o")
|
||||
OUTPUT("C:\cygwin\home\Owner\projects\nuttx\nuttx\configs\stm3210e-eval\RIDE\nuttx.elf")
|
||||
INCLUDE "C:\Program Files\Raisonance\Ride\lib\ARM\STM32F101_32K_32K_FLASH.ld"
|
||||
INCLUDE "C:\cygwin\home\Owner\projects\nuttx\nuttx\configs\stm3210e-eval\RIDE\stm32-nuttx.ld"
|
||||
|
Binary file not shown.
Loading…
Reference in New Issue
Block a user