Skip to content
  1. Sep 30, 2017
  2. Sep 29, 2017
    • Gregory Nutt's avatar
    • Gregory Nutt's avatar
    • Gregory Nutt's avatar
      drivers/syslog: syslog internal functions should not set the errno variable: ... · 8a75add6
      Gregory Nutt authored
      drivers/syslog:  syslog internal functions should not set the errno variable:  ramlog_putc(), syslog_dev_putc(), syslog_dev_write(), syslog_force().
      8a75add6
    • Gregory Nutt's avatar
    • Xiao Qin's avatar
      Merged in x_qin/nuttx/null_check_for_open_and_write (pull request #498) · e5c79ba1
      Xiao Qin authored
      
      
      fs/vfs:null check for path on open and buf on write
      
      Null path check is depend on CONFIG_DEBUG_FEATURES and CONFIG_DEBUG_ASSERTIONS, added null checking so it's always performed
      Added null checking on buf for write()
      
      Approved-by: default avatarGregory Nutt <gnutt@nuttx.org>
      e5c79ba1
    • Gregory Nutt's avatar
      Update some comments · c4d03d81
      Gregory Nutt authored
      c4d03d81
    • Gregory Nutt's avatar
      Add support for an in-memory routing table cache in order to improve... · ae78a925
      Gregory Nutt authored
      Add support for an in-memory routing table cache in order to improve performance when the routing table is retained in a file.  The cache holds the most recently used routing table entries and so can eliminate some file access.
      
      Squashed commit of the following:
      
          net/route:  Flush in cache when any entry is deleted from the routing table.  When a router matching an IP address is found, add the routing table entry to the cache.
      
          net/route:  Add utility functions to manage an in-memory cache to improve performance when use a file-based routing table.
      ae78a925
    • Gregory Nutt's avatar
      This commit adds support for routing tables in files in a file system. This... · 44d88abb
      Gregory Nutt authored
      This commit adds support for routing tables in files in a file system.  This might be useful for customized, per-unit routing tables.
      
      There are two issues with it however:
      
      1. Reading from file system on a per packet basis could be slow.  I think it probably should have a small, in-memory cache of most frequently used routes for good problem.
      
      2. Currently the delroute logic is disabled due to a problem with the design.  NuttX does not currently support truncate().  Therefore, it is not possible to delete entries from the routing table file.
      
      In this current implementation, that leaves the last entry intact at the end of the file.  An alternative design might include a tag on each record to indicate if the record is valid or not.  That would work but would add complexity to the other routing table functions.
      
      The existing implementation is available for testing purposes only if CONFIG_EXPERIMENTAL=y.
      
      Squashed commit of the following:
      
          net/route:  The current delroute design depends on file truncation.  However, NuttX does not currently support truncate.  Alternative, more complex designs are possible but not implemented.  At present the file routing table are otherwise functional but the delroute logic is disabled via CONFIG_EXPERIMENTAL.  Enable it only if you plan to fix it.
      
          net/route:  Fix some issues with locking routing table files.
      
          net/route:  Add partial implementation of delroute for the case where the routing table is in a file.
      
          net/route:  Add support for seeking to positions in the routing table.
      
          net/route: Add net_addroute_ipv4/6() using a file-based routing table.
      
          net/route: Add net_foreach_ipv4/4() using a file-based routing table.
      
          net/route:  Initial build, configuration, and fs utilies to support routing tables in a file.
      44d88abb
    • Gregory Nutt's avatar
      Fix minor spacing issue · fa65bad3
      Gregory Nutt authored
      fa65bad3
    • Juha Niskanen's avatar
      Merged in juniskane/nuttx_stm32l4/dfsdm_flash_pr (pull request #497) · e09a31c3
      Juha Niskanen authored
      
      
      STM32L4 FLASH, DFSDM: option bytes, JEXTSEL bits, ADC1 output to DFSDM chips change
      
      * STM32L4 FLASH: add function for modifying device option bytes
      
      * STM32L4 DFSDM: add JEXTSEL bits, ADC1 output to DFSDM chips change
      
          ST's documentation hints that ADC output can be routed to DFSDM
          on some STM32L4X3 chips, but I got confirmation from tech support
          that this is just a documentation error so remove this from Kconfig.
      
      Approved-by: default avatarGregory Nutt <gnutt@nuttx.org>
      e09a31c3
  3. Sep 28, 2017
  4. Sep 27, 2017
  5. Sep 26, 2017
  6. Sep 25, 2017