Skip to content
ChangeLog 545 KiB
Newer Older
	* arch/arm/src/sam34/sam_spi.c:  Fix SPI mode setting.  In the SAM3/4
	  family, the clock phase control (CPHA) is inverted (NPHA) (2013-6-18).
	* arch/arm/src/kl/chip/kl_tsi.h: Freescale KL25Z TSI register
	  definitions from Alan Carvalho de Assis (2013-6-18).
	* configs/freedom-kl25z/src/kl_tsi.c:  Example TSI driver for the
	  Freedom KL25Z board from Alan Carvalho de Assis (2013-6-18).
	* arch/arm/src/sam34/sam_spi.c:  Correct an incorrect pointer test.
	  Was checking if the wrong pointer was NULL (2013-6-18).
	* arch/arm/src/kl/kl_spi.c and chip/kl_spi.h:  Add SPI driver and
	  register definitions for the Freescale KL25Z (2013-6-19).
	* arm/src/sam34/chip/sam4l_lcdca.h:  Register definition file for
	  the SAM4L LCD peripheral (2013-6-19).
	* arm/src/sam34/chip/sam_spi.h:  SPI register definition file updated
	  to include a few differences for the SAM4L (2013-6-19)
	* arm/src/sam34/chip/sam4l_pdca.h: Add SAM4L PDCA register definition
	  file; also renamed sam_dmac.* files to sam3u_dmac.* to identify
	  them as SAM4U/4S only files (2013-6-19).
	* configs/freedom-lk25z/src/kl_spi.c:  Add the framework for
	  controlling SPI-related discrete inputs and outputs.  Taken from
	  work by Alan Carvalho de Assis (2013-6-20).
	* arch/arm/src/kl/kl_dumpgpio.c:  Now compiles (2013-6-20).
	* configs/:  Several defconfig files were changed that had
	  CONFIG_HAVE_CXXINITIALIZE=y.  Because of recent changes to
	  apps/examples, these configurations may need to have
	  CONFIG_EXAMPLES_NSH_CXXINITIALIZE=y so that they behave as they did
	  before, i.e., so that C++ initializers will be called when NSH starts
	  up (2013-6-21).
	* configs/sam4l-xplained/src/sam_slcd.c:  Beginning of a driver for the
	  LED1 segment LCD module.  This driver is incomplete on initial check-
	  in (2013-6-21).
