Newer
Older
* arch/arm/src/sam34/sam_spi.c: Fix SPI mode setting. In the SAM3/4
family, the clock phase control (CPHA) is inverted (NPHA) (2013-6-18).
* arch/arm/src/kl/chip/kl_tsi.h: Freescale KL25Z TSI register
definitions from Alan Carvalho de Assis (2013-6-18).
* configs/freedom-kl25z/src/kl_tsi.c: Example TSI driver for the
Freedom KL25Z board from Alan Carvalho de Assis (2013-6-18).
* arch/arm/src/sam34/sam_spi.c: Correct an incorrect pointer test.
Was checking if the wrong pointer was NULL (2013-6-18).
* arch/arm/src/kl/kl_spi.c and chip/kl_spi.h: Add SPI driver and
register definitions for the Freescale KL25Z (2013-6-19).
* arm/src/sam34/chip/sam4l_lcdca.h: Register definition file for
Gregory Nutt
committed
the SAM4L LCD peripheral (2013-6-19).
* arm/src/sam34/chip/sam_spi.h: SPI register definition file updated
to include a few differences for the SAM4L (2013-6-19)
* arm/src/sam34/chip/sam4l_pdca.h: Add SAM4L PDCA register definition
file; also renamed sam_dmac.* files to sam3u_dmac.* to identify
them as SAM4U/4S only files (2013-6-19).
* configs/freedom-lk25z/src/kl_spi.c: Add the framework for
controlling SPI-related discrete inputs and outputs. Taken from
work by Alan Carvalho de Assis (2013-6-20).
* arch/arm/src/kl/kl_dumpgpio.c: Now compiles (2013-6-20).
Gregory Nutt
committed
* configs/: Several defconfig files were changed that had
Gregory Nutt
committed
CONFIG_HAVE_CXXINITIALIZE=y. Because of recent changes to
apps/examples, these configurations may need to have
CONFIG_EXAMPLES_NSH_CXXINITIALIZE=y so that they behave as they did
before, i.e., so that C++ initializers will be called when NSH starts
up (2013-6-21).
* configs/sam4l-xplained/src/sam_slcd.c: Beginning of a driver for the
LED1 segment LCD module. This driver is incomplete on initial check-
in (2013-6-21).
* drivers/net/enc28j60.c: Change buffer ordering to work around Errata
#5. From Dave (ziggurat29, 2013-6-22).
* configs/sam4l-xplained/src/sam_slcd.c: LED1 segment LCD module is now
functional (2013-6-23).
Gregory Nutt
committed
* drivers/lcd/ssd1306.c and include/nuttx/lcd/ssd1306.h. Renamed
ug-2864hsweg01.c and .h to ssd1306.c and .h. Extended to support the
UG-2832HSWEG04 which is very similar and also based on the SSD1306
controller (2013-6-23).
* configs/sam4l-xplained/src/sam_ug2832hsweg04.c: Add support for the
UG-2832HSWEG04 OLED on the SAM4L Xplained Pro's OLED1 module
(2013-6-23).
* include/debug.h: Added macro DEBUGPANIC for forces crashes when debug
is enabled.
Gregory Nutt
committed
* drivers/lcd/ssd1306.c: Driver now appears to be function for the
UG-2832HSWEG04 in landscape mode (2013-6-24).
* drivers/lcd/ug-2864ambag01.c and ug-9664hswag01.c: Add/updated
support for reverse portrait mode from lessons learned with the
UG-2832HSWEG04. Untested changes! (2013-6-24).
* arch/arm/src/stm32/stm32_ccm.c and .h: Add support for a seperate CCM
heap. This may be useful for segregating allocations for CCM (which
cannot be used for DMA) from other allocations (that may be used used
for DMA) (2013-6-25).
* arch/arm/src/sam32/sam3u_gpio.h: Correct configuration of PIO pins
for SAM4S B and C peripherals (2013-6-26)
* configs/sam4s-xplained/src/sam_sram.c: Added support for on-board
1MB SRAM (2013-6-26).
* arch/arm/include/sam34/chip.h and sam3x_irq.h: Add support for
SAM3X and SAM3A chips (2013-6-26).
* arch/arm/src/sam34/chip/sam3x_vectors.h: Add support for SAM3X/3A
* arch/arm/src/sam34/sam3x_periphclks.h: Add peripheral clock
controls for the SAM3X/3A (2013-6-26).
* arch/arm/src/sam34/chip/sam3x_memorymap.h: Add SAM3X/3A memory map
(2013-6-26).
* arch/arm/src/sam34/chip/sam3x_pinmap.h: Add SAM3X/3A pin
multi-plexing definitions (2013-6-26).
* arch/arm/src/sam34/sam3x_gpio.h: Add SAM3X/3A gpio encoding
macros. These differ from the SAM3U only in because of the
6 PIOs: PIOA-PIOF (2013-6-26).
Gregory Nutt
committed
* configs/arduino-due: This is an empty directory now with only
a README file in it but this directory will eventually hold a port
for the Arduino Due (2013-6-26).
* arch/arm/src/sam34/Kconfig: Add SAM3X/3A peripherals to the SAM3/4
configuration logic (2013-6-26).
* arch/arm/src and include/ and configs/sam*/: Large rename of all
references to SPI with SPI0. This is because all other SAMs have
only SPI but the 3X/3A have SPI0 and SPI1 (2013-6-26).
Gregory Nutt
committed
* configs/arduino-due: Complete the basic board configuration and
integrate this into the configuration and build system. The Arduino
Due is now ready to begin test (2013-6-17).
Gregory Nutt
committed
* configs/arduino-due/nsh: Add an NSH configuration for the Arduino
Due. Both the OS test and NSH configuration are now functional
(2013-6-28).
* configs/arduino-due/src: Add support for the "L" LED (2013-6-28).
* arch/arm/src/sam34/sam_allocateheap.c: Clocking must be applied
to the SMC module for the 3X and 3A family in order for the NFC
SRAM to be functional (2013-6-28).
Gregory Nutt
committed
* arch/arm/src/sam34/sam3u_gpio.c: Need to disable write
protection before configuring PIO pins.
* configs/sam3u-ek/nsh: The touchscreen is now functional. The above
Gregory Nutt
committed
fix to the sam3u_gpio.c write protection also fixed the touchscreen
problem (2013-6-28).
* confgis/sam3u_ek/nxwm: Created a configuration for the NxWM
Gregory Nutt
committed
window manager for the SAM3U-EK board (2013-6-29).
* drivers/spi and include/nuttx/spi: New sub-directories to hold
SPI-related files. includes/nuttx/spi.h moved to include/nuttx/spi/.;
SPI-related Kconfig info moved from drivers/Kconfig to drivers/spi/kconfig
(2013-7-1).
* drivers/spi/spi_bitbang.c and include/nuttx/spi/spi_bitbang.h: Add
support for a generic bit-bang SPI driver. This checkout is the
common upper-half logic. Still missing the lower half (2013-7-1).
Gregory Nutt
committed
* include/nuttx/spi/spi_bitbang.c: This is the common lower-half bit-
bang SPI logic (2013-7-1).
* configs/arduino-due/src/sam_nsh.c and sam_mmcsd.c: Add NSH customize
initialization. If so configured, initialize the SPI bit bang
interface to the MMC/SD slot on the ITEAD shield (2013-7-1).
Gregory Nutt
committed
* fs/fs_mount.c: Fix compilation error if no file systems are enabled:
Change error to ERROR (2013-7-3).
* arch/arm/src/sam34/sam_gpioirq.c: Fix some errors for interrupts
on ports D-F (2013-7-3).
* /drivers/usbdev/composite.c: Fix a typo in the composite device
driver unitialization logic. DEV1 should be DEV2 in one case
(2013-7-4).
* arch/arm/src/sam34/sam3u_gpio.c: sam_configgpio() must protect
against re-entrancy (2013-7-5).
* libc/misc/lib_crc16.c and include/crc16.h: Add CRC16 support
(2013-7-7).
Gregory Nutt
committed
* arch/arm/src/stm32/stm32_otgfsdev.c: SourceForge bug #16: Fix
to the endpoint allocation logic. Apparently the same endpoint can
be allocated as both an IN or an OUT endpoint. The existing
implementation only supported one allocation, either IN or OUT. This
resulted in failures to allocate enpoints when used with the CDC/ACM +
MSC composite driver (From Chia Cheng Tsao, 2013-7-8).
* arch/arm/src/stm32/stm32_sdio.c: SourceForge bug #17: Add
support for the data block end (DBCKEND) interrupt to terminate
transfers (From Chia Cheng Tsao, 2013-7-8)
* drivers/rwbuffer.c: SourceForge bug #17: Correct typos that can cause
failures in some configurations (From Chia Cheng Tsao, 2013-7-8).
* include/nuttx/usb/usbdev.h: Fix some typos that cause compiler errors
when CONFIG_USBDEV_DMA and CONFIG_USBDEV_DMAMEMORY are selected (From
Chia Cheng Tsao, 2013-7-12).
Gregory Nutt
committed
* nuttx/configs/olimex-lpc1766stk/zmodem: Add a new configuration to
test the Zmodem sz and rz commands (which don't actually exist yet,
but will). (2013-7-12).
* arch/arm/include/armv7-a and src/armv7-a: Beginning to add support
for the ARMv7-A, the Cortex-A5 in particular. The initial checkin
is only fragmentary: A few header files and some copied ARM9
assembly files. More to come (2013-7-18).
Gregory Nutt
committed
* arch/arm/include/sama5, arch/arm/src/sama5, and configs/sama5d3x-e:
Add a directory framework to support the Atmel AT91SAMA5D3 family and
the SAMA5D3x-EK board(s) in particular. There is very little here on
the first check-in, this structure is being used now primarily to
create the Cortex-A5 support (2013-7-19).
* arch/arm/src/armv7-a/arm_cache.S: Cortex-A5 cache operations
(2013-7-20).
* /arch/arm/src/armv7-a/arm_fpuconfig.S and fpu.h: A few more files for
the ARMv7-A/Cortex-A5 port (2013-7-21).
* arch/arm/src/sama5/sam_boot.c, sam_clockconfig.h, sam_lowputc.h, and
sam_timerisr.c: A few more files for the SAMA5D3 port (2013-7-21).
* configs/sama5d3x-ek/src/sam_autoleds.c: A few more files for the port
to the SAMA5D3x-EK board (2013-7-21).
* arch/arm/src/sama5/sam_irq.c: SAMA5 interrupt handling logic
(2013-7-22).
* arch/arm/src/sama5/sam_clockconfig.c: Add SAMA5 PLL configuration
logic (plus associated header files). Initiali checkin is for the
SAM3U which is very similar but needs to be verified (2013-7-22).
* arch/arm/src/sama5/sam_periphclks.h: Add macros to enable and
disable SAMA5 peripheral clocks (2013-7-22).
* arch/arm/src/sama5/sam_lowputc.c and sam_serial.c: Add support
for SAMA5 UARTs. Does not even compile as of initial checkin.
(2013-7-22).
Gregory Nutt
committed
* arch/arm/src/sama5/sam_gpio.c: Add GPIO configuration support
for the SAMA5. Still compilation issues. (2013-7-22).
* arch/arm/src/sama5/chip/sama5d3x_pinmap.h: Add pin multiplexing
definitions for the SAMA5D3 (2013-7-23).
Gregory Nutt
committed
* arch/arm/src/sama5/chip/: New header files for SAMA5 AXI Matrix
SFR, and BSC blocks (2013-7-23).
* arch/arm/src/armv7-a/arm_vectors.S: Force 8-byte stack alignment
in interrupt handlers before calling C code. Other ARM
architectures need to do this as well (2013-7-23).
Gregory Nutt
committed
* arm/src/armv7-m/up_copyarmstate.c and armv7-a/up_copyarmstate.c:
Added a new form of the register copy function that should save quit a
bit of time for armv7-m (without common vectors) and with armv7-a
(2013-7-23).
* arch/arm/src/armv7-a/arm_restorefpu.S, arm_savefpu.S, arm_doirq.c,
arm_fullcontextrestore.S, arm_saveusercontext.S: Add hardware
floating point register save/restore logic for the Cortex-A5\
(2013-7-23).
Gregory Nutt
committed
* arch/Kconfig: Attempt at generic external memory configuration is not
flexible enough, especially for the SAMA5. Move external memory
configuration options from arch/Kconfig to
arch/arm/src/lpc17xx/Kconfig, lpc31xx/Kconfig, sam34/Kconfig, and
sama5/Kconfig and renamed each from CONFIG_ARCH_ to, for example,
CONFIG_LPC31_. This renaming also affect many defconfig files
(2013-7-24).
* arch/arm/src/sama5/Kconfig and sam_allocateheap.c: Set up
configuration options for SAMA5 external memory regions; add a custom
sam_allocateheap.c to add the various configured memory regions to the
heap (2013-7-24).
Gregory Nutt
committed
* configs/sama5d3x-ek/src/sam_buttons.c, sam_userleds.c, and
sam_autoleds.c: Add support for the buttons and LEDs on-board the
SAMA5D3x-EK (2013-7-24).
* configs/sama5d3x-ek/ostest/defconfig: Switch console to USART1
(2013-7-4).
* arch/arm/src/sam34/Kconfig and drivers/serial/Kconfig: All serial
configuration logic for USARTs needs to depend on if the USART is
configured as a UART or not. And this is for all CPUS, not just
SAM3/4 (2013-7-24).
Gregory Nutt
committed
* arch/arm/src/arm/up_head.S and arch/arm/src/armv7-a/arm_head.S:
Fix a bug (uninitialized register error) that crept in the ARM9
boot-up code several years ago and was cloned into the Cortex-A5
code. Obviously no one has used the ARM9 NuttX port for years!
* Many files: Finally... I changed the naming of configuration
variables like CONFIG_DRAM_ to CONFIG_RAM_. This has bothered
me for a long time since most boards don't have DRAM. The more
generic RAM naming should not produce so much cognitive dissonance
(2013-7-26).
* configs/sama5d3x-ek/hello: Added a tiny hello world configuration
to simplify bring up of the SAMA5 (it will probably be removed
later) (2013-7-26).
* The sama5d3x-ek/hello now runs correctly (2013-7-28).
Gregory Nutt
committed
* configs/sama5d3x-ek/ostest/: This configuration has been modified
to run out NOR flash. More work is still needed to reconfigure the
SMC so that the NOR flash can work with the high clock (2013-7-28).
Gregory Nutt
committed
* arch/arm/src/sama5/sam_clockconfig.c/h and
configs/sama5d3x-ek/src/sam_norflash.c: Add a file structure that
will (eventually) support reconfiguration of NOR flash when NuttX
boots from NOR FLASH (2013-7-29).
* arch/arm/src/sama5/chip/sam_hsmc/h: SAMA5 HSMC register
defintion file (2013-7-29)
* configs/sama5d3x-ek/src/sam_norflash.c: Add board specific
logic to re-configure the SAMA5D3x-EK NOR FLASH before while
running out of NOR FLASH. We need to change the NOR FLASH
timing BEFORE increasing the main clock (2013-7-29).
Gregory Nutt
committed
* configs/sama5d3-ek/norboot and src/nor_main.c: The norboot
configuration to help debug NuttX in NOR flash. It runs
out of ISRAM, configures NOR FLASH, then waits for you to
break in with a debugger to start the program in NOR FLASH
(2013-7-29).
* arch/arm/src/armv7-a/arm_cache.S: Separate the bigger cache
operations into separater files (2013-7-29).
* arch/arm/src/stm32/stm32_dac.c: Fixed numerous DAC driver
errors and added support for DAC DMA (contributed by John
Wharington, 2013-7-30).
* arch/arm/src/stm32/stm32f30xx_i2c.c: An I2C driver for
the STM32 F3 family from John Wharington (2013-7-30).
* arch/arm/include/armv7-m: Add irqdisable() (2013-7-30);
* configs/sama5d3-ek/src/nor_main.c: Now disables interrupts
before jumping to NOR flash (2013-7-30).
* configs/sama5d3-ek/nsh: Add an NSH configuration for the
SAMA5D3x-EK (2013-7-31)
* configs/sama5d3-ek/src/sam_cxxinitialize.c: Add C++ support
(2013-7-31).
6.30 2013-xx-xx Gregory Nutt <gnutt@nuttx.org>
Gregory Nutt
committed
* arch/arm/src/sama5/arm_pghead.S: Separate the logic that is
enabled by CONFIG_PAGING out of arm_head.S. That was just
too much conditional compilation to be supportable
(2013-8-1).
Gregory Nutt
committed
* arch/arm/src/sama5/arm_head.S: Setup page table mappings for
all of .text, .bss, .data, stacks and heap before enabling
the MMU and caching. This is safer because it avoids the
caching issues (and much less redundant) (2013-8-1)
* arch/arm/src/sama5/chip/sam_mpddrc.h: Add DDR controller
registers definitions for the SAMA5 (2013-8-1).
* nuttx/configs/sama5d3x-ek/src/sam_sdram.c: Add logic which
will (eventually) support the SDRAM on the SAMA5D3x-EK
board. Initial commit is untested and incomplete (2013-8-1).
* arch/arm/src/armv7-a/arm_mmu.c: Move some generic MMU logic
out of SAMA5-specific code into this share-able file (2013-8-2)
* arch/arm/src/armv7-a/mmu.h: Add inline functions to invalidate
a single TLB.
* arch/arm/src/sama5/sam_allocateheap.c and chip/sama5d3x_memorymap.h:
Add logic to handle signed overflow when a memory region is
greater than or equal to 2GB (2013-8-2).
* arch/arm/src/sama5/sam_boot.c: Boot logic now initially
configures DRAM as strongly ordered so that it can be initialized.
After initialization, the page table entries are modified so
that DRAM is fully cache-able (2018-8-2).
* arch/arm/src/sama5/chip/sam_mpddrc.h: Correct typos in the
Gregory Nutt
committed
SAMA5 DDR controller register definitions (2013-8-2).
* arch/arm/src/sama5/sam_irq.c: Correct handling of spurious
interrupts (2013-8-3).
* arch/*/src/*/*_irq.c: Standardize configuration variables used
to enable interrupt controller debug output (2013-8-3).
* arch/arm/src/sama5/chip/sam_dmac.h: Add register definitions for the
SAMA5 DMA controller (2013-8-3).
* arch/arm/src/sama5/sam_dmac.c and sam_dmac.h: Add support for the
SAMA5 DMAC controllers. Initial check-in is untested and is a
straight leverage from the SAM3/4 (2013-8-4).
* arch/arm/src/sama5/sam_spi.c, sam_spi.h, and chip/sam_spi.h:
Leverage SPI support from SAM/3/4. Initial check-in is untested
and have several limitations: No DMA, no SPI1 support (2013-8-4).
* arch/arm/src/sama5/sam_spi.c and sam_spi.h: Now supports SPI1
and a register access debug option (2013-8-4).
Gregory Nutt
committed
* configs/sama5d3x-ek/src/sam_spi.c: Add board support for the
AT25 serial flash (2013-8-4).
* configs/sama5d3x-ek/nsh/defconfig: FAT file system support is
now enabled by default (2013-8-5)
* confgis/sama5d3x-ek/src/sam_nsh.c: Automatically mount AT25
file system for NSH if so configured (2013-8-5).
Gregory Nutt
committed
* confgis/sama5d3x-ek/src/sam_nsh.c: Verified that the AT25 FLASH
works on the SAMA5D3x-EK boards and can support a FAT file system
(2013-8-5).
* arch/arm/src/sam34/sam_spi.c: Corrected an error in the SAM3/4
SPI driver while testing the SAMA5 SPI driver: If CONFIG_SPI_OWNBUS
is not set, the driver will not configure the SPI mode correctly
(2013-8-5).
* configs/sama5d3x-ek/src/sam_at25.c: Move AT25 initialization logic
out of sam_nsh.c and into a separate file where it can be better
shared (2013-8-5).
* arch/arm/src/sama5/sam_hsmci.c, sam_hsmci.h, and chip.sam_hsmci.h:
Add register definitions and a driver for the (3) HSMCI memory card
interfaces provided by the SAMA5. Leveraged from the SAM3/4 and
untested on initial commit (2013-8-5).
* nuttx/configs/sama5d3x-ek/src/sam_hsmci.c and sam_nsh.c: Add support
for the (2) SD card slots provided on the SAMA5D3x-EK boards.
Untested on initial commit (2013-8-5).
Gregory Nutt
committed
* arch/arm/src/sama5 and nuttx/configs/sama5d3x-ek: Massive renaming
to get consistent once and for in the usage of PIO vs GPIO. Other
platforms use the term GPIO more, but Atmel prefers PIO. I prefer
consistency. Also fixed CONFIG_PIO vs CONFIG_SAMA5_PIO and renamed
files sam_gpio.* to sam_pio.* (2013-8-6).
* arch/arm/src/sama5/sam_pioirq.c: Add support for SAMA5 PIO interrupts
(2013-8-6).
Gregory Nutt
committed
* configs/sama5d3x-ek/src/sam_hsmci.c: Add support for SD slot card
Gregory Nutt
committed
detection PIO interrupts (2013-8-6).
Gregory Nutt
committed
* arch/arm/src/sam34/sam_hsmci.c and sama5/sam_hsmci.c: Fix handling
of some masked status conditions that can cause false-alarm errors
(2013-8-6).
* arch/arm/src/sama5/sam_dmac.c and sam34/sam34_dmac.c: For SAMA5,
correct some bad register address and some bad assertions that caused
false alarms. These latter were backported to the SAM34 DMAC driver
as well (2013-8-6).
* arch/arm/src/sama5/sam_dmac.c and sam34/sam34_dmac.c: Correct
some parameters reversed in function call (2013-8-6).
* arch/arm/src/sama5/sam_spi.c: The SAMA5 SPI driver now supports
DMA transfers (2013-8-9).
* arch/arm/src/sama5/sam_dmac.c: Finally after many bugfixes (the
last being caching issues), the SAMA5 DMA support has been
verified (with SPI) (2013-8-9).
Gregory Nutt
committed
* arch/arm/src/sama5/sam_memories.c and .h: Centralize logic for
Gregory Nutt
committed
conversions between physical and virtual addresses (2013-8-9).
Gregory Nutt
committed
* arch/arm/src/sama5/sam_hsmci.c and sam34/sam_hsmci.c: Correct a
race condition in the SAMA5 HSCMI driver: The tranfer done
interrupt was firing before the wait was started. Fix this and
also backported the changes to SAM3/4 (untested). Now HSCMI is
functional on the SAMA5 with DMA! (2013-8-10).
* arch/arm/src/sam34/sam3u_periphclks.h: Correct a typo in a register
name (2013-8-10).
* drivers/mmcsd/mmcsd_sdio.c: Correction for a bad return value
when multiple block SDIO transfers are suppressed. By Andrew Tridgell
via Lorenz Meier (2013-8-10).
Gregory Nutt
committed
* drivers/serial/serial.c, drivers/usbdev/cdcacm.c, and
include/nuttx/fs/ioctl.h: Added support for FIONREAD and FIONWRITE,
added TERMIOS input / output processing support for UART and CDCACM
serial ports. Implemented by Mike Smith, Andrew Tridgell and Lorenz
Meier (2013-8-10).
* drivers/usbdev/cdcacm.c: Added FIONREAD and FIONWRITE to CDC/ACM
driver based on serial.c implementation. From Lorenz Meier
(2013-8-10).
* arch/arm/src/stm32/Kconfig and stm32_serial.c: Added option to
disable serial port reordering. From Lorenz Meier (2013-8-10).
Gregory Nutt
committed
* arch/arm/src/sama5/Kconfig, sam_ohci.c, and
arch/arm/src/sama5/sam_clockconfig.c: Add a OHCI driver for the SAMA5.
Untested on initial check-in (2013-8-11).
* include/nuttx/usb/usbhost.h, arch/arm/src/stm32, arch/arm/src/lpc17xx,
and include/nuttx/usb/usbhost.h, and nuttx/configs/<stm32-boards>:
Move prototype of usbhost_initialize() of usbhost.h and into
architecture specific files. This is necessasrybecause some chips
(like the SAMA5) have multiple, different USB host interfaces
(2013-8-11).
* drivers/usbhost/usbhost_hidkbd.c and usbhost_storage.c: Correct some
compilation errors when pre-allocated class structures are used. Also
eliminate some warnings about uninitialized variables (2013-8-11).
* configs/sama5d3x-ek/src/sam_usb.c and related files: Add support for
initialization of the USB host and mass storage class device (2013-8-11).
* arch/arm/src/sama5/sam_ohci.c and sam_usbhost.h (was sam_ohci.h), and
configs/sama5d3x-ek/src/sam_usb.c, and sama5d3x-ek.h: Add controls
to enable VBUS power in OHCI host most (2013-8-12).
* includes/nuttx/usb/usbhost.h, all USB host drivers in arch/, and all
USB host-side connection monitoring threads in configs/*/src: The
SAMA5 has three downstream ports; all of the other USB host
implementations have only one. This will require significant changes
to the USB host interfaces starting with these chnages to monitor
connections on a port-by-port basis. This effects a lot of files and
more changes are coming for this issues. Changes are being blindly
incorporated into other architrectures. I am being careful to avoid
breakage, but I expect some (2013-8-12).
Gregory Nutt
committed
* configs/olimex-stm32-p107/nsh/defconfig and appconfig: Converted to
use the kconfig-frontends tool. From Max Holtzberg (2013-8-12).
* includes/nuttx/usb/usbhost.h, et al: Continued changes to the USB
host interface to support multiple downstream ports. When a class
is disconnected, it needs to provide the FunctionAddress to the
USB HCD disconnect method so that the HCD will know which port
is being disconnected (2013-8-12).
* nuttx/arch/arm/src/stm32/Kconfig, Make.defs, and /stm32f30xxx_i2c.c:
STM32 F3 I2C fixes from John Wharington (2013-8-13).
* nuttx/arch/arm/src/sama5/sam_serial.c: Fix a re-entrancy problem
in up_putc(). I think all architectures have this re-entrancy
than can result in serial interrupt being disabled, but I have only
seen the symptom on SAMA5 (2013-8-13).
Gregory Nutt
committed
* includes/nuttx/usb/usbhost.h and many other affected files: Separate
wait() and enumerate() methods from struct usbhost_driver_s and move
to new interface, struct usbhost_connection_s. This is part of the
necessary restructuring of the USB host interface to support multiple
root hub ports (2013-8-13).
Gregory Nutt
committed
* arch/arm/src/sama5/sam_ohci.c: Major restructuring of the driver due
in order to handle multiple root hub ports. Basically instead of one
driver structure with an arrayof root hub port structures, there is no
one container structure with an array of driver structures, one for
each root hub port. The advantage is that each class->driver call not
passes information associated with the RHport implicitly. The klugey,
procedural alternative was to add the function address to every
interface method (which I started to do but backed above) (2013-8-13).
Gregory Nutt
committed
* arch/arm/src/sama5/sam_memories.c and .h: Extended logic so do
conversions from physical to virtual addresses (2013-8-14).
* arch/arm/src/sama5/sam_ohci.c: Add D cache contols and conversion
between physical and virtual address (2013-8-14).
Gregory Nutt
committed
* arch/arm/src/stm32/stm32_spi.c: nbits() interface extended to
control bit order as well as bit width (from Teemu Pirinen)
(2013-8-16)
* arch/arm/src/sama5/sam_ohci.c: More to be tested, but the SAMA5
OHCI driver is now basically funtional (2013-8-16).
* include/nuttx/usb/ehci.h: EHCI header file (2013-8-17).
Gregory Nutt
committed
* arch/arm/src/stm32/stm32_i2c.c: Correct an error that crept into
the STM32 F1 I2C driver with some recent changes. From Yiran Liao
(2013-8-18).
Gregory Nutt
committed
* drivers/usbhost/usbhost_devaddr.c and include/nuttx/usb/usbhost_devaddr.h:
Add logic for management of device addresses. This logic does not
currently hook into into anything. It will someday be a part of the
NuttX USB hub implementation (2013-8-18).
* nuttx/arch/arm/src/sama5/sam_ehci.c and other files: Create a skeleton
environment for development of an EHCI driver. Not much in place yet
(2013-8-20).
* nuttx/arch/arm/src/sama5/sam_ehci.c: Now code complete for all
asynchronous endpoints (control and bulk); nothing yet in place
for periodic endponts (interrupt and isochronous) (2013-8-22).
Gregory Nutt
committed
* include/nuttx/serial/serial.h and arch/arm/src/stm32/chip/stm32f40xxx_pinmap.h:
SourceForge bug #16 Fix IO pin map. Add CONFIG_SERIAL_TERMIOS support.
Also fixes some STM32 F4 Timer 8 pin configurations. From CCTSAO
(2013-8-23).
* arch/arm/src/lpc17xx/lpc17_usbhost.h: Fix #endif with missing #if
condition. Reported by Andrew Bradford (2013-8-23).
* nuttx/arch/arm/src/sama5/sam_ehci.c: Now handles low- and full-speed
connections by giving the port to the OHCI driver (2013-8-24).
* nuttx/arch/arm/src/sama5/sam_ohci.c: Now uses the work queue to
defer interrupt processing (2013-8-24).
* nuttx/arch/arm/src/sama5/sam_ohci.c and nuttx/arch/arm/src/sama5/sam_ehci.c:
EHCI is now the common interrupt "master." It will receive all UHPHS
interrupts and route the interrupt event to both the OHCI and EHCI
logic (2013-8-24).
Gregory Nutt
committed
* net/uip/uip_arp.c: Correct backward condition in netmask task.
From Max Holtzberg (2013-8-25).
Gregory Nutt
committed
* arch/arm/src/sama5/sam_ohci.c: SAMA5 OHCI is again functional by
itself after all of the changes to integrate with EHCI. (2013-8-25).
Gregory Nutt
committed
* drivers/net/encx24j600.c/.h and include/nuttx/net/encx24j600.h:
Support the Microchip ENCX24J600 Ethernet driver from Max Holtberg
(2013-8-25).
* configs/olimex-stm32-p107: Incorporate ENCX24J600 support for the
Olimex STM32 P107 board. From Max Holtzberg (2013-8-25).
Gregory Nutt
committed
* fs/romfs/fs_romfsutil.c: Fix an error where long (>15) file names
were read incorrectly from a ROMFS file system. From Mike Smith
Gregory Nutt
committed
(2013-8-25).
* arch/arm/src/stm32/stm32_sdio.c: SourceForge bug #17 Fix if
CONFIG_SDIO_BLOCKSETUP defined, OS will crash". Generate an error
if CONFIG_SDIO_BLOCKSETUP is defined; that option is not yet supported
by the STM32 SDIO driver. From CCTSAO (2013-6-26)
* drivers/net/encx24j600.c and .h: Use the ENC's SRAM for multiple TX
packets. From Max Holtzberg (2013-6-26).
Gregory Nutt
committed
* include/nuttx/usb/usbhost.h, drivers/usbhost/usbhost_enumerate.c, and
all USB host drivers: Added a new driver method: getdevinfo. This
method is intended to get various information about the connected device,
but currently returns only the device speed. The device speed is
necessary by usbhost_enumerate in order to set a credible initial EP0
max packetsize. High speed needs 64 bytes, low speed needs 8 bytes,
and full speed can handle almost any size (2013-8-26).
* arch/arm: Add hooks for Cortex-A8. Not much more yet (2013-8-27).
* Lots of files: Fix all occurrents of "the the" in documentation and
comments (2013-8-27).
* arch/arm/src/sama5/sam_allocateheap.c: Correct the logic that
determines which memory regions get added to the heap. When
CONFIG_MM_NREGIONS > 1, the logic was adding the ISRAM region to
the heap twice! (2013-6-27).
* nuttx/arch/arm/src/sama5/sam_ehci.c: Add (untested) support for
interrupt endpoints (2013-8-28).
* arch/arm/src/sama5/chip/sam_udphs.h: High-speed USB device register
definitions for the SAMA5 (2013-8-28)
* arch/arm/src/sama5/sam-udphs.c: A framework for the USB device
driver taken from another architecture. There is very little
useful in this initial check-in (2013-8-29).
* Remove all empty and most useless README.txt files (2013-8-31)
* configs/freedom-kl25z/src/kl_spi.c: Correct typo in name of a
function. From Alan Carvalho de Assis (2013-8-31).
* drivers/usbdev/cdcacm_desc.c: Fixed some compilation errors that
only occur when dual speed support is enabled (2013-9-1).
* arch/arm/src/sama5/sam_clockconfig.c and configs/sama5d3x-ek/include/board_*mhz.h:
Add logic to support UDPHS clocking (2013-9-13).
* arm/src/stm32/chip/stm32_tim.h: Some CCER bit settings changed
per SourceForge bug #18 submitted by CCCTSAO (2013-9-2).
Gregory Nutt
committed
* apps/examples/cc3000, configs/freedom-kl25z, drivers/wireless/cc3000,
and nuttx/include/nuttx/cc3000. Initial support for the TI CC3000
network module on the Freescale Freedom-KL25Z board from Alan Carvalho
de Assis. This is still very much a work in progress (2013-9-3).
* configs/*/usbmsc: Renamed from config/*/usbstorage to match the
change in naming in apps/examples submitted by CCTSAO (2013-9-5).
Gregory Nutt
committed
* drivers/usbdev.c and pl2303.c: Don't use max packetsize assigned to
the endpoint when allocating request buffers; The default value of
the endpoint max packetsize may be incorrect because the endpoint
has not yet been configured. Verified on CDC/ACM. Corresponding
changes made to pl2303, but untested (2013-9-5).
* arch/arm/src/sama5/sam_udphs.c: The high-speed device side driver
is now functional (although more testing is always needed) (2013-9-5).
* net/net_monitor.c: Fixes a race condition where a loss of connection
may not be detected when the connection is lost before it has been
accepted (from Max Holtzberg) (2013-9-6).
* configs/sama5d3x-ek/demo: Add a new NSH configuration. The
original NSH configuration will be a simple platform for testing
individual features; the demo configuration will be a more complex
platform for demonstrating multiple interacting features (2013-9-6).
* net/uip/uip_tcpbacklog.c: Fix a major bug in the TCP/IP backlog
initialization: Only the first backlog buffer was getting added
to the free list. From Max Holtzberg (2013-9-6).
* configs/sama5d3x-ek/demo: Add support for USB MSC device on the
AT25 serial FLASH (untested) (2013-9-6).
* drivers/net/enc28j60.c: Changes back-ported from the ENCX24J600
to the ENC28J60 by Max Holtzberg. These seem like reasonable and
correct changes, but have yet to be verified on an ENC28J60 (2013-9-6).
Gregory Nutt
committed
* drivers/usbdev/usbdev_strings.c: Extended decoding and stringifging
of USB trace output to include trace output from class drivers.
(2013-9-6).
Gregory Nutt
committed
* drivers/usbdev/usbmsc_desc.c: Fix a warning when USB MSC is
compiled for a high-speed device (2013-9-7).
Gregory Nutt
committed
* drivers/usbhost/usbhost_storage.c: If device is returning fatal
transfer errors while attempt to initialize, don't bother with
the startup retries; abort immediately so that the device will
be reset and we can try again (2013-9-9).
* drivers/usbhost/usbhost_storagge: Correct a reference counting
error: When an MSC device transfer fails while waiting for
UnitTestReady (see 2013-9-9), the reference count was not being
decremented. The end result is a memory leak (2013-9-10).
* arch/arm/src/sama5/chip/sam_twi.h: Added SAMA5 TWI register
definition file (2013-9-11).
* arch/arm/src/sama5/sam_twi.c and .h: Framework for a SAMA5
TWI driver (not much present in initial checkin) (2013-9-11).
* fs/nxffs: Clean up some compilation warnings (2013-9-12)
* drivers/mtd/at24xx.c: Add support for the AT 24C512 part
(2013-9-12).
* arch/arm/src/sama5/sama5_twi.c: Clean up some errors that
only occur with CONFIG_DEBUG_I2C (2013-9-12).
* arch/arm/src/sama5/chip/sam_emac.h and sam_gmac.h: Register
definition files for the SAMA5 EMAC and GMAC peripherals
(incomplete on the initial commit) (2013-9-12).
* arch/arm/src/stm32/stm32_can.c: Make filter register accessible
for CAN1 and CAN2. Patch provided by Lorenz Meier (2013-9-13).
* nuttx/include/nuttx/usb/cdcacm.h: Fix backward conditional
compilation in the CDC/ACM driver with regard to remote
wakeup and self-powered capabilites. Provided by Lorenz Meier
(2013-9-13)