Skip to content
ChangeLog 536 KiB
Newer Older
	* configs/sam4e-ek/nsh:  DMA-based SPI and a FAT file system on the
	  AT25 Serial FLASH are now supported by default in the NSH configuration
	  (2014-3-14).
Gregory Nutt's avatar
Gregory Nutt committed
	* sched/nanosleep.c:  Fix a missing call to re-enable interrupts.  From
	  Jason Jiang (2014-3-15).

7.2 2014-04-29 Gregory Nutt <gnutt@nuttx.org>

	* arch/arm/src/sam34/sam_udp.c and .h:  Add a USB full speed device
	  driver (UDP) for the SAM4E (2014-3-17).
	* Documentation/NuttxPortingGuide.html:  Typo fixes from Vijay Kumar
	  (2014-3-18).
	* arch/arm/Kconfig:  Improved documentation of the use of the
	  BASEPRI register from Vijay Kumar (2014-3-19).
	* include/nuttx/i2c.h:  More typo fixes from Vijay Kumar (2014-3-19).
	* arch/Kconfig and *_assert.h:  Add a configuration option to enable
	  dumping of the USB trace buffer on assertion (2014-3-19).
	* drivers/usbdev/Kconfig, arch/arm/src/sam34/Kconfig, and
	  drivers/usbdev/usbmsc_scsi.c:  If DCD can support queuing of stall
	  requests, then the USB MSC stall work around delays are not necessary
	  (2014-3-20).
	* net/netdev_findbyaddr.c:  Skip network devices that are in the
	  "down" state.  It does not make sense to consider an address match
	  with a "down" device.  From Brennan Ashton (2014-3-20).
	* configs/sam4e-ek/usbnsh:  Add a NSH configuration that uses the
	  NSH console (2014-3-22).
	* arch/arm/src/stm32/stm32_eth.c:  Add IGMP hashing support.  From
	  Manuel Stühn (2014-3-24).
	* net/netdev_ioctl.c and uip/uip_input.c:  IGMP-related bug fixes
	  from Manuel Stühn (2014-3-24).
	* arch/arm/src/sam34:  Add missing HSCMI configuration settings to
	  Kconfig; update naming to include SAM34_ (2014-3-24).
	* configs/sam4e-ek/include/board.h:  Update HSMCI timing to use the
	  CLKODD bit (2014-3-24).
	* drivers/include/mtd/Kconfig, sector512.c, and include/nuttx/mtd/mtd.h:
	  Add a new MTD driver that can be used to contain another driver and
	  force its apparent sector size to be 512 bytes (2014-3-24).
	* arch/arm/src/sam34/sam_lowputc.c sam_serial.c:  Fix a mysterious
	  multithreading bug that can lock up the serial port (2014-3-14).
	* drivers/usbdev/Kconfig, usbmsc.c, usbmsc.h, and usbmsc_scsi.c:
	  Redesign threading module used with the USB MSC driver.  It was using
	  pthreads before and these were changed to a kernel thread.  The reason
	  for this has to do with task grouping:  A pthread is a memory of the
	  group of the task that started it.  A kernel thread is independent of
	  the task that started in (other than knowing it as the parent).  This
	  allows me to remove so kludge logic to "deparent" the pthread on
	  startup (2014-3-25).
	* tools/astyle.sh:  A code formatting tool from Lorenz Meier.  This
	  tool should do a better job than the old tools/indent.sh tool
	  (2014-3-26).
	* arch/arm/src/sam_hsmci.c and sam_spi.c:  Add support to invalidate
	  cached memory if the CMCC is enabled (not yet tested, 2014-3-26).
	* arch/arm/src/sam_spi.c:  Add logic to handle SPI word widths > 8
	  (also untested on initial checkin, 2014-3-26).
	* configs/sam4e-ek:  All configurations updated to run with 120MHz
	  CPU speed and with the CMCC enabled.  Calibrated delay loop
	  (2014-3-26).
	* drivers/lcd/Kconfig:  Add missing configuration for the MIO283QT-9A
	  LCD.  Reported by Toby Duckworth (2014-3-27).
	* arch/arm/include/sama5/chip.h and arch/arm/src/sama5/Kconfig:  Add
	  support for the SAMA5D36 (2014-3-28).
	* libc/strings/lib_strncpy.c:  Change ordering of test and copy.  Logic
	  would have failed if n=0; one byte was always copying before testing
	  for the end of the copy.
	* nuttx/configs/sama5d3-xplained/:  Add a board support configuration
	  for the Atmel SAMA5D3 Xplained board.  The initial check in is not
	  finished. For example, it still builds to run out of NOR FLASH but
	  the SAMA5D Xlpained has no NOR FLASH (2013-4-28).
	* arch/arm/src/sama5/sam_pmc.c and .h:  Add functions to calculate
	  PLLACK, PCK, and MCK frequencies given the main clock frequency
	  (2014-3-29).
	* configs/sama5d*/include/board.h, board_sdram.h, and other files:
	  When booting from SDRAM, we need to query the PMC registers (using
	  the functions in sam_pmc.c) to determine the MCK, PCK, etc.  We assume
	  that the MCK input clock is well known main crystal oscillator
	  frequency (2014-3-29).
	* configs/sama5d3x-ek:  Change all configuration names to board-
	  specific names so that this are no name collisions with other
	  boards that have similar configuration variables (2013-3-30).
	* configs/nuttx/compiler.h:  Add macro UNUSED() that can be used
	  to eliminate warnings about variables that are set to values
	  that are not used (2014-3-30).
	* arch/arm/src/sama5/sam_hsmci_clkciv.c:  Remove HSCMI-related
	  functions that did not belong in sam_pmc.c and give them their
	  own file (2014-3-30).
	* arch/arm/src/sama5/sam_boot.c:  Fix some backward conditional
	  compilation (2014-3-30).
	* libc/stdio/lib_sccanf.c:  Fix a counting error in the return
	  value from sscanf().  Noted by kfrolov.  Also, sscanf() should
	  return EOF if no values were converted (2014-3-30).
	* include/time.h and sched/clock_settime(): Add support for
	  CLOCK_REALTIME.  From Macs N (2014-3-31).
	* libc/stdio/lib_ferror.c, lib_fread.c, lib_libfflush.c,
	  lib_libfread.c, and lib_libfwrite.c:  Finish incomplete support
	  for ferror().  From Macs N (2014-3-14).
	* libc/stdio/lib_ftell.c:  Fix a logic error in ftell().  It was
	  simply using the file offset and did not take into account data
	  buffered in memory.  From Macs N (2013-3-31).
