You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Following compiler warning occurs when I3C device with 9 byte of reg address to dts, and DCONFIG_NULL_POINTER_EXCEPTION_DETECTION_MPU=y. C:/repos/ADI-zephyr/zephyr/arch/arm/core/mpu/arm_mpu.c: In function 'z_arm_mpu_init': C:/repos/ADI-zephyr/zephyr/arch/arm/core/mpu/arm_mpu.c:481:8: warning: integer constant is too large for its type 481 | (!DT_NULL_PAGE_DETECT_NODE_EXIST)
Build a board with M33 with DCONFIG_NULL_POINTER_EXCEPTION_DETECTION_MPU=y with a tests/*:
example:
west build -b mimxrt685_evk/mimxrt685s/cm33 .\tests\drivers\uart\uart_basic_api\ -p always -DCONFIG_NULL_POINTER_EXCEPTION_DETECTION_MPU=y
See the compiler warning: warning: integer constant is too large for its type
481 | (!DT_NULL_PAGE_DETECT_NODE_EXIST)
Expected behavior
Compiler warning shall not occur. Impact
CI/CD requires -Werror option, thus this fails CI/CD procedure in out-of-tree zephyr pipeline. Logs and console output
Environment (please complete the following information):
Zephyr 4.00+ (macro DT_NULL_PAGE_DETECT_NODE_EXIST added here )
OS: all
Toolchain Zephyr SDK
Commit SHA or Version used
The text was updated successfully, but these errors were encountered:
Describe the bug
Following compiler warning occurs when I3C device with 9 byte of reg address to dts, and DCONFIG_NULL_POINTER_EXCEPTION_DETECTION_MPU=y.
C:/repos/ADI-zephyr/zephyr/arch/arm/core/mpu/arm_mpu.c: In function 'z_arm_mpu_init':
C:/repos/ADI-zephyr/zephyr/arch/arm/core/mpu/arm_mpu.c:481:8: warning: integer constant is too large for its type
481 | (!DT_NULL_PAGE_DETECT_NODE_EXIST)
https://git.byronlathi.com/bslathi19/zephyr/-/blob/main/dts/bindings/i3c/i3c-device.yaml?ref_type=heads
To Reproduce
example:
west build -b mimxrt685_evk/mimxrt685s/cm33 .\tests\drivers\uart\uart_basic_api\ -p always -DCONFIG_NULL_POINTER_EXCEPTION_DETECTION_MPU=y
warning: integer constant is too large for its type
481 | (!DT_NULL_PAGE_DETECT_NODE_EXIST)
Expected behavior
Compiler warning shall not occur.
Impact
CI/CD requires -Werror option, thus this fails CI/CD procedure in out-of-tree zephyr pipeline.
Logs and console output
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: