Skip to content
  1. Nov 01, 2017
  2. Oct 31, 2017
    • Gregory Nutt's avatar
    • Gregory Nutt's avatar
      fs/userfs: Some fixes from initial testing. · 0614f967
      Gregory Nutt authored
      0614f967
    • Dmitriy Linikov's avatar
      Merged in hardlulz/modem-3.0-nuttx/fix-stmpe811-gpio (pull request #523) · 61372551
      Dmitriy Linikov authored
      
      
      Fix GPIO operation of STMPE811 driver.
      
      Fixed issues:
      1. STMPE811_GPIO_DIR was defined for register name
         and later was redefined to be the pin direction mask
         for `stmpe811_gpioconfig`
      
         I decided to change register name to be STMPE811_GPIO_DIR_REG,
         and keep pin direction mask STMPE811_GPIO_DIR, so that any
         external code that already use this driver will be unchanged.
      
      2. The STMPE811 register GPIO_DIR uses bit value 1 for output
         and 0 for input, but `stmpe811_gpioconfig` set the opposite.
      
      3. The call to `stmpe811_gpiowrite` from inside of `stmpe811_gpioconfig`
         leaded to deadlock.
      
      Approved-by: default avatarGregory Nutt <gnutt@nuttx.org>
      61372551
    • Masayuki Ishikawa's avatar
      Merged in masayuki2009/nuttx.nuttx/lc823450 (pull request #524) · 09d48745
      Masayuki Ishikawa authored
      
      
      Fix DEBUGASSERT() issues with nxhello on lc823450-xgevk
      
      * sched/task: Remove DEBUGASSERT in task_exitstatus() and task_groupexit()
      
      * graphics: Change DEBUGASSERT condition in nx_runinstance()
      
      Approved-by: default avatarGregory Nutt <gnutt@nuttx.org>
      09d48745
    • Gregory Nutt's avatar
      Squashed commit of the following: · 6e9039bb
      Gregory Nutt authored
          fs/userfs:  This completes coding of the UserFS client and of the UserFS feature in general.  This feature is being merged to main now because I believe it is innocuous.  It is, however, untesed.  The next step will be to develop a test case to verify the feature.
          fs/userfs:  Completes the request logic for the UserFS client.  Still need the logic that receives the responses.
          fs/userfs:  Completes coding for most of the server side of the user filesystem logic.
          fs/userfs:  Big design changes, simplications. Use Unix domain local sockets instead of message queues.  Easier to transfer big data in local sockets than message queues.  Remove character drvier 'factory' it is not necessary.
          fs/userfs:  Minor reparitioning; volume private info does not need to be held on the OS client side.
          libc/userfs:  Add some of the server side logic.
          fs/userfs:  Add some UserFS initialization logic.
          fs/userfs:  Add frame work for the UserFS proxy.  Remove all references to a block driver.  There is no block dricer... what was I thinking?
          fs/userfs: Add some initialization of the character driver, 'factory' device.
          fs/userfs:  Rename from fusefs to userfs to that we don't stomp on someone else's cool name.
          Add a header file describing the fusefs interface.
      6e9039bb
  3. Oct 30, 2017
  4. Oct 28, 2017
  5. Oct 27, 2017
  6. Oct 26, 2017
    • Gregory Nutt's avatar
      Correct a problem that was causing an apparent directory to be reported as a... · ea13e243
      Gregory Nutt authored
      Correct a problem that was causing an apparent directory to be reported as a file instead of a directory by opendir.
      
      This happened after adding these three new procfs entries:
      
        fs/block
        fs/mount
        fs/usage
      
      Of course, there is no directory fs in this case, only three files that have fs/ in their relative pathnames.  The logic was detecting that fs was the name of the enty to report, but it was then declaring that fs was a file (because fs/block is of type file).
      
      This was fixed by adding a check for matching lenghts.  i.e., if strlen(fs) != strlen(fs/block), then report fs as a directory instead of a file.
      ea13e243
    • Gregory Nutt's avatar
      Squashed commit of the following: · 1ed816de
      Gregory Nutt authored
          fs/mount:  Implements procfs /proc/fs/blocks and /proc/fs/usage files, replacing the NSH df command.
          fs/mount:  Implements procfs /proc/fs/mount file, replacing the NSH mount command when there are not arguments.
          fs/: Move prototype of foreach_mountpoint out of include/nuttx/fs/fs.h to fs/mount/mount.h.  Add framework for the mount procfs (initial commit is just a close of the net/route table procfs.
      1ed816de
    • Gregory Nutt's avatar
      4d344b36
    • Jussi Kivilinna's avatar
      e557c3e8
    • Jussi Kivilinna's avatar
      Merged in jussi_kivilinna/nuttx/stm32l4_i2c_rewrite (pull request #519) · bcf4a5d0
      Jussi Kivilinna authored
      
      
      Port STM32F7 I2C driver to STM32L4
      
      * arch/stm32l4: port STM32F7 I2C driver to STM32L4
      
          STM32L4 I2C driver is in work-in-progress state (plentiful of
          TODOs and #warnings) and lags many features found in more
          up-to-date STM32 I2C drivers. The peripheral on STM32F7 and
          STM32L4 are identical except for L4's 'wakeup from stop mode'
          flag and STM32F7's I2C driver is in more 'ready to use' state.
      
          Patch ports the STM32F7 I2C driver to STM32L4. The I2C clock
          configuration is kept the same as before (I2CCLK = PCLK1 80 Mhz)
          instead of switching to STM32F7 arch default that is I2CCLK=HSI.
          Further work would be to add configuration option for choosing
          I2C clock source instead of current hard-coded default.
      
      * arch/arm/stm32f7: i2c: restore bus frequency after I2C reset
      
          Copy frequency restoration fix from STM32L4 I2C driver to STM32F7 I2C driver.
      
      * arch/arm/stm32f7: i2c: remove unused Kconfig option
      
      * configs/nucleo-l496zg/nsh: enable I2C4 bus with i2ctool
      
      Approved-by: default avatarGregory Nutt <gnutt@nuttx.org>
      bcf4a5d0
    • Jan Pobříslo's avatar
      Merged in ccxcz/nuttx/olimex-stm32-h407-v2 (pull request #518) · 7a530c40
      Jan Pobříslo authored
      
      
      Olimex stm32-h407 serial support for the on-board UEXT connector (fixed style & defconfig)
      
      * olimex-stm32-h407: Add USART6 for UEXT connector.
      
      * olimex-stm32-h407: nsh_uext configuration and README update.
      
      Approved-by: default avatarGregory Nutt <gnutt@nuttx.org>
      7a530c40
  7. Oct 25, 2017
  8. Oct 24, 2017
  9. Oct 23, 2017