Gregory Nutt's avatar
Gregory Nutt committed
	* Add CONFIG_CLOCK_MONOTONIC that case used to disable CLOCK_MONOTONIC
	  for a smaller footprint (2013-3-31).
	* sched/Kconfig:  Menu has gotten too long.  And another layer of
	  menuing in order to simplify this layer (2014-3-31).
	* arch/arm/src/sama5_boot.c:  Fix double mapping of SDRAM when executing
	  out of SDRAM.  In this case, the SDRAM was already mapping in
	  arm_head.S (2014-3-31).
	* arch/arm/src/sama5/chip/sam_dbgu.h:  Add SAMA5D3 DBGU definition
	  header file (2014-3031).
	* arch/arm/src/sama5/sam_dbgu.c and .h:  Add support for the SAMA5D3
	  DBGU (2014-4-1).
	* configs/sama5d3-xplained/nsh:  Configurations now use the DBGU for
	  the serial console (instead of USART1) (2014-4-1).
	* libc/stdio/lib_sccanf.c:  Use stroul() vs strol() with %u format
	  otherwise, range of values is restricted because of sign bit
	  from kfrolov (2014-4-2).
	* arch/arm/src/sama5/sam_boot.c, sam_irq.c, chip/sama5d3x_memorymap.h:
	  When running from SDRAM, vectors must lie in SRAM (2014-4-2).
	* arch/arm/src/armv7-a/arm_head.S and cache.h:  On start-up, make
	  certain that the MMU and caches are disabled (probably un-necessary)
	  (2014-4-2).
	* arch/arm/src/sama5/sam_boot.c:  If we have to copy vectors, then
	  make sure to clean the DCache to be sure that the copied vectors are
	  in the physical RAM (2014-4-2).
	* arch/arm/src/sama5/sam_irq.c:  After we modify the AXI MATRIX, make
	  sure to invalidate all caches and TLBs (probably un-necessary)
	  (2014-4-2).
	* arch/arm/src/sama5/sam_irq.c: Set the VBAR register to zero.  If
	  were started by a bootloader (vs. a RESET), then the VBAR register
	  may not be in its reset state (zero, 2014-4-3).
	* arch/arm/src/sama5/sam_boot.c, sam_irq.c, and chip/sama5d3x_memorymap.h:
	  When booting from SDRAM, don't relocated vectors to ISRAM.  Instead,
	  just set the VBAR register to address of the vectors in SDRAM.
	* arch/arm/src/sama5/sam_clockconfig.c: BMS Fixed to match what the HW
	  does.  From David Sidrane (2014-4-3).
	* arch/arm/src/sama5/Kconfig, sam_boot.c, andsam_clockconfig.c:  On some
	  hardware, reconfiguring the PLL while executing out of NOR FLASH causes
	  crashes.  This was fixed by David Sidrane by implementing RAM functions.
	  The killer code is copied and executed from ISRAM and the crash is
	  avoided (2014-4-3).
	* configs/sama5d3-xplained/Kconfig and include/board*.h;
	  configs/sama5d3x-ek/Kconfig and include/board*.h:  Add support for
	  528MHz CPU clock (2014-4-3).
	* arch/arm/src/sama5/Make.defs:  Fix a build error that occurs when
	  only USB device tracing is enabled (2014-4-4).
	* Documentation/UsbTrace.html:  Add some discussion of the USB monitor
	  (2014-4-4).
	* nuttx/arch/arm/src/armv7-a/mmu.h:  Bufferable bit did not do what
	  I thought it was going to do.  Result was the NOR FLASH accesses
	  were very slow (2014-4-3).
	* arch/arm/src/sama5/sam_udphs.c:  Fix a case where received status
	  was not being cleared, causing OUT SETUP commands to fail (2014-4-6).
	* arch/arm/src/tiva/tiva_syscontrol.c:  Add logic for TM4C125GXL based
	  on logic from Daniel Carvalho with modifications.  I think the
	  LM4F120 may have broken before as well(?).  In any event, the LM4F120
	  also works well with this change (2014-4-7).
	* Back out part of 610e2aa0c224e2936fe8009ef4a2351ce607067a: Need to
	  be able to select USB console devices when there is no /dev/console
	  enabled. Noted by Librae (2014-4-8).
	* configs/*/defconfig:  Increase the number of preallocated watchdogs
	  in all configurations that use networking or USB (2014-3-9).
	* include/nuttx/syslog/syslog.h and ramlog.h:  Move syslog.h and
	  ramlog.h to include/nutt/syslog (2014-4-10).
	* sched/errno_getptr.c and getpid.c:  Add some checks.  If these
	  functions are called early in initialization before the tasking
	  structures are initialized, they will not behave properly
	* arch/arm/src/sama5/sam_twi.c: TWI data sending is fails to increment
	  the number of byes transferred on first byte sent.  from David Sidrane
	  (2014-4-10).
	* configs/sama5d3x-ek/src: The red LED is controlled by PE24 which is
	  also the camera/ISI interface reset line.  So if the a camera is
	  installed, then we must avoid controlling the red LED or we inadvertently
	  also reset the camera module.  Noted by David Sidrane (2014-4-11).
	* arch/arm/src/stm32/stm32_usbhost.c/.h and stm32_otgfshost.c:  USB host
	  tracing added by Leo (2014-4-12).
	* arch/arm/src/sama5/sam_adc.c, sam_can.c, sam_emac.c, sam_gmac.c,
	  sam_ssc.c, and sam_twi.c:  If running from SDRAM, then BOARD_MCK_FREQUENCY
	  is not a constant and cannot be used in conditional compilation (2014-4-16).
	* drivers/lcd/mio283qt9a.c and include/nuttx/lcd/mio283qt9a.h:  Update the
	  MIO183QT-9A LCD driver to support reading from the LCD.  From Toby
	  Duckworth (2014-4-16).
	* arch/arm/src/stm32/chip/stm32f20xxx_pinmap.h:  Correct a mapping for
	  SPI MOSI pin.  From dlsitzer (2014-4-26).
	* arm/src/sama5/sam_clockconfig.c and common/up_internal.h: Move the
	  un-definitions of __ramfuncs__ from the .c file to the .h file or,
	  otherwise, the attribute will be applied differently for the prototype
	  and the function definition.  Sourceforge patch 38 from Luciano Neri
	  (2014-4-17).
	* arch/arm/src/sama5/sam_emac.c:  Add missing right parentheses.  This
	  introduced in the above change and is Sourceforge patch 39 from Luciano
	  Neri (2014-4-17).
	* configs/sama5dx-ek/include/board.h and sama5d3-xplained.h:  These files
	  reference type xcpt_t and so must include nuttx/irq.h.  This is
	  Sourceforge bug 25 submitted by Luciano Neri (2014-4-17).
	* arch/arm/src/stm32/stm32_otgfshost.c:  Some fixes related to low-speed
	  devices and interrupt endpoints from Leo (2014-4-17).
	* configs/stm32f4discovery/src/stm32_usb.c:  Add support to register
	  keyboard and mouse classes if so configured.  From Leo (2014-4-17).
	* include/nuttx/usb/usbhost:  Fix some USB HID-related conditional
	  compilation.  From Leo (2014-4-17).
	* drivers/usbhost/usbhost_hidmouse.c: Don't include NAKs from the device
	  in the error count.  From Leo (2014-4-17).
	* arch/arm/src/sam34/sam_irq.c:  Fix initialization of the default
	  priorities (2014-4-17).
	* arch/arm/src/kinetis/kinetis_irq.c, lpc17xx/lpc17_irq.c, and
	  tiva/tiva_irq.c:  Modify the logic to disables the interrupts and sets
	  the default interrupt priority so that it uses the ICTR to get the
	  number of interrupt lines/registers.  This is instead of using some
	  fixed number of initializations based a priori knowledge of the number
	  of interrupt lines in the MCU.  This logic is untested on some MCUs
	  on initial check-in0 (2014-4-17).
	* arm/src/lpc17xx/Kconfig and lpc17_ethernet.c:  The default interrupt
	  priority should be default, not the highest priority (2014-4-19).
	* configs/lpcxpresso-lpc1768: Refreshed all defconfig files (2014-4-19).
	* configs/olimex-lpc1766stk: Refreshed all defconfig files (2014-4-19).
	* configs/zkit-arm-1769: Refreshed all defconfig files (2014-4-19).
	* include/nuttx/binfmt/ieee695.h:  Beginning of header file for IEEE
	  695 OMF header file (2014-4-19).
	* arch/arm/include/stm32/chip.h and src/stm32/Kconfig:  Add support
	  for the STM401RE.  From Frank Bennett (2014-4-20).
	* README.txt, Documentation/README.html, configs/Kconfig and README.txt,
	  configs/nucleo-f401re:  Add support for the Nucleo-F401RE board.  From
	  Frank Bennett (2014-4-20).
	* arch/arm/src/sam34/sam_rtc.c/.h:  Port RTC driver from SAMA5 to
	  SAM3/4.  From Bob Doiron (2014-4-21)
	* arch/arm/src/sam34/sam4s_periphclks.h: Fix error in macros that
	  disable peripheral clocking.  From Bob Doiron (2014-4-21)
	* drivers/mmcsd/mmcsd_sdio.c/.h:  Misc improvements from Bob Doiron
	  (2014-4-21)
	* arch/arm/src/sam34/sam_hsmci.c and chip/sam_hsmci.h:  Extensions
	  from Bob Doiron needed to support PDC-based HSMCI DMA transfers
	  (2014-4-21).
	* configs/sam4s-xplained-pro:  Support for the SAM4S Xplained Pro
	* configs/sam4s-xplained-pro: Added card detect (kind of broken
	  still); added proc/vfat mounting during init to save some typing.
	* configs/sam4s-xplained-pro: Boost PLLA to 240MHz to allow USB. From
	* arch/arm/src/sam34/sam_wdt.c/.h:  Add watchdog driver.  From Bob
	* nuttx/configs/sam4s-xplained-pro:  Add board-specific watchdog
	  timer support.  From Bob Doiron (2014-4-21).
	* drivers/timer.c and include/nuttx/timer.h:  Timer "upper half"
	  driver and lower half interface definition from Bob Doiron
Gregory Nutt's avatar
Gregory Nutt committed
	* arch/z16/src/z16f/z16f_espi.c:  Add ZNEO ESPI driver (2014-4-24).
	* arch/arm/src/stm32/stm32_sdio.c:  The dmaflight method must
	  be conditioned on CONFIG_SDIO_PREFLIGHT.  Noted by Pelle
	  Windestam (2014-4-25)
	* configs/nucleo-f401re:  Removed bogus references to the MPU
	  (2014-4-25).
	* arch/z16/src/z16f_timerisr.c:  Fix calculation of timer
	  reload and prescaler.  The timer frequency was way too fast
	  (2014-4-25).
	* arch/arm/src/stm32/stm32_otgfsdev.c and others: Sourceforge
	  Ticket #26.  up_prioritize_irq should not be called if
	  CONFIG_ARCH_IRQPRIO is not defined (2014-4-25).
Gregory Nutt's avatar
Gregory Nutt committed
7.3 2014-06-25 Gregory Nutt <gnutt@nuttx.org>

	* arch/arm/src/sama5/sam_clockconfig.c:  Needed function sam_pmcwait()
	  is needed when UDPHS, EHCI, or OHCI is configured but may not be
	  compiled in due to insufficient conditional logic.  From Luciano Neri
	  (SourceForge patch #40) (2014-4-29).
	* arch/arm/include/stm32/chip.h, src/stm32/Kconfig, stm32_allocateheap.c,
	  configs/nucleo-f401re/nsh/defconfig, and scripts/ld.script:  Numerous
	  changes, most correcting memory usage on the Nucleo-F401RE (2014-4-30).
	* /drivers/mtd/w25.c: Extended by Mark Whitehorn to support the 8Mbit
	  W25Q80BV part (2014-4-30).
	* configs/sam4s-xplained-pro:  Update LED control logic from Bob Doiron
	  (2014-4-30).
	* drivers/timer.c and include/nuttx/timer.h: Enhanced timer interface
	  from Bob Doiron (2014-4-30).
	* arch/arm/src/sam34/Kconfig and sam_tc.c: Enhanced timer/counter driver
	  from Bob Doiron (2014-4-30).
	* configs/sam4s-xplained-pro/Kconfig, nsh/defconfig, and src/sam_tc.c:
	  The SAM4S Xplained Pro now uses the extended timer/counter features.
	  From Bob Doiron (2014-4-30).
	* include/nuttx/arch.h and sched/os_internal.h:  If the CPU load
	  measurements are being driven by an external clock, then the prototype
	  for sched_process_cpuload() must be available in include/nuttx/arch.h
	  (2014-4-30).
	* Documentation/NuttShell.html and many defconfig files:  The alternate
	  console device CONFIG_NSH_CONDEV must not be defined unconditionally.
	  This causes errors when using Telnet sessions.  This was solved by
	  adding CONFIG_NSH_ALTCONDEV: CONFIG_NSH_ALTCONDEV enables or disables
	  the feature then, if enabled, CONFIG_NSH_CONDEV provides the alternative
	  console device name (2014-5-5).
	* arch/arm/src/sam34/sam_rtt.c/.h:  RTT driver from Bob Doiron.  Also
	  added high resolution RTC emulation using the RTT for the sub-second
	  counter (2014-5-5).
	* configs/sam4s-xplained-pro:  Clean-up of LED usage and also some
	  integration of new timer features.  From Bob Doiron  (2014-5-5).
	* drivers/timer.c and include/nuttx/timer.h:  Timer driver updates from
	  Bob Doiron (2014-5-5).
	* binfmt/symtab_findorderedbyname.c:  Fix an error in the symbol search
	  function.  Noted by Pelle Windestam (2014-5-6).
	* arch/arm/src/stm32/stm32f40xxx_rcc.c and configs/nucleo-f401re/include/board.h:
	  The Nucleo-F401RE has no on-board crystals and, hence, needs to run
	  with the PLL input from the on-chip HSI clock (2014-5-6).
	* arch/arm/src/armv7-a/arm_memcpy.S:  This is the same optimized memcpy()
	  function that Mike Smith brought in for the ARMv7-M with minor tweaks
	  by David Sidrane to work with the ARMv7-A (2014-5-6).
	* binfmt/libpcode, pcode.c, include/nuttx/poff.h, and binfmt/pcode.h:
	  Framework to support Pascal P-Code as a binary format.  At present this
	  logic is incomplete and really nothing more than a thought experiment
	  to determine the feasibility of the P-code binary format (2014-5-7).
	* drivers/sensors/Make.defs:  Correct build dependency.  Sourceforge
	  ticket #41 from Kosma Moczek (2014-5-8).
	* drivers/serial.c, include/nuttx/serial.h, arch/arm/src/stm32/stm32_serial.c
	  and minor updates to all other drivers using the serial interface:  Add an
	  rxflowcontrol method to the serial interface to better support RX flow control.
	  From Jussi Kivilinna (2014-5-8).
	* arch/arm/include/stm32 and src/stm32:  Add support for the STM32152 and
	  STM32162 Medium+ density parts (plus miscellaneous other improvements to
	  the original STM32151 logic).  From Jussi Kivilinna and Sami Pelkonen
	* binfmt/binfmt_dumpmodule.c, binfmt_loadmodule.c, binfmt_unloadmdoule.c,
	  builtin.c, elf.c, nxflat.c, pcode.c, and include/nuttx/binfmt/binfmt.h:
	  Extend the binfmt interface to handle error conditions where format-specific
	  binfmt clean-up is needed in the event of error conditions.  This is needed
	  by the P-Code binfmt (2014-5-8).
	* binfmt/libpcode, pcode.c, include/nuttx/poff.h, and binfmt/pcode.h:
	  Now uses apps/interpreters/prun and is basically functional.  More work
	  is needed because (1) it is too coupled with apps/ and (2) will not work
	  with CONFIG_NUTTX_KERNEL (2014-5-9).
	* arch/arm/src/stm32/stm32_i2c.c:  Bring in PX4 fix for I2C in very high
	  noise environments or with rogue perpipherals.  Taken from the PX4 commit
	  099b2017ccfa0fc7696f168db2a0c2e13fe5edbc by Tridge here:
	  https://github.com/PX4/NuttX (2014-5-10).
	* include/nuttx/video/rgbcolors.h:  Fix typo in several macros: RBG -> RGB.
	  (2014-5-12).
	* drivers/mtd/ramtron.c: Add support for Fujitsu MB85RS1MT part.  From
	  Charles Ash (2014-5-12).
	* configs/sam4e-ek/src/sam_ili9325.c:  Add an LCD driver for the SAM4E-EK
	  board.  Untested on initial check-in (2014-5-13).
	* configs/sam4e-ek/src/sam_ads7843e.c:  Add a touchscreen driver for the
	  SAM4E-EK board.  Untested on initial check-in (2014-5-13).
	* arch/arm/src/stm32/stm32_i2c_alt.c: Add an alternative I2C implementation
	  for the STM32 F03 that works around errata in that part.  From Patrizio
	  Simona (2014-5-14).
	* arch/arm/src/sam34/sam_gpio.c:  Fix some SAM4E compiler errors when
	  CONFIG_DEBUG_GPIO is enabled (2014-5-15).
	* sched/sig_mqnotempty.c:  Test for a valid signal number is inverted; this
	  function could not have been working correctly???  From eero.nurkkala
	  (2014-5-20).
Gregory Nutt's avatar
Gregory Nutt committed
	* arch/arm/src/stm32/stm32_lowputc.c:  Fix error in conditional
	  compilation. From Sami PelKonen (2014-5-20).
	* arch/*/src/* (several files):  Make sure that all references to
	  up_prioritize_irq() are conditioned on CONFIG_ARCH_IRQPRIO.  Problem
Gregory Nutt's avatar
Gregory Nutt committed
	  noted by Mike Smith (2014-05-20).
	* drivers/wireless/cc3000/Kconfig: Correct SPI mode for CC3000 is CPOL=0
	  CHPA=1. See http://processors.wiki.ti.com/index.php/CC3000_Serial_Port_Interface_(SPI)
	  From Jussi Kivilinna (2014-5-21).
	* drivers/wireless/cc3000/cc3000.c and include/nuttx/wireless/cc3000/include/cc3000_upif.h:
	  Configuration has CC3000_SPI_MODE settings but source uses
	  CONFIG_CC3000_SPIMODE. From Jussi Kivilinna (2014-5-21).
	* drivers/wireless/cc3000/cc3000drv.c: unsoliced_thread does
	  initialization of message queue, but main thread might block that
	  thread from running and use the uninitialized message queue. The main
	  thread must wait until unsolice_thread initializes the required
	  structures before proceeding. From Jussi Kivilinna (2014-5-21).
	* drivers/wireless/cc3000/cc3000.c: Fix build when POLL is enabled.
	  From Jussi Kivilinna (2014-5-21).
Gregory Nutt's avatar
Gregory Nutt committed
	* arch/arm/include/armv7-m/irq.h:  Change bne to bne.n in irqrestore()
	  (2014-5-22).
	* Many files: Convert all old-style variadic macros to the C99 form.
	  Recent GCC changes tightens up that behavior and can cause some problems
	  (at least for the IAR compiler for some reason).  See
	  https://gcc.gnu.org/onlinedocs/cpp/Variadic-Macros.html#Variadic-Macros.
	  Noted by Bob Grimes (2014-5-22).
Gregory Nutt's avatar
Gregory Nutt committed
	* configs/viewtool-stm32f107/nsh: Configuration refreshed (2014-5-23).
Gregory Nutt's avatar
Gregory Nutt committed
	* arch/arm/src/stm32/stm32_i2c_alt.c: Final driver from Max Kriegleder et al.
	  Reduces footprint and fixes a bug.  (2014-5-23).
Gregory Nutt's avatar
Gregory Nutt committed
	* tools/configure.sh:  In-place SED edit messes up permissions on windows.
Gregory Nutt's avatar
Gregory Nutt committed
	  From Hannes Delago (2014-5-25).
	* include/nuttx/mtd/mtd.h:  Needs forward reference to struct spi_dev_s.
	  (2014-5-25).
	* arch/arm/src/stm32/stm32_i2c.c and stm32_i2c_alt.c:  Back out PX4 fixes
	  that were reverted in the PX4 repositories (2014-5-25).
Gregory Nutt's avatar
Gregory Nutt committed
	* sched/Kconfig:  CONFIG_START_YEAR/MONTH/DAY are not required if the
	  RTC is enabled (2014-5-26).
	* arch/arm/src/stm32/stm32_rtcc.c:  Add retry logic to RTC initialization.
	  It sometimes takes longer for the RTC to initialize, at least as noted
	  on an F2 part.  From dlsitzer (2014-5-27).
	* libc/stdio/lib_snprintf.c:  If the size passed to snprintf() is zero,
	  then snprintf() must write nothing, but instead return the size of the
	  buffer needed to hold the entire string.  From Sami Pelkonen (2014-5-30).
	* net/arp:  Move arp related files from net/uip to net/arp.  Files renamed
	  with arp_ prefix (2014-5-30).
	* include/nuttx/net/arp.h and net/arp/arp_timer.c:  Moved
	  include/nuttx/net/uip/uip-arp.h to include/nuttx/net/arp.h; moved
	  net/net_arptimer to arp/arp_timer.c. (2014-5-30).
	* net/igmp:  Moved IGMP files from net/uip to net/igmp (2014-5-30).
	* net/icmp:  Moved ICMP files from net/uip to net/icmp (2014-5-30).
Gregory Nutt's avatar
Gregory Nutt committed
	* net/uip/uip_tcptimer.c:  NET: Notify upper layer when TIME_WAIT or
	  FIN_WAIT_2 timeout occurs. Otherwise connections possibly won't get
	  freed. From Max Holtzberg (2014-6-2).
	* TCP fallback allocation: Added all states in which the connections are
	  about to be closed.  Fallback mechanism is disabled when SO_LINGER is
Gregory Nutt's avatar
Gregory Nutt committed
	  enabled to prevent deadlocks in netclose_disconnect().  From Max Holtzberg
Gregory Nutt's avatar
Gregory Nutt committed
	  (2014-6-2).
	* configs/olimex-stm32_h405:  Support for the Olimex STM32 H405 board
	  contributed by Martin Lederhilger (2014-6-3).
Gregory Nutt's avatar
Gregory Nutt committed
	* net/arp/Make.defs:  Fix an error introduced recently in the net/ build
	  (2014-6-3).
	* net/iob:  Add generic I/O buffering.  Not currently used by anything.
	  (2014-6-4).
Gregory Nutt's avatar
Gregory Nutt committed
	* arch/arm/include/sama5 and arch/arm/src/sama5:  Basic framework to
Gregory Nutt's avatar
Gregory Nutt committed
	  support the SAMA5D4 family.  Incomplete on initial check-in (2014-6-3).
Gregory Nutt's avatar
Gregory Nutt committed
	* arch/arm/src/sama5/chip/sam_xdmac.h: Beginning of XDMAC register
	  definition header file (incomplete) (2014-6-4).
Gregory Nutt's avatar
Gregory Nutt committed
	* arch/arm/src/sama5/chip/sam_l2cc.h:  Add SAMA5D4 L2CC register definition
	  header file (incomplete on initial check-in) (2014-6-5).
Gregory Nutt's avatar
Gregory Nutt committed
	* drivers/usbdev/cdcacm.c:  Reset RX head to avoid resending last serial
	  data when USB cable disconnected/re-connected.  From Lizhuoyi (2014-6-6).
	* drivers/usbdev/pl2303.c:  Same change cloned for PL2303 (2014-6-6).
	* arch/arm/src/lpc2378:  Fix several typos. From Lizhuoyi (2014-6-6).
Gregory Nutt's avatar
Gregory Nutt committed
	* arch/arm/src/lpc17xx/lpc17_gpdma.c:  Fix an error when DMA is
Gregory Nutt's avatar
Gregory Nutt committed
	  started:  The read-modify-write fails when the DMA is started.  This
	  is because the value read is not the same as the value set (on write
	  it is the number of transfers to do; on read it is the number of
	  transfers completed).  From Lizhuoyi (2014-6-6).
Gregory Nutt's avatar
Gregory Nutt committed
	* configs/sama5d4-ek:  Initial board support for the SAMA5D4-EK board.
	  This initial check-in is basically the SAMA5D3-Xplained board support
	  with appropriate name changes (2014-6-6).
Gregory Nutt's avatar
Gregory Nutt committed
	* stm32/arch/arm/src/stm32_serial.c:  Handle configuration for the
	  case of 8-bit data with parity.  From Freddie Chopin (2014-6-11).
	* binfmt/libelf/elf.c:  Fix a compilation error when CONFIG_ELF_DUMPBUFFER
	  is defined.  From Pelle Windestam (2014-6-12).
Gregory Nutt's avatar
Gregory Nutt committed
	* net/, include/nutt/net, and include/netpacket:  Add support for "raw"
	  sockets.  From Lazlo Sitzer (2014-6-12).
Gregory Nutt's avatar
Gregory Nutt committed
	* arch/arm/src/sama5:  Add SAMA5D4 XDMAC driver.  Initial check-in is
	  just the DMAC driver with a few naming changes (2014-6-12).
Gregory Nutt's avatar
Gregory Nutt committed
	* configs/sama5d4x-ek/ramtest:  Add an SDRAM test configuration
	  (2014-6-14).
Gregory Nutt's avatar
Gregory Nutt committed
	* libc/stdio/lib_libsnoflush.c, lib_memsistream.c, and lib_memsostream.c:
	  Add support for seekable memory streams (2014-6-14).
	* libc/stdio/lib_rawsistream.c, and lib_rawsostream.c:  Add support for
	  seekable raw streams (2014-6-14).
	* libc/stdio/lib_stdsistream.c, and lib_stdsostream.c:  Add support for
	  seekable standard streams (2014-6-14).
Gregory Nutt's avatar
Gregory Nutt committed
	* configs/sam4x-xplained*/src/sam_buttons.c: Button interrupts not being
	  disabled after being detached.  (2014-6-15).
