From fa45b86b4d7d7483025e3cbe372663f7310f6858 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Wed, 12 Jun 2013 10:56:42 -0600 Subject: [PATCH] SAM4S: Add NSH configuration. Calibrated delay loops. Port now seems fully functional --- ChangeLog | 11 +- Documentation/NuttX.html | 30 +- arch/arm/include/sam34/sam4s_irq.h | 8 +- arch/arm/src/sam34/Kconfig | 1 - arch/arm/src/sam34/chip/sam4s_vectors.h | 65 +-- arch/arm/src/sam34/sam_irq.c | 15 +- arch/arm/src/sam34/sam_vectors.S | 10 +- configs/sam4s-xplained/README.txt | 30 ++ configs/sam4s-xplained/include/board.h | 1 - configs/sam4s-xplained/nsh/Make.defs | 109 ++++ configs/sam4s-xplained/nsh/defconfig | 676 ++++++++++++++++++++++++ configs/sam4s-xplained/nsh/setenv.sh | 63 +++ configs/sam4s-xplained/ostest/defconfig | 3 +- 13 files changed, 972 insertions(+), 50 deletions(-) create mode 100644 configs/sam4s-xplained/nsh/Make.defs create mode 100644 configs/sam4s-xplained/nsh/defconfig create mode 100755 configs/sam4s-xplained/nsh/setenv.sh diff --git a/ChangeLog b/ChangeLog index 853d6ac970..3445a53c4e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -3848,7 +3848,7 @@ * configs/olimex-lpc1766stk/wlan: Remove non-functional configuration. * configs/stm32f4discovery/src and nuttx/drivers/lcd/ug-2864hsweg01.c: - Updates and correctinos for the UG-2864HSWEG01 from Darcy Gong. + Updates and corrections for the UG-2864HSWEG01 from Darcy Gong. * configs/lm326965-ek: All configurations converted to use the kconfig-frontends configuration tool. * configs/Kconfig: NSH_MMCSDSPIPORTNO should depend on MMCSD_SPI, @@ -4948,7 +4948,12 @@ * arch/arm/src/sam34: SAM3S support: GPIO, chip characteristics, peripheral Kconfig (2013-6-11). * arch/arm/src/sam34/chip/sam4s_pinmap.h: Add SAM4S pin configuration - definitinos (2013-6-11). + definitions (2013-6-11). * arch/arm/src/sam34/sam4s_periphclks.h: Add macros to manage SAM4S peripheral clocks (2013-6-11). - * configs/sam4s-xplained: Configuratino builds error-free (2013-6-11). + * configs/sam4s-xplained: Configuration builds error-free (2013-6-11). + * configs/sam4s-xplained/nsh: Added an NSH configuration for the + SAM4S Xplained board. Both the OS test and the NSH configurations + no execute error-free. Delay loops calibrated for both the SAM4L + and SAM4S boards (2013-6-12). + diff --git a/Documentation/NuttX.html b/Documentation/NuttX.html index d08327d256..25c340d487 100644 --- a/Documentation/NuttX.html +++ b/Documentation/NuttX.html @@ -8,7 +8,7 @@

NuttX RTOS

-

Last Updated: June 9, 2013

+

Last Updated: June 12, 2013

@@ -1578,7 +1578,7 @@
  • ARM926EJS (3)
  • ARM Cortex-M0/M0+ (2)
  • ARM Cortex-M3 (19)
  • -
  • ARM Cortex-M4 (8)
  • +
  • ARM Cortex-M4 (9)
  • Atmel AVR
  • Freescale @@ -2967,13 +2968,13 @@ nsh>

    Atmel AT91SAM4L. This port uses the Atmel SAM4L Xplained Pro development board. - This board features the ATSAM4LC4C MCU with 256KB of FLASH and 32KB of internal SRAM. + This board features the ATSAM4LC4C MCU running at 48MHz with 256KB of FLASH and 32KB of internal SRAM.