• Support
  • AQW demo examples - NCS v2.3.0 and Vanilla Zephyr v3.3.0

Updated west-ncs.yml to use `NCS v.2.3.0′

manifest:
  remotes:
    - name: nrfconnect
      url-base: https://github.com/nrfconnect
  projects:
    - name: nrf
      repo-path: sdk-nrf
      remote: nrfconnect
      revision: v2.3.0
      import: true

The demo/bleexample required a minor change to build successfully, rest of the examples built without any changes.

The latest Zephyr changed to using inline functions for os_mgmt_register_group() and img_mgmt_register_group() in ble.c.

demo/ble built fine after commenting out the following includes and calls. Air Quality Wing ble connection worked fine.

#include <os_mgmt/os_mgmt.h>
#include <img_mgmt/img_mgmt.h>
...
...
os_mgmt_register_group();
img_mgmt_register_group();

In addition, location ofsmp_bt.h has changed to

#include <zephyr/mgmt/mcumgr/transport/smp_bt.h>

Updated west-vanilla.ymlto use Zephyr 3.3.0

manifest:
  remotes:
    - name: zephyrproject
      url-base: https://github.com/zephyrproject-rtos
  projects:
    - name: zephyr
      repo-path: zephyr
      remote: zephyrproject
      revision: v3.3.0
      import:

demo/ble failed to build successfully.

With zephyr-tools VSCode, I got the following BT_SETTINGS & MCUMGR warnings & errors

@jaredwolff, Any hints on how to resolve these errors?

You may have already corrected these and not pushed your changes yet. Thanks.

 *  Executing task: west build -b particle_xenon -p 

-- west build: making build dir /Users/quark11/Documents/aqw-test/demo/ble/build pristine
-- west build: generating a build system
-- Build type: debug 🚀
Loading Zephyr default modules (Zephyr base).
-- Application: /Users/quark11/Documents/aqw-test/demo/ble
-- CMake version: 3.22.0
-- Using NCS Toolchain 2.3.0 for building. (/opt/nordic/ncs/toolchains/v2.3.0/cmake)
-- Found Python3: /opt/nordic/ncs/toolchains/v2.3.0/bin/python3 (found suitable exact version "3.9.6") found components: Interpreter 
-- Cache files will be written to: /Users/quark11/Library/Caches/zephyr
-- Zephyr version: 3.3.0 (/Users/quark11/Documents/aqw-test/zephyr)
-- Found west (found suitable version "0.14.0", minimum required is "0.7.1")
-- Board: particle_xenon
-- Found host-tools: zephyr 0.15.1 (/Users/quark11/.zephyrtools/toolchain/zephyr-sdk-0.15.1)
-- Found toolchain: zephyr 0.15.1 (/Users/quark11/.zephyrtools/toolchain/zephyr-sdk-0.15.1)
-- Found Dtc: /opt/nordic/ncs/toolchains/v2.3.0/bin/dtc (found suitable version "1.6.1", minimum required is "1.4.6") 
-- Found BOARD.dts: /Users/quark11/Documents/aqw-test/zephyr/boards/arm/particle_xenon/particle_xenon.dts
-- Found devicetree overlay: /Users/quark11/Documents/aqw-test/demo/ble/boards/particle_xenon.overlay
-- Generated zephyr.dts: /Users/quark11/Documents/aqw-test/demo/ble/build/zephyr/zephyr.dts
-- Generated devicetree_generated.h: /Users/quark11/Documents/aqw-test/demo/ble/build/zephyr/include/generated/devicetree_generated.h
-- Including generated dts.cmake file: /Users/quark11/Documents/aqw-test/demo/ble/build/zephyr/dts.cmake

warning: BT_SETTINGS (defined at subsys/bluetooth/host/Kconfig:183) was assigned the value 'y' but
got the value 'n'. Check these unsatisfied dependencies: SETTINGS (=n). See
http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_BT_SETTINGS and/or look up BT_SETTINGS in
the menuconfig/guiconfig interface. The Application Development Primer, Setting Configuration
Values, and Kconfig - Tips and Best Practices sections of the manual might be helpful too.


/Users/quark11/Documents/aqw-test/demo/ble/config/ble.conf:10: warning: attempt to assign the value 'y' to the undefined symbol MCUMGR_CMD_IMG_MGMT

/Users/quark11/Documents/aqw-test/demo/ble/config/ble.conf:11: warning: attempt to assign the value 'y' to the undefined symbol MCUMGR_CMD_OS_MGMT

/Users/quark11/Documents/aqw-test/demo/ble/config/ble.conf:12: warning: attempt to assign the value 'y' to the undefined symbol MCUMGR_SMP_BT

/Users/quark11/Documents/aqw-test/demo/ble/config/ble.conf:13: warning: attempt to assign the value 'n' to the undefined symbol MCUMGR_SMP_BT_AUTHEN

/Users/quark11/Documents/aqw-test/demo/ble/config/ble.conf:14: warning: attempt to assign the value '6' to the undefined symbol MCUMGR_BUF_COUNT
Parsing /Users/quark11/Documents/aqw-test/demo/ble/Kconfig
Loaded configuration '/Users/quark11/Documents/aqw-test/zephyr/boards/arm/particle_xenon/particle_xenon_defconfig'
Merged configuration '/Users/quark11/Documents/aqw-test/demo/ble/prj.conf'
Merged configuration '/Users/quark11/Documents/aqw-test/demo/ble/boards/particle_xenon.conf'
Merged configuration '/Users/quark11/Documents/aqw-test/demo/ble/config/ble.conf'

error: Aborting due to Kconfig warnings

CMake Error at /Users/quark11/Documents/aqw-test/zephyr/cmake/modules/kconfig.cmake:329 (message):
  command failed with return code: 1
Call Stack (most recent call first):
  /Users/quark11/Documents/aqw-test/nrf/cmake/modules/kconfig.cmake:29 (include)
  /Users/quark11/Documents/aqw-test/zephyr/cmake/modules/zephyr_default.cmake:113 (include)
  /Users/quark11/Documents/aqw-test/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:66 (include)
  /Users/quark11/Documents/aqw-test/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:92 (include_boilerplate)
  CMakeLists.txt:23 (find_package)


-- Configuring incomplete, errors occurred!
FATAL ERROR: command exited with status 1: /Users/quark11/.zephyrtools/cmake/cmake-3.22.0-macos-universal/CMake.app/Contents/bin/cmake -DWEST_PYTHON=/Users/quark11/.zephyrtools/env/bin/python3 -B/Users/quark11/Documents/aqw-test/demo/ble/build -GNinja -DBOARD=particle_xenon -S/Users/quark11/Documents/aqw-test/demo/ble

 *  The terminal process "/usr/local/bin/bash '-c', 'west build -b particle_xenon -p'" terminated with exit code: 1. 
 *  Terminal will be reused by tasks, press any key to close it.
``` 
zpm1066 changed the title to AQW demo examples - NCS v2.3.0 and Vanilla Zephyr v3.3.0 .