Gregory Nutt's avatar
Gregory Nutt committed
	* binfmt/binfmt_exec.c:  Fix a critical error in exec(); argv was not
	  being passed (2014-6-15).
Gregory Nutt's avatar
Gregory Nutt committed
	* arch/arm/src/sama5/sam_dmac.h:  Fix some critical typos in the SAMA5D3
	  DMA definitions (2014-6-17).
Gregory Nutt's avatar
Gregory Nutt committed
	* nuttx/net/net_send_unbuffered.c: Notify the device driver of the
	  availability of TX data.  From Daniel Lazlo Sitzer (2014-6-18).
	* net/net_close.c, net_send_unbuffered.c, socket.c, and uip_poll.c:
	  Various fixes for raw sockets from Daniel Lazlo Sitzer: (1) properly
	  free the socket in psock_close(), (2)  socket() returns failure when
	  there is no free socket/connection, and (3) Set number of bytes to
	  transmit is set in the uip_driver_s instance (2014-6-18).
Gregory Nutt's avatar
Gregory Nutt committed
	* net/tcp:  Move all TCP files from net/uip to net/tcp (2014-6-18).
	* net/udp:  Move all UDP files from net/uip to net/udp (2014-6-18).
	* net/pkt:  Move all AF_PACKET files from net/uip to net/pkt (2014-6-18).
