You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by ag...@apache.org on 2020/08/18 12:42:17 UTC

[incubator-nuttx] branch master updated (6176e33 -> 8db91a7)

This is an automated email from the ASF dual-hosted git repository.

aguettouche pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git.


    from 6176e33  fs/littlefs: enable the low level log only on debug mode
     new 3d0cdc3  sim/loadable: Remove CONFIG_USERMAIN_STACKSIZE from defconfig
     new 8db91a7  timers/timer.c:397:19: Fix warning: implicit declaration of function 'timer_setcallback'

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 boards/sim/sim/sim/configs/loadable/defconfig |  1 -
 include/nuttx/timers/timer.h                  | 11 +++++++----
 2 files changed, 7 insertions(+), 5 deletions(-)


[incubator-nuttx] 01/02: sim/loadable: Remove CONFIG_USERMAIN_STACKSIZE from defconfig

Posted by ag...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

aguettouche pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git

commit 3d0cdc3d95761a3816bf2179c87a26a9d222ab5b
Author: Xiang Xiao <xi...@xiaomi.com>
AuthorDate: Tue Aug 18 17:08:04 2020 +0800

    sim/loadable: Remove CONFIG_USERMAIN_STACKSIZE from defconfig
    
    since it isn't used for elf binary
    
    Signed-off-by: Xiang Xiao <xi...@xiaomi.com>
---
 boards/sim/sim/sim/configs/loadable/defconfig | 1 -
 1 file changed, 1 deletion(-)

diff --git a/boards/sim/sim/sim/configs/loadable/defconfig b/boards/sim/sim/sim/configs/loadable/defconfig
index 4b35a80..dc0a0d8 100644
--- a/boards/sim/sim/sim/configs/loadable/defconfig
+++ b/boards/sim/sim/sim/configs/loadable/defconfig
@@ -49,5 +49,4 @@ CONFIG_SIM_WALLTIME=y
 CONFIG_START_MONTH=6
 CONFIG_START_YEAR=2008
 CONFIG_SYSTEM_NSH=m
-CONFIG_USERMAIN_STACKSIZE=4096
 CONFIG_USER_INITPATH="/system/bin/nsh"


[incubator-nuttx] 02/02: timers/timer.c:397:19: Fix warning: implicit declaration of function 'timer_setcallback'

Posted by ag...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

aguettouche pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git

commit 8db91a7974d332823c59c3fb3ba191da502d8771
Author: Xiang Xiao <xi...@xiaomi.com>
AuthorDate: Tue Aug 18 17:23:04 2020 +0800

    timers/timer.c:397:19: Fix warning: implicit declaration of function 'timer_setcallback'
    
    Signed-off-by: Xiang Xiao <xi...@xiaomi.com>
---
 include/nuttx/timers/timer.h | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/include/nuttx/timers/timer.h b/include/nuttx/timers/timer.h
index c78ec97..b1c0871 100644
--- a/include/nuttx/timers/timer.h
+++ b/include/nuttx/timers/timer.h
@@ -56,6 +56,7 @@
  ****************************************************************************/
 
 /* IOCTL Commands ***********************************************************/
+
 /* The timer driver uses a standard character driver framework.  However,
  * since the timer driver is a device control interface and not a data
  * transfer interface, the majority of the functionality is implemented in
@@ -68,7 +69,8 @@
  * TCIOC_STOP         - Stop the timer
  *                      Argument: Ignored
  * TCIOC_GETSTATUS    - Get the status of the timer.
- *                      Argument:  A writeable pointer to struct timer_status_s.
+ *                      Argument:  A writeable pointer to struct
+ *                      timer_status_s.
  * TCIOC_SETTIMEOUT   - Reset the timer timeout to this value
  *                      Argument: A 32-bit timeout value in microseconds.
  * TCIOC_NOTIFICATION - Set up to notify an application via a signal when
@@ -95,6 +97,7 @@
 #define TCIOC_MAXTIMEOUT   _TCIOC(0x0006)
 
 /* Bit Settings *************************************************************/
+
 /* Bit settings for the struct timer_status_s flags field */
 
 #define TCFLAGS_ACTIVE     (1 << 0) /* 1=The timer is running */
@@ -138,7 +141,8 @@ struct timer_notify_s
 struct timer_lowerhalf_s;
 struct timer_ops_s
 {
-  /* Required methods ********************************************************/
+  /* Required methods *******************************************************/
+
   /* Start the timer, resetting the time to the current timeout */
 
   CODE int (*start)(FAR struct timer_lowerhalf_s *lower);
@@ -214,6 +218,7 @@ extern "C"
 /****************************************************************************
  * "Upper-Half" Timer Driver Interfaces
  ****************************************************************************/
+
 /****************************************************************************
  * Name: timer_register
  *
@@ -287,9 +292,7 @@ void timer_unregister(FAR void *handle);
  *
  ****************************************************************************/
 
-#ifdef __KERNEL__
 int timer_setcallback(FAR void *handle, tccb_t callback, FAR void *arg);
-#endif
 
 /****************************************************************************
  * Platform-Independent "Lower-Half" Timer Driver Interfaces