Hi!
I’m trying to run the battery sample on my feather v5, but it just gives gibberish and then hangs. Through a lot of commenting out of stuff and adding printk
everywhere, I believe the issue comes from ddp->adc = device_get_binding(iocp->label);
on line 108 in battery.c, which looks like it’s just hanging forever. Any clues as to what I’m doing wrong?
Full output log:
Executing task: zephyr-tools --port /dev/tty.usbserial-110 --follow --save
Connecting..
Connected to /dev/tty.usbserial-110!
���]u_]���_O�������������ݽ���}���-U����ݽ���]���U���]W����w]�}�M�U_u}��w�]]���w�������wU]����Ww����w��]�UU]�U]��w�U�U���w��]���}WU]���]WU]���]WU}�����]]���]������]wU]�����u]��W��]]U���wu}�����uu}���w����}u_U���_O������������������}���-�Օ�߽���]���U���}W����w]�}�M�U_u}��w�]]���w�������wU}����Ww����w��U��U}�U]��w�U�U���w��]���]WU]���}WU]���]WU]�����}]���]������}Wu]�����u]��w��}]u���Wu]�����uw}���wu��ս]u]���_O������������������]���-oݕ��ݝ���]���U���]W����W]�}�m�U_U}��w�}]���w�������wU}����Ww����w��]�UU]�U]��W�U�U���w��]���]Wu]���]WU]���]Wu]�����]]���]������]wU]�����U]��W��]]u���Wu}�����uu}���Wu����]u]���_O����������������w�]���-U����ݟ]w�]���U���}W����W]�}�M�U_U}��w�]]���w�������wU]����WW����w��]�Uu]�U]��w�U�U���w��]���]Wu]���WU]���]WU}�����]]���}������}Wu]�����U]��W��]_U���wu]�����uu}���W����]u_]���_O�������u�_��������}���-�յ�ݽ���]���u���}W����W]�}�M�U_U}��w�]]���w�������wu}����Ww����w��]�UU}�U]��w�U�U���w��]���}WU]���]WU]���}WU}�����]]���]������]wU}�����U]��W��]]U���wU}�����UU}���W����]u_]���_O������������������}���-����}ݽ���]���U���]W����w]�}�M�U_U}��w�]]���w�������wu}����WW����w��]�UU}�U}��w�u�U���w��]���]WU]���]WU]���]WU}�����]]���]������}WU]�����u]��w��]]U���wU}�����UU}�������u_]���_O�������u�_��������}���-�����ݿ]W�]���U���]w����W]�]�M�U_U}��w�]]���w�������wU}����WW����w�]U��U}�U]��W�u�U���wߕ]���]Wu]���]WU]���]WU]�����]]���}������}WU]���w�U]��w��]]U���wU]�����UU}�������]u_]���_��O������������������}���-U����ݽ���]���u���}W����w]�}�M�U_u}��w�}]���w�������WU]����Ww����w��]�Uu]�U]��w�u�U���w��]���]WU]���]Wu]���]WU}�����]]���}������]wU}�����U]��w��]]U���wu]�����uu}���՝}u_U���_O������������������}���-U����ݽ���]���U���}W����w]�}�M�U_U}��w�]]���w�������Wu]����WW����w��]�UU}�W]��W�u�U���w��]���]WU]���}Wu]���}WU]�����}]���]������]wU}�����u]��w��]]U���wu}�����UU}�����ս}u_]���_O������������������}���-�����ݿ]W�]���w�]��}W����w]�}�M�U_u}��w�]]���w�������wU}����WW����w��]�UU]�U]��w�u�U���w�]U���}WU]���]WU]���]WU}�����]]���]�]]���}Wu]�����U]��w��}]U���wU}�����UU}������]u_]���_��O������������������]���-U����ݿ]W�]���U���]W����w]�]�M�U_U}��w�}]���w�������wU]����WW����w��]�Uu]�U]��w�U�U���w�]U���]WU]���]WU]���]WU}�����]]���]�}]���]wU}�����u]��W��]]u���wU}�����UU}���ս]u_]���_O������������������]���-U����ݝ���]���U���}w����W]�]�m�U_U}��w�]]���w�������WU}����WW����w��]�UU]�U]��w�u�U���w�]U���}Wu]���}WU]���]Wu}�����}]���}������]wU}�����U]��W��]]u���WU}�����UU}�������]u_]���_O������������������]���-����]ݽ���]���u���}w����W_�}�M�U_U}��w�]_���w�������wU}����Ww����w���Uu]�U]��w�u�U���w��]���}WU]���]Wu]���]WU}�����]]���]������]wU}�����u]��w��]]U���wU}�����uu}�����՝}u_]���_O������������������}���-����}ݽ���]���u���]W����w]�}�M�U_U}��w�]]���w�������wU}����WW����w�]U��U]�U]��w�U�U���w��]���WU]���}Wu]���}WU}�����]]���}������]wU}�����U]��w��}]u���wu]�����uu}���w����]u_]���_��O������������������}���/����_ݽ���_���u���}W����w]�}�m�U_U}��w�]]���w�������WU]����WW����w��]�UU}�U]��w�u�U���w��]���}WU]���]WU]���]Wu]�����}]���}������]wu}�w���u]��W��}]U���wu]�����UU}�����]u_U���_��O������������������]���-�����ݟ]W�]���U���}w����w]�}�M�U_w}��w�}]���w�������Wu]����Ww����w��]�UU]�U]��w�U�U���w��]���]WU]���}Wu]���}Wu}�����]]���]������}Wu�����u]��W��]]U���WU}�����uu}������]u_]���_O������������������]���-w���]����]����U���]W����w]�}�M�U_U}��w�]]���w�������wU]����WW����w��]�Uu}�U]��W�u�U���w��]���]WU]���]WU]���]Wu}�����]���}������]wU}�����U]��w��]]u���wu]�����uu}����՝}u_]���_O������������������}���-�����ݿ]w�]���u���}Wu���w]�]�m�U_u}��w�]]���w�������wU}����WW����w��]�Uu}�U_��w�U�U���w��]���}WU]���]WU_���}Wu]�����]]���}������}WU}�����U]��w��}]U���WU}�����uu}�������]u_]���_��O�������u�_��������]���-w�������]����w���]w����w]�}�m�U_u}��w�]]���w�������WU}����Ww����w�]U��u]�U]��w�U�U���w��]���]Wu]���]Wu]���}WU]�����}]���}������}Wu]�����u]��w��}]U���wU}�����Uu}�����]u_]���_��O������������������}���-u]_]�����U����U���]W����w]�}�M�U_U}��w�}]���w�]]����wU}����Ww����w��]�UU]�U]��W�u�U���w��]���]WU]���]WU]���Wu}�����]]���]������]wU}�����U]��w��]]u���WU]�����Uu}���ս}u]���_O����ݵ������������]���-w�������]����U���}W����W]�}�]�U_U}��w�]]���w�������wU}����WW����w��]�UU�U]��w�u�U���w��]���]Wu]���]Wu]���}WU]�����}]���]������}Wu]�����U]��w��}]U���WU]�����Uu}���wu}��ս]u]���_��O������������������}���-u����ݿ]W�]���U���]W����w]�}�M�U_U}��w�]]���w�������Wu}����WW����w��]�Uu]�U]��w�u�U���w��]���]Wu_���]Wu]���}WU}�����]]���}�]]���}Wu]�����U]��w��]]U���wu}�����UU}�������]u_]���_O������������������}���-Oݵ��ݝ���]���U���}W����W]�}�M�U_U}��w�]]���w�������wU]����Ww����w��]�UU}�U]��w�u�U���w��]���}W�]���]Wu]���}Wu]�����]]���}������]wU}�����u]��W��]]u���wU]�������]�����ս}u_]���]��O������������������}���-���_�ݽ���]���u���]w����w]�}�m�U_U}��w�]]���w�������WU]����Ww����w��]�Uu}�U]��W�U�U���w��]���}Wu]���]WU]���]Wu]�����}]���]������}Wu]�����U]��w��}]u���wu]�����uU}������]u_]���_O������������������}���-�����ݟ]W�]���u���}W����W]�]�M�U_U}��w�]���w�������Wu]����WW����w��]�Uu}�U]��W�U�U���w��]���}Wu]���]WU]���}Wu]�����]]���]������}wU}�����u]��W��]]u���wu]�����Uu}�������}u]���_��O������������������}���-�����ݿ]w�]���U���}W����W]�_�M�U_u}��w�}]���w�������wU]����Ww����w��]�Uu}�U]��w�U�U���w��]���}Wu]���]WU]���]WU]�����}]���]������]wU}�����U]��W��]]U���wU}�����uu}������}u]���_O������������������}���-�����ݟ]W�]���u���}W����w]�}�M�U_U}��w�]]���w�������Wu]����WW����w��]�UU}�U]��U�u�U���w��]���]WU]���}WU]���]WU}�����]]���]������]wU}�����U]��w��]]U���wU}�����UU}�������]u_]���_O������������������]���-����]ݽ���]���u���}W����w]�]�m�U_U}��w�]]���w�������wU}����Ww����w��]�UU]�U]��W�u�U���w��]���]WU]���]WU]���]WU]�����]]���]������}Wu]�����u]��w��]]U���WU}�����UU}������]u_]���_��O�������������ݽ���}���-U����ݝ���]���u���}W����w]�]�m�U_u}��w�]]���w�������wu}����WW����w���Uu}�U]��W�u�U���w��]���]WU]���]WU]���]WU}�����}]���}������]wU}�����u]��W��}]U���wU}�����UU}�������]u_]���_O������������������}���-U����ݽ���]���W�]��]w����w]�}�m�U_U}��w�]]���w�������wU}����WW����w��]�Uu]�U]��U�U�U���w��]���]WU]���]Wu]���WU]�����]]���]������]wU}�����U]��w��]]u���WU]�����UU}����ս]u]���_��O������������������]���-u����ݟ]W�]���u���]w����w]�]�-�U_u}��w�]]���w�������WU]����Ww����w�]U��u}�U]��W�u�U���w��]���]WU]���}Wu]���}WU]�����}]���}������}Wu]�����u]��w��]]U���wu}�����uU}���Wu}��]}w}]�����}]���}������]WU}�����U]��w��}]���]w]]������]���_WU]����wU}����W]u�������uw��U]�����u�����u
Full build log:
* Executing task: west build -b circuitdojo_feather_nrf9160_ns -p
-- west build: making build dir /Users/jeppe/JML-Software-Solutions/smart-well/nrf-board/nfed/samples/battery/build pristine
-- west build: generating a build system
Including boilerplate (Zephyr base): /Users/jeppe/JML-Software-Solutions/smart-well/nrf-board/zephyr/cmake/app/boilerplate.cmake
-- Application: /Users/jeppe/JML-Software-Solutions/smart-well/nrf-board/nfed/samples/battery
-- Zephyr version: 2.7.99 (/Users/jeppe/JML-Software-Solutions/smart-well/nrf-board/zephyr), build: v2.7.99-ncs1-1
-- Found Python3: /Users/jeppe/.zephyrtools/env/bin/python3.10 (found suitable exact version "3.10.9") found components: Interpreter
-- Found west (found suitable version "0.14.0", minimum required is "0.7.1")
-- Board: circuitdojo_feather_nrf9160_ns
-- Cache files will be written to: /Users/jeppe/Library/Caches/zephyr
-- Found host-tools: zephyr 0.15.1 (/Users/jeppe/.zephyrtools/toolchain/zephyr-sdk-0.15.1)
-- Found dtc: /opt/homebrew/bin/dtc (found suitable version "1.6.1", minimum required is "1.4.6")
-- Found toolchain: zephyr 0.15.1 (/Users/jeppe/.zephyrtools/toolchain/zephyr-sdk-0.15.1)
-- Found BOARD.dts: /Users/jeppe/JML-Software-Solutions/smart-well/nrf-board/zephyr/boards/arm/circuitdojo_feather_nrf9160/circuitdojo_feather_nrf9160_ns.dts
-- Generated zephyr.dts: /Users/jeppe/JML-Software-Solutions/smart-well/nrf-board/nfed/samples/battery/build/zephyr/zephyr.dts
-- Generated devicetree_unfixed.h: /Users/jeppe/JML-Software-Solutions/smart-well/nrf-board/nfed/samples/battery/build/zephyr/include/generated/devicetree_unfixed.h
-- Generated device_extern.h: /Users/jeppe/JML-Software-Solutions/smart-well/nrf-board/nfed/samples/battery/build/zephyr/include/generated/device_extern.h
-- Including generated dts.cmake file: /Users/jeppe/JML-Software-Solutions/smart-well/nrf-board/nfed/samples/battery/build/zephyr/dts.cmake
Parsing /Users/jeppe/JML-Software-Solutions/smart-well/nrf-board/zephyr/Kconfig
Loaded configuration '/Users/jeppe/JML-Software-Solutions/smart-well/nrf-board/zephyr/boards/arm/circuitdojo_feather_nrf9160/circuitdojo_feather_nrf9160_ns_defconfig'
Merged configuration '/Users/jeppe/JML-Software-Solutions/smart-well/nrf-board/nfed/samples/battery/prj.conf'
Configuration saved to '/Users/jeppe/JML-Software-Solutions/smart-well/nrf-board/nfed/samples/battery/build/zephyr/.config'
Kconfig header saved to '/Users/jeppe/JML-Software-Solutions/smart-well/nrf-board/nfed/samples/battery/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/jeppe/.zephyrtools/toolchain/zephyr-sdk-0.15.1/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc
Changed board to secure circuitdojo_feather_nrf9160 (NOT NS)
=== child image spm - begin ===
loading initial cache file /Users/jeppe/JML-Software-Solutions/smart-well/nrf-board/nfed/samples/battery/build/spm/child_image_preload.cmake
Including boilerplate (Zephyr base): /Users/jeppe/JML-Software-Solutions/smart-well/nrf-board/zephyr/cmake/app/boilerplate.cmake
-- Application: /Users/jeppe/JML-Software-Solutions/smart-well/nrf-board/nrf/samples/spm
-- Zephyr version: 2.7.99 (/Users/jeppe/JML-Software-Solutions/smart-well/nrf-board/zephyr), build: v2.7.99-ncs1-1
-- Found Python3: /Users/jeppe/.zephyrtools/env/bin/python3.10 (found suitable exact version "3.10.9") found components: Interpreter
-- Found west (found suitable version "0.14.0", minimum required is "0.7.1")
-- Board: circuitdojo_feather_nrf9160
-- Cache files will be written to: /Users/jeppe/Library/Caches/zephyr
-- Found host-tools: zephyr 0.15.1 (/Users/jeppe/.zephyrtools/toolchain/zephyr-sdk-0.15.1)
-- Found dtc: /opt/homebrew/bin/dtc (found suitable version "1.6.1", minimum required is "1.4.6")
-- Found toolchain: zephyr 0.15.1 (/Users/jeppe/.zephyrtools/toolchain/zephyr-sdk-0.15.1)
-- Found BOARD.dts: /Users/jeppe/JML-Software-Solutions/smart-well/nrf-board/zephyr/boards/arm/circuitdojo_feather_nrf9160/circuitdojo_feather_nrf9160.dts
-- Generated zephyr.dts: /Users/jeppe/JML-Software-Solutions/smart-well/nrf-board/nfed/samples/battery/build/spm/zephyr/zephyr.dts
-- Generated devicetree_unfixed.h: /Users/jeppe/JML-Software-Solutions/smart-well/nrf-board/nfed/samples/battery/build/spm/zephyr/include/generated/devicetree_unfixed.h
-- Generated device_extern.h: /Users/jeppe/JML-Software-Solutions/smart-well/nrf-board/nfed/samples/battery/build/spm/zephyr/include/generated/device_extern.h
-- Including generated dts.cmake file: /Users/jeppe/JML-Software-Solutions/smart-well/nrf-board/nfed/samples/battery/build/spm/zephyr/dts.cmake
Parsing /Users/jeppe/JML-Software-Solutions/smart-well/nrf-board/zephyr/Kconfig
Loaded configuration '/Users/jeppe/JML-Software-Solutions/smart-well/nrf-board/zephyr/boards/arm/circuitdojo_feather_nrf9160/circuitdojo_feather_nrf9160_defconfig'
Merged configuration '/Users/jeppe/JML-Software-Solutions/smart-well/nrf-board/nrf/samples/spm/prj.conf'
Merged configuration '/Users/jeppe/JML-Software-Solutions/smart-well/nrf-board/nrf/subsys/partition_manager/partition_manager_enabled.conf'
Merged configuration '/Users/jeppe/JML-Software-Solutions/smart-well/nrf-board/nfed/samples/battery/build/spm/zephyr/misc/generated/extra_kconfig_options.conf'
Configuration saved to '/Users/jeppe/JML-Software-Solutions/smart-well/nrf-board/nfed/samples/battery/build/spm/zephyr/.config'
Kconfig header saved to '/Users/jeppe/JML-Software-Solutions/smart-well/nrf-board/nfed/samples/battery/build/spm/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/jeppe/.zephyrtools/toolchain/zephyr-sdk-0.15.1/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc
CMake Warning at /Users/jeppe/JML-Software-Solutions/smart-well/nrf-board/zephyr/CMakeLists.txt:1687 (message):
__ASSERT() statements are globally ENABLED
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/jeppe/JML-Software-Solutions/smart-well/nrf-board/nfed/samples/battery/build/spm
=== child image spm - end ===
Changed board to secure circuitdojo_feather_nrf9160 (NOT NS)
=== child image mcuboot - begin ===
loading initial cache file /Users/jeppe/JML-Software-Solutions/smart-well/nrf-board/nfed/samples/battery/build/mcuboot/child_image_preload.cmake
Including boilerplate (Zephyr base): /Users/jeppe/JML-Software-Solutions/smart-well/nrf-board/zephyr/cmake/app/boilerplate.cmake
-- Application: /Users/jeppe/JML-Software-Solutions/smart-well/nrf-board/bootloader/mcuboot/boot/zephyr
-- Zephyr version: 2.7.99 (/Users/jeppe/JML-Software-Solutions/smart-well/nrf-board/zephyr), build: v2.7.99-ncs1-1
-- Found Python3: /Users/jeppe/.zephyrtools/env/bin/python3.10 (found suitable exact version "3.10.9") found components: Interpreter
-- Found west (found suitable version "0.14.0", minimum required is "0.7.1")
-- Board: circuitdojo_feather_nrf9160
-- Cache files will be written to: /Users/jeppe/Library/Caches/zephyr
-- Found host-tools: zephyr 0.15.1 (/Users/jeppe/.zephyrtools/toolchain/zephyr-sdk-0.15.1)
-- Found dtc: /opt/homebrew/bin/dtc (found suitable version "1.6.1", minimum required is "1.4.6")
-- Found toolchain: zephyr 0.15.1 (/Users/jeppe/.zephyrtools/toolchain/zephyr-sdk-0.15.1)
-- Found BOARD.dts: /Users/jeppe/JML-Software-Solutions/smart-well/nrf-board/zephyr/boards/arm/circuitdojo_feather_nrf9160/circuitdojo_feather_nrf9160.dts
-- Found devicetree overlay: /Users/jeppe/JML-Software-Solutions/smart-well/nrf-board/bootloader/mcuboot/boot/zephyr/dts.overlay
-- Generated zephyr.dts: /Users/jeppe/JML-Software-Solutions/smart-well/nrf-board/nfed/samples/battery/build/mcuboot/zephyr/zephyr.dts
-- Generated devicetree_unfixed.h: /Users/jeppe/JML-Software-Solutions/smart-well/nrf-board/nfed/samples/battery/build/mcuboot/zephyr/include/generated/devicetree_unfixed.h
-- Generated device_extern.h: /Users/jeppe/JML-Software-Solutions/smart-well/nrf-board/nfed/samples/battery/build/mcuboot/zephyr/include/generated/device_extern.h
-- Including generated dts.cmake file: /Users/jeppe/JML-Software-Solutions/smart-well/nrf-board/nfed/samples/battery/build/mcuboot/zephyr/dts.cmake
warning: UART_CONSOLE (defined at drivers/console/Kconfig:43) was assigned the value 'y' but got the
value 'n'. Check these unsatisfied dependencies: CONSOLE (=n). See
http://docs.zephyrproject.org/latest/reference/kconfig/CONFIG_UART_CONSOLE.html and/or look up
UART_CONSOLE 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/jeppe/JML-Software-Solutions/smart-well/nrf-board/bootloader/mcuboot/boot/zephyr/Kconfig
Loaded configuration '/Users/jeppe/JML-Software-Solutions/smart-well/nrf-board/zephyr/boards/arm/circuitdojo_feather_nrf9160/circuitdojo_feather_nrf9160_defconfig'
Merged configuration '/Users/jeppe/JML-Software-Solutions/smart-well/nrf-board/bootloader/mcuboot/boot/zephyr/prj.conf'
Merged configuration '/Users/jeppe/JML-Software-Solutions/smart-well/nrf-board/bootloader/mcuboot/boot/zephyr/boards/circuitdojo_feather_nrf9160.conf'
Merged configuration '/Users/jeppe/JML-Software-Solutions/smart-well/nrf-board/nrf/subsys/partition_manager/partition_manager_enabled.conf'
Merged configuration '/Users/jeppe/JML-Software-Solutions/smart-well/nrf-board/nfed/samples/battery/build/mcuboot/zephyr/misc/generated/extra_kconfig_options.conf'
Configuration saved to '/Users/jeppe/JML-Software-Solutions/smart-well/nrf-board/nfed/samples/battery/build/mcuboot/zephyr/.config'
Kconfig header saved to '/Users/jeppe/JML-Software-Solutions/smart-well/nrf-board/nfed/samples/battery/build/mcuboot/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/jeppe/.zephyrtools/toolchain/zephyr-sdk-0.15.1/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc
MCUBoot bootloader key file: /Users/jeppe/JML-Software-Solutions/smart-well/nrf-board/bootloader/mcuboot/root-ec-p256.pem
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/jeppe/JML-Software-Solutions/smart-well/nrf-board/nfed/samples/battery/build/mcuboot
=== child image mcuboot - end ===
CMake Warning at /Users/jeppe/JML-Software-Solutions/smart-well/nrf-board/nrf/modules/mcuboot/CMakeLists.txt:262 (message):
---------------------------------------------------------
--- WARNING: Using default MCUBoot key, it should not ---
--- be used for production. ---
---------------------------------------------------------
Dropping partition 'nrf_modem_lib_trace' since its size is 0.
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/jeppe/JML-Software-Solutions/smart-well/nrf-board/nfed/samples/battery/build
-- west build: building application
[1/202] Preparing syscall dependency handling
[11/202] Performing build step for 'spm_subimage'
[1/265] Preparing syscall dependency handling
[158/265] Building C object zephyr/CMakeFiles/zephyr.dir/Users/jeppe/JML-Software-Solutions/smart-well/nrf-board/nrf/subsys/spm/spm.c.obj
In function 'usel_or_split',
inlined from 'config_peripheral.constprop' at /Users/jeppe/JML-Software-Solutions/smart-well/nrf-board/nrf/subsys/spm/spm.c:268:6:
/Users/jeppe/JML-Software-Solutions/smart-well/nrf-board/nrf/subsys/spm/spm.c:231:48: warning: array subscript 128 is above array bounds of 'volatile SPU_PERIPHID_Type[67]' [-Warray-bounds]
231 | const uint32_t perm = NRF_SPU->PERIPHID[id].PERM;
In file included from /Users/jeppe/JML-Software-Solutions/smart-well/nrf-board/modules/hal/nordic/nrfx/mdk/nrf.h:186,
from /Users/jeppe/JML-Software-Solutions/smart-well/nrf-board/modules/hal/nordic/nrfx/drivers/nrfx_common.h:41,
from /Users/jeppe/JML-Software-Solutions/smart-well/nrf-board/modules/hal/nordic/nrfx/nrfx.h:38,
from /Users/jeppe/JML-Software-Solutions/smart-well/nrf-board/zephyr/soc/arm/nordic_nrf/common/./soc_nrf_common.h:14,
from /Users/jeppe/JML-Software-Solutions/smart-well/nrf-board/zephyr/soc/arm/nordic_nrf/nrf91/soc.h:14,
from /Users/jeppe/JML-Software-Solutions/smart-well/nrf-board/zephyr/include/arch/arm/aarch32/cortex_m/cmsis.h:17,
from /Users/jeppe/JML-Software-Solutions/smart-well/nrf-board/zephyr/include/arch/arm/aarch32/mpu/arm_mpu_v8m.h:10,
from /Users/jeppe/JML-Software-Solutions/smart-well/nrf-board/zephyr/include/arch/arm/aarch32/mpu/arm_mpu.h:18,
from /Users/jeppe/JML-Software-Solutions/smart-well/nrf-board/zephyr/include/arch/arm/aarch32/arch.h:189,
from /Users/jeppe/JML-Software-Solutions/smart-well/nrf-board/zephyr/include/arch/cpu.h:19,
from /Users/jeppe/JML-Software-Solutions/smart-well/nrf-board/zephyr/include/kernel_includes.h:33,
from /Users/jeppe/JML-Software-Solutions/smart-well/nrf-board/zephyr/include/kernel.h:17,
from /Users/jeppe/JML-Software-Solutions/smart-well/nrf-board/zephyr/include/zephyr.h:18,
from /Users/jeppe/JML-Software-Solutions/smart-well/nrf-board/nrf/subsys/spm/spm.c:7:
/Users/jeppe/JML-Software-Solutions/smart-well/nrf-board/modules/hal/nordic/nrfx/mdk/nrf9160.h: In function 'config_peripheral.constprop':
/Users/jeppe/JML-Software-Solutions/smart-well/nrf-board/modules/hal/nordic/nrfx/mdk/nrf9160.h:821:27: note: while referencing 'PERIPHID'
821 | __IOM SPU_PERIPHID_Type PERIPHID[67]; /*!< (@ 0x00000800) Unspecified */
| ^~~~~~~~
[173/265] Building C object zephyr/arch/arch/arm/core/aarch32/mpu/CMakeFiles/arch__arm__core__aarch32__mpu.dir/arm_core_mpu.c.obj
/Users/jeppe/JML-Software-Solutions/smart-well/nrf-board/zephyr/arch/arm/core/aarch32/mpu/arm_core_mpu.c: In function 'z_arm_configure_dynamic_mpu_regions':
/Users/jeppe/JML-Software-Solutions/smart-well/nrf-board/zephyr/arch/arm/core/aarch32/mpu/arm_core_mpu.c:307:9: warning: 'arm_core_mpu_configure_dynamic_mpu_regions' reading 12 bytes from a region of size 0 [-Wstringop-overread]
307 | arm_core_mpu_configure_dynamic_mpu_regions(dynamic_regions,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
308 | region_num);
| ~~~~~~~~~~~
/Users/jeppe/JML-Software-Solutions/smart-well/nrf-board/zephyr/arch/arm/core/aarch32/mpu/arm_core_mpu.c:307:9: note: referencing argument 1 of type 'const struct z_arm_mpu_partition[0]'
In file included from /Users/jeppe/JML-Software-Solutions/smart-well/nrf-board/zephyr/arch/arm/core/aarch32/mpu/arm_core_mpu.c:13:
/Users/jeppe/JML-Software-Solutions/smart-well/nrf-board/zephyr/arch/arm/core/aarch32/mpu/arm_core_mpu_dev.h:187:6: note: in a call to function 'arm_core_mpu_configure_dynamic_mpu_regions'
187 | void arm_core_mpu_configure_dynamic_mpu_regions(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/jeppe/JML-Software-Solutions/smart-well/nrf-board/zephyr/arch/arm/core/aarch32/mpu/arm_core_mpu.c:307:9: warning: 'arm_core_mpu_configure_dynamic_mpu_regions' reading 12 bytes from a region of size 0 [-Wstringop-overread]
307 | arm_core_mpu_configure_dynamic_mpu_regions(dynamic_regions,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
308 | region_num);
| ~~~~~~~~~~~
/Users/jeppe/JML-Software-Solutions/smart-well/nrf-board/zephyr/arch/arm/core/aarch32/mpu/arm_core_mpu.c:307:9: note: referencing argument 1 of type 'const struct z_arm_mpu_partition[0]'
/Users/jeppe/JML-Software-Solutions/smart-well/nrf-board/zephyr/arch/arm/core/aarch32/mpu/arm_core_mpu_dev.h:187:6: note: in a call to function 'arm_core_mpu_configure_dynamic_mpu_regions'
187 | void arm_core_mpu_configure_dynamic_mpu_regions(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/jeppe/JML-Software-Solutions/smart-well/nrf-board/zephyr/arch/arm/core/aarch32/mpu/arm_core_mpu.c:307:9: warning: 'arm_core_mpu_configure_dynamic_mpu_regions' reading 12 bytes from a region of size 0 [-Wstringop-overread]
307 | arm_core_mpu_configure_dynamic_mpu_regions(dynamic_regions,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
308 | region_num);
| ~~~~~~~~~~~
/Users/jeppe/JML-Software-Solutions/smart-well/nrf-board/zephyr/arch/arm/core/aarch32/mpu/arm_core_mpu.c:307:9: note: referencing argument 1 of type 'const struct z_arm_mpu_partition[0]'
/Users/jeppe/JML-Software-Solutions/smart-well/nrf-board/zephyr/arch/arm/core/aarch32/mpu/arm_core_mpu_dev.h:187:6: note: in a call to function 'arm_core_mpu_configure_dynamic_mpu_regions'
187 | void arm_core_mpu_configure_dynamic_mpu_regions(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[255/265] Linking C executable zephyr/zephyr_pre0.elf
[259/265] Linking C executable zephyr/zephyr_pre1.elf
[265/265] Linking C executable zephyr/zephyr.elf
Memory region Used Size Region Size %age Used
FLASH: 65024 B 64 KB 99.22%
SRAM: 11984 B 32 KB 36.57%
IDT_LIST: 0 GB 2 KB 0.00%
[17/202] Performing build step for 'mcuboot_subimage'
[1/199] Preparing syscall dependency handling
[103/199] Building C object zephyr/arch/arch/arm/core/aarch32/mpu/CMakeFiles/arch__arm__core__aarch32__mpu.dir/arm_core_mpu.c.obj
/Users/jeppe/JML-Software-Solutions/smart-well/nrf-board/zephyr/arch/arm/core/aarch32/mpu/arm_core_mpu.c: In function 'z_arm_configure_dynamic_mpu_regions':
/Users/jeppe/JML-Software-Solutions/smart-well/nrf-board/zephyr/arch/arm/core/aarch32/mpu/arm_core_mpu.c:307:9: warning: 'arm_core_mpu_configure_dynamic_mpu_regions' reading 12 bytes from a region of size 0 [-Wstringop-overread]
307 | arm_core_mpu_configure_dynamic_mpu_regions(dynamic_regions,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
308 | region_num);
| ~~~~~~~~~~~
/Users/jeppe/JML-Software-Solutions/smart-well/nrf-board/zephyr/arch/arm/core/aarch32/mpu/arm_core_mpu.c:307:9: note: referencing argument 1 of type 'const struct z_arm_mpu_partition[0]'
In file included from /Users/jeppe/JML-Software-Solutions/smart-well/nrf-board/zephyr/arch/arm/core/aarch32/mpu/arm_core_mpu.c:13:
/Users/jeppe/JML-Software-Solutions/smart-well/nrf-board/zephyr/arch/arm/core/aarch32/mpu/arm_core_mpu_dev.h:187:6: note: in a call to function 'arm_core_mpu_configure_dynamic_mpu_regions'
187 | void arm_core_mpu_configure_dynamic_mpu_regions(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/jeppe/JML-Software-Solutions/smart-well/nrf-board/zephyr/arch/arm/core/aarch32/mpu/arm_core_mpu.c:307:9: warning: 'arm_core_mpu_configure_dynamic_mpu_regions' reading 12 bytes from a region of size 0 [-Wstringop-overread]
307 | arm_core_mpu_configure_dynamic_mpu_regions(dynamic_regions,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
308 | region_num);
| ~~~~~~~~~~~
/Users/jeppe/JML-Software-Solutions/smart-well/nrf-board/zephyr/arch/arm/core/aarch32/mpu/arm_core_mpu.c:307:9: note: referencing argument 1 of type 'const struct z_arm_mpu_partition[0]'
/Users/jeppe/JML-Software-Solutions/smart-well/nrf-board/zephyr/arch/arm/core/aarch32/mpu/arm_core_mpu_dev.h:187:6: note: in a call to function 'arm_core_mpu_configure_dynamic_mpu_regions'
187 | void arm_core_mpu_configure_dynamic_mpu_regions(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/jeppe/JML-Software-Solutions/smart-well/nrf-board/zephyr/arch/arm/core/aarch32/mpu/arm_core_mpu.c:307:9: warning: 'arm_core_mpu_configure_dynamic_mpu_regions' reading 12 bytes from a region of size 0 [-Wstringop-overread]
307 | arm_core_mpu_configure_dynamic_mpu_regions(dynamic_regions,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
308 | region_num);
| ~~~~~~~~~~~
/Users/jeppe/JML-Software-Solutions/smart-well/nrf-board/zephyr/arch/arm/core/aarch32/mpu/arm_core_mpu.c:307:9: note: referencing argument 1 of type 'const struct z_arm_mpu_partition[0]'
/Users/jeppe/JML-Software-Solutions/smart-well/nrf-board/zephyr/arch/arm/core/aarch32/mpu/arm_core_mpu_dev.h:187:6: note: in a call to function 'arm_core_mpu_configure_dynamic_mpu_regions'
187 | void arm_core_mpu_configure_dynamic_mpu_regions(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[189/199] Linking C executable zephyr/zephyr_pre0.elf
[193/199] Linking C executable zephyr/zephyr_pre1.elf
[199/199] Linking C executable zephyr/zephyr.elf
Memory region Used Size Region Size %age Used
FLASH: 43920 B 48 KB 89.36%
SRAM: 23264 B 211736 B 10.99%
IDT_LIST: 0 GB 2 KB 0.00%
[50/202] Building C object CMakeFiles/app.dir/src/battery.c.obj
In file included from /Users/jeppe/JML-Software-Solutions/smart-well/nrf-board/zephyr/include/devicetree.h:19,
from /Users/jeppe/JML-Software-Solutions/smart-well/nrf-board/zephyr/include/arch/arm/aarch32/arch.h:20,
from /Users/jeppe/JML-Software-Solutions/smart-well/nrf-board/zephyr/include/arch/cpu.h:19,
from /Users/jeppe/JML-Software-Solutions/smart-well/nrf-board/zephyr/include/kernel_includes.h:33,
from /Users/jeppe/JML-Software-Solutions/smart-well/nrf-board/zephyr/include/kernel.h:17,
from /Users/jeppe/JML-Software-Solutions/smart-well/nrf-board/zephyr/include/zephyr.h:18,
from /Users/jeppe/JML-Software-Solutions/smart-well/nrf-board/nfed/samples/battery/src/battery.c:12:
/Users/jeppe/JML-Software-Solutions/smart-well/nrf-board/nfed/samples/battery/build/zephyr/include/generated/devicetree_unfixed.h:1030:52: warning: initialization of 'const char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
1030 | #define DT_N_S_vbatt_P_io_channels_IDX_0_VAL_input 7
| ^
/Users/jeppe/JML-Software-Solutions/smart-well/nrf-board/zephyr/include/devicetree.h:3022:24: note: in expansion of macro 'DT_N_S_vbatt_P_io_channels_IDX_0_VAL_input'
3022 | #define DT_CAT(a1, a2) a1 ## a2
| ^~
/Users/jeppe/JML-Software-Solutions/smart-well/nrf-board/zephyr/include/devicetree.h:538:32: note: in expansion of macro 'DT_CAT'
538 | #define DT_PROP(node_id, prop) DT_CAT(node_id, _P_##prop)
| ^~~~~~
/Users/jeppe/JML-Software-Solutions/smart-well/nrf-board/zephyr/include/devicetree.h:1083:9: note: in expansion of macro 'DT_PROP'
1083 | DT_PROP(node_id, pha##_IDX_##idx##_VAL_##cell)
| ^~~~~~~
/Users/jeppe/JML-Software-Solutions/smart-well/nrf-board/zephyr/include/devicetree/io-channels.h:274:9: note: in expansion of macro 'DT_PHA_BY_IDX'
274 | DT_PHA_BY_IDX(node_id, io_channels, idx, input)
| ^~~~~~~~~~~~~
/Users/jeppe/JML-Software-Solutions/smart-well/nrf-board/zephyr/include/devicetree/io-channels.h:323:39: note: in expansion of macro 'DT_IO_CHANNELS_INPUT_BY_IDX'
323 | #define DT_IO_CHANNELS_INPUT(node_id) DT_IO_CHANNELS_INPUT_BY_IDX(node_id, 0)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/jeppe/JML-Software-Solutions/smart-well/nrf-board/nfed/samples/battery/src/battery.c:65:17: note: in expansion of macro 'DT_IO_CHANNELS_INPUT'
65 | DT_IO_CHANNELS_INPUT(VBATT),
| ^~~~~~~~~~~~~~~~~~~~
/Users/jeppe/JML-Software-Solutions/smart-well/nrf-board/zephyr/include/sys/util_internal.h:98:26: note: in expansion of macro 'UTIL_PRIMITIVE_CAT'
98 | #define UTIL_CAT(a, ...) UTIL_PRIMITIVE_CAT(a, __VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~
/Users/jeppe/JML-Software-Solutions/smart-well/nrf-board/zephyr/include/devicetree.h:3004:9: note: in expansion of macro 'UTIL_CAT'
3004 | UTIL_CAT(DT_ROOT, MACRO_MAP_CAT(DT_S_PREFIX, __VA_ARGS__))
| ^~~~~~~~
/Users/jeppe/JML-Software-Solutions/smart-well/nrf-board/zephyr/include/devicetree.h:3004:18: note: in expansion of macro 'DT_ROOT'
3004 | UTIL_CAT(DT_ROOT, MACRO_MAP_CAT(DT_S_PREFIX, __VA_ARGS__))
| ^~~~~~~
/Users/jeppe/JML-Software-Solutions/smart-well/nrf-board/zephyr/include/devicetree.h:129:22: note: in expansion of macro 'DT_PATH_INTERNAL'
129 | #define DT_PATH(...) DT_PATH_INTERNAL(__VA_ARGS__)
| ^~~~~~~~~~~~~~~~
/Users/jeppe/JML-Software-Solutions/smart-well/nrf-board/nfed/samples/battery/src/battery.c:23:15: note: in expansion of macro 'DT_PATH'
23 | #define VBATT DT_PATH(vbatt)
| ^~~~~~~
/Users/jeppe/JML-Software-Solutions/smart-well/nrf-board/nfed/samples/battery/src/battery.c:65:38: note: in expansion of macro 'VBATT'
65 | DT_IO_CHANNELS_INPUT(VBATT),
| ^~~~~
/Users/jeppe/JML-Software-Solutions/smart-well/nrf-board/nfed/samples/battery/build/zephyr/include/generated/devicetree_unfixed.h:1030:52: note: (near initialization for 'divider_config.io_channel.label')
1030 | #define DT_N_S_vbatt_P_io_channels_IDX_0_VAL_input 7
| ^
/Users/jeppe/JML-Software-Solutions/smart-well/nrf-board/zephyr/include/devicetree.h:3022:24: note: in expansion of macro 'DT_N_S_vbatt_P_io_channels_IDX_0_VAL_input'
3022 | #define DT_CAT(a1, a2) a1 ## a2
| ^~
/Users/jeppe/JML-Software-Solutions/smart-well/nrf-board/zephyr/include/devicetree.h:538:32: note: in expansion of macro 'DT_CAT'
538 | #define DT_PROP(node_id, prop) DT_CAT(node_id, _P_##prop)
| ^~~~~~
/Users/jeppe/JML-Software-Solutions/smart-well/nrf-board/zephyr/include/devicetree.h:1083:9: note: in expansion of macro 'DT_PROP'
1083 | DT_PROP(node_id, pha##_IDX_##idx##_VAL_##cell)
| ^~~~~~~
/Users/jeppe/JML-Software-Solutions/smart-well/nrf-board/zephyr/include/devicetree/io-channels.h:274:9: note: in expansion of macro 'DT_PHA_BY_IDX'
274 | DT_PHA_BY_IDX(node_id, io_channels, idx, input)
| ^~~~~~~~~~~~~
/Users/jeppe/JML-Software-Solutions/smart-well/nrf-board/zephyr/include/devicetree/io-channels.h:323:39: note: in expansion of macro 'DT_IO_CHANNELS_INPUT_BY_IDX'
323 | #define DT_IO_CHANNELS_INPUT(node_id) DT_IO_CHANNELS_INPUT_BY_IDX(node_id, 0)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/jeppe/JML-Software-Solutions/smart-well/nrf-board/nfed/samples/battery/src/battery.c:65:17: note: in expansion of macro 'DT_IO_CHANNELS_INPUT'
65 | DT_IO_CHANNELS_INPUT(VBATT),
| ^~~~~~~~~~~~~~~~~~~~
/Users/jeppe/JML-Software-Solutions/smart-well/nrf-board/zephyr/include/sys/util_internal.h:98:26: note: in expansion of macro 'UTIL_PRIMITIVE_CAT'
98 | #define UTIL_CAT(a, ...) UTIL_PRIMITIVE_CAT(a, __VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~
/Users/jeppe/JML-Software-Solutions/smart-well/nrf-board/zephyr/include/devicetree.h:3004:9: note: in expansion of macro 'UTIL_CAT'
3004 | UTIL_CAT(DT_ROOT, MACRO_MAP_CAT(DT_S_PREFIX, __VA_ARGS__))
| ^~~~~~~~
/Users/jeppe/JML-Software-Solutions/smart-well/nrf-board/zephyr/include/devicetree.h:3004:18: note: in expansion of macro 'DT_ROOT'
3004 | UTIL_CAT(DT_ROOT, MACRO_MAP_CAT(DT_S_PREFIX, __VA_ARGS__))
| ^~~~~~~
/Users/jeppe/JML-Software-Solutions/smart-well/nrf-board/zephyr/include/devicetree.h:129:22: note: in expansion of macro 'DT_PATH_INTERNAL'
129 | #define DT_PATH(...) DT_PATH_INTERNAL(__VA_ARGS__)
| ^~~~~~~~~~~~~~~~
/Users/jeppe/JML-Software-Solutions/smart-well/nrf-board/nfed/samples/battery/src/battery.c:23:15: note: in expansion of macro 'DT_PATH'
23 | #define VBATT DT_PATH(vbatt)
| ^~~~~~~
/Users/jeppe/JML-Software-Solutions/smart-well/nrf-board/nfed/samples/battery/src/battery.c:65:38: note: in expansion of macro 'VBATT'
65 | DT_IO_CHANNELS_INPUT(VBATT),
| ^~~~~
[87/202] Building C object zephyr/arch/arch/arm/core/aarch32/mpu/CMakeFiles/arch__arm__core__aarch32__mpu.dir/arm_core_mpu.c.obj
/Users/jeppe/JML-Software-Solutions/smart-well/nrf-board/zephyr/arch/arm/core/aarch32/mpu/arm_core_mpu.c: In function 'z_arm_configure_dynamic_mpu_regions':
/Users/jeppe/JML-Software-Solutions/smart-well/nrf-board/zephyr/arch/arm/core/aarch32/mpu/arm_core_mpu.c:307:9: warning: 'arm_core_mpu_configure_dynamic_mpu_regions' reading 12 bytes from a region of size 0 [-Wstringop-overread]
307 | arm_core_mpu_configure_dynamic_mpu_regions(dynamic_regions,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
308 | region_num);
| ~~~~~~~~~~~
/Users/jeppe/JML-Software-Solutions/smart-well/nrf-board/zephyr/arch/arm/core/aarch32/mpu/arm_core_mpu.c:307:9: note: referencing argument 1 of type 'const struct z_arm_mpu_partition[0]'
In file included from /Users/jeppe/JML-Software-Solutions/smart-well/nrf-board/zephyr/arch/arm/core/aarch32/mpu/arm_core_mpu.c:13:
/Users/jeppe/JML-Software-Solutions/smart-well/nrf-board/zephyr/arch/arm/core/aarch32/mpu/arm_core_mpu_dev.h:187:6: note: in a call to function 'arm_core_mpu_configure_dynamic_mpu_regions'
187 | void arm_core_mpu_configure_dynamic_mpu_regions(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/jeppe/JML-Software-Solutions/smart-well/nrf-board/zephyr/arch/arm/core/aarch32/mpu/arm_core_mpu.c:307:9: warning: 'arm_core_mpu_configure_dynamic_mpu_regions' reading 12 bytes from a region of size 0 [-Wstringop-overread]
307 | arm_core_mpu_configure_dynamic_mpu_regions(dynamic_regions,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
308 | region_num);
| ~~~~~~~~~~~
/Users/jeppe/JML-Software-Solutions/smart-well/nrf-board/zephyr/arch/arm/core/aarch32/mpu/arm_core_mpu.c:307:9: note: referencing argument 1 of type 'const struct z_arm_mpu_partition[0]'
/Users/jeppe/JML-Software-Solutions/smart-well/nrf-board/zephyr/arch/arm/core/aarch32/mpu/arm_core_mpu_dev.h:187:6: note: in a call to function 'arm_core_mpu_configure_dynamic_mpu_regions'
187 | void arm_core_mpu_configure_dynamic_mpu_regions(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/jeppe/JML-Software-Solutions/smart-well/nrf-board/zephyr/arch/arm/core/aarch32/mpu/arm_core_mpu.c:307:9: warning: 'arm_core_mpu_configure_dynamic_mpu_regions' reading 12 bytes from a region of size 0 [-Wstringop-overread]
307 | arm_core_mpu_configure_dynamic_mpu_regions(dynamic_regions,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
308 | region_num);
| ~~~~~~~~~~~
/Users/jeppe/JML-Software-Solutions/smart-well/nrf-board/zephyr/arch/arm/core/aarch32/mpu/arm_core_mpu.c:307:9: note: referencing argument 1 of type 'const struct z_arm_mpu_partition[0]'
/Users/jeppe/JML-Software-Solutions/smart-well/nrf-board/zephyr/arch/arm/core/aarch32/mpu/arm_core_mpu_dev.h:187:6: note: in a call to function 'arm_core_mpu_configure_dynamic_mpu_regions'
187 | void arm_core_mpu_configure_dynamic_mpu_regions(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[181/202] Linking C executable zephyr/zephyr_pre0.elf
[185/202] Linking C executable zephyr/zephyr_pre1.elf
[191/202] Linking C executable zephyr/zephyr.elf
Memory region Used Size Region Size %age Used
FLASH: 30796 B 425472 B 7.24%
SRAM: 6624 B 211736 B 3.13%
IDT_LIST: 0 GB 2 KB 0.00%
[202/202] Generating zephyr/merged.hex
* Terminal will be reused by tasks, press any key to close it.