Gregory Nutt's avatar
Gregory Nutt committed
	* net/Kconfig:  Add option to select CONFIG_NET_GUARDSIZE (2014-6-18).
	* net/net_send_buffered.c:  Add checks from buffer allocation failures.
	  from Max/Himax (2014-6-19).
	* tools/mkfsdata.pl:  Apparently, the trailing the 0x00 in http server
	  files is seen as a bug in javascript and images.  From Max/Himax
	  (2014-6-19).
	* net/ and include/nutt/net (many files):  Conversion of the TCP
	  write buffering logic to use I/O buffer chains (not tested on initial
	  check-in) (2014-6-22).
Gregory Nutt's avatar
Gregory Nutt committed
	* include/time.h and sched/clock_gettime.c:  Fix typo in conditional
	  compilation:  CONFIG_CLOCK_MONOTONIC vs. CLOCK_MONOTONIC.  From Manuel
	  Stühn (2014-6-23).
Gregory Nutt's avatar
Gregory Nutt committed
	* arch/avr/Kconfig and arch/avr/src/avr32/Kconfig:  Fix typos in
	  Kconfig files from Stefan Sperling (2014-6-23).
	* net/net_send_unbuffered.c:  Remove some spurious white space from
	  field selectors.  SourceForge ticket #42 (2014-6-23).
Gregory Nutt's avatar
Gregory Nutt committed
	* arch/arm/src/lpc17xx and configs/lpcexpresso-lpc1768:  Added support
	  for the lpcxpresso's rtc handler, adc, dac, timers, pwm and mcpwm
	  drivers.  From Max (himax) (2014-6-23).
Gregory Nutt's avatar
Gregory Nutt committed
	* net/tcp/Kconfig:  Cannot enable bother TCP write buffering AND raw
	  packet sockets.  This should not logically be the case, but is because
	  the implementations are presently too coupled.  The logic packet
	  socket logic in net/net_send_unbuffered.c needs to be broken out into
	  a separate file so that write buffered TCP and packet socket transfers
	  can co-exist (2014-6-23).
	* net/uip/uip_pktsend.c:  Move the logic that copies data into the
	  device buffer from net/net_send_unbuffered.c to net/uip/uip_pktsend.c.
	  This makes the packet socket design more consistent with TCP and UDP
	  (2014-6-23).
Gregory Nutt's avatar
Gregory Nutt committed
	* net/: Separate net/net_send_buffered.c and net/net_send_unbuffered.c
	  to net/tcp/tcp_send_buffered.c, net/tcp/tcp_send_unbuffered.c, and
	  pkt/pkt_send.c (2014-6-24).
Gregory Nutt's avatar
Gregory Nutt committed
	* include/net/if.h and /net/arp/arp_inout.c:  Suppress ARP requests on
	  data sent from packet sockets (2014-6-24).
Gregory Nutt's avatar
Gregory Nutt committed
	* include/nuttx/net/netconfig.h: Move include/nuttx/net/uip/uipopt.h to
Gregory Nutt's avatar
Gregory Nutt committed
	  include/nuttx/net/netconfig.h (2014-6-24).
Gregory Nutt's avatar
Gregory Nutt committed
	* include/nuttx/net/netdev.h: Move include/nuttx/net/uip/uip-arch.h to
	  include/nuttx/net/netdev.h (2014-6-24).
	* include/nuttx/net/tcp.h: Move include/nuttx/net/uip/uip-tcp.h to
	  include/nuttx/net/tcp.h (2014-6-24).
	* include/nuttx/net/udp.h: Move include/nuttx/net/uip/uip-udp.h to
	  include/nuttx/net/udp.h (2014-6-24).
	* include/nuttx/net/pkt.h: Move include/nuttx/net/uip/uip-pkt.h to
	  include/nuttx/net/pkt.h (2014-6-24).
	* include/nuttx/net/icmp.h: Move include/nuttx/net/uip/uip-icmp.h to
	  include/nuttx/net/icmp.h (2014-6-24).
	* include/nuttx/net/igmp.h: Move include/nuttx/net/uip/uip-igmp.h to
	  include/nuttx/net/igmp.h (2014-6-24).
	* include/nuttx/net/ip.h: Move include/nuttx/net/uip/uip-ipopt.h to
	  include/nuttx/net/ip.h (2014-6-24).
	* include/nuttx/net/uip.h: Move include/nuttx/net/uip/uip.h to
	  include/nuttx/net/uip.h (2014-6-24).
	* net/uip/uip.h: Rename net/uip/uip_internal.h to net/uip/uip.h
	  (2014-6-24).
Gregory Nutt's avatar
Gregory Nutt committed
	* net/iob:  Add support for throttling read-ahead buffering if the
	  read-ahead buffering is competing with write buffering for I/O
	  buffers (2014-6-24).
Gregory Nutt's avatar
Gregory Nutt committed
	* net/: Many files changed.  Convert existing TCP read-ahead logic
	  to use I/O buffer chains (2014-6-24).
Gregory Nutt's avatar
Gregory Nutt committed
	* net/: Clean up all TCP and UDP related naming (204-6-24).
Gregory Nutt's avatar
Gregory Nutt committed
	* net/: Clean up all ICMP, IGMP, ARP, and PKT related naming
	  (204-6-25).
Gregory Nutt's avatar
Gregory Nutt committed
	* arch/arm/src/sam34 and include/sam34:  Add support for the SAM4CM
	  family.  From Max Neklyudov (2014-6-25).
7.4 2014-08-15 Gregory Nutt <gnutt@nuttx.org>
Gregory Nutt's avatar
Gregory Nutt committed

Gregory Nutt's avatar
Gregory Nutt committed
	* arch/arm/src/stm32/stm32_i2c.c:  Fix missing configuration of
	  GPIO pins in I2C driver.  Fix from Alex D. (2014-6-25).
Gregory Nutt's avatar
Gregory Nutt committed
	* NET: Fix an include file ordering problem when CONFIG_NET_STATISTICS=y.
	  (2014-6-26).
Gregory Nutt's avatar
Gregory Nutt committed
	* include/nuttx/net/netstats.h: Move statistics from uip.h to new netstats.h
Gregory Nutt's avatar
Gregory Nutt committed
	  to remove nasty circular inclusion problem (2014-6-26).
