Skip to content
ChangeLog 425 KiB
Newer Older
	  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 the 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).
7.3 2014-xx-xx 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 an mess up permissions on windows.
	  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).
	* sched/Kconfig:  CONFIG_START_YEAR/MONTH/DAY are not required is 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
	  enabled to prevent deadlocks in netclos_disconnect().  From Max Holtzberg
	  (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
	  support the SAMA5D4 family.  Incomplete on initial check-in (201406-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).
	* arch/arm/src/lpc17xx/lpb17_gpdma.c:  Fix an error when DMA is
	  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).