You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by je...@apache.org on 2026/02/09 12:36:57 UTC

(mynewt-core) branch master updated (d75f60ea7 -> 2f5c192e2)

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

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


    from d75f60ea7 mcu/nrf5340: Disable UART before pin configuration
     new 0b14d292f hw/mcu/nordic: Fix bump nrfx to v3.14.0
     new 2f5c192e2 drivers/adc_nrf52: Update to nrfx 3.14

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:
 hw/drivers/adc/adc_nrf52/src/adc_nrf52.c   | 8 ++++----
 hw/mcu/nordic/include/nrfx_config_common.h | 2 +-
 2 files changed, 5 insertions(+), 5 deletions(-)


(mynewt-core) 01/02: hw/mcu/nordic: Fix bump nrfx to v3.14.0

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

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

commit 0b14d292ff6e87adc1bcc2819ed6db3102abf5d2
Author: Jerzy Kasenberg <je...@codecoup.pl>
AuthorDate: Tue Jan 20 08:18:41 2026 +0100

    hw/mcu/nordic: Fix bump nrfx to v3.14.0
    
    When repo version was change to 3.14 include file
    with requested configuration stayed at version 3.1.
    
    Signed-off-by: Jerzy Kasenberg <je...@codecoup.pl>
---
 hw/mcu/nordic/include/nrfx_config_common.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hw/mcu/nordic/include/nrfx_config_common.h b/hw/mcu/nordic/include/nrfx_config_common.h
index c23a793e3..fabacd5a2 100644
--- a/hw/mcu/nordic/include/nrfx_config_common.h
+++ b/hw/mcu/nordic/include/nrfx_config_common.h
@@ -45,7 +45,7 @@
 
 /** @brief Symbol specifying minor version of the nrfx API to be used. */
 #ifndef NRFX_CONFIG_API_VER_MINOR
-#define NRFX_CONFIG_API_VER_MINOR 1
+#define NRFX_CONFIG_API_VER_MINOR 14
 #endif
 
 /** @brief Symbol specifying micro version of the nrfx API to be used. */


(mynewt-core) 02/02: drivers/adc_nrf52: Update to nrfx 3.14

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

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

commit 2f5c192e2c42e1d5462470412c9a6f92ecedba4d
Author: Jerzy Kasenberg <je...@codecoup.pl>
AuthorDate: Mon Feb 9 12:26:18 2026 +0100

    drivers/adc_nrf52: Update to nrfx 3.14
    
    Type nrf_saadc_value_t used to be uint16_t
    now is changed to void.
    
    Now nrf_saadc_value_t is changed to uint16_t
    when applicable.
    
    Signed-off-by: Jerzy Kasenberg <je...@codecoup.pl>
---
 hw/drivers/adc/adc_nrf52/src/adc_nrf52.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/hw/drivers/adc/adc_nrf52/src/adc_nrf52.c b/hw/drivers/adc/adc_nrf52/src/adc_nrf52.c
index 5f701d262..eeb8f7743 100644
--- a/hw/drivers/adc/adc_nrf52/src/adc_nrf52.c
+++ b/hw/drivers/adc/adc_nrf52/src/adc_nrf52.c
@@ -513,7 +513,7 @@ nrf52_adc_read_channel(struct adc_dev *dev, uint8_t cnum, int *result)
 {
     int rc;
     int unlock = 0;
-    nrf_saadc_value_t adc_value;
+    uint16_t adc_value;
 
     if (nrf_saadc_busy_check(NRF_SAADC)) {
         return OS_EBUSY;
@@ -585,13 +585,13 @@ static int
 nrf52_adc_read_buffer(struct adc_dev *dev, void *buf, int buf_len, int off,
                       int *result)
 {
-    nrf_saadc_value_t val;
+    uint16_t val;
     int data_off;
 
-    data_off = off * sizeof(nrf_saadc_value_t);
+    data_off = off * sizeof(uint16_t);
     assert(data_off < buf_len);
 
-    val = *(nrf_saadc_value_t *) ((uint8_t *) buf + data_off);
+    val = *(uint16_t *) ((uint8_t *) buf + data_off);
     *result = val;
 
     return 0;