Replies: 1 comment 1 reply
-
You likely miss the following in your SoC dts description:
To be tuned accordingly. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi
I'm trying to add new Soc & board
below is the problem When I use the west build the sample code hello world
[2/134] Generating include/generated/version.h -- Zephyr version: 3.2.0-rc1 (/Users/pswd/zephyrproject/zephyr), build: v3.2.0-rc1-57-gb27c5d73ef09 [8/134] Building C object zephyr/CMakeFiles/offsets.dir/arch/arm/core/offsets/offsets.c.obj FAILED: zephyr/CMakeFiles/offsets.dir/arch/arm/core/offsets/offsets.c.obj ccache /Users/pswd/zephyr-sdk-0.15.0/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc -DKERNEL -D_FORTIFY_SOURCE=2 -D__PROGRAM_START -D__ZEPHYR__=1 -I/Users/pswd/zephyrproject/zephyr/kernel/include -I/Users/pswd/zephyrp In file included from /Users/pswd/zephyrproject/zephyr/include/zephyr/arch/arm/aarch32/arch.h:20, from /Users/pswd/zephyrproject/zephyr/include/zephyr/arch/cpu.h:19, from /Users/pswd/zephyrproject/zephyr/include/zephyr/kernel_includes.h:33, from /Users/pswd/zephyrproject/zephyr/include/zephyr/kernel.h:17, from /Users/pswd/zephyrproject/zephyr/arch/arm/core/offsets/offsets_aarch32.c:28, from /Users/pswd/zephyrproject/zephyr/arch/arm/core/offsets/offsets.c:9: /Users/pswd/zephyrproject/zephyr/include/zephyr/arch/arm/aarch32/asm_inline_gcc.h: In function 'arch_irq_lock': /Users/pswd/zephyrproject/zephyr/include/zephyr/devicetree.h:326:40: error: 'DT_N_INST_0_arm_v7m_nvic_P_arm_num_irq_priority_bits' undeclared (first use in this function) 326 | #define DT_INST(inst, compat) UTIL_CAT(DT_N_INST, DT_DASH(inst, compat))
/Users/pswd/zephyrproject/zephyr/include/zephyr/devicetree.h:326:40: error: 'DT_N_INST_0_arm_v7m_nvic_P_arm_num_irq_priority_bits' undeclared (first use in this function) 326 | #define DT_INST(inst, compat) UTIL_CAT(DT_N_INST, DT_DASH(inst, compat))
I wonder know which file should need to re-write or reconfigured
Beta Was this translation helpful? Give feedback.
All reactions