@jaredwolff

Hi Jared,

The AQW example, demo/ble failed to build successfully with zephyr-tools VSCode and west-vanilla.yml updated to use Zephyr v3.3.0.

Please review the above errors with BT_SETTINGS & MCUMGR.

Are these errors already corrected in your code that you may not have pushed yet?

If not, any suggestions how I could resolve them? Thanks.

    5 days later

    jaredwolff

    demo/ble with Vanilla v3.3.0 builds successfully now.

    However, when flashed to the particle_xenon board, I don’t see ble Air Quality Wing device when running nRF Connect from iPad or iPhone.

    Do you check this on your side? Thanks

    I don’t even get anything in RTT even tough it is turned enabled in the particle_xenon.conf.
    The demo/ble for NCS v2.3.0 works fine.

    *  Executing task: west build -b particle_xenon -p 
    
    -- west build: generating a build system
    -- Build type: debug 🚀
    Loading Zephyr default modules (Zephyr base).
    -- Application: /Users/quark11/Documents/aqw-test/demo/ble_3.3.0
    -- CMake version: 3.22.0
    -- Using NCS Toolchain 2.3.0 for building. (/opt/nordic/ncs/toolchains/v2.3.0/cmake)
    -- Found Python3: /opt/nordic/ncs/toolchains/v2.3.0/bin/python3 (found suitable exact version "3.9.6") found components: Interpreter 
    -- Cache files will be written to: /Users/quark11/Library/Caches/zephyr
    -- Zephyr version: 3.3.0 (/Users/quark11/Documents/aqw-test/zephyr)
    -- Found west (found suitable version "0.14.0", minimum required is "0.7.1")
    -- Board: particle_xenon
    -- Found host-tools: zephyr 0.15.1 (/Users/quark11/.zephyrtools/toolchain/zephyr-sdk-0.15.1)
    -- Found toolchain: zephyr 0.15.1 (/Users/quark11/.zephyrtools/toolchain/zephyr-sdk-0.15.1)
    -- Found Dtc: /opt/nordic/ncs/toolchains/v2.3.0/bin/dtc (found suitable version "1.6.1", minimum required is "1.4.6") 
    -- Found BOARD.dts: /Users/quark11/Documents/aqw-test/zephyr/boards/arm/particle_xenon/particle_xenon.dts
    -- Found devicetree overlay: /Users/quark11/Documents/aqw-test/demo/ble_3.3.0/boards/particle_xenon.overlay
    -- Generated zephyr.dts: /Users/quark11/Documents/aqw-test/demo/ble_3.3.0/build/zephyr/zephyr.dts
    -- Generated devicetree_generated.h: /Users/quark11/Documents/aqw-test/demo/ble_3.3.0/build/zephyr/include/generated/devicetree_generated.h
    -- Including generated dts.cmake file: /Users/quark11/Documents/aqw-test/demo/ble_3.3.0/build/zephyr/dts.cmake
    Parsing /Users/quark11/Documents/aqw-test/demo/ble_3.3.0/Kconfig
    Loaded configuration '/Users/quark11/Documents/aqw-test/zephyr/boards/arm/particle_xenon/particle_xenon_defconfig'
    Merged configuration '/Users/quark11/Documents/aqw-test/demo/ble_3.3.0/prj.conf'
    Merged configuration '/Users/quark11/Documents/aqw-test/demo/ble_3.3.0/boards/particle_xenon.conf'
    Merged configuration '/Users/quark11/Documents/aqw-test/demo/ble_3.3.0/config/ble.conf'
    Configuration saved to '/Users/quark11/Documents/aqw-test/demo/ble_3.3.0/build/zephyr/.config'
    Kconfig header saved to '/Users/quark11/Documents/aqw-test/demo/ble_3.3.0/build/zephyr/include/generated/autoconf.h'
    -- The C compiler identification is GNU 12.1.0
    -- The CXX compiler identification is GNU 12.1.0
    -- The ASM compiler identification is GNU
    -- Found assembler: /Users/quark11/.zephyrtools/toolchain/zephyr-sdk-0.15.1/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc
    -- Configuring done
    -- Generating done
    -- Build files have been written to: /Users/quark11/Documents/aqw-test/demo/ble_3.3.0/build
    -- west build: building application
    [1/293] Preparing syscall dependency handling
    
    [2/293] Generating include/generated/version.h
    -- Zephyr version: 3.3.0 (/Users/quark11/Documents/aqw-test/zephyr), build: zephyr-v3.3.0
    [198/293] Building C object modules/aqw/drivers/hpma115s0/CMakeFiles/..__aqw__drivers__hpma115s0.dir/hpma115s0.c.obj
    /Users/quark11/Documents/aqw-test/aqw/drivers/hpma115s0/hpma115s0.c: In function 'uart_cb':
    /Users/quark11/Documents/aqw-test/aqw/drivers/hpma115s0/hpma115s0.c:128:36: warning: unused variable 'config' [-Wunused-variable]
      128 |     const struct hpma115s0_config *config = dev->config;
          |                                    ^~~~~~
    [283/293] Linking C executable zephyr/zephyr_pre0.elf
    
    [287/293] Linking C executable zephyr/zephyr_pre1.elf
    
    [293/293] Linking C executable zephyr/zephyr.elf
    Memory region         Used Size  Region Size  %age Used
               FLASH:      226980 B       412 KB     53.80%
                 RAM:       37500 B       256 KB     14.31%
            IDT_LIST:          0 GB         2 KB      0.00%
     *  Terminal will be reused by tasks, press any key to close it. 

    demo/ethernet_hub_ble with Vanilla v3.3.0 fails to build successfully

    I didn’t see any code changes in demo/ethernet_hub_ble.

    I did try a few things to resolve resolve the /demo/ethernet_hub_ble_3.3.0/prj.conf errors but no progress.

    I get the errors below, with region `FLASH’ overflowed by 37060 bytes

     *  Executing task: west build -b particle_xenon -p 
    
    -- west build: generating a build system
    Loading Zephyr default modules (Zephyr base).
    -- Application: /Users/quark11/Documents/aqw-test/demo/ethernet_hub_ble_3.3.0
    -- CMake version: 3.22.0
    -- Using NCS Toolchain 2.3.0 for building. (/opt/nordic/ncs/toolchains/v2.3.0/cmake)
    -- Found Python3: /opt/nordic/ncs/toolchains/v2.3.0/bin/python3 (found suitable exact version "3.9.6") found components: Interpreter 
    -- Cache files will be written to: /Users/quark11/Library/Caches/zephyr
    -- Zephyr version: 3.3.0 (/Users/quark11/Documents/aqw-test/zephyr)
    -- Found west (found suitable version "0.14.0", minimum required is "0.7.1")
    -- Board: particle_xenon
    -- Found host-tools: zephyr 0.15.1 (/Users/quark11/.zephyrtools/toolchain/zephyr-sdk-0.15.1)
    -- Found toolchain: zephyr 0.15.1 (/Users/quark11/.zephyrtools/toolchain/zephyr-sdk-0.15.1)
    -- Found Dtc: /opt/nordic/ncs/toolchains/v2.3.0/bin/dtc (found suitable version "1.6.1", minimum required is "1.4.6") 
    -- Found BOARD.dts: /Users/quark11/Documents/aqw-test/zephyr/boards/arm/particle_xenon/particle_xenon.dts
    -- Found devicetree overlay: /Users/quark11/Documents/aqw-test/demo/ethernet_hub_ble_3.3.0/boards/particle_xenon.overlay
    -- Generated zephyr.dts: /Users/quark11/Documents/aqw-test/demo/ethernet_hub_ble_3.3.0/build/zephyr/zephyr.dts
    -- Generated devicetree_generated.h: /Users/quark11/Documents/aqw-test/demo/ethernet_hub_ble_3.3.0/build/zephyr/include/generated/devicetree_generated.h
    -- Including generated dts.cmake file: /Users/quark11/Documents/aqw-test/demo/ethernet_hub_ble_3.3.0/build/zephyr/dts.cmake
    
    warning: BT_SETTINGS (defined at subsys/bluetooth/host/Kconfig:183) was assigned the value 'y' but
    got the value 'n'. Check these unsatisfied dependencies: SETTINGS (=n). See
    http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_BT_SETTINGS and/or look up BT_SETTINGS in
    the menuconfig/guiconfig interface. The Application Development Primer, Setting Configuration
    Values, and Kconfig - Tips and Best Practices sections of the manual might be helpful too.
    
    Parsing /Users/quark11/Documents/aqw-test/demo/ethernet_hub_ble_3.3.0/Kconfig
    Loaded configuration '/Users/quark11/Documents/aqw-test/zephyr/boards/arm/particle_xenon/particle_xenon_defconfig'
    Merged configuration '/Users/quark11/Documents/aqw-test/demo/ethernet_hub_ble_3.3.0/prj.conf'
    Merged configuration '/Users/quark11/Documents/aqw-test/demo/ethernet_hub_ble_3.3.0/boards/particle_xenon.conf'
    Merged configuration '/Users/quark11/Documents/aqw-test/demo/ethernet_hub_ble_3.3.0/config/ble.conf'
    Merged configuration '/Users/quark11/Documents/aqw-test/demo/ethernet_hub_ble_3.3.0/config/golioth.conf'
    Configuration saved to '/Users/quark11/Documents/aqw-test/demo/ethernet_hub_ble_3.3.0/build/zephyr/.config'
    Kconfig header saved to '/Users/quark11/Documents/aqw-test/demo/ethernet_hub_ble_3.3.0/build/zephyr/include/generated/autoconf.h'
    -- The C compiler identification is GNU 12.1.0
    -- The CXX compiler identification is GNU 12.1.0
    -- The ASM compiler identification is GNU
    -- Found assembler: /Users/quark11/.zephyrtools/toolchain/zephyr-sdk-0.15.1/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc
    CMake Warning at /Users/quark11/Documents/aqw-test/zephyr/subsys/usb/device/CMakeLists.txt:22 (message):
      CONFIG_USB_DEVICE_VID has default value 0x2FE3.
    
      This value is only for testing and MUST be configured for USB products.
    
    
    CMake Warning at /Users/quark11/Documents/aqw-test/zephyr/subsys/usb/device/CMakeLists.txt:28 (message):
      CONFIG_USB_DEVICE_PID has default value 0x100.
    
      This value is only for testing and MUST be configured for USB products.
    
    
    -- Configuring done
    -- Generating done
    -- Build files have been written to: /Users/quark11/Documents/aqw-test/demo/ethernet_hub_ble_3.3.0/build
    -- west build: building application
    [1/466] Preparing syscall dependency handling
    
    [2/466] Generating include/generated/version.h
    -- Zephyr version: 3.3.0 (/Users/quark11/Documents/aqw-test/zephyr), build: zephyr-v3.3.0
    [13/466] Building C object CMakeFiles/app.dir/src/main.c.obj
    /Users/quark11/Documents/aqw-test/demo/ethernet_hub_ble_3.3.0/src/main.c:31:33: warning: 'struct date_time_evt' declared inside parameter list will not be visible outside of this definition or declaration
       31 | void date_time_evt(const struct date_time_evt *evt)
          |                                 ^~~~~~~~~~~~~
    /Users/quark11/Documents/aqw-test/demo/ethernet_hub_ble_3.3.0/src/main.c: In function 'main':
    /Users/quark11/Documents/aqw-test/demo/ethernet_hub_ble_3.3.0/src/main.c:88:9: warning: unused variable 'err' [-Wunused-variable]
       88 |     int err;
          |         ^~~
    [20/466] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/usb/device/class/cdc_acm.c.obj
    /Users/quark11/Documents/aqw-test/zephyr/subsys/usb/device/class/cdc_acm.c:63:2: warning: #warning "USB_CDC_ACM_LOG_LEVEL forced to LOG_LEVEL_NONE" [-Wcpp]
       63 | #warning "USB_CDC_ACM_LOG_LEVEL forced to LOG_LEVEL_NONE"
          |  ^~~~~~~
    [39/466] Building C object zephyr/CMakeFiles/zephyr.dir/Users/quark11/Documents/aqw-test/modules/lib/golioth/net/golioth/system_client.c.obj
    In file included from /Users/quark11/Documents/aqw-test/zephyr/include/zephyr/device.h:13,
                     from /Users/quark11/Documents/aqw-test/zephyr/include/zephyr/net/net_if.h:22,
                     from /Users/quark11/Documents/aqw-test/zephyr/include/zephyr/net/net_context.h:28,
                     from /Users/quark11/Documents/aqw-test/zephyr/include/zephyr/net/dns_resolve.h:17,
                     from /Users/quark11/Documents/aqw-test/zephyr/include/zephyr/net/socket.h:28,
                     from /Users/quark11/Documents/aqw-test/modules/lib/golioth/net/golioth/system_client.c:14:
    /Users/quark11/Documents/aqw-test/zephyr/include/zephyr/init.h:105:33: warning: initialization of 'int (*)(const struct device *)' from incompatible pointer type 'int (*)(void)' [-Wincompatible-pointer-types]
      105 |                         .init = (init_fn),                                     \
          |                                 ^
    /Users/quark11/Documents/aqw-test/zephyr/include/zephyr/init.h:144:9: note: in expansion of macro 'Z_INIT_ENTRY_DEFINE'
      144 |         Z_INIT_ENTRY_DEFINE(name, init_fn, NULL, level, prio)
          |         ^~~~~~~~~~~~~~~~~~~
    /Users/quark11/Documents/aqw-test/zephyr/include/zephyr/init.h:128:9: note: in expansion of macro 'SYS_INIT_NAMED'
      128 |         SYS_INIT_NAMED(init_fn, init_fn, level, prio)
          |         ^~~~~~~~~~~~~~
    /Users/quark11/Documents/aqw-test/modules/lib/golioth/net/golioth/system_client.c:297:1: note: in expansion of macro 'SYS_INIT'
      297 | SYS_INIT(golioth_system_init, APPLICATION,
          | ^~~~~~~~
    /Users/quark11/Documents/aqw-test/zephyr/include/zephyr/init.h:105:33: note: (near initialization for '__init_golioth_system_init.init')
      105 |                         .init = (init_fn),                                     \
          |                                 ^
    /Users/quark11/Documents/aqw-test/zephyr/include/zephyr/init.h:144:9: note: in expansion of macro 'Z_INIT_ENTRY_DEFINE'
      144 |         Z_INIT_ENTRY_DEFINE(name, init_fn, NULL, level, prio)
          |         ^~~~~~~~~~~~~~~~~~~
    /Users/quark11/Documents/aqw-test/zephyr/include/zephyr/init.h:128:9: note: in expansion of macro 'SYS_INIT_NAMED'
      128 |         SYS_INIT_NAMED(init_fn, init_fn, level, prio)
          |         ^~~~~~~~~~~~~~
    /Users/quark11/Documents/aqw-test/modules/lib/golioth/net/golioth/system_client.c:297:1: note: in expansion of macro 'SYS_INIT'
      297 | SYS_INIT(golioth_system_init, APPLICATION,
          | ^~~~~~~~
    [456/466] Linking C executable zephyr/zephyr_pre0.elf
    FAILED: zephyr/zephyr_pre0.elf zephyr/zephyr_pre0.map /Users/quark11/Documents/aqw-test/demo/ethernet_hub_ble_3.3.0/build/zephyr/zephyr_pre0.map 
    : && ccache /Users/quark11/.zephyrtools/toolchain/zephyr-sdk-0.15.1/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc  -gdwarf-4 zephyr/CMakeFiles/zephyr_pre0.dir/misc/empty_file.c.obj -o zephyr/zephyr_pre0.elf  zephyr/CMakeFiles/offsets.dir/./arch/arm/core/offsets/offsets.c.obj  -fuse-ld=bfd  -Wl,-T  zephyr/linker_zephyr_pre0.cmd  -Wl,-Map=/Users/quark11/Documents/aqw-test/demo/ethernet_hub_ble_3.3.0/build/zephyr/zephyr_pre0.map  -Wl,--whole-archive  app/libapp.a  zephyr/libzephyr.a  zephyr/arch/common/libarch__common.a  zephyr/arch/arch/arm/core/aarch32/libarch__arm__core__aarch32.a  zephyr/arch/arch/arm/core/aarch32/cortex_m/libarch__arm__core__aarch32__cortex_m.a  zephyr/arch/arch/arm/core/aarch32/mpu/libarch__arm__core__aarch32__mpu.a  zephyr/lib/libc/newlib/liblib__libc__newlib.a  zephyr/lib/posix/liblib__posix.a  zephyr/soc/arm/common/cortex_m/libsoc__arm__common__cortex_m.a  zephyr/soc/arm/nordic_nrf/nrf52/libsoc__arm__nordic_nrf__nrf52.a  zephyr/boards/arm/particle_xenon/libboards__arm__particle_xenon.a  zephyr/subsys/bluetooth/common/libsubsys__bluetooth__common.a  zephyr/subsys/bluetooth/host/libsubsys__bluetooth__host.a  zephyr/subsys/bluetooth/crypto/libsubsys__bluetooth__crypto.a  zephyr/subsys/bluetooth/controller/libsubsys__bluetooth__controller.a  zephyr/subsys/mgmt/mcumgr/mgmt/libsubsys__mgmt__mcumgr__mgmt.a  zephyr/subsys/mgmt/mcumgr/smp/libsubsys__mgmt__mcumgr__smp.a  zephyr/subsys/mgmt/mcumgr/util/libsubsys__mgmt__mcumgr__util.a  zephyr/subsys/mgmt/mcumgr/grp/img_mgmt/libsubsys__mgmt__mcumgr__grp__img_mgmt.a  zephyr/subsys/mgmt/mcumgr/grp/os_mgmt/libsubsys__mgmt__mcumgr__grp__os_mgmt.a  zephyr/subsys/mgmt/mcumgr/transport/libsubsys__mgmt__mcumgr__transport.a  zephyr/subsys/dfu/boot/libsubsys__dfu__boot.a  zephyr/subsys/net/libsubsys__net.a  zephyr/subsys/net/l2/ethernet/libsubsys__net__l2__ethernet.a  zephyr/subsys/net/ip/libsubsys__net__ip.a  zephyr/subsys/net/lib/dns/libsubsys__net__lib__dns.a  zephyr/subsys/random/libsubsys__random.a  zephyr/drivers/usb/device/libdrivers__usb__device.a  zephyr/drivers/clock_control/libdrivers__clock_control.a  zephyr/drivers/console/libdrivers__console.a  zephyr/drivers/gpio/libdrivers__gpio.a  zephyr/drivers/spi/libdrivers__spi.a  zephyr/drivers/hwinfo/libdrivers__hwinfo.a  zephyr/drivers/flash/libdrivers__flash.a  zephyr/drivers/serial/libdrivers__serial.a  zephyr/drivers/ethernet/libdrivers__ethernet.a  zephyr/drivers/entropy/libdrivers__entropy.a  zephyr/drivers/timer/libdrivers__timer.a  zephyr/drivers/pinctrl/libdrivers__pinctrl.a  modules/aqw/lib/codec/lib..__aqw__lib__codec.a  modules/aqw/lib/lib..__aqw__lib.a  modules/hal_nordic/nrfx/libmodules__hal_nordic__nrfx.a  modules/mbedtls/libmodules__mbedtls.a  modules/mcuboot/libmcuboot_util.a  modules/zcbor/libmodules__zcbor.a  modules/qcbor/lib..__modules__lib__qcbor__zephyr.a  -Wl,--no-whole-archive  zephyr/kernel/libkernel.a  -L"/Users/quark11/.zephyrtools/toolchain/zephyr-sdk-0.15.1/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.1.0/thumb/v7e-m/nofp"  -L/Users/quark11/Documents/aqw-test/demo/ethernet_hub_ble_3.3.0/build/zephyr  -lgcc  zephyr/arch/common/libisr_tables.a  -no-pie  -mcpu=cortex-m4  -mthumb  -mabi=aapcs  -mfp16-format=ieee  -Wl,--gc-sections  -Wl,--build-id=none  -Wl,--sort-common=descending  -Wl,--sort-section=alignment  -Wl,-u,_OffsetAbsSyms  -Wl,-u,_ConfigAbsSyms  -nostdlib  -static  -Wl,-X  -Wl,-N  -Wl,--orphan-handling=warn  -lm  -Wl,-lc  -L"/Users/quark11/.zephyrtools/toolchain/zephyr-sdk-0.15.1/arm-zephyr-eabi/arm-zephyr-eabi"/lib/thumb/v7e-m/nofp  -Wl,-lgcc  -lc && cd /Users/quark11/Documents/aqw-test/demo/ethernet_hub_ble_3.3.0/build/zephyr && /Users/quark11/.zephyrtools/cmake/cmake-3.22.0-macos-universal/CMake.app/Contents/bin/cmake -E echo
    /Users/quark11/.zephyrtools/toolchain/zephyr-sdk-0.15.1/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.1.0/../../../../arm-zephyr-eabi/bin/ld.bfd: zephyr/zephyr_pre0.elf section `rodata' will not fit in region `FLASH'
    /Users/quark11/.zephyrtools/toolchain/zephyr-sdk-0.15.1/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.1.0/../../../../arm-zephyr-eabi/bin/ld.bfd: region `FLASH' overflowed by 37060 bytes
    collect2: error: ld returned 1 exit status
    ninja: build stopped: subcommand failed.
    FATAL ERROR: command exited with status 1: /Users/quark11/.zephyrtools/cmake/cmake-3.22.0-macos-universal/CMake.app/Contents/bin/cmake --build /Users/quark11/Documents/aqw-test/demo/ethernet_hub_ble_3.3.0/build
    
     *  The terminal process "/usr/local/bin/bash '-c', 'west build -b particle_xenon -p'" terminated with exit code: 1. 
     *  Terminal will be reused by tasks, press any key to close it. 

    demo/ethernet_hub_ble with Vanilla v3.3.0 fails to build successfully

    I mentioned before, ethernet_hub_ble is only supported on NCS since it uses NCS only code.

      jaredwolff

      OK. Thanks.

      What about demo\ble with Vanilla v3.30? I don’t think that this is NCS specific.

      With your update from last week, I can build demo\ble but on running it I don’t see Air Quality Wing device when checking with nRF Connect from iPad or iPhone.

      demo\ble forNCS 2.3.0 works fine.

      7 days later

      Unsure, I won’t be able to check it immediately. Best to use NCS 2.3. If you do find a fix on Vanilla Zephyr please let me know so I can implement it.

        jaredwolff

        Hello Jared. Yes, Certainly. I’ll keep you updated on any fix.

        I’ll review and debug demo\ble with Vanilla v3.30 . I know the BLE samples from Vanilla Zephyr v3.3.0 work fine, so will investigate further. Thank you. Your responses are much appreciated.

        Terms and Conditions | Privacy Policy