Gregory Nutt's avatar
Gregory Nutt committed
	* arch/arm/src/sama5:  Add logic to redirect all SAMA5D4 interrupts to
	  the AIC (2014-6-26).
Gregory Nutt's avatar
Gregory Nutt committed
	* net/route: Move routing table functions to net/route (2014-6-26).
Gregory Nutt's avatar
Gregory Nutt committed
	* net/utils: Move some files into net/utils (2014-6-26).
	* net/:  Repartition initialization logic so that net/uip is at the bottom
	  of the food chain, instead of at the top.
Gregory Nutt's avatar
Gregory Nutt committed
	* apps/include/hex2bin.h:  The hex2bin library did not build with
	  debug disabled (2014-6-26).
	* configs/sama5d4-ek/dramboot and src/dram_main.c:  Add a boot loader that
	  runs from ISRAM and loads an Intel HEX file into DRAM (2014-6-26).
	* configs/sama5d4-ek/nsh and scripts/: Setup the SAMA5D4-EK NSH
Gregory Nutt's avatar
Gregory Nutt committed
	  configuration to use the DRAMBOOT loader by default (2014-6-26).
Gregory Nutt's avatar
Gregory Nutt committed
	* binfmt: Various changes associated with symbol tables.  Most from Pelle
	  Windestam (2014-6-27).
Gregory Nutt's avatar
Gregory Nutt committed
	* Networking: Add network device ioctl to access PHY registers. From Daniel
Gregory Nutt's avatar
Gregory Nutt committed
	  Lazlo Sitzer (2014-6-27).
Gregory Nutt's avatar
Gregory Nutt committed
	* net/netdev:  Move net/netdev*.c to net/netdev/netdev*.c (2014-6-27).
Gregory Nutt's avatar
Gregory Nutt committed
	* arch/arm/src/sam34/chip/sam4cm_ipc.h:  Add SAM4CM IPC register header
	  file.  From Max Neklyudov (2104-6-27).
	* arch/arm/src/sam34:  Various fixes PMC and clock configuration for the
	  SAM4CM port from Max Neklyudov (2104-6-27).
Gregory Nutt's avatar
Gregory Nutt committed
	* configs/sama5d4-ek/src/dram_main.c: SAMA5D4:  Bootloader needs to flush
Gregory Nutt's avatar
Gregory Nutt committed
	  D-Cache to memory before disabling the caches (2014-6-27).
Gregory Nutt's avatar
Gregory Nutt committed
	* net/Makefile: Fix a Make.defs inclusion omitted in a previous check-in
	  (2014-6-17).
	* net/utils:  Move net/uip/uip_chksum.c to net/utils/net_chksum.c
	  (2014-6-17).
Gregory Nutt's avatar
Gregory Nutt committed
	* configs/sama5d4-ek/at25boot and src/at25_main.c:  Add a configuration
	  that will load a bootloader into AT25 Serial FLASH (2014-6-28).
Gregory Nutt's avatar
Gregory Nutt committed
	* libc/math: Change double_t to double in rint().  Add rintf() and rintl()
	  while we are at it (2014-6-28).
	* net/iob: Fix some errors in recent network I/O buffering when stack runs
	  from interrupt level.  Reported by Manuel Stühn (2014-6-28).
Gregory Nutt's avatar
Gregory Nutt committed
	* net/sockets:  Create the net/sockets directory and hook it into the
	  build system.  Move all socket-related C files into net/socket.  Move
	  net/net.h to net/socket/socket.h (2014-6-28).
Gregory Nutt's avatar
Gregory Nutt committed
	* net/ipv6:  Move IPv6 files from net/uip to net/ipv6 (2014-6-28).
	* net/devif:  Rename net/uip to net/devif.  Rename uip/uip.h to
	  devif/devif.h (2014-6-28).
	* net/devif: Rename many functions in net/devif from uip_* to devif_*
	  (2014-6-28).
Gregory Nutt's avatar
Gregory Nutt committed
	* configs/sama5d4-ek/src/nsh:  The SAMA5D4-EK NSH configuration now
	  supports the RTC by default (2014-6-29).
	* arch/arm/src/sama5/Kconfig and sam_hsmci.c:  Add configuration to
	  assign an XDMAC channel to an HSMCI (2014-6029).
	* Various fixes for networking and tiny webserver from Max (2014-6-29).
Gregory Nutt's avatar
Gregory Nutt committed
	* SAMA5: Various fixes related to DMA in order to get the HSMCI
	  driver to build for the SAMA5D4 (2014-6-29).
	* SAMA5D4-EK: Fix HSMCI card-detect pin selection (2014-6-29).
Gregory Nutt's avatar
Gregory Nutt committed
	* net/:  Still renaming, mostly uip_* to net_* (2014-6-29).
Gregory Nutt's avatar
Gregory Nutt committed
	* arch/arm/src/stm32/stm32_i2c.c and stm32_i2c_alt.c, and
	  libc/time/lib_daysbeforemonth.c:  Make variable definitions
	  'static const' when possible to save RAM usage.  From Kosma
	  Moczek (2014-6-30).
	* include/stdint.h: Correct naming of [U]INT_LEASTn_{MAX|MIN}
	  and [U]INT_FASTn{MAX|MIN}. From Kosma Moczek (2014-6-30).
Gregory Nutt's avatar
Gregory Nutt committed
	* drivers/mtd/mtd-config:  Extend erase block size to 18-bits in
	  order (decrease block size to 14-bits) to handle parts with large
	  erase blocks. From Kosma Moczek (2014-6-30).
Gregory Nutt's avatar
Gregory Nutt committed
	* drivers/analog/adc.c: Remove empty ADC write method. From Kosma
	  Moczek (2014-6-30).
	* arch/arm/src/stm32/stm32_serial.c: Unconfigure GPIO pins when
	  closing a serial port to prevent back effects from back-powering on
	  the TX pin. From Kosma Moczek (2014-6-30)
	* arch/arm/src/stm32/Kconfig:  Move temperature ranges from chip
	  selection configuration prompts. Reorder MCUs in choice menu;
	  remove duplicates. Add support for the STM32F103RC and RD.  From
	  Kosma Moczek (2014-6-30)
	* configs/sam4s-xplained-pro:  Correct description of LEDs and
	  usage. From Kosma Moczek (2014-6-30)
	* include/unistd.h: Some POSIX_* and _POSIX_* macros are defined
	  without value, whereas (as far as I can tell) the newer versions
	  of the standard require them to have the value corresponding to
	  the standard version implemented, like 200809L. Are the any plans
	  to clean this up? For now I've put together a quick patch that
	  defines those macros to 1, consistent with the rest of unistd.h.
	  From Kosma Moczek (2014-6-30)
Gregory Nutt's avatar
Gregory Nutt committed
	* arch/arm/src/sama5/sam_memories.c:  Fix some logic in conversion
Gregory Nutt's avatar
Gregory Nutt committed
	  of physical and virtual DRAM addresses when running out of DRAM.  This
Gregory Nutt's avatar
Gregory Nutt committed
	  is an important bug fix for the SAMA5D3 and 4 when running out of
	  DRAM (2014-6-30).
	* arch/arm/src/sama5/sam_pio.c:  Another *critical* SAMA5D3 and 4 bug
	  fix:  PIO clocking must be enabled for all input pins or else the
	  value that is read never changes. (2014-6-30).
Gregory Nutt's avatar
Gregory Nutt committed
	* net/:  Many more functions renamed to follow new modularization of
Gregory Nutt's avatar
Gregory Nutt committed
	  the networking code.  This is part of an ongoing repartitioning
Gregory Nutt's avatar
Gregory Nutt committed
	  effort and there is still more to be done.  There will be no additional
	  notations in this ChangeLog until the renaming is complete (2014-6-30).
Gregory Nutt's avatar
Gregory Nutt committed
	* arch/arm/src/sam34/sam_emac.c, sama5/sam_emaca.c, sam_emacb.c, and
	  sam_gmac.c:  Fix cloned error:  Wrong bits being cleared before ORing
	  in new bits (2014-7-1).
Gregory Nutt's avatar
Gregory Nutt committed
	* drivers/syslog/ramlog.c: syslog_putc needs to set the errno and
	  return EOF on a failure (2014-7-1).
Gregory Nutt's avatar
Gregory Nutt committed
	* SAM3/4 and SAMA5 Ethernet:  Fix an error in the function that
Gregory Nutt's avatar
Gregory Nutt committed
	  determines the number of free TX descriptors.  This is an important
Gregory Nutt's avatar
Gregory Nutt committed
	  bugfix on busy networks (2014-7-2).
Gregory Nutt's avatar
Gregory Nutt committed
	* SAM4 AES driver.  Contributed by Max Neklyudov (2014-7-3).
	* crypto/ and include/crypto:  Beginnings of a crypto/ subsystem from
	  Max Neklyudov (2014-7-3).
Gregory Nutt's avatar
Gregory Nutt committed
	* arch/arm/src/stm32 and fs/procfs:  Add a procfs entry to show the
	  state of the CCM heap usage.  From Pelle Winderstam (2013-7-3).
Gregory Nutt's avatar
Gregory Nutt committed
	* SAMA5 OHCI: Fix an error in a DEBUGASSERT statement.  Caused assertion
	  to fire inappropriately when a low- or full-speed device was removed
	  and CONFIG_DEBUG=y (2013-7-3).
	* SmartFS.  Fix for a bug that would show up if CONFIG_MTD_BYTE_WRITE
	  was not selected and the SMART sector size was larger than the mt
	  device's block size (like it would be if using SMARTFS on larger
	  flash devices).  From Ken Pettit (2014-7-3).
Gregory Nutt's avatar
Gregory Nutt committed
	* tools/mkdeps.c: NAME_MAX not available on SunOS; use FILENAME_MAX
	  or MAXNAMELEN.  Noted by Douglas Beattie (2014-7-4).
	* drivers/mtd/smart.c: Increase some variables from uint16_t to uint32_t
	  to handle larger device sizes.  From Ken Pettit (2014-7-4).
