diff --git a/arch/arm/include/arch.h b/arch/arm/include/arch.h index 88c0706db8..426f4b9599 100644 --- a/arch/arm/include/arch.h +++ b/arch/arm/include/arch.h @@ -44,10 +44,14 @@ * Included Files ****************************************************************************/ +#include + /**************************************************************************** * Definitions ****************************************************************************/ +#ifdef CONFIG_PIC + /* This identifies the register the is used by the processor as the PIC base * register. It is usually r9 or r10 */ @@ -82,6 +86,7 @@ do { \ ); \ } while (0) +#endif /**************************************************************************** * Inline functions diff --git a/configs/stm3210e-eval/README.txt b/configs/stm3210e-eval/README.txt index 0a2cc0b1a1..37a2c21489 100755 --- a/configs/stm3210e-eval/README.txt +++ b/configs/stm3210e-eval/README.txt @@ -95,7 +95,9 @@ IDEs on the command line. Startup files will probably cause you some headaches. The NuttX startup file - is arch/arm/src/stm32/stm32_vectors.S + is arch/arm/src/stm32/stm32_vectors.S. With RIDE, I have to build NuttX + one time from the Cygwin command line in order to obtain the pre-built + startup object needed by RIDE. NuttX buildroot Toolchain ^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -291,10 +293,10 @@ STM3210E-EVAL-specific Configuration Options CONFIG_STM32_TIM3_FULL_REMAP CONFIG_STM32_TIM3_PARTIAL_REMAP CONFIG_STM32_TIM4_REMAP - CONFIG_STM32_USART1_REMAP - CONFIG_STM32_USART2_REMAP - CONFIG_STM32_USART3_FULL_REMAP - CONFIG_STM32_USART3_PARTIAL_REMAP + CONFIG_STM32_USART1_REMAP + CONFIG_STM32_USART2_REMAP + CONFIG_STM32_USART3_FULL_REMAP + CONFIG_STM32_USART3_PARTIAL_REMAP CONFIG_STM32_SPI1_REMAP CONFIG_STM32_SPI3_REMAP CONFIG_STM32_I2C1_REMAP diff --git a/configs/stm3210e-eval/RIDE/nuttx.dbi b/configs/stm3210e-eval/RIDE/nuttx.dbi index 76dbcbc6ae..5b4cf3fca9 100755 --- a/configs/stm3210e-eval/RIDE/nuttx.dbi +++ b/configs/stm3210e-eval/RIDE/nuttx.dbi @@ -18,3 +18,5 @@ Explore=No Startup=1 StartupSymb=main ToolName=RLINK_CORTEX +[SimFile] +path=C:\Program Files\Raisonance\Ride\sim\ARM\STM32F101VET6.sim diff --git a/configs/stm3210e-eval/RIDE/nuttx.elf.ld b/configs/stm3210e-eval/RIDE/nuttx.elf.ld index cd09bda625..f3cbabde79 100755 --- a/configs/stm3210e-eval/RIDE/nuttx.elf.ld +++ b/configs/stm3210e-eval/RIDE/nuttx.elf.ld @@ -1,9 +1,8 @@ SEARCH_DIR(".") SEARCH_DIR("C:\Program Files\Raisonance\Ride\Lib\ARM") -STARTUP("C:\Program Files\Raisonance\Ride\lib\ARM\crt0_STM32x_HD.o") +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_vectors.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") diff --git a/configs/stm3210e-eval/RIDE/nuttx.rapp b/configs/stm3210e-eval/RIDE/nuttx.rapp index e47cb3c8b8..d4fdfd6d45 100755 --- a/configs/stm3210e-eval/RIDE/nuttx.rapp +++ b/configs/stm3210e-eval/RIDE/nuttx.rapp @@ -1,7 +1,6 @@ - @@ -13,35 +12,36 @@
- +
- -
- -
- -
- - -
-
-
+
+ +
+ + +
+
+ + +
+
- +
- +
+
diff --git a/configs/stm3210e-eval/RIDE/nuttx.rdb b/configs/stm3210e-eval/RIDE/nuttx.rdb index ce32c4f61c..1bea5c43d1 100755 Binary files a/configs/stm3210e-eval/RIDE/nuttx.rdb and b/configs/stm3210e-eval/RIDE/nuttx.rdb differ