You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by an...@apache.org on 2025/03/13 13:05:14 UTC

(mynewt-nimble) branch master updated (eff02647d -> 98cd77dc3)

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

andk pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-nimble.git


    from eff02647d Fix uncrustify configuration
     new 64a5af6b6 porting: add missing os/os_cputime.h include
     new 98cd77dc3 controller: add missing os/util.h include

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:
 nimble/controller/src/ble_ll_adv.c | 1 +
 porting/nimble/src/nimble_port.c   | 1 +
 2 files changed, 2 insertions(+)


(mynewt-nimble) 01/02: porting: add missing os/os_cputime.h include

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

andk pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-nimble.git

commit 64a5af6b664080070616b2d196672ae829021182
Author: Gerard Marull-Paretas <ge...@teslabs.com>
AuthorDate: Mon Mar 10 17:48:16 2025 +0100

    porting: add missing os/os_cputime.h include
    
    When building controller, `os_cputime_init` is called, however,
    header where it is declared was not included.
    
    Signed-off-by: Gerard Marull-Paretas <ge...@teslabs.com>
---
 porting/nimble/src/nimble_port.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/porting/nimble/src/nimble_port.c b/porting/nimble/src/nimble_port.c
index c071da732..cfb288549 100644
--- a/porting/nimble/src/nimble_port.c
+++ b/porting/nimble/src/nimble_port.c
@@ -25,6 +25,7 @@
 #include "nimble/transport.h"
 #if NIMBLE_CFG_CONTROLLER
 #include "controller/ble_ll.h"
+#include "os/os_cputime.h"
 #endif
 
 static struct ble_npl_eventq g_eventq_dflt;


(mynewt-nimble) 02/02: controller: add missing os/util.h include

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

andk pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-nimble.git

commit 98cd77dc3e6dc55ff0d57260cc7f78e51b9c70e2
Author: Gerard Marull-Paretas <ge...@teslabs.com>
AuthorDate: Mon Mar 10 17:53:00 2025 +0100

    controller: add missing os/util.h include
    
    ble_ll_adv.c module uses ARRAY_SIZE, defined in os/util.h.
    
    Signed-off-by: Gerard Marull-Paretas <ge...@teslabs.com>
---
 nimble/controller/src/ble_ll_adv.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/nimble/controller/src/ble_ll_adv.c b/nimble/controller/src/ble_ll_adv.c
index 401fe2747..84f6e789d 100644
--- a/nimble/controller/src/ble_ll_adv.c
+++ b/nimble/controller/src/ble_ll_adv.c
@@ -24,6 +24,7 @@
 #include <assert.h>
 #include "syscfg/syscfg.h"
 #include "os/os.h"
+#include "os/util.h"
 #include "ble/xcvr.h"
 #include "nimble/ble.h"
 #include "nimble/nimble_opt.h"