Gregory Nutt's avatar
Gregory Nutt committed
	* SAMA5 OHCI: Pointers to allocated port values were not being nullified
	  after being deallocated.  This caused some assertions to fire when
	  debug was enabled (2014-7-4).
Gregory Nutt's avatar
Gregory Nutt committed
	* include/nuttx/net/ip.h and ipopt.h:  ip.h renamed ipopt.h.  Moved
	  parts of uip.h to net.h. Renamed the rest of uip.h to ip.h.  Removed
	  all includes of uip.h; added includes of ip.h wherever needed.
	  Tried to fix problems of the now missing sneak inclusions because
	  uip.h was removed.  There are probably a few of these that were
	  missed! (2014-7-4).
Gregory Nutt's avatar
Gregory Nutt committed
	* drivers/input/mxt.c/h and include/nuttx/input/mxt.h:  Add very basic
Gregory Nutt's avatar
Gregory Nutt committed
	  support for the Atmel maXTouch touchscreen controller (2014-7-5).
	* net/*/*.h: Start moving the private definitions from header files
	  at include/nuttx/net to the corresponding header file under net/.
	  So far pkt.h, upd.h, and igmp.h have been sanitized.  Still a few
	  to go (2014-7-5)
Gregory Nutt's avatar
Gregory Nutt committed
	* configs/sama5d4-ek/src/sam_maxtouch.c:  Add board support for the
	  maXTouch touchscreen controller (2014-7-5).
Gregory Nutt's avatar
Gregory Nutt committed
	* net/*/*.h: Finish moving the private definitions from header files
	  at include/nuttx/net to the corresponding header file under net/.
	  This additional header files have been sanitized: arp.h, icmp.h, tcp.h
	  (2014-7-6)
Gregory Nutt's avatar
Gregory Nutt committed
	* net/: Add a few missing configuration options to the Kconfig files
	  (2014-7-8).
Gregory Nutt's avatar
Gregory Nutt committed
	* net/iob/iob_trimhead_queue.c and socket/recvfrom.c:  Important fix to
Gregory Nutt's avatar
Gregory Nutt committed
	  the read-ahead buffer queue management: Consumed bytes were being
Gregory Nutt's avatar
Gregory Nutt committed
	  trimmed from the head of the queue, but the queue head itself was
	  not being updated.  From Rony XLN (2014-7-7).
Gregory Nutt's avatar
Gregory Nutt committed
	* drivers/bch:  Add configurable AES encryption support to block-to-
	  character (BCH) driver.  This allows any block device to be accessed
	  as an encrypted character device.  From  Max Nekludov (2014-7-7).
	* SAM3/4: Fix compile of sam_aes.c if CONFIG_CRYPTO_AES is defined.
Gregory Nutt's avatar
Gregory Nutt committed
	  From  Max Nekludov (2014-7-7)
	* SAMA5D3/4 I2C: Test for read or write operation was reversed.  How
	  could this have worked before? (2014-7-7).
Gregory Nutt's avatar
Gregory Nutt committed
	* SAMA5D3/4 PIO Interrupts:  Correct a typo in
	  arch/arm/src/sama5/sam_pio.h that could disable PIO interrupt support
	  if only PIOE interrupts were enabled (2014-7-7).
	* SAMA5D4 PIO Interrupts: Macro SAM_PION_VBASE is not defined for the
	  SAMA5D4 and must be replaced with a table lookup (2014-7-7).
Gregory Nutt's avatar
Gregory Nutt committed
	* configs/sam*: Fix some cloned errors in SAM GPIO interrupt setup
	  (1014-7-7).
Gregory Nutt's avatar
Gregory Nutt committed
	* arch/arm/src/sama5/Kconfig and sam_allocateheap.c:  Add a
	  configuration option to reserve DRAM for a framebuffer when executing
	  out of DRAM.  This optional was available before when executing out of
	  NOR, but needs to work a little differently in this case (2014-7-7).
	* arch/arm/src/sama5/sam_lcd.c and chip/sam_lcdc.h: Adapt the SAMA5D3
	  LCDC driver to work with the SAMA5D4 which has no hardware cursor
Gregory Nutt's avatar
Gregory Nutt committed
	  (2014-7-8).
Gregory Nutt's avatar
Gregory Nutt committed
	* configs/sama5d4-ek:  Add options to support an LCD (2014-7-7).
Gregory Nutt's avatar
Gregory Nutt committed
	* arch/arm/src/sama5/sam_twi.c:  Now support the up_i2creset() method
	  (2014-7-9)
	* drivers/input/mxt.c:  Use i2c_reset() if it thinks that the bus
	  might by hung (2014-7-9).
Gregory Nutt's avatar
Gregory Nutt committed
	* arch/arm/src/sama5/sam_pio.c/.h:  Add a new interface
	  sam_pio_forceclk() that can be used to force PIO clocking on.  I am
	  afraid I was too conservative with PIO clocking in the initial design;
	  this is the price (2014-7-9).
	* arch/arm/src/sama5/sam_twi.c: Use sam_pio_forceclk() so that we can
	  read the current state of an open-drain output in the TWI reset logic
	  (2014-7-9).
Gregory Nutt's avatar
Gregory Nutt committed
	* arch/arm/src/sama5/sam_pio.c/.h: Fix a typo in Schmitt trigger
	  configuration; Configure pin as a a vanilla input first so that final
	  pin configuration is more read-able (i.e., easier to debug)
	  (2014-7-9).
Gregory Nutt's avatar
Gregory Nutt committed
	* drivers/input/mxt:  The maXTouch driver works! (2014-7-10).
Gregory Nutt's avatar
Gregory Nutt committed
	* configs/sama5d4-ek:  The TM7000 LCD works! (2014-7-10).
	* configs/sama5d4-ek/NxWM:  Add an NxWM configuration (2014-7-10).
Gregory Nutt's avatar
Gregory Nutt committed
	* drivers/mtc_rwbuffer.c (and others): Add an MTD layer that will add
	  read-ahead or write buffering to any MTD driver (incomplete) (2014-7-11).
Gregory Nutt's avatar
Gregory Nutt committed
	* arch/arm/src/lpc17xx/lpc17_ethernet.c: Comment out an assertion that
	  is reported to fire inappropriately.  From Max (2014-7-11).
Gregory Nutt's avatar
Gregory Nutt committed
	* drivers/mtd (mostly): Addition rwbuffer interfaces should not be
	  enabled unless they are needed; if rwbuffer support is enabled, it
	  should not be unconditionally enabled in SMART and FTL (2014-7-11).
Gregory Nutt's avatar
Gregory Nutt committed
	* libnx/nxglib/nxglib_colorcmp.c and include/nuttx/nx/nxglib.h: New
	  utility to compare two colors (2014-7-11).
	* graphics/Kconfig and nxbe/nxbe_configure.c: The initial background
	  color is now configurable (2014-7-11).
	* graphics/nxmu/nxmu_server.c and nxsu/nx_setbgcolor.c:  Don't change
	  the background if the color did not really change (2014-7-11).
Gregory Nutt's avatar
Gregory Nutt committed
	* arch/arm/src/sama5/sam_ldc.c and sama5d4-ek/include/board.h:  Back
	  out the delay kludge.  The actual fix to the LDC instability was to
	  drive the LCD at 2xMCK instead of 1xMCK (2013-7-12).
	* drivers/input/mxt.c:  Fix an error in the state machine (2014-7-12).
Gregory Nutt's avatar
Gregory Nutt committed
	* drivers/input/mxt.c:  Add thresholding so that "move" reports are not
	  generated unless there is a significant change in the reported
	  position (2014-7-12).
	* SAMA5D4-EK MXT: The maXTouch should be able to handler an I2C
	  frequency of 400KHz.  Valid interrupts should occur only on the
	  falling edge of the ~CHG signal (2014-7-12).
Gregory Nutt's avatar
Gregory Nutt committed
	* SAMA5D3x-EK: Use larger icons in NxWM configuration instead of
	  scaling (2014-7-14).
Gregory Nutt's avatar
Gregory Nutt committed
	* Graphics: Rename CONFIG_NX_MOUSE to CONFIG_NX_INPUT, then add
	  CONFIG_NX_XYINPUT_MOUSE and CONFIG_XYINPUT_TOUCHSCREEN (2014-7-16).
	* drivers/input/mxt.c:  Fix error in threshoold test... backward
	  logic (2014-7-16).
Gregory Nutt's avatar
Gregory Nutt committed
	* graphics/nxconsole/nxcon_scroll.c:  Fix scrolling in the NxConsole
	  for the case of the framebuffer device.  In this case, the logic
	  for clearing the vacated region at the bottom was missing so garbage
	  up from the last, uncleared line (2014-7-17).
Gregory Nutt's avatar
Gregory Nutt committed
	* drivers/audio/wm8904.c/.h and include/nuttx/audio.wm8904.h:  Framework
	  for a WM8904 audio driver.  The initial driver check-in is simply Ken
	  Pettit's VS1053 driver forced to compile with only WM8904 definitions
	  (2014-7-18).
Gregory Nutt's avatar
Gregory Nutt committed
	* configs/sama5d4-ek/src/sam_wm8904.c:  Add logic to configure and
	  initialize the WM8904 audio CODEC (2014-7-17).
	* arch/arm/src/sama5/sam_sckc.c/.h and chip/sam_sckc.h:  Add SAMA5
	  slow clock support.
Gregory Nutt's avatar
Gregory Nutt committed
	* arch/arm/src/sama5/sam_pck.c and .h:  Add support to use the slow
	  clock as the PCK clock source (2014-7-19).
Gregory Nutt's avatar
Gregory Nutt committed
	* drivers/audio/wm8904.c/:  The WM8904 audio driver is mostly code
	  complete and ready to begin initial testing (2014-7-19).
Gregory Nutt's avatar
Gregory Nutt committed
	* arch/arm/src/sama5/sam_pio.c:  Logic for Schmitt trigger selection
	  backward (2014-7-20).
Gregory Nutt's avatar
Gregory Nutt committed
	* drivers/net/slip.c:  Fix an error in SLIP escaping.  From Max
	  Neklyudov (2014-7-22).
