Skip to content
  1. Dec 12, 2017
  2. Dec 11, 2017
  3. Dec 10, 2017
  4. Dec 09, 2017
  5. Dec 08, 2017
  6. Dec 07, 2017
    • Anthony Merlino's avatar
      Merged in antmerlino/nuttx/photon-timer (pull request #552) · 87291e00
      Anthony Merlino authored
      
      
      configs/photon: Adds BOARD_TIMn_FREQUENCY macros
      
      Approved-by: default avatarGregory Nutt <gnutt@nuttx.org>
      87291e00
    • Anthony Merlino's avatar
      Merged in antmerlino/nuttx/sixlowpan-address-context (pull request #553) · cc536ba6
      Anthony Merlino authored
      
      
      sixlowpan: Completes configuration options for specifying preloaded address contexts for compression
      
      Approved-by: default avatarGregory Nutt <gnutt@nuttx.org>
      cc536ba6
    • Masayuki Ishikawa's avatar
      Merged in masayuki2009/nuttx.nuttx/irq_spinlock (pull request #550) · 6150299f
      Masayuki Ishikawa authored
      
      
      SMP: Introduce spin_lock_irqsave() and spin_unlock_irqrestore()
      
      These APIs are simplified version of enter_critical_section() and
      leave_critical_section() to protect data (e.g. registers) in SMP mode.
      By using these APIs inside drivers, performace will be improved.
      
      Signed-off-by: default avatarMasayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
      
      Approved-by: default avatarGregory Nutt <gnutt@nuttx.org>
      6150299f
    • Gregory Nutt's avatar
      This adds basic architectural support for the LPC546xx family and includes... · 8bc90a18
      Gregory Nutt authored
      This adds basic architectural support for the LPC546xx family and includes support for the LPCXpresso-LPC54628 board.  The basic NSH port is almost complete... still lacking GPIO support and LED support.  There are still no significant drivers available.
      
      Squashed commit of the following:
      
          arch/arm/src/lpc54xx:  Finish off some missing logic.  Complete now execpt for GPIO and LED support.
          arch/arm/src/lpc54xx:  Add lpc54_clrpend.c
          arch/arm/src/lpc54xx:  Serial driver is complete and compiles.
          arch/arm/src/lpc54xx:  Add beginning of a serial driver (still missing some logic)
          arch/arm/src/lpc54xx:  Fleshes out low level USART intialization.
          arch/arm/src/lpc546xx/Kconfig: Add hooks to integrate with common seril upper half.
          arch/arm/src/lpc54xx:  Beginning of USART console support.
          arch/arm/src/lpc54xx: Completes very basic clock configuration.
          arch/arm/src/lpc54xx:  Add clocking logic (still not complete)
          arch/arm/src/lpc54xx:  Beginning of PLL configuration logic.
          arch/arm/src/lpc54xx:  Fix a few things from first compile attempt.  Compilation cannot work until I at least finish the clock configuration logic.
          arch/arm/src/lpc54xx: Addes some SysTick logic.
          arch/arm/src/lpc54xx:  Completes basic startup logic (sans clock configuration) and interrupt configuration.
           arch/arm/src/lpc54xx:  Add generic ARMv7-M start-up logic (needs LPC54628 customizations); add emtpy file that will eventually hold the clock configuration logic.
          arch/arm/src/lpc54xx:  Add (incomplete) SYSCON register definition header file.
          arch/arm/src/lpc54xx:  Add FLEXCOMM header file.
          arch/arm/src/lpc54xx:  Bring in tickless clock logic from LPC43; configs/lpcxpresso-lpc54628: mount procfs if enabled.
          arch/arm/src/lpc54xx: Add RIT clock definitions; add SysTick initialization (not finished)
          LPC54xx and LPCXpresso-LPC54628: add more boilerplate files and stubbed out files.
          arch/arm/src/lpc54xx:  Add (incomplete) USART header file.
          Add another condition to a Kconfig; refresh a defconfig.
          arch/arm/src/lpc54xx/chip: Add LPC54628 memory map header files.
          configs/lpcxpresso-lpc54628:  Add basic build files for the LPCXpresso-LPC54628
          arch/: Basic build directory structure for the LPC54628
      8bc90a18
    • Gregory Nutt's avatar
      Triva fix of typos in comments. · ba64499b
      Gregory Nutt authored
      ba64499b
    • Jussi Kivilinna's avatar
      From c73dd8973accd312ca7675fde044df80e9cc62d5 Mon Sep 17 00:00:00 2001 · ce88bc21
      Jussi Kivilinna authored
      From: Jussi Kivilinna <jussi.kivilinna@haltian.com>
      Date: Thu, 7 Dec 2017 13:00:14 +0200
      Subject: [PATCH] drivers/pipes: poll: fix off-by-one error in calculation of bytes in the buffer
      
      Buffer calculation in pipe poll setup is off-by-one when read indexis larger than write index. This causes poll() not getting POLLINwhen buffer has one byte as calculation gives zero bytes in buffer.
      
      Reproducible with:
      
        {
          char buf[8] = { 0, };
          int fds[2];
          struct pollfd in_pfd;
      
          pipe2(fds, 8);
      
          write(fds[1], buf, 7);
          read(fds[0], buf, 7);
          write(fds[1], buf, 1);
      
          in_pfd.fd = fds[0];
          in_pfd.events = POLLIN;
          ret = poll(&in_pfd, 1, -1); // pipe bug => stuck waiting
          assert(ret == 1);
        }
      ce88bc21
  7. Dec 04, 2017
  8. Dec 03, 2017
  9. Dec 02, 2017
  10. Nov 30, 2017
  11. Nov 29, 2017