Skip to content
ReleaseNotes 335 KiB
Newer Older
Gregory Nutt's avatar
Gregory Nutt committed
      - Granule allocator: Fixes some issues found by the PX4 team using
        Coverity.  From Pavel Krienko

    * Networking:

      - Several fixes correcting issues with the CC3000 networking.  From
        Jussi  Kivilinna
      - CC3000 Fix: Data can be unaligned.  When dereferenced as an input
        ntosh(), a bad value is returned.  Reported by Alan Carvalho de
        Assis
      - Correct naming of fields in struct sockaddr_in6:  sin6_port and
        sin6_family, not sin_port and sin_family.
      - accept(): Correct the value returned by accept() in the case where
        net_lockingwait() is called.  It was returning -1 and losing the
        errno value.  Noted by Rony Xln

    * Common Drivers:

      - Loop device should return -EINTR is interrupted by a signal.
      - M25P serial flash driver:  Add subsector size of the M24P16 part. 
        From Lazlo
      - Common serial driver: In case a thread is doing a blocking operation
        (e.g. read()) on a serial device, while it is being terminated by
        pthread_cancel(), then uart_close() gets called, but the semaphore
        is still blocked. This means that once the serial device is opened
        next time, data will arrive on the serial port (and driver
        interrupts handled as normal), but the received characters never
        arrive in the reader thread.  The problem was fixed by re-
        initializing the semaphores on the last uart_close() on the device.
        From Harald Welte
      - Pipes: Fixes some issues found by the PX4 team using Coverity.  From
        Pavel Krienko
      - CDC/ACM driver: Fixes some issues found by the PX4 team using
        Coverity.  From Pavel Krienko

    * NXP LPC43xx Drivers:

      - LPC4357: Changes required to get USART 2 & 3 working on the
        lpc4357-evb.  From Toby Duckworth.

    * STMicro STM32:

      - Several fixes correcting issues with the STM32 header files from
        Jussi Kivilinna

    * STMicro STM32 Drivers:

      - Ported Tridge's STM32 I2C noise resilience logic from the PX4
        repository.
      - STM32 F2 and F4:  Set the GPIO_SPEED_50MHz on all F2 and F4 SPI pin
        configurations.  This is based on an F411 SPI1 errata but the fixed
        is generalized to all SPI and all F2 and F4.  Discovered and fixed
        by Sebastien Lorquet.
      - Fix for STM32 OTGHS device driver working in FS mode.  From Ken
        Pettit.
      - For STM32 OTG HS DEV (in FS mode): Disable ULPI clock enable in RCC
        AHB1 Register.  If Both ULPI and the FS clock enable bits are set in
        FS mode, then the ARM never awakens from WFI due to a chip issue.
        This is only an issue if you are using the internal PHY.  From Ken
        Pettit.
      - STM32 F429 LTDC: Add missing clut register definition. From Marco
        Krahl
      - STM32 serial: fix declaration and definition of up_receive() and
        up_dma_receive() to match fields in the interface definition of
        struct uart_ops_s.  From Freddie Chopin.

    * TI Tiva Drivers:

      - Fix Tiva IRQ control logic; was limited to only 64 IRQs.  That is a
        problem for higher numbered IRQs on many platforms

    * C Library/Header Files:

      - avsprintf():  Fix a bug in usage of va_list on x86.  On x86,
        va_list is a pointer to a single copy on the stack.  avsprintf()
        calls lib_vsprintf() twice and so traverses the va_list twice using
        va_start.  va_start modifies that single copy on the stack so that
        the second call to lib_vsprintf() fails.  This appears to be an
        issue with x86 only so far.
      - stdint.h:  Don't use hex values to specify minimum values of fixed
        width, signed values.  Hex values are inherently unsigned and not
        usable for this purpose in all contexts.
      - strncpy():  Would trash a lot of memory if n == 0.  From Yasuhiro
        Osaki.
      - sscanf().  Accept %X and %F as well as %x %f as a format specifiers.
        From Sébastien Lorquet

    * Applications:

      - apps/examples/romfs: fix romfs example builtin app registry issue.
        From Librae
      - apps/system/cdcacm, composite and usbmsc:  Fix some strangely placed
        conditional compilation.  Looks like an automated update went awry
      - apps/netutils/telnetd:  Add protection when CONFIG_SCHED_HAVE_PARENT
        is enabled:  Call sigaction with SA_NOCLDWAIT so that exit status is
        not retained (no zombies) and block receipt of SIGCHLD so that
        accept is not awakened by a signal.  If accept() is awakened by a
        signal, do not do anything crazy like exit.  Most from Rony Xln
      - apps/nshlib/: NSH TFTP get command:  Wrong file name used for the
        destination.  From Lazlo