Gregory Nutt's avatar
Gregory Nutt committed
	* drivers/input/Kconfg: Add missing configuration option to select the
	  MAX11802 touchscreen controller. From Petteri Aimonen (2014-7-22).
	* arm/src/stm32/chip/stm32_dac.h:  Fix typos, from Peterri Aimonen
	  (2014-7-22).
	* arch/arm/src/stm32/stm32_otgfsdev.c: STM32 OTGFS device:  Various
	  changes to try to reduce that amount of time in interrupts handles and
	  with interrupts disbled.  Needs verification on other platforms.  From
	  Petteri Aimonen (2014-7-22).
Gregory Nutt's avatar
Gregory Nutt committed
	* arch/arm/src/sama5/sam_pck.c: Fix a recently introduced typo that was
	  being masked by some bad conditional compilation (2015=4-7-22).
	* drivers/audio/wm8904.c and include/nuttx/audio/wm8904.h: Remove WM8904
	  driver unused parameters, clean-up comments, remove some kruft in
	  capability reporting (2014-7-22).
	* audio/Makefile and pcm_decode.c, include/nuttx/audio/pcm_decode.c,
	  configs/sama5d4-ek/src/sam_wm8904.c and others:  Add new framework for
	  the PCM decoder.  It is now a 'front end' for lower-level drivers like
	  the WM8904 that performs the PCM decoding from end (2014-7-22).
Gregory Nutt's avatar
Gregory Nutt committed
	* audio/pcm_decode.c, configs/sama5d4-ek/src/sam_wm8904.c,
	  drivers/audio/wm8904.c, and include/nuttx/audio/pcm.h:  Rename
	  pcm_decode.h to pcm.h since it will hold more than just decoding
	  definitions.  Fix some porting errors like idbg should auddbg, etc.
	  Add wav file header and a few low-level wav utilities (2014-7-22).
Gregory Nutt's avatar
Gregory Nutt committed
	* audio/pcm_decode.c and include/nuttx/audio/pcm.h:  Flesh out a few
	  more PCM methods, still incomplete.  Re-vision PCM structure
	  definition (2014-7-22).
Gregory Nutt's avatar
Gregory Nutt committed
	* configs/sama*:  Disable MMC/SD multiblock transfers in all SAMA5D3/4
	  configurations.  I suspect an issue but have not had time to run it
	  down yet so the easiest thing is simply to disable the feature for
	  now (2014-7-23).
Gregory Nutt's avatar
Gregory Nutt committed
	* drivers/audio/audio_null.c, include/nuttx/audio/audio_null.c, and
	  configs/sama5d4-ek/src/sam_audio_null.c: Add a NULL audio device that
	  can be used to simply unit-level testing of audio decoders (2014-7/23).
Gregory Nutt's avatar
Gregory Nutt committed
	* audio/pcm_decode.c, include/nuttx/audio/audio.h, and drivers/audio/audio_null.c
	  and wm8904.c: Add ioctls so that PCM decoder can configure the driver
	  bitrate, num channels, and sample width (2014-7-23).
Gregory Nutt's avatar
Gregory Nutt committed
	* drivers/audio/Kconfig: Fix a typo in the audio Kconfig file,
	  UDIO->AUDIO (2014-7-23).
	* configs/sama5d4-ek/nxwm/defconfig:  The NxPlayer and audio system are
	  now enabled in the default configuration (although they have not yet
	  been fully integrated into the NxWM media player) (2014-7-23).
Gregory Nutt's avatar
Gregory Nutt committed
	* configs/sama5d4-ek/nsh/defconfig: Enable the command line media player
	  in the NSH configuration as well (still does not work, however)
	  (2014-7-23).
Gregory Nutt's avatar
Gregory Nutt committed
	* audio/Kconfig, audio.c, and include/nuttx/audio/audio.h: Add hooks for
	  fast-forward and rewind needed by CMediaPlayer; add hooks for
	  equalizer settings needed by the WM8904 (2014-7-24).
Gregory Nutt's avatar
Gregory Nutt committed
	* drivers/audio/audio_null.c and wm8904.c: Fix some compile errors when
	  audio DEBUG is enabled (2014-7-24).
	* SAMA5D4-EK NxWM:  Configuration refreshed (2014-7-24).
Gregory Nutt's avatar
Gregory Nutt committed
	* arch/arm/src/armv7-m/up_initialstate.c:  Correct the initial value of
	  the BASEPRI register.  This was apparently never being initialized!
	  From Max (2014-7-24).
	* configs/mbed/src/up_adc.c, up_dac.c, and up_pwm.c and include/board.h:
	  Port ADC, DAC, and PWM logic from the configs/zkit-arm-1769.  From Max
	  (2014-7-24).
	* arch/arm/src/lpc17xx/lpc176x_rtc.c: Eliminate warnings.  From Max
	  (2014-7-24).
	* arch/arm/src/lpc17xx/lpc17_pwm.c, lpc17_timer.c, lpc17_dac.c: Mostly
	  cosmetic updates from Max (2014-7-24).
	* arch/arm/src/lpc17xx/lpc17_adc.c and Kconfig : Added burstmode ADC
	  conversion mode, with CONFIG_ADC_BURSTMODE option in Kconfig.  From
	  Max (2014-7-24).
	* arch/arm/src/lpc17xx/lpc17_ethernet.c: Added option to use the kernel
	  worker thread to do most of the workload with CONFIG_NET_WORKER_THREAD
	  option in Kconfig.  Eliminated a problem with PHY DP83848C : it doesn't
	  need a specific initialization on mbed. Critical bugfix: From time to
Gregory Nutt's avatar
Gregory Nutt committed
	  time (after some hours) the Ethernet receiver would lose one receive
	  interrupt and the IP stack never recover because there is no receive
	  watchdog as the transmit watchdog.  From Max (2013-7-24).
Gregory Nutt's avatar
Gregory Nutt committed
	* audio/pcm_decode.c: Add missing audio callback forwarding logic
	  (2014-7-25).
Gregory Nutt's avatar
Gregory Nutt committed
	* arch/arm/armv7-a/l2cc_pl310.h:  Move arch/arm/sama5/chip/sam_l2cc.h to
	  arch/arm/armv7-a/l2cc_pl310.h.  Adjust the two corresponding Kconfig
	  files as well (2014-7-25).
Gregory Nutt's avatar
Gregory Nutt committed
	* arch/arm/src/armv7-a/arm_l2cc_pl310.c, l2cc.h, l2cc_pl310.h, Kconfig:
	  Add initial support for the ARM L2CC-PL310 L2 cache (2014-7-26).
	* arch/arm/src/armv7-a/cp15_cacheops.h: Rename ARMv7-A cache.h to
	  cp15_cache.h.  Things will be broken on this commit until I get the
	  new cache.h in place (2014-7-26).
	* arch/arm/src/armv7-a/cache.h: New cache.h file.  Renames all functions
	  like cp15_XYZ_cache() to arch_XYZ_cache() and adds L2 cache support if
	  L2 cache is enabled (2014-7-26).
	* arch/arm/src/sama5/*.c (many files): Change naming from cp_XYZ_cache()
	  to arch_XYP_cache() so that all cache operations will pick up L2
	  support if it is enabled (2014-7-26).
	* arch/arm/src/sama5/sam_boot.c: Enables cache early in boot-up sequence
	  (2014-7-26).
	* arch/arm/src/armv7-a/arm_l2cc_pl310.c and l2cc.h: Minor bugfixes/
	  improvements (2014-7-26)
	* arch/arm/src/armv7-a/Kconfig: L2 Cache currently depends on
	  EXPERIMENTAL because it does not yet work properly (2014-7-26).
Gregory Nutt's avatar
Gregory Nutt committed
	* include/nuttx/audio/audio.h: Move sub-sampling rate definitions from
Gregory Nutt's avatar
Gregory Nutt committed
	  nxplayer.h to audio.h (2014-7-17).
Gregory Nutt's avatar
Gregory Nutt committed
	* audio/pcm_decode.c: PCM: First cut at fast forward by sub-sampling.
	  This design is overkill:  It manages too many audio buffers.  I think
	  that a cleaner design could do all sub-sampling in place without
	  managing additional audio buffers (2014-7-27).
	* drivers/audio/audio_null.c:  Was not returning buffers to the upper
	  level (2014-7-27)
	* include/nuttx/audio/audio.h and audio/pcm_decode.c: Misc bugfixes
	  while integrating fast forward by sub-sampling (2014-7-27).
Gregory Nutt's avatar
Gregory Nutt committed
	* audio/pcm_decode.c: Back out a change; the fix really belongs in
	  NxPlayer. (2014-7-27).
Gregory Nutt's avatar
Gregory Nutt committed
	* arch/arm/src/lpc17xx/lpc17_adc.c and arch/arm/src/lpc17xx/lpc17_ethernet.c:
	  ADC updates from Max.  Also fixes some syntax errors that I introduced in
	  the last commit (2014-7-28).
Gregory Nutt's avatar
Gregory Nutt committed
	* audio/pcm_decode.c:  Fix a logic error in a DEBUG assertion (2014-7-28).
Gregory Nutt's avatar
Gregory Nutt committed
	* configs/sama5d4-ek/src/sam_pmic.c, dram_main.c, sama5d4-ek.h, Makefile.
	  Add logic to disable the faulty PMIC.  This must be done with JP23 open.
	  It is performed only from the DRAMBOOT loader (2014-7-28).
	* drivers/audio/wm8904.c: Fix some compile problems with the WM8904 driver
	  due to recent audio subsystem changes (2014-7-28).
Gregory Nutt's avatar
Gregory Nutt committed
	* arch/arm/src/sama5/sam_timerisr.c and configs/sama5d3*/include/board*.h:
	  Correct system timer frequency.  Input clock is MCK/2, not MCK
	  (2014-7-29).
