Newer
Older
AT25 Serial FLASH are now supported by default in the NSH configuration
(2014-3-14).
* 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).
Gregory Nutt
committed
* 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).
Gregory Nutt
committed
* 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).
Gregory Nutt
committed
* 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).
Gregory Nutt
committed
* 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).
Gregory Nutt
committed
* 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
* 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
Gregory Nutt
committed
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).
Gregory Nutt
committed
* 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
Gregory Nutt
committed
finished. For example, it still builds to run out of NOR FLASH but
the SAMA5D Xlpained has no NOR FLASH (2013-4-28).
Gregory Nutt
committed
* 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).
Gregory Nutt
committed
* 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).
Gregory Nutt
committed
* 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).
Gregory Nutt
committed
* 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).
Gregory Nutt
committed
* 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).
Gregory Nutt
committed
* 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).
Gregory Nutt
committed
* 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).
* 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).
Gregory Nutt
committed
* 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).
Gregory Nutt
committed
* 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).
Gregory Nutt
committed
* 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.
Gregory Nutt
committed
* 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).
Gregory Nutt
committed
* 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).
Gregory Nutt
committed
* 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).
Gregory Nutt
committed
* 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).
Gregory Nutt
committed
* 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).
Gregory Nutt
committed
* 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
Gregory Nutt
committed
(2014-4-10).
Gregory Nutt
committed
* 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).
Gregory Nutt
committed
* 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,
Gregory Nutt
committed
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).
Gregory Nutt
committed
* 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).
Gregory Nutt
committed
* 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
Gregory Nutt
committed
Sourceforge bug 25 submitted by Luciano Neri (2014-4-17).
Gregory Nutt
committed
* arch/arm/src/stm32/stm32_otgfshost.c: Some fixes related to low-speed
devices and interrupt endpoints from Leo (2014-4-17).
Gregory Nutt
committed
* 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).
Gregory Nutt
committed
* 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).
Gregory Nutt
committed
* 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).
Gregory Nutt
committed
* 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
Gregory Nutt
committed
board from Bob Doiron (2014-4-21).
* configs/sam4s-xplained-pro: Added card detect (kind of broken
still); added proc/vfat mounting during init to save some typing.
Gregory Nutt
committed
From Bob Doiron (2014-4-21).
* configs/sam4s-xplained-pro: Boost PLLA to 240MHz to allow USB. From
Gregory Nutt
committed
Bob Doiron (2014-4-21).
* arch/arm/src/sam34/sam_wdt.c/.h: Add watchdog driver. From Bob
Gregory Nutt
committed
Doiron (2014-4-21).
* nuttx/configs/sam4s-xplained-pro: Add board-specific watchdog
Gregory Nutt
committed
timer support. From Bob Doiron (2014-4-21).
Gregory Nutt
committed
* drivers/timer.c and include/nuttx/timer.h: Timer "upper half"
Gregory Nutt
committed
driver and lower half interface definition from Bob Doiron
Gregory Nutt
committed
(2014-40-22).
* arch/z16/src/z16f/z16f_espi.c: Add ZNEO ESPI driver (2014-4-24).
Gregory Nutt
committed
* 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).
Gregory Nutt
committed
* 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-06-25 Gregory Nutt <gnutt@nuttx.org>
Gregory Nutt
committed
* 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).
Gregory Nutt
committed
* /drivers/mtd/w25.c: Extended by Mark Whitehorn to support the 8Mbit
W25Q80BV part (2014-4-30).
Gregory Nutt
committed
* 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).
Gregory Nutt
committed
* 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).
Gregory Nutt
committed
* 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).
Gregory Nutt
committed
* 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).
Gregory Nutt
committed
* 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
(2014-5-8).
Gregory Nutt
committed
* 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
Gregory Nutt
committed
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).
Gregory Nutt
committed
* 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).
Gregory Nutt
committed
* 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).
* 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
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).
* 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).
* configs/viewtool-stm32f107/nsh: Configuration refreshed (2014-5-23).
* arch/arm/src/stm32/stm32_i2c_alt.c: Final driver from Max Kriegleder et al.
Reduces footprint and fixes a bug. (2014-5-23).
* tools/configure.sh: In-place SED edit messes 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 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).
Gregory Nutt
committed
* 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).
Gregory Nutt
committed
* 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).
* 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 netclose_disconnect(). From Max Holtzberg
* configs/olimex-stm32_h405: Support for the Olimex STM32 H405 board
contributed by Martin Lederhilger (2014-6-3).
* 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).
* arch/arm/include/sama5 and arch/arm/src/sama5: Basic framework to
support the SAMA5D4 family. Incomplete on initial check-in (2014-6-3).
* arch/arm/src/sama5/chip/sam_xdmac.h: Beginning of XDMAC register
definition header file (incomplete) (2014-6-4).
* arch/arm/src/sama5/chip/sam_l2cc.h: Add SAMA5D4 L2CC register definition
header file (incomplete on initial check-in) (2014-6-5).
* 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/lpc17_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).
* 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).
* 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).
* net/, include/nutt/net, and include/netpacket: Add support for "raw"
sockets. From Lazlo Sitzer (2014-6-12).
* arch/arm/src/sama5: Add SAMA5D4 XDMAC driver. Initial check-in is
just the DMAC driver with a few naming changes (2014-6-12).
* configs/sama5d4x-ek/ramtest: Add an SDRAM test configuration
(2014-6-14).
* 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).
* configs/sam4x-xplained*/src/sam_buttons.c: Button interrupts not being
disabled after being detached. (2014-6-15).
* binfmt/binfmt_exec.c: Fix a critical error in exec(); argv was not
being passed (2014-6-15).
* arch/arm/src/sama5/sam_dmac.h: Fix some critical typos in the SAMA5D3
DMA definitions (2014-6-17).
* 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).
* 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).
* 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).
* 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).
* 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).
* 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).
* 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).
* 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).
* include/net/if.h and /net/arp/arp_inout.c: Suppress ARP requests on
data sent from packet sockets (2014-6-24).
* include/nuttx/net/netconfig.h: Move include/nuttx/net/uip/uipopt.h to
* 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).
* 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).
* net/: Many files changed. Convert existing TCP read-ahead logic
to use I/O buffer chains (2014-6-24).
* net/: Clean up all TCP and UDP related naming (204-6-24).
* net/: Clean up all ICMP, IGMP, ARP, and PKT related naming
(204-6-25).
* arch/arm/src/sam34 and include/sam34: Add support for the SAM4CM
family. From Max Neklyudov (2014-6-25).
7.4 2014-xx-xx Gregory Nutt <gnutt@nuttx.org>
* arch/arm/src/stm32/stm32_i2c.c: Fix missing configuration of
GPIO pins in I2C driver. Fix from Alex D. (2014-6-25).
* NET: Fix an include file ordering problem when CONFIG_NET_STATISTICS=y.
(2014-6-26).
* include/nuttx/net/netstats.h: Move statistcs from uip.h to new netstats.h
to remove nasty circular inclusion problem (2014-6-26).
* arch/arm/src/sama5: Add logic to redirect all SAMA5D4 interrupts to
the AIC (2014-6-26).
* net/route: Move routing table functions to net/route (2014-6-26).
* 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.
* 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 NSHi
configuration to use the DRAMBOOT loader by default (2014-6-26).
* binfmt: Various changes associated with symbol tables. Most from Pelle
Windestam (2014-6-27).
* Networking: Add network device ioctl to access PHY registers. From Daniel
* net/netdev: Move net/netdev*.c to net/netdev/netdev*.c (2014-6-27).
* 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).
* configs/sama5d4-ek/src/dram_main.c: SAMA5D4: Bootloader needs to flush
D-Cache to memory before disabling the caches (2014-6-27).
* 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).
* configs/sama5d4-ek/at25boot and src/at25_main.c: Add a configuration
that will load a bootloader into AT25 Serial FLASH (2014-6-28).
* 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).
* 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).
* 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).
* 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).
* 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).
* net/: Still renaming, mostly uip_* to net_* (2014-6-29).
7581
7582
7583
7584
7585
7586
7587
7588
7589
7590
7591
7592
7593
7594
7595
7596
7597
7598
7599
7600
7601
7602
7603
7604
7605
7606
7607
* 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).
* 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).
* 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)
* arch/arm/src/sama5/sam_memories.c: Fix some logic in conversion
of physical and virtual DRAM addresses when running out of DRAM. This
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).
* net/: Many more functions renamed to follow new modularization of
the networking code. This is part of an ongoing repartitioning
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).
* 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).
* drivers/syslog/ramlog.c: syslog_putc needs to set the errno and
return EOF on a failure (2014-7-1).
* SAM3/4 and SAMA5 Ethernet: Fix an error in the function that
determines the number of free TX descriptors. This is an important
* 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).
* 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).
* 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).
* 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).
* 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).
* 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).
* drivers/input/mxt.c/h and include/nuttx/input/mxt.h: Add very basic
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)
* configs/sama5d4-ek/src/sam_maxtouch.c: Add board support for the
maXTouch touchscreen controller (2014-7-5).
* 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)
* net/: Add a few missing configuration options to the Kconfig files
(2014-7-8).
* net/iob/iob_trimhead_queue.c and socket/recvfrom.c: Important fix to
the read-ahead buffer queue management: Consumed bytes were being
trimmed from the head of the queue, but the queue head itself was
not being updated. From Rony XLN (2014-7-7).
* 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.
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).
* 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).
* configs/sam*: Fix some cloned errors in SAM GPIO interrupt setup
(1014-7-7).
* 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
* configs/sama5d4-ek: Add options to support an LCD (2014-7-7).
* 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).
* 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).
* 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).