Gregory Nutt's avatar
Gregory Nutt committed
	* drivers/net/enc28j60.c:  Change buffer ordering to work around Errata
	  #5.  From Dave (ziggurat29, 2013-6-22).
	* configs/sam4l-xplained/src/sam_slcd.c:  LED1 segment LCD module is now
	  functional (2013-6-23).
	* drivers/lcd/ssd1306.c and include/nuttx/lcd/ssd1306.h.  Renamed
	  ug-2864hsweg01.c and .h to ssd1306.c and .h.  Extended to support the
	  UG-2832HSWEG04 which is very similar and also based on the SSD1306
	  controller (2013-6-23).
	* configs/sam4l-xplained/src/sam_ug2832hsweg04.c: Add support for the
	  UG-2832HSWEG04 OLED on the SAM4L Xplained Pro's OLED1 module
	  (2013-6-23).
	* include/debug.h:  Added macro DEBUGPANIC for forces crashes when debug
	  is enabled.
	* drivers/lcd/ssd1306.c:  Driver now appears to be function for the
	  UG-2832HSWEG04 in landscape mode (2013-6-24).
	* drivers/lcd/ug-2864ambag01.c and ug-9664hswag01.c:  Add/updated
	  support for reverse portrait mode from lessons learned with the
	  UG-2832HSWEG04.  Untested changes! (2013-6-24).
	* arch/arm/src/stm32/stm32_ccm.c and .h:  Add support for a seperate CCM
	  heap.  This may be useful for segregating allocations for CCM (which
	  cannot be used for DMA) from other allocations (that may be used used
	* arch/arm/src/sam32/sam3u_gpio.h:  Correct configuration of PIO pins
	  for SAM4S B and C peripherals (2013-6-26)
	* configs/sam4s-xplained/src/sam_sram.c:  Added support for on-board
	  1MB SRAM (2013-6-26).
	* arch/arm/include/sam34/chip.h and sam3x_irq.h:  Add support for
	  SAM3X and SAM3A chips (2013-6-26).
	* arch/arm/src/sam34/chip/sam3x_vectors.h:  Add support for SAM3X/3A
	  interrupt vectors (2013-6-26).
	* arch/arm/src/sam34/sam3x_periphclks.h:  Add peripheral clock
	  controls for the SAM3X/3A (2013-6-26).
	* arch/arm/src/sam34/chip/sam3x_memorymap.h:  Add SAM3X/3A memory map
	  (2013-6-26).
	* arch/arm/src/sam34/chip/sam3x_pinmap.h:  Add SAM3X/3A pin
	  multi-plexing definitions (2013-6-26).
	* arch/arm/src/sam34/sam3x_gpio.h:  Add SAM3X/3A gpio encoding
	  macros.  These differ from the SAM3U only in because of the
	  6 PIOs:  PIOA-PIOF (2013-6-26).
	* configs/arduino-due:  This is an empty directory now with only
	  a README file in it but this directory will eventually hold a port
	  for the Arduino Due (2013-6-26).
	* arch/arm/src/sam34/Kconfig:  Add SAM3X/3A peripherals to the SAM3/4
	  configuration logic (2013-6-26).
	* arch/arm/src and include/ and configs/sam*/:  Large rename of all
	  references to SPI with SPI0.  This is because all other SAMs have
	  only SPI but the 3X/3A have SPI0 and SPI1 (2013-6-26).
	* configs/arduino-due:  Complete the basic board configuration and
	  integrate this into the configuration and build system.  The Arduino
	  Due is now ready to begin test (2013-6-17).
	* configs/arduino-due/nsh:  Add an NSH configuration for the Arduino
	  Due.  Both the OS test and NSH configuration are now functional
	  (2013-6-28).
	* configs/arduino-due/src:  Add support for the "L" LED (2013-6-28).
	* arch/arm/src/sam34/sam_allocateheap.c:  Clocking must be applied
	  to the SMC module for the 3X and 3A family in order for the NFC
	  SRAM to be functional (2013-6-28).
	* arch/arm/src/sam34/sam3u_gpio.c:  Need to disable write
	  protection before configuring PIO pins.
	* configs/sam3u-ek/nsh:  The touchscreen is now functional.  The above
	  fix to the sam3u_gpio.c write protection also fixed the touchscreen
	  problem (2013-6-28).
	* confgis/sam3u_ek/nxwm:  Created a configuration for the NxWM
	  window manager for the SAM3U-EK board (2013-6-29).
	* drivers/spi and include/nuttx/spi:  New sub-directories to hold
	  SPI-related files.  includes/nuttx/spi.h moved to include/nuttx/spi/.;
	  SPI-related Kconfig info moved from drivers/Kconfig to drivers/spi/kconfig
	  (2013-7-1).
	* drivers/spi/spi_bitbang.c and include/nuttx/spi/spi_bitbang.h:  Add
	  support for a generic bit-bang SPI driver.  This checkout is the
	  common upper-half logic.  Still missing the lower half (2013-7-1).
	* include/nuttx/spi/spi_bitbang.c:  This is the common lower-half bit-
	  bang SPI logic (2013-7-1).
	* configs/arduino-due/src/sam_nsh.c and sam_mmcsd.c:  Add NSH customize
	  initialization.  If so configured, initialize the SPI bit bang
	  interface to the MMC/SD slot on the ITEAD shield (2013-7-1).
	* fs/fs_mount.c:  Fix compilation error if no file systems are enabled:
	  Change error to ERROR (2013-7-3).
	* arch/arm/src/sam34/sam_gpioirq.c:  Fix some errors for interrupts
	  on ports D-F (2013-7-3).
	* /drivers/usbdev/composite.c: Fix a typo in the composite device
	  driver unitialization logic.  DEV1 should be DEV2 in one case
	  (2013-7-4).
	* arch/arm/src/sam34/sam3u_gpio.c:  sam_configgpio() must protect
	  against re-entrancy (2013-7-5).
Gregory Nutt's avatar
Gregory Nutt committed
	* libc/misc/lib_crc16.c and include/crc16.h:  Add CRC16 support
	  (2013-7-7).
	* arch/arm/src/stm32/stm32_otgfsdev.c:  SourceForge bug #16:  Fix
	  to the endpoint allocation logic.  Apparently the same endpoint can
	  be allocated as both an IN or an OUT endpoint.  The existing
	  implementation only supported one allocation, either IN or OUT.  This
	  resulted in failures to allocate enpoints when used with the CDC/ACM +
	  MSC composite driver (From Chia Cheng Tsao, 2013-7-8).
	* arch/arm/src/stm32/stm32_sdio.c:  SourceForge bug #17:  Add
	  support for the data block end (DBCKEND) interrupt to terminate
	  transfers (From Chia Cheng Tsao, 2013-7-8)
	* drivers/rwbuffer.c: SourceForge bug #17: Correct typos that can cause
	  failures in some configurations (From Chia Cheng Tsao, 2013-7-8).
	* include/nuttx/usb/usbdev.h: Fix some typos that cause compiler errors
	  when CONFIG_USBDEV_DMA and CONFIG_USBDEV_DMAMEMORY are selected (From
	  Chia Cheng Tsao, 2013-7-12).
	* nuttx/configs/olimex-lpc1766stk/zmodem:  Add a new configuration to
	  test the Zmodem sz and rz commands (which don't actually exist yet,
	  but will). (2013-7-12).
	* arch/arm/include/armv7-a and src/armv7-a:  Beginning to add support
	  for the ARMv7-A, the Cortex-A5 in particular.  The initial checkin
	  is only fragmentary:  A few header files and some copied ARM9
	  assembly files.  More to come (2013-7-18).
	* arch/arm/include/sama5, arch/arm/src/sama5, and configs/sama5d3x-e:
	  Add a directory framework to support the Atmel AT91SAMA5D3 family and
	  the SAMA5D3x-EK board(s) in particular.  There is very little here on
	  the first check-in, this structure is being used now primarily to
	  create the Cortex-A5 support (2013-7-19).
	* arch/arm/src/armv7-a/arm_cache.S:  Cortex-A5 cache operations
	  (2013-7-20).
	* /arch/arm/src/armv7-a/arm_fpuconfig.S and fpu.h: A few more files for
	  the ARMv7-A/Cortex-A5 port (2013-7-21).
	* arch/arm/src/sama5/sam_boot.c, sam_clockconfig.h, sam_lowputc.h, and
	  sam_timerisr.c:  A few  more files for the SAMA5D3 port (2013-7-21).
	* configs/sama5d3x-ek/src/sam_autoleds.c:  A few more files for the port
	  to the SAMA5D3x-EK board (2013-7-21).
	* arch/arm/src/sama5/sam_irq.c: SAMA5 interrupt handling logic
	  (2013-7-22).
	* arch/arm/src/sama5/sam_clockconfig.c:  Add SAMA5 PLL configuration
	  logic (plus associated header files).  Initiali checkin is for the
	  SAM3U which is very similar but needs to be verified (2013-7-22).
	* arch/arm/src/sama5/sam_periphclks.h:  Add macros to enable and
	  disable SAMA5 peripheral clocks (2013-7-22).
	* arch/arm/src/sama5/sam_lowputc.c and sam_serial.c:  Add support
	  for SAMA5 UARTs.  Does not even compile as of initial checkin.
	  (2013-7-22).
	* arch/arm/src/sama5/sam_gpio.c:  Add GPIO configuration support
	  for the SAMA5.  Still compilation issues.  (2013-7-22).
	* arch/arm/src/sama5/chip/sama5d3x_pinmap.h:  Add pin multiplexing
	  definitions for the SAMA5D3 (2013-7-23).
	* arch/arm/src/sama5/chip/:  New header files for SAMA5 AXI Matrix
	  SFR, and BSC blocks (2013-7-23).
	* arch/arm/src/armv7-a/arm_vectors.S:  Force 8-byte stack alignment
	  in interrupt handlers before calling C code.  Other ARM
	  architectures need to do this as well (2013-7-23).
	* arm/src/armv7-m/up_copyarmstate.c and armv7-a/up_copyarmstate.c:
	  Added a new form of the register copy function that should save quit a
	  bit of time for armv7-m (without common vectors) and with armv7-a
	  (2013-7-23).
	* arch/arm/src/armv7-a/arm_restorefpu.S, arm_savefpu.S, arm_doirq.c,
	  arm_fullcontextrestore.S, arm_saveusercontext.S:  Add hardware
	  floating point register save/restore logic for the Cortex-A5
	* arch/Kconfig:  Attempt at generic external memory configuration is not
	  flexible enough, especially for the SAMA5.  Move external memory
	  configuration options from arch/Kconfig to
	  arch/arm/src/lpc17xx/Kconfig, lpc31xx/Kconfig, sam34/Kconfig, and
	  sama5/Kconfig and renamed each from CONFIG_ARCH_ to, for example,
	  CONFIG_LPC31_.  This renaming also affect many defconfig files
	  (2013-7-24).
	* arch/arm/src/sama5/Kconfig and sam_allocateheap.c:  Set up
	  configuration options for SAMA5 external memory regions; add a custom
	  sam_allocateheap.c to add the various configured memory regions to the
	  heap (2013-7-24).
	* configs/sama5d3x-ek/src/sam_buttons.c, sam_userleds.c, and
	  sam_autoleds.c:  Add support for the buttons and LEDs on-board the
	  SAMA5D3x-EK (2013-7-24).
	* configs/sama5d3x-ek/ostest/defconfig:  Switch console to USART1
	  (2013-7-4).
	* arch/arm/src/sam34/Kconfig and drivers/serial/Kconfig:  All serial
	  configuration logic for USARTs needs to depend on if the USART is
	  configured as a UART or not.  And this is for all CPUS, not just
	  SAM3/4 (2013-7-24).
	* arch/arm/src/arm/up_head.S and arch/arm/src/armv7-a/arm_head.S:
	  Fix a bug (uninitialized register error) that crept in the ARM9
	  boot-up code several years ago and was cloned into the Cortex-A5
	  code.  Obviously no one has used the ARM9 NuttX port for years!
	* Many files:  Finally... I changed the naming of configuration
	  variables like CONFIG_DRAM_ to CONFIG_RAM_.  This has bothered
	  me for a long time since most boards don't have DRAM.  The more
	  generic RAM naming should not produce so much cognitive dissonance
	  (2013-7-26).
	* configs/sama5d3x-ek/hello:  Added a tiny hello world configuration
	  to simplify bring up of the SAMA5 (it will probably be removed
	  later) (2013-7-26).
	* The sama5d3x-ek/hello now runs correctly (2013-7-28).
	* configs/sama5d3x-ek/ostest/:  This configuration has been modified
	  to run out NOR flash.  More work is still needed to reconfigure the
	  SMC so that the NOR flash can work with the high clock (2013-7-28).
	* arch/arm/src/sama5/sam_clockconfig.c/h and
	  configs/sama5d3x-ek/src/sam_norflash.c:  Add a file structure that
	  will (eventually) support reconfiguration of NOR flash when NuttX
	  boots from NOR FLASH (2013-7-29).
	* arch/arm/src/sama5/chip/sam_hsmc/h:  SAMA5 HSMC register
Gregory Nutt's avatar
Gregory Nutt committed
	  definition file (2013-7-29)
	* configs/sama5d3x-ek/src/sam_norflash.c:  Add board specific
	  logic to re-configure the SAMA5D3x-EK NOR FLASH before while
	  running out of NOR FLASH.  We need to change the NOR FLASH
	  timing BEFORE increasing the main clock (2013-7-29).
	* configs/sama5d3-ek/norboot and src/nor_main.c:  The norboot
	  configuration to help debug NuttX in NOR flash.  It runs
	  out of ISRAM, configures NOR FLASH, then waits for you to
	  break in with a debugger to start the program in NOR FLASH
	  (2013-7-29).
	* arch/arm/src/armv7-a/arm_cache.S:  Separate the bigger cache
	  operations into separater files (2013-7-29).
	* arch/arm/src/stm32/stm32_dac.c:  Fixed numerous DAC driver
	  errors and added support for DAC DMA (contributed by John
	  Wharington, 2013-7-30).
	* arch/arm/src/stm32/stm32f30xx_i2c.c:  An I2C driver for
	  the STM32 F3 family from John Wharington (2013-7-30).
	* arch/arm/include/armv7-m:  Add irqdisable() (2013-7-30);
	* configs/sama5d3-ek/src/nor_main.c:  Now disables interrupts
	  before jumping to NOR flash (2013-7-30).
	* configs/sama5d3-ek/nsh:  Add an NSH configuration for the
	  SAMA5D3x-EK (2013-7-31)
	* configs/sama5d3-ek/src/sam_cxxinitialize.c:  Add C++ support
	  (2013-7-31).
Gregory Nutt's avatar
Gregory Nutt committed
6.30 2013-09-14 Gregory Nutt <gnutt@nuttx.org>

	* arch/arm/src/sama5/arm_pghead.S:  Separate the logic that is
	  enabled by CONFIG_PAGING out of arm_head.S.  That was just
	  too much conditional compilation to be supportable
	  (2013-8-1).
	* arch/arm/src/sama5/arm_head.S: Setup page table mappings for
	  all of .text, .bss, .data, stacks and heap before enabling
	  the MMU and caching.  This is safer because it avoids the
	  caching issues (and much less redundant) (2013-8-1)
	* arch/arm/src/sama5/chip/sam_mpddrc.h:  Add DDR controller
	  registers definitions for the SAMA5 (2013-8-1).
	* nuttx/configs/sama5d3x-ek/src/sam_sdram.c:  Add logic which
	  will (eventually) support the SDRAM on the SAMA5D3x-EK
	  board.  Initial commit is untested and incomplete (2013-8-1).
	* arch/arm/src/armv7-a/arm_mmu.c:  Move some generic MMU logic
	  out of SAMA5-specific code into this share-able file (2013-8-2)
	* arch/arm/src/armv7-a/mmu.h:  Add inline functions to invalidate
	  a single TLB.
	* arch/arm/src/sama5/sam_allocateheap.c and chip/sama5d3x_memorymap.h:
	  Add logic to handle signed overflow when a memory region is
	  greater than or equal to 2GB (2013-8-2).
	* arch/arm/src/sama5/sam_boot.c:  Boot logic now initially
	  configures DRAM as strongly ordered so that it can be initialized.
	  After initialization, the page table entries are modified so
	  that DRAM is fully cache-able (2018-8-2).
	* arch/arm/src/sama5/chip/sam_mpddrc.h:  Correct typos in the
	  SAMA5 DDR controller register definitions (2013-8-2).
	* arch/arm/src/sama5/sam_irq.c:  Correct handling of spurious
	  interrupts (2013-8-3).
	* arch/*/src/*/*_irq.c:  Standardize configuration variables used
	  to enable interrupt controller debug output (2013-8-3).
	* arch/arm/src/sama5/chip/sam_dmac.h: Add register definitions for the
	  SAMA5 DMA controller (2013-8-3).
	* arch/arm/src/sama5/sam_dmac.c and sam_dmac.h:  Add support for the
	  SAMA5 DMAC controllers.  Initial check-in is untested and is a
	  straight leverage from the SAM3/4 (2013-8-4).
	* arch/arm/src/sama5/sam_spi.c, sam_spi.h, and chip/sam_spi.h:
	  Leverage SPI support from SAM/3/4.  Initial check-in is untested
	  and have several limitations:  No DMA, no SPI1 support (2013-8-4).
	* arch/arm/src/sama5/sam_spi.c and sam_spi.h:  Now supports SPI1
	  and a register access debug option (2013-8-4).
	* configs/sama5d3x-ek/src/sam_spi.c:  Add board support for the
	  AT25 serial flash (2013-8-4).
	* configs/sama5d3x-ek/nsh/defconfig:  FAT file system support is
	  now enabled by default (2013-8-5)
Gregory Nutt's avatar
Gregory Nutt committed
	* configs/sama5d3x-ek/src/sam_nsh.c:  Automatically mount AT25
	  file system for NSH if so configured (2013-8-5).
Gregory Nutt's avatar
Gregory Nutt committed
	* configs/sama5d3x-ek/src/sam_nsh.c:  Verified that the AT25 FLASH
	  works on the SAMA5D3x-EK boards and can support a FAT file system
	  (2013-8-5).
	* arch/arm/src/sam34/sam_spi.c:  Corrected an error in the SAM3/4
	  SPI driver while testing the SAMA5 SPI driver:  If CONFIG_SPI_OWNBUS
	  is not set, the driver will not configure the SPI mode correctly
	  (2013-8-5).
	* configs/sama5d3x-ek/src/sam_at25.c: Move AT25 initialization logic
	  out of sam_nsh.c and into a separate file where it can be better
	  shared (2013-8-5).
	* arch/arm/src/sama5/sam_hsmci.c, sam_hsmci.h, and chip.sam_hsmci.h:
	  Add register definitions and a driver for the (3) HSMCI memory card
	  interfaces provided by the SAMA5.  Leveraged from the SAM3/4 and
	  untested on initial commit (2013-8-5).
	* nuttx/configs/sama5d3x-ek/src/sam_hsmci.c and sam_nsh.c:  Add support
	  for the (2) SD card slots provided on the SAMA5D3x-EK boards.
	  Untested on initial commit (2013-8-5).
	* arch/arm/src/sama5 and nuttx/configs/sama5d3x-ek:  Massive renaming
	  to get consistent once and for in the usage of PIO vs GPIO.  Other
	  platforms use the term GPIO more, but Atmel prefers PIO.  I prefer
	  consistency.  Also fixed CONFIG_PIO vs CONFIG_SAMA5_PIO and renamed
	  files sam_gpio.* to sam_pio.* (2013-8-6).
	* arch/arm/src/sama5/sam_pioirq.c:  Add support for SAMA5 PIO interrupts
	  (2013-8-6).
	* configs/sama5d3x-ek/src/sam_hsmci.c:  Add support for SD slot card
	* arch/arm/src/sam34/sam_hsmci.c and sama5/sam_hsmci.c:  Fix handling
	  of some masked status conditions that can cause false-alarm errors
	  (2013-8-6).
	* arch/arm/src/sama5/sam_dmac.c and sam34/sam34_dmac.c:  For SAMA5,
	  correct some bad register address and some bad assertions that caused
	  false alarms.  These latter were backported to the SAM34 DMAC driver
	  as well (2013-8-6).
	* arch/arm/src/sama5/sam_dmac.c and sam34/sam34_dmac.c: Correct
	  some parameters reversed in function call (2013-8-6).
	* arch/arm/src/sama5/sam_spi.c:  The SAMA5 SPI driver now supports
	  DMA transfers (2013-8-9).
	* arch/arm/src/sama5/sam_dmac.c:  Finally after many bugfixes (the
	  last being caching issues), the SAMA5 DMA support has been
	  verified (with SPI) (2013-8-9).
	* arch/arm/src/sama5/sam_memories.c and .h:  Centralize logic for
	  conversions between physical and virtual addresses (2013-8-9).
	* arch/arm/src/sama5/sam_hsmci.c and sam34/sam_hsmci.c:  Correct a
	  race condition in the SAMA5 HSCMI driver:  The tranfer done
	  interrupt was firing before the wait was started.  Fix this and
	  also backported the changes to SAM3/4 (untested).  Now HSCMI is
	  functional on the SAMA5 with DMA! (2013-8-10).
	* arch/arm/src/sam34/sam3u_periphclks.h: Correct a typo in a register
	  name (2013-8-10).
	* drivers/mmcsd/mmcsd_sdio.c:  Correction for a bad return value
	  when multiple block SDIO transfers are suppressed.  By Andrew Tridgell
	  via Lorenz Meier (2013-8-10).
	* drivers/serial/serial.c, drivers/usbdev/cdcacm.c, and
	  include/nuttx/fs/ioctl.h: Added support for FIONREAD and FIONWRITE,
	  added TERMIOS input / output processing support for UART and CDCACM
	  serial ports. Implemented by Mike Smith, Andrew Tridgell and Lorenz
	  Meier (2013-8-10).
	* drivers/usbdev/cdcacm.c:  Added FIONREAD and FIONWRITE to CDC/ACM
	  driver based on serial.c implementation. From Lorenz Meier
	  (2013-8-10).
	* arch/arm/src/stm32/Kconfig and stm32_serial.c:  Added option to
	  disable serial port reordering.  From Lorenz Meier (2013-8-10).
	* arch/arm/src/sama5/Kconfig, sam_ohci.c, and
	  arch/arm/src/sama5/sam_clockconfig.c:  Add a OHCI driver for the SAMA5.
	  Untested on initial check-in (2013-8-11).
	* include/nuttx/usb/usbhost.h, arch/arm/src/stm32, arch/arm/src/lpc17xx,
	  and include/nuttx/usb/usbhost.h, and nuttx/configs/<stm32-boards>:
	  Move prototype of usbhost_initialize() of usbhost.h and into
Gregory Nutt's avatar
Gregory Nutt committed
	  architecture specific files.  This is necessary because some chips
	  (like the SAMA5) have multiple, different USB host interfaces
	  (2013-8-11).
	* drivers/usbhost/usbhost_hidkbd.c and usbhost_storage.c:  Correct some
	  compilation errors when pre-allocated class structures are used.  Also
	  eliminate some warnings about uninitialized variables (2013-8-11).
	* configs/sama5d3x-ek/src/sam_usb.c and related files:  Add support for
	  initialization of the USB host and mass storage class device (2013-8-11).
	* arch/arm/src/sama5/sam_ohci.c and sam_usbhost.h (was sam_ohci.h), and
	  configs/sama5d3x-ek/src/sam_usb.c, and sama5d3x-ek.h:  Add controls
	  to enable VBUS power in OHCI host most (2013-8-12).
	* includes/nuttx/usb/usbhost.h, all USB host drivers in arch/, and all
	  USB host-side connection monitoring threads in configs/*/src:  The
	  SAMA5 has three downstream ports; all of the other USB host
	  implementations have only one.  This will require significant changes
	  to the USB host interfaces starting with these chnages to monitor
	  connections on a port-by-port basis.  This effects a lot of files and
	  more changes are coming for this issues.  Changes are being blindly
	  incorporated into other architrectures.  I am being careful to avoid
	  breakage, but I expect some (2013-8-12).
	* configs/olimex-stm32-p107/nsh/defconfig and appconfig:  Converted to
	  use the kconfig-frontends tool. From Max Holtzberg (2013-8-12).
	* includes/nuttx/usb/usbhost.h, et al:  Continued changes to the USB
	  host interface to support multiple downstream ports.  When a class
	  is disconnected, it needs to provide the FunctionAddress to the
	  USB HCD disconnect method so that the HCD will know which port
	  is being disconnected (2013-8-12).
	* nuttx/arch/arm/src/stm32/Kconfig, Make.defs, and /stm32f30xxx_i2c.c:
	  STM32 F3 I2C fixes from John Wharington (2013-8-13).
	* nuttx/arch/arm/src/sama5/sam_serial.c:  Fix a re-entrancy problem
	  in up_putc().  I think all architectures have this re-entrancy
	  than can result in serial interrupt being disabled, but I have only
	  seen the symptom on SAMA5 (2013-8-13).
	* includes/nuttx/usb/usbhost.h and many other affected files:  Separate
	  wait() and enumerate() methods from struct usbhost_driver_s and move
	  to new interface, struct usbhost_connection_s.  This is part of the
	  necessary restructuring of the USB host interface to support multiple
	  root hub ports (2013-8-13).
	* arch/arm/src/sama5/sam_ohci.c:  Major restructuring of the driver due
	  in order to handle multiple root hub ports.  Basically instead of one
	  driver structure with an arrayof root hub port structures, there is no
	  one container structure with an array of driver structures, one for
	  each root hub port.  The advantage is that each class->driver call not
	  passes information associated with the RHport implicitly.  The klugey,
	  procedural alternative was to add the function address to every
	  interface method (which I started to do but backed above) (2013-8-13).
	* arch/arm/src/sama5/sam_memories.c and .h:  Extended logic so do
	  conversions from physical to virtual addresses (2013-8-14).
	* arch/arm/src/sama5/sam_ohci.c:  Add D cache contols and conversion
	  between physical and virtual address (2013-8-14).
	* arch/arm/src/stm32/stm32_spi.c:  nbits() interface extended to
	  control bit order as well as bit width (from Teemu Pirinen)
	  (2013-8-16)
	* arch/arm/src/sama5/sam_ohci.c:  More to be tested, but the SAMA5
	  OHCI driver is now basically funtional (2013-8-16).
	* include/nuttx/usb/ehci.h:  EHCI header file (2013-8-17).
	* arch/arm/src/stm32/stm32_i2c.c:  Correct an error that crept into
	  the STM32 F1 I2C driver with some recent changes.  From Yiran Liao
	  (2013-8-18).
	* drivers/usbhost/usbhost_devaddr.c and include/nuttx/usb/usbhost_devaddr.h:
	  Add logic for management of device addresses.  This logic does not
	  currently hook into into anything.  It will someday be a part of the
	  NuttX USB hub implementation (2013-8-18).
	* nuttx/arch/arm/src/sama5/sam_ehci.c and other files:  Create a skeleton
	  environment for development of an EHCI driver.  Not much in place yet
	  (2013-8-20).
	* nuttx/arch/arm/src/sama5/sam_ehci.c:  Now code complete for all
	  asynchronous endpoints (control and bulk); nothing yet in place
	  for periodic endponts (interrupt and isochronous) (2013-8-22).
	* include/nuttx/serial/serial.h and arch/arm/src/stm32/chip/stm32f40xxx_pinmap.h:
	  SourceForge bug #16 Fix IO pin map. Add CONFIG_SERIAL_TERMIOS support.
	  Also fixes some STM32 F4 Timer 8 pin configurations.  From CCTSAO
	  (2013-8-23).
	* arch/arm/src/lpc17xx/lpc17_usbhost.h:  Fix #endif with missing #if
	  condition.  Reported by Andrew Bradford (2013-8-23).
	* nuttx/arch/arm/src/sama5/sam_ehci.c:  Now handles low- and full-speed
	  connections by giving the port to the OHCI driver (2013-8-24).
	* nuttx/arch/arm/src/sama5/sam_ohci.c:  Now uses the work queue to
	  defer interrupt processing (2013-8-24).
	* nuttx/arch/arm/src/sama5/sam_ohci.c and nuttx/arch/arm/src/sama5/sam_ehci.c:
	  EHCI is now the common interrupt "master."  It will receive all UHPHS
	  interrupts and route the interrupt event to both the OHCI and EHCI
	  logic (2013-8-24).
	* net/uip/uip_arp.c:  Correct backward condition in netmask task.
	  From Max Holtzberg (2013-8-25).
	* arch/arm/src/sama5/sam_ohci.c:  SAMA5 OHCI is again functional by
	  itself after all of the changes to integrate with EHCI. (2013-8-25).
Gregory Nutt's avatar
Gregory Nutt committed
	* drivers/net/encx24j600.c/.h and include/nuttx/net/encx24j600.h:
	  Support the Microchip ENCX24J600 Ethernet driver from Max Holtzberg
	  (2013-8-25).
	* configs/olimex-stm32-p107:  Incorporate ENCX24J600 support for the
	  Olimex STM32 P107 board.  From Max Holtzberg (2013-8-25).
	* fs/romfs/fs_romfsutil.c:  Fix an error where long (>15) file names
	  were read incorrectly from a ROMFS file system.  From Mike Smith
	* arch/arm/src/stm32/stm32_sdio.c: SourceForge bug #17 Fix if
	  CONFIG_SDIO_BLOCKSETUP defined, OS will crash". Generate an error
	  if CONFIG_SDIO_BLOCKSETUP is defined; that option is not yet supported
	  by the STM32 SDIO driver.  From CCTSAO (2013-6-26)
	* drivers/net/encx24j600.c and .h: Use the ENC's SRAM for multiple TX
	  packets.  From Max Holtzberg (2013-6-26).
	* include/nuttx/usb/usbhost.h, drivers/usbhost/usbhost_enumerate.c, and
	  all USB host drivers:  Added a new driver method:  getdevinfo.  This
	  method is intended to get various information about the connected device,
	  but currently returns only the device speed.  The device speed is
	  necessary by usbhost_enumerate in order to set a credible initial EP0
	  max packetsize.  High speed needs 64 bytes, low speed needs 8 bytes,
	  and full speed can handle almost any size (2013-8-26).
	* arch/arm:  Add hooks for Cortex-A8.  Not much more yet (2013-8-27).
	* Lots of files:  Fix all occurrents of "the the" in documentation and
	  comments (2013-8-27).
	* arch/arm/src/sama5/sam_allocateheap.c:  Correct the logic that
	  determines which memory regions get added to the heap.  When
	  CONFIG_MM_NREGIONS > 1, the logic was adding the ISRAM region to
	  the heap twice! (2013-6-27).
	* nuttx/arch/arm/src/sama5/sam_ehci.c:  Add (untested) support for
	  interrupt endpoints (2013-8-28).
	* arch/arm/src/sama5/chip/sam_udphs.h:  High-speed USB device register
	  definitions for the SAMA5 (2013-8-28)
	* arch/arm/src/sama5/sam-udphs.c:  A framework for the USB device
	  driver taken from another architecture.  There is very little
	  useful in this initial check-in (2013-8-29).
	* Remove all empty and most useless README.txt files (2013-8-31)
	* configs/freedom-kl25z/src/kl_spi.c:  Correct typo in name of a
	  function.  From Alan Carvalho de Assis (2013-8-31).
	* drivers/usbdev/cdcacm_desc.c:  Fixed some compilation errors that
	  only occur when dual speed support is enabled (2013-9-1).
	* arch/arm/src/sama5/sam_clockconfig.c and configs/sama5d3x-ek/include/board_*mhz.h:
	  Add logic to support UDPHS clocking (2013-9-13).
	* arm/src/stm32/chip/stm32_tim.h:  Some CCER bit settings changed
	  per SourceForge bug #18 submitted by CCCTSAO (2013-9-2).
	* apps/examples/cc3000, configs/freedom-kl25z, drivers/wireless/cc3000,
	  and nuttx/include/nuttx/cc3000.  Initial support for the TI CC3000
	  network module on the Freescale Freedom-KL25Z board from Alan Carvalho
	  de Assis.  This is still very much a work in progress (2013-9-3).
	* configs/*/usbmsc:  Renamed from config/*/usbstorage to match the
	  change in naming in apps/examples submitted by CCTSAO (2013-9-5).
Gregory Nutt's avatar
Gregory Nutt committed
	* drivers/usbdev/cdcacm.c and pl2303.c:  Don't use max packetsize assigned
	  to the endpoint when allocating request buffers; The default value of
	  the endpoint max packetsize may be incorrect because the endpoint
	  has not yet been configured.  Verified on CDC/ACM.  Corresponding
	  changes made to pl2303, but untested (2013-9-5).
	* arch/arm/src/sama5/sam_udphs.c:  The high-speed device side driver
	  is now functional (although more testing is always needed) (2013-9-5).
	* net/net_monitor.c: Fixes a race condition where a loss of connection
	  may not be detected when the connection is lost before it has been
	  accepted (from Max Holtzberg) (2013-9-6).
	* configs/sama5d3x-ek/demo:  Add a new NSH configuration.  The
	  original NSH configuration will be a simple platform for testing
	  individual features; the demo configuration will be a more complex
	  platform for demonstrating multiple interacting features (2013-9-6).
	* net/uip/uip_tcpbacklog.c:  Fix a major bug in the TCP/IP backlog
	  initialization:  Only the first backlog buffer was getting added
	  to the free list.  From Max Holtzberg (2013-9-6).
	* configs/sama5d3x-ek/demo:  Add support for USB MSC device on the
	  AT25 serial FLASH (untested) (2013-9-6).
	* drivers/net/enc28j60.c:  Changes back-ported from the ENCX24J600
	  to the ENC28J60 by Max Holtzberg.  These seem like reasonable and
	  correct changes, but have yet to be verified on an ENC28J60 (2013-9-6).
Gregory Nutt's avatar
Gregory Nutt committed
	* drivers/usbdev/usbdev_strings.c:  Extended decoding and stringifying
	  of USB trace output to include trace output from class drivers.
	  (2013-9-6).
	* drivers/usbdev/usbmsc_desc.c:  Fix a warning when USB MSC is
	  compiled for a high-speed device (2013-9-7).
	* drivers/usbhost/usbhost_storage.c:  If device is returning fatal
	  transfer errors while attempt to initialize, don't bother with
	  the startup retries; abort immediately so that the device will
	  be reset and we can try again (2013-9-9).
Gregory Nutt's avatar
Gregory Nutt committed
	* drivers/usbhost/usbhost_storage.c:  Correct a reference counting
	  error:  When an MSC device transfer fails while waiting for
	  UnitTestReady (see 2013-9-9), the reference count was not being
	  decremented.  The end result is a memory leak (2013-9-10).
	* arch/arm/src/sama5/chip/sam_twi.h:  Added SAMA5 TWI register
	  definition file (2013-9-11).
	* arch/arm/src/sama5/sam_twi.c and .h:  Framework for a SAMA5
	  TWI driver (not much present in initial checkin) (2013-9-11).
	* fs/nxffs:  Clean up some compilation warnings (2013-9-12)
	* drivers/mtd/at24xx.c:  Add support for the AT 24C512 part
	  (2013-9-12).
	* arch/arm/src/sama5/sama5_twi.c:  Clean up some errors that
	  only occur with CONFIG_DEBUG_I2C (2013-9-12).
	* arch/arm/src/sama5/chip/sam_emac.h and sam_gmac.h:  Register
	  definition files for the SAMA5 EMAC and GMAC peripherals
	  (incomplete on the initial commit) (2013-9-12).
	* arch/arm/src/stm32/stm32_can.c:  Make filter register accessible
	  for CAN1 and CAN2. Patch provided by Lorenz Meier (2013-9-13).
	* nuttx/include/nuttx/usb/cdcacm.h:  Fix backward conditional
	  compilation in the CDC/ACM driver with regard to remote
	  wakeup and self-powered capabilites.  Provided by Lorenz Meier
	  (2013-9-13)
	* fs/romfs/fs_romfsutil.c: Fix for filenames > 15 characters.
	  Provided by Lorenz Meier (2013-9-13).
	* arch/arm/src/stm32/Kconfig: Fix STM32 UART7/8 kconfig names
	  and UART DMA.  Provided by Lorenz Meier (2013-9-13).
	* configs/maple:  Board configuration for the LeafLabs Maple
	  and Maple Mini boards.  From Librae (2013-9-13).
	* arch/arm/src/sama5/sam_emac.c and .h:  Skeleton files for
	  a SAMA5 EMAC driver.  Not much in the initial files; these
	  are just hacked out and gutted versions of the corresponding
	  STM32 files (2013-9-13).
6.31 2013-10-28 Gregory Nutt <gnutt@nuttx.org>

	* nuttx/fs/romfs/fs_romfsutil.c:  Back out part of a recent
	  ROMFS change (2013-9-14).
	* configs/sama5d3x-ek/src/sam_ethernet.c:  Add support for
	  PHY interrupts (2013-9-15).
	* arch/arm/src/kl/chip/kl_pit.h and kp_tpm.h:  Add register
	  definitions for the Freescale Kinetis KL25Z from Alan
	  Carvalho de Assis (2013-9-15).
	* configs/ and a few Ethernet drivers:  Add the prefix ETH0
	  to all PHY configuration selections.  This will allow us
	  to support to Ethernet MAC drivers with two different
	  PHYs (identified with ETH0 and ETH1) (2013-9-17).
	* net/Kconfig and drivers/net/Kconfig:  Move PHY selections from
	  net/Kconfig to drivers/net/Kconfig where they belong.  Add the previx
	  ETH0_ to each PHY selection.  And a new configuration
	  CONFIG_NETDEV_MULTINIC that can be set to enable support for multiple
	  Ethernet MAC drivers (not fully implemented yet).  When Enabled,
	  another set of PHY selections are enabled for ETH1_ (2013-9-17).
	* include/nuttx/net/mii.h:  Add definitions for the Micrel KSZ8051 PHY
	  (2013-9-17).
	* configs/zkit-arm-1768:  MMC/SD is on SPI, not SSP0.  From Rashid
	  Fatah (2013-9-17).
	* configs/: Lots of defconfig files changes.  A consequence of the
	  above renaming and moving of the PHY configuration settings is
	  that the you now also have to set CONFIG_NETDEVICES=y if you
	  need to set a PHY configuration (2013-9-17).
	* arch/arm/src/lpc17xx/lpc17_spi.c:  Remove undefined spi_select()
Gregory Nutt's avatar
Gregory Nutt committed
	  prototype.  This was causing compile time warnings (2013-9-17).
	* configs/sama5d3x-ek/src/sam_ostest.c:  Add OS test support for
	  the FPU test (2013-9-18).
	* arch/arm/src/sama5/sam_usbhost.h and include/nuttx/usb/usbhost_trace.h
	  Correct some inconsistencies in the way that USB configuration
	  settings are used.  This caused compilation errors in SAMA5 OHCI
	  when USB debug was ON but USB host tracing was off (2013-9-19).
	* nuttx/arch/arm/src/sama5/sam_clockconfig.c:  When 480MHz UPLL
	  is used to drive OHCI, it should have a divider of 10.  However,
	  that does not work.  A divider of 5 does.  Why? (2013-9-19).
	* Several USB device driver files:  Change naming of SELFPOWERED
	  and REMOTEWAKEUP to avoid name collisions.  Prepend the name
	  of the driver (for example CDCACM_SELFPOWERED) (201309-20).
	* configs/sama5d3x-ek/nsh and demo: Increase the number of pre-allocated
	  watchdog timers.  The default number of 4 was easily being exhausted
	  in the more complex configurations.  Enable the task name feature
	  to provide prettier ps command output.  src/sam_usb.c:  Use more
	  descriptive task names when starting the EHCI and OHCI monitor tasks
	  (2013-9-20).
	* arch/arm/src/sama5/sam_ohci.c:  Fix a place where DMA-related data
	  needed to be flushed to data cache; Fix another where a virtual address
	  was being used in a register where a physical address was required
	  (2013-9-20).
	* arch/arm/src/armv7-a/cp15_clean_dcache.S and cp15_flush_dcache.S:
	  fix an error in the alignment of addresses to cache line boundaries
	  (2013-9-21).
	* drivers/usbdev/cdcacm_desc.c:  Change the interval for the interrupt
	  endpoint from 0xff (invalid) to 10.  This is not a critical change
	  but will avoid a complaint from the Linux driver when it overrides
	  the 0xff value (2013-9-22).
	* configs/zkit-arm-1769:  LED1 is now user controllable after booting.
	  From Rashid Fatah (2013-9-23).
	* arch/arm/src/sama5/sam_hsmci.c:  TX DMA disabled.  It is just not
	  reliable. No idea why.  RX DMA is still used (2013-9-23).
	* driver/net/encx24j600.c:  UDP/RXAVAIL backlog support from Max
	  Holtzberg (2013-9-24).
	* Standardized stack checking logic so the interfaces can be used
	  by common stack monitoring logic (2013-9-24).
	* drivers/net/Kconfig:  Move CONFIG_NET_DUMPPACKET out of LPC17
	  and STM32 Kconfigs into the common network driver Kconfig (2013-9-25).
	* arch/arm/src/sam_emac.c:  EMAC driver is basically functional.  More
	  testing is needed (as always) (2013-9-25).
	* configs:  Changes to many defconfig files resulting from moving
	  apps/examples/usbmsc to apps/system/usbmsc (2013-9-25).
	* configs:  Changes to many defconfig files resulting from moving
	  apps/examples/cdcacm to apps/system/cdcacm (2013-9-25).
	* configs:  Changes to many defconfig files resulting from moving
	  apps/examples/composite to apps/system/composite (2013-9-25).
	* configs/stm3210e-eval/composite:  Converted to use the kconfig-
	  frontends tool (2013-9-25).
	* arch/arm/src/sama5/sam_gmac.c:  Initial GMAC driver is really
	  just the EMAC driver forced to compile with the GMAC register
	  definitions (2013-9-26).
	* arch/arm/src/sama5/sam_gmac.c and include/nuttx/net/gmii.h:
	  Beginning of support for GMII/RGMII PHY support (2013-9-26)
	* net/netdev_txnotify.c:  Look up of device using subnet will fail
	  if the packet is being sent out of our subnet (via a router).
	  The fallback here is just to use "eth0" if the subnet lookup
	  fails.  This will, of course, will have to be revisited if/when
	  multiple NICs are supported.  From Max Holtzberg (2013-9-27).
	* net/send.c:  Fix some backward conditional logic in check
	  to see if we should check if the ARP address in the table.  From
	  Max Holtzberg (2013-9-27).
	* drivers/net/encx24j600.c:  Removed logic that polls for the
	  next outgoing packet from the TX done interrupt handling.  From
	  Max Holtzberg (2013-9-27)
	* sched/os_start.c:  Should not call group_setupidlefiles() if there
	  are no file descriptors (and, hence, no file system) (2013-9-27).
	* arch/arm/src/sama5/sam_gmac.c:  GMAC driver and GMII logic is
	  code complete and ready for test (2013-9-27)
	* configs/compal_e86: Basic board support for the Motorola C139
	  (Compal E86) phone.  From Craig Comstock (2013-9-27).
	* configs/compal_e86: Converted to use the kconfig-frontends
	  tools (2013-9-27).
	* drivers/net/encx24j500.c: Use separate pools for RX and TX
	  descriptors.  From Max Holtzberg (2013-9-28).
	* nuttx/fs/fs_sendfile.c, nuttx/net/net_sendfile.c, and other file:
	  Integrate an optimized sendfile() operation from Max Holtzberg
	  (2013-9-28).
	* tools/mkdeps.*, nuttx/mm/Makefile, nuttx/libc/Makefile:  Dependency
	  generation generation was broken for directories that keep objects in
	  a sub-directory.  Fixed by adding a object path to the mkdeps.c,
	  mkdeps.bat, mkdeps.sh tools (2013-0-29).
	* arch/arm/src/sama5/chip/sam_adc.h:  ADC register definition file.
	  Incomplete on initial check-in (2013-9-29).
	* arch/arm/src/sama5/sam_adc.c and .h:  Framework for an ADC
	  driver to come (just empty "skeleton" files on initial commit)
	  (2013-9-30).
	* arch/arm/src/sama5/sam_touchscreen.h and .h:  Framework for a
	  touchscreen driver (also an empty "skeleton" file on the initial
	  commit) (2013-9-30).
	* arch/arm/src/kl/kl_lowgetc.c and .h:  First cut at low-level
	  getc() function for operation with no file system (and, hence,
	  no serial driver) (from Alan Carvalho de Assis, 2013-9-30).
	* configs/freedom-kl25z/minnsh:  A new configuration that is
	  an experiement to see how small we can get the NuttX footprint.
	  From Alan Carvalho de Assis. (2013-9-30).
	* net/net_sendfile:  The high performance sendfile logic is
	  now functional.  From Max Holtzberg (2013-9-30).
	* tools/define.sh:  'cut' no longer works as it once did.  Script
	  adapted to observed behavior (2013-9-30).
	* include/nuttx/net/route.h and net/net_*route.c:  Partial
	  implementation of a routing table. Not yet hooked into the
	  build system (2013-10-1)
	* include/net/route.h:  Defines the application interface to
	  the routing table (2013-10-2).
	* configs/spark:  Add configuration for the Spark Core.  The
	  initial check-in is basically the Maple Mini board (2013-10-2).
	* include/net/route.h and libc/net/lib_addroute.c and delroute.c:
	  Add an application interface to manage the routing table
	  (2013-10-2).
	* arch/arm/src/sama5/sam_adc.c and sam_tsc.c:  The SAMA5
	  touschscreen drive is basically functional) (2013-10-3)
	* arch/arm/src/sama5/chip/sam_lcdc.h:  Add SAMA5 LCD register
	  definition header file (2013-10-4).
	* net/netdev_findbyaddr.c:  Now (1) uses the routing table
	  if available to look up the router to get to a remote network,
	  and (2) if there is only a single network device and no
	  route, then it will simply return that single device.  The
	  ARP logic will use the default router address associated with
	  the interface in this case (2013-10-5).
	* net/netdev_router.c and net/uip/uip-arp.c:  When the target IP address
	  does not lie on the device's networker when we have a routing table,
	  looking the correct router IP address to use in the ARP request.
	  In that case, we want the MAC address of the router, not of the
	* net/netdev_rxnotify.c and others: Use the new signature of rxnotify
	  caused by the routing table.  From Max Holtzberg (2013-10-6).
	* arch/arm/src/sama5/sam_lcdc.c and .h: Empty "skeleton" file that
	  will eventually become an LCDC driver for the SAMA5 (2013-10-6).
	* net/net_close.c, net/uip/uip_tcpcon, and include/nuttx/net/uip/uip-tcp.h:
	  Make net_close() nonblocking and free unestablished connections if no
	  free connections available.  From Max Holtzberg (2013-10-6).
	* net/net_close.c and other:  Update of change of 2013-10-6 from
	  Max Holtzberg (2013-10-8).
	* arch/arm/src/sama5/sam_lcd.c: LCDC driver is code complete and
	  incorporated into the build system (but still untested (2013-10-8).
	* configs/sama5d3x-ek/nx:  Add an examples/nx configuration that
	  will be used for the SAMA5 LCD bring-up (2013-10-8).
	* configs/arduino-due/Kconfig and include/board.h:  Add configuration
	  to select revision 3 of the Arduino Due which has some small
	  but important differences.  Suggested by gdi@embedders.org.
	* arch/arm/src/sama5/sam_allocateheap.c, Kconfig, chip/sama5d3_memorymap.h:
	  Add support so that subsets of the total DRAM (and other external
	  memory) can be added to the heap, leaving other memory reserved for
	  other purposes (like LCDC framebuffers) (2013-10-10).
	* arch/arm/src/sama5/sam_lcd.c:  Change how DMA descriptors are
	  allocated.  My reading of the SAMA5 MATRIX is that the LCDC will
	  be unable to DMA from internal SRAM (2012-10-10).
	* arch/arm/src/sama5/Kconfig and configs/sama5d3x-ek/nx/defconfig:  The
	  default LCD resolution is now RGB565.  Added output resolution selection
	  which can be different from the software resolution (2013-10-10.
	* arch/arm/src/sama5/sam_lcd.c wait before modifying register if the LCDC
	  is re-synchronizing (SIF). Use start-up configuration settings from
	  Barebox.  They still don't work (2013-10-10).
	* net/net_monitor.c: Notify the socket layer if a connection is lost
	  before the monitoring callback has been registered.  From Max
	  Holtzberg (2013-10-11).
	* net/recvfrom.c, sendto.c, uip/uip_input.c, uip/uip_udpcallback.c,
	  uip/uip_udpconn.c, uip/uip_udpinput.c:  Changed the meaning of the
	  uip_*input functions. They now return success when a packet is
	  dropped; This is needed for the ENCX24J600 driver that must make
	  a decision to return the packet or not:  It should not retry
	  dropped packets. From Max Holtzberg (2013-10-11).
	* drivers/net/encx24j600.c and Kconfig: ENCX24J600: Improved descriptor
	  handling, free packets on rx abort interrupt. From Max Holtzberg
	  (2013-10-11).
	* arch/arm/src/sama4/sam_lcd.c and configs/sama5d3x-ek/include/board.h:
	  Fix PWM precealler divider.  This eliminiates the backlight flicker
	 (2013-10-11).
	* arch/arm/src/sama5/sam_boot.c: Correct how framebuffer memory was
	  being mapped.  The mapping was getting overrwritten and the
	  framebuffer memory was ending up cacheable (2013-10-13).
	* arch/arm/src/sama5/Kconfig, sam_lcdc.c, defconfig, and related files:
	  Remove options for obtaining framebuffer memory in other ways.  That
	  option just really cannot work (2013-10-13).
	* configs/sama5d3x-ek/nxwm:  Add NxWM configuration for SAMA5D3x-EK
	  (2013-10-13).
	* configs/sama5d3x-ek/nxwm/defconfig:  Now uses scaled icons in the
	  the NxWM taskbar (2013-10-15).
	* configs/sama5d3x-ek/nxwm/defconfig:  Use the 320x320 NuttX logo as
	  the NxWM background (2013-10-15).
	* arch/arm/src/stm32/chip/stm32f103c_pinmap.h:  Pinmapping corrections
	  from David Sidrane (2013-10-16).
	* configs/spark:  The Spark device configuration is receiving some
	  TLC from David Sidrane (2013-10-16).
	* drivers/mtd/sst25.c:  Add support for the SST25VF016B.  From David
	  Sidrane (2013-10-16).
	* net/net_close.c: Changed net_close debug output to verbose.  From
	  Max Holtzberg (2013-10-17).
	* net/send.c and net_sendfile.c:  Reset the send timeout when the
Gregory Nutt's avatar
Gregory Nutt committed
	  data is ACKed, not when the data is sent.  Remove conditions on
	  checking for timeout.  From Max Holtzberg (2013-10-17).
Gregory Nutt's avatar
Gregory Nutt committed
	* net/net_sendfile.c:  Correct parameter passed to netdev_txnotify()
	* include/nuttx/net/uip/uip-tcp.h, net/send.c, uip/uip_tcpconn.c, and
Gregory Nutt's avatar
Gregory Nutt committed
	  uip/uip_tcpinput.c:  Change how the initial minimum MSS is calculated.
	  Max Holtzberg (2013-10-17).
	* net/uip/uip_tcpinput.c:  Move tcp connection into SYN_RCVD state
	  after aception instead of bypassing and moving directly into ESTABLISHED.
	  From Max Holtzberg (2013-10-17).
	* net/net_sendfile.c:  Let the ACK callback handle the REXMIT flag and
	  don't return until all data has been ACK'd. From Max Holtzberg
	  (2013-10-17).
	* arch/arm/src/stm32/chip/stm32f40xxx_dma.h: Typo fixes for UART7 and
Gregory Nutt's avatar
Gregory Nutt committed
	  UART8 DMA configs.  From Mike Smith (2013-10-18).
	* arch/arm/src/stm32/Kconfig:  DMA priority corrections from Mike Smith
	  (2013-10-18).
	* arch/arm/src/stm32/stm32*_dma.c, stm32_sdio.c, and stm32_dma.h:
	  Changes to the stm32_dmacapable API. In order to correctly verify that
	  a buffer can be transferred, the transfer count and the CCR value are
	  required.  Implemented stm32_dmacapable for stm32f1xx devices. Enhanced
	  stm32_dmacapable for stm32f2xx and stm32f4xx devices to check for
	  additional conditions that will cause DMA to fail or lose data (2013-10-18).
Gregory Nutt's avatar
Gregory Nutt committed
	* include/nuttx/sdio.h:  Add a preflight method to the SDIO interface.
	  From Mike Smith (2013-10-18).
	* drivers/mmcsd/mmscd_sdio.c: Enhanced the mmcdd_sdio driver to perform
	  DMA preflight operations and fail DMA read/write requests that fail
	  preflighting. From Mike Smith (2013-10-18).
	* fs/fat/fs_fat32.c: Enhanced the FAT32 filesystem code to understand DMA
	  preflight failures, and to use the file sector buffer as a bounce buffer
	  when a user-supplied buffer is not suitable for DMA. From Mike Smith
	  (2013-10-18).
	* arch/arm/src/sama5/chip/sam_rtc.h and sam_wdt.h:  Add WDT and RTC
	  register definition header files (2013-10-18).
	* arch/arm/src/sama5/chip/sam_rtc.c and sam_rtc.h:  Basic RTC driver.
	  Support for RTC alarms is fragmentary and this has not yet been hooked
	  into the build system  (2013-10-18).
	* Various Spark and CC3000 files:  Update by David Sidrane (2013-10-18).
	* arch/arm/src/sama5/chip/sam_gpbr.h:  Add SAMA5 GPBR register
	  definitions (2013-10-19).
Gregory Nutt's avatar
Gregory Nutt committed
	* Kconfig:  Add support for CONFIG_DEBUG_RTC (2013-10-19).
	* configs/sama5d3x-ek/README.txt, demo/defconfig:  Describe how to
	  enable RTC support for the nsh/ configuration; RTC is now enabled by
	  default in the demo configuration (2013-10-19).
	* arch/arm/src/sama5/sam_rtc.h and other files:  Hook the SAMA5 RTC
	  driver into the build system; Verify the correct operation of the
	  SAMA5 RTC driver (2013-10-19).
	* arch/arm/src/sama5/sam_wdt.c and .h:  Add a SAMA5 watchdog timer
	  driver. Untested on initial check-in (2013-10-19).
	* arch/arm/src/sama5/sam_trng.c, sam_trng.h, and chip/sam_trng.h:  Add
	  a /dev/random driver based on the SAMA5D3 TRNG peripheral (2013-10-20).
	* configs/sama5d3x-3k/demo:  The TRNG and /dev/random are now enabled
	  by default in the demo configuration (2013-10-20).
	* arch/arm/src/sama5/chip/sam_tc.h:  SAMA5D3 timer/counter register
	  definition header file (2013-10-20).
	* libc/stdio/lib_sscanf.c:  scanf() fixes from kfrolov: 1) sscanf()
	  function hangs in the following example: sscanf("2", "%u,%u,%u,%u", ...),
	  2) sscanf() returns incorrect number of parsed numbers if some arguments
	  can't be parsed: sscanf("=2", "%u,%u,%u,%u",...)==1 instead of 0, and
	  3) using of char* instead of const char* in vsscanf function leads to
	  warnings from GCC (2013-10-21).
	* arch/arm/src/sama5/chip/sam_can.h:  SAMA5D3X CAN register definition
	  header file (2013-10-21)
	* arch/arm/src/sama5/sam_can.c and .h:  Framework for a SAMA5 CAN driver.
	  Initial checkin is the STM32 CAN driver with name changes (2013-10-21).
	* arch/arm/src/sama5/sam_can.c and .h: SAMA5 CAN driver is code complete
	  but still untested (2013-10-22).
Gregory Nutt's avatar
Gregory Nutt committed
	* configs/spark:  Spark configuration updated by David Sidrane (2013-10-23).
	* drivers/wireless/cc3000:  CC3000 driver updates from David Sidrane
	  (2013-10-23).
	* include/nuttx/wireless/cc3000:  More CC3000 driver updates from David
	  Sidrane (2013-10-23).
	* net/Kconfig, drivers/net/wireless/cc3000/Kconfig, and Kconfig:  Add
	  ARCH_HAVE_NET that determines if a network is present or not.  This
	  currently can happen if CONFIG_NET is set or if CONFIG_WL_CC3000 is
	  is set (23013-10-23).
	* arch/arm/src/stm32/stm32f10xxx_dma.c:  DMA fix from David Sidrane:
	  The DMA_CNDTRx register cannot be modified if the DMA channel is
	  disabled (2013-10-23).
Gregory Nutt's avatar
Gregory Nutt committed
	* arch/arm/src/sama5/sam_tc.c and .h:  First cut at a timer/counter
	  library for the SAMA5D3 (2013-10-23).
	* configs/spark/nsh/defconfig:  Spark configuration update from David
	  Sidrane (2013-10-24).
	* drivers/wireless/cc3000/cc3000.c:  CC3000 driver update from David
	  Sidrane (2013-10-24).
	* arch/arm/include/stm32/chip.h and arch/arm/src/stm32/Kconfig:
	  Add support for the STM32F207ZE chip. From Martin Lederhilger
	  (2013-10-24).
	* arch/arm/src/stm32/stm32_adc.c and stm32_pwm.c:  Fix some bits
	  that should have been cleared in a register.  From Martin Lederhilger
	  (2013-10-24).
	* configs/olimex-stm32-p207 and other files:  Support for the Olimex
Gregory Nutt's avatar
Gregory Nutt committed
	  STM32 P207 board added by Martin Lederhilger (2013-10-24).
	* arch/arm/src/sama5/sam_adc.c, sam_tc.c and sam_tc.h:  Hook in the
	  timer/counter logic so that it can driver periodic ADC sampling
	  (2013-10-24).
	* configs/freedom-kl25z/src/Makefile:  Only build kl_wifi.c if
	  CONFIG_WL_CC3000 is selected.  From Alan Carvalho de Assis
	  (2013-10-24).
	* configs/sama5d3x-ek/src/sam_adc.c:  Integrate support for the
	  apps/examples/adc into the SAMA5D3x-EK configuration (2013-10-24).
	* include/nuttx/fs/ioctl.h and arch/arm/src/sama5/sam_adc.c:  Add
	  and ioctl command that can be used to trigger ADC/DAC conversion
	  (2015-10-25).
	* configs/spark:  Spark configuration updated by David Sidrane
	  (2013-10-25).
	* drivers/wireless/cc3000 and include/nuttx/wireless/cc3000:
	  CC3000 driver update from David Sidrane (2013-10-25).
	* arch/arm/src/sama5/chip/sam_isi.h:  Camera interface register
	  definitions added (2013-10-26).
	* audio/ and include/nuttx/audio/audio.h:  Updated audio subsystem
	  from Ken Pettit (2013-10-27).
	* drivers/audio/ and include/nuttx/audio/vs1053.h:  Updated
	  VS1053 driver from ken Pettit (2013-10-27).
	* configs/mikroe-stm32f4/: Updated configuration for the
	  Mikroe STM32F4 board from Ken Pettit (2013-10-27).
	* arch/arm/src/stm32/stm32_spi.c:  DMA-related fixes from Ken
	* sched/sched_releasetcb.c: Fix a cornercase:  If sched_releasetcb()
	  is called as part of a failed pthread startup before the flags
	  field in the TCB has been initialized, then a crash occurs.
	  Pointed out by David Sidrane (2013-10-27)
	* arch/arm/src/sama5/sam_adc.c:  ADC now works in all implemented
	  modes:  single channel or multiple channel with sequencer support.
	  software trigger or timer trigger;  ADC channel interrupts or
	  DMA (2013-10-28).
	* nuttx/drivers/audio/vs1053.c and nuttx/include/nuttx/audio/audio.h:
	  Add logic to verify the audio sub-format.  From Ken Pettit (2013-10-28).
6.32 2013-12-07 Gregory Nutt <gnutt@nuttx.org>

	* configs/spark:  Spark configuration updated by David Sidrane
	  (2013-10-30).
	* drivers/wireless/cc3000 and include/nuttx/wireless/cc3000:
	  CC3000 driver updates from David Sidrane (2013-10-13).
	* arch/arm/src/sama5/chip/sam_ssc.h:  SSC register definition
	  header file (2013-10-30).
	* arch/arm/src/sama5/chip/sam_pwm.h:  PWM register definition
	  header file (2013-10-31).
	* drivers/mtd/mtd_partition.c: Fix erase block vs page block confusion.
	  From Ken Pettit (2013-10-31).
	* arch/arm/src/stm32/stm32_usbdev.c: On a failure to bind the class
	  driver, the driver reference was being nullified too soon.  This
	  caused an exception in usbdev_reset() later.  The driver reference
	  will be nullified later usbdev_unregister when the caller gets the
	  error.  From David Sidrane (2013-10-31).
	* drivers/mtd/mtd_config.c and include/nuttx/configdata.h:  Add a container
	  for an MTD device that can be used to provide a simple, lightweight
	  interface to configuration data storage that resides on some storage
	  media that is wrapped as an MTD device.  From Ken Pettit (2013-11-1).
	* configs/mikroe-stm32f4:  Now uses /dev/config for configuration data
	  storage.  From Ken Pettit (2013-11-1).
	* arch/ stack management functions:  Extension and standardization of
	  stack debug logic.  Now includes coloration of the IDLE and interrupt
	  stacks as well as the heap.  Suggested by David Sidrane (2013-11-1).
	* configs/spark/usbmsc:  Add spark USB MSC configuration.  From David
	  Sidrane (2013-11-1).
	* fs/fat/fs_fat32util.c:  In one error return case, the error return
	  value was not being set, making the failure look like success. From
	  David Sidrane (2011-10-1).
	* drivers/usbdev/usbmsc.c and usbmsc_scsi.c:  pthread_join() does not
	  work if called from a different task group than the pthread.  This
	  is correct behavior, but a problem.  The correct solution would be
	  configure the USB MSC thread to a task, however, this workaround
	  from David Sidrane plugs the hole for now (2013-11-1).
	* drivers/mtd/mtd_config.c:  Reduce configuration header size.  From
	  Ken Pettit (2013-11-1).
	* drivers/mtd/sst25.c:  Improved write performance by fixing a bug
	  that prevented operation in the faster write mode.  The code did
	  not wait on the last write complete before issuing the WRDI  The
	  loop in general failed to wait on the fist 2 bytes after the
	  SST25_AAI if the next 2 were FF FF, then it would reissue the
	  address but not cancel the write. Reorganized to always wait for
	  completion after and address with data write and on any data
	  write so  that the device is complete before WRDI is sent.  From
	  David Sidrane (2013-11-2).
	* configs/sama5/src/sam_can.c:  Add CAN initialization logic
	  and fix a data alignment problem (2013-11-3).
	* drivers/mtd/mtd_config.c:  Updated configuration driver from
	  Ken Pettit (2013-11-4).
	* configs/sim/configdata:  MTD configuration driver unit test for
	  the simulation platform.  From Ken Pettit (2013-11-4).
	* configs/mikroe-stm32f4/fulldemo: Configuration updated by Ken
	  Pettit (2013-11-4).
	* arch/arm/src/stm32/stm32_usbdev.c:  Correct EP0 state handling
	  logic when buffers larger than the EP0 packet size are sent.
	  Also add support for decoded USB trace strings.  From David
	  Sidrane (2013-11-5).
	* drivers/usbdev/cdcacm.c, composite.c, usbmsc.c:  uninitialization
	  logic cause re-use of a stale pointer.  Changed to a two pass
	  uninitialization for the case of the composite driver:  Memory
	  resources are not freed until the second uninitialization pass.
	  From David Sidrane (2011-11-5).
	* arch/arm/src/sama5/sam_pwm.c and .h:  Add PWM driver for SAMA5
	  untested on initial checkout (not even incorporated in to build
	  system) (2013-11-6).
	* arch/arm/src/sama5/Make.defs and Kconfig:  SAMA5 PWM driver now
	  incorporated into build and configuration system.  Builds with
	  no errors (2013-11-6).
	* configs/sama5d3x-ek:  Add support for the PWM test for the
	  SAMA5D3x-EK board (2013-11-6).
	* arch/arm/src/sama5/sam_pwm.c and .h: SAMA5 PWM driver is now
	  functional (2013-11-7).
	* include/nuttx/audio/i2s.h:  First cut at an I2S interface
	  definition.  This initial definition is sparse will will
	  probably evolve significantly (2011-11-7).
	* arch/arm/src/sama5/sam_ssc.c and .h:  Skeleton and build setup
	  for a forthcoming SSC (aka I2S) driver for the SAMA5.  The
	  initial check-in is just the SAMA5 SPI driver gutted and hacked
	  to use the I2S interface.  More coming (2013-11-7).
	* arch/arm/src/stm32 and arch/arm/include/stm32:  Added support for
	  the STM32F429.  From Ken Pettit (2013-11-7).
	* configs/stm32f429i-disco:  Support for the STM32F429I-Discovery
	  board from Ken Pettit (2013-11-7).
	* arch/arm/src/stm32/stm32_usbdev.c:  The long outstanding bug
	  involving the handling of OUT SETUP commands has been fixed in
	  the STM32 F1 USB device driver by David Sidrane (2013-11-7).
	* configs/spark/composite/cdc-acm.inf:  Windows CDC/ACM driver
	  provided by David Sidrane (2013-11-7).
	* configs/spark/usbserial.c:  Add an apps/examples/usbserial