Gregory Nutt's avatar
Gregory Nutt committed
	* fs/fs_automount.c and include/nuttx/fs/automount.h (plus hooks in other
	  files):  Add support for an auto-mounter that will automatically mount
	  and unmount a file system a media is inserted and removed (2014-7-29 .
Gregory Nutt's avatar
Gregory Nutt committed
	* configs/sama5d4-ek/src/sam_automount.c:  Add automounter support for
	  HSMCI0 and HSMCI1 (2014-7-29).
Gregory Nutt's avatar
Gregory Nutt committed
	* configs/sama5d4-ek/Kconfig and src/sam_hsmci.c: Minor warning/latent
	  bug clean-up of auto-mounter logic (2014-7-29).
	* configs/sama5d4-ek/README.txt anand src/sam_nsh.c, fs/fs_automount.c,
	  and include/nuttx/fs/automount.h: Cosmetic updates to comments and
	  README files and some naming (2014-7-29).
	* configs/sama5d4-ek/nsh/defconfig and nxwm/defconfig: The SAMA5D4-EK
	  NSH and NxWM configurations now have the auto-mounter configured to
Gregory Nutt's avatar
Gregory Nutt committed
	  automatically mount the FAT file system on HSMCI0 at /mnt/sdcard
	  (2014-7-29).
	* arch/arm/src/sama5/sam_hsmci.c: Add method to do RX transfer without
	  DMA.  The 8-byte SCR transfer was failing silently with the DMA
	  transfer, leaving the SD card in single bit mode (2014-7-29).
Gregory Nutt's avatar
Gregory Nutt committed
	* arch/arm/src/sama5/sam_hsmci.c: Fix a problem on card insertion/removal
	  callback handling.  Interrupts were being disable so that the callbacks
	  occurred with interrupts disabled.  This resulted in loss of some
	  interrupts and some not-so-good behaviors.  The solution is to perform
Gregory Nutt's avatar
Gregory Nutt committed
	  all callbacks on the work thread unconditionally (2014-7-30).
	* nuttx/fs/fs_automount.c: Auto-mounter:  Fix state setting.  Not
	  harmful other than it can cause a debug assertion to fire if you
	  manually unmount the media before removing it which is, of course,
	  what you are supposed to do (2014-7-30).
	* arch/arm/src/sama5/sam_hsmci.c and README files: Re-enable TX DMA and
	  verify that DMA writes to the SD card are functional.  They are so now
	  TX DMA is re-enabled in the driver.  This might affect the SAMA5D3
	  platforms where the TX DMA problem was found.  The SAMA4D3 and 4 use
	  the same HSMCI driver.  Much has change since then and it is not
	  surprising that DMA is now functional.  However, the has not be re-
	  verified on the SAMA5D3 which has a different DMA controller
Gregory Nutt's avatar
Gregory Nutt committed
	  (2014-7-30).
Gregory Nutt's avatar
Gregory Nutt committed
	* arch/arm/src/sama5/sam_dmac.c, sam_pio.c, and sam_pioirq.c: Changes
	  needed for a clean SAMA5D3 build after all of the recent SAMA5D4
	  changes (2014-7-31).
	* configs/sama5d3x-ek/nsh/defconfig: Refresh configuration (2014-7-31).
	* configs/sama5d3x-ek/Kconfig, README.txt, src/sam_wm8904.c, Makefile,
	  sam_nsh.c, and sama5d3x-ek.h: Add support for the WM8904 audio CODEC
	  (2014-7-31).
	* configs/sama5d3x-ek/nxplayer:  Add a configuration to support the
	  command line NxPlayer (2014-7-31).
Gregory Nutt's avatar
Gregory Nutt committed
	* audio/audio.c: More debug output (2014-7-31).
	* configs/sama5d3x-ek/README.txt: REAME update (2014-7-31).
	* drivers/audio/wm8904.c: Was not saving i2s interface instance
	  (2014-7-31).
	* sched/sem_wait.c: Use set_errno() and get_errno().  Direct access
	  inside the OS may not be supported in the future (2014-7-31).
Gregory Nutt's avatar
Gregory Nutt committed
	* drivers/audio/audio_null.c, vs1053.c, wm8904.c, include/nuttx/audio/audio.h,
	  libc/audio/lib_buffer.c: Change how the end of the audio stream is
	  detected by the leaf audio component.  This used to be done by looking
Gregory Nutt's avatar
Gregory Nutt committed
	  for the first partial buffer.  That does not work with the in-place
	  sub-sampling performed by the PCM decoder:  That always reduces the
	  size of the buffer so that all buffers only partially filled by the
	  time they get to the leaf.  Now, a flag is set in the audio buffer
	  flags set to indicate the final buffer in the stream (2014-7-31).
Gregory Nutt's avatar
Gregory Nutt committed
	* arch/arm/src/sama5/sam_ssc.c:  Needs to account for data offset in
	  audio buffer (2014-7-31).
	* drivers/audio/wm8904.c:  Can't reset the WM8904 unless we also
Gregory Nutt's avatar
Gregory Nutt committed
	  reinitialize all registers.  Try to get a saner timeout based on
Gregory Nutt's avatar
Gregory Nutt committed
	  sample rate, bits-per-sample, and buffer size (2014-7-31).
Gregory Nutt's avatar
Gregory Nutt committed
	* arch/arm/src/sama5/Kconfig and sam_ssc.c:  SCC Frame Synch Delay and
	  Start Delay are now configurable (2014-8-1).
Gregory Nutt's avatar
Gregory Nutt committed
	* drivers/audio/wm8904_debug.c:  Add logic to dump WM8904 registers
	  (2014-8-1).
Gregory Nutt's avatar
Gregory Nutt committed
	* drivers/audio/wm8904.c: Fix an error in write logic.  I am not sure
	  why this fixes the problem (2014-8-1).
	* include/nuttx/audio/wm8904.h (and implementers of the interface):
	  the WM8904 driver needs to know the frequency of the MCLK in order
	  to set up the FLL to generate the correct bitrate (2014-8-1).
	* WM8904:  Add an option to control WM8904 register dumping (2014-8-2).
Gregory Nutt's avatar
Gregory Nutt committed
	* WM8904:  Add logic to program the FLL to achieve the bitrate
	  (2014-8-1).
Gregory Nutt's avatar
Gregory Nutt committed
	* arch/arm/src/sama5/sam_ssc.c:  Verify that the requested bit width
	  is supported.  Correct some alignment tests that depend upon the data
	  bit width (2014-8-2).
	* audio/pcm_decode.c:  Correct the end of audio stream handling.  It was
	  not being detected before so that logic was not examining the WAV
	  header in the first buffer of the next audio file (2014-8-2).
	* configs/sama5d3x-ek/nxplayer/defconfig:  Update with last WM8904
	  settings (2014-8-2).
	* drivers/audio/wm8904.c:  Disable the FFL at the end of playing
	  (2014-8-2).
	* include/nuttx/audio/wm8904.h:  Fix wm8904_dump_registers macro:
	  Wrong number of parameters (2014-8-2).
Gregory Nutt's avatar
Gregory Nutt committed
	* arch/arm/src/sama5/sam_pck.* and all SAMA5D board header files:
	  Add Main clock as an option for the PCK clock source (2014-8-3).
Gregory Nutt's avatar
Gregory Nutt committed
	* configs/sama5d*-ek/Kconfig and src/sam_wm8904.c: Add option to
	  use MAINCK as source fort he WM8904 MCLK (2015-8-3).
Gregory Nutt's avatar
Gregory Nutt committed
	* include/nuttx/audio/wm8904.h, configs/sama5d3x-ek/src/sam_wm8904.cm,
	  and sama5d4-ek/src/sam_wm8904.c: WM8904 interface enable method now
	  returns the previous interrupt state (2014-8-4).
	* configs/sama5d3x-ek/src/sama5d3x-ek.h and sama5d4-ek/src/sama5d4-ek.h:
	  Correct the WM8904 interrupt configuration, active high level. Fix
	  that and don't pull-up (2014-8-4).
	* configs/sama5d3x-ek/src/sam_wm8904.cm, and sama5d4-ek/src/sam_wm8904.c:
	  Correct ordering of some WM8904initialization: Need to provide MCLK
	  before initializing the WM8904, not after (2014-8-4).
	* drivers/audio/wm8904.c and .h: Correct calculation of bitrate (I am
	  not sure why this is correct). LR clock divisor is now a constant 32-
	  bits per frame. Conditioned out interrupt logic; it is not being used.
	  Also added some FLL lock interrupt/poll logic (which was subsequently
	  disabled) (2014-8-4).
Gregory Nutt's avatar
Gregory Nutt committed
	* SAMA5D3x-EK and SAMA4D4-EK: Add/update usage documents for media
	  players (2014-8-4).
	* drivers/audio/wm8904.c and .h:  Add reset logic to put the part back
	  in its initial state after playing each WAV file.  Base samples per
Gregory Nutt's avatar
Gregory Nutt committed
	  second on frame length, not bits-per-sample.  Use a different frame
	  length for 8-bit and 16-bit data (2014-8-4).
Gregory Nutt's avatar
Gregory Nutt committed
	* arch/arm/src/sama5/sam_hsmci.c:  TX DMA is again disabled for the
	  SAMA5D3 family.  Although it works with the SAMA5D4 (which has a
	  different DMA subsystem), it does not work with the SAMA5D3 (2014-8-5,
Gregory Nutt's avatar
Gregory Nutt committed
	  see also 2014-7-30).
	* audio/pcm_decode.c: Handle errors in the PCM WAV file in a way that
	  the Nxplayer can recover gracefully:  Send and Audio Complete message
	  (2014-8-5).
Gregory Nutt's avatar
Gregory Nutt committed
	* arch/*/src/*/*_timerisr.c, up_initialize.c, and up_internal.h: Re-name
	  up_timerinit() to up_timer_intialaize() for compatibility with new
	  tickless OS interface name (2014-8-6).
	* arch/*/src/*/Make.def:  Don't build existing timer initialization
	  logic if CONFIG_SCHED_TICKLESS is defined (2014-8-6).
	* include/nuttx/arch.h:  First cut at platform-specific interfaces
	  needed to support tickless OS option (2014-8-6).
Gregory Nutt's avatar
Gregory Nutt committed
	* sched/Kconfig: Add a new option CONFIG_SCHED_TICKLESS to enable the
	  tickless OS.  This is a work in progress but should be relatively