Compile the offline example in SWS32R41_Radar_SDK_0_9_0 APP

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Compile the offline example in SWS32R41_Radar_SDK_0_9_0 APP

1,155 Views
sinetech
Contributor II

 

S32DS_INSTALL_PATH=D:\NXP\S32DS.3.5
"RTD_SET = D:\NXP\S32DS.3.5\S32DS\software\PlatformSDK_SAF85_S32R41_2022_08\SW32R_RTD_4_4_0_9_0_D2208"
ZEPHYR_TOOLCHAIN_VARIANT=gnuarmnxp
GNUARMNXP_TOOLCHAIN_PATH=D:\NXP\S32DS.3.5\S32DS\build_tools\gcc_v9.2\gcc-9.2-arm64-eabi
S32DS_PROJECT_PATH=D:\NXP\SWS32R41_Radar_SDK_0_9_0\platform_setup\RTD\S32R418AA\A53
RTD_PATH=D:\NXP\S32DS.3.5\S32DS\software\PlatformSDK_SAF85_S32R41_2022_08\SW32R_RTD_4_4_0_9_0_D2208
ZEPHYR_HOME=D:\zephyr_pro\zephyrproject\zephyr
/d/zephyr_pro/zephyrproject/zephyr
D:\zephyr_pro\zephyrproject\zephyr\build
系统找不到指定的文件。
"call west"
-- west build: generating a build system
Including boilerplate (Zephyr base): D:/zephyr_pro/zephyrproject/zephyr/cmake/app/boilerplate.cmake
-- Application: D:/NXP/SWS32R41_Radar_SDK_0_9_0/Apps/RSDK_offline_example/project/S32R41/zephyr
-- git describe failed: fatal: not a git repository (or any of the parent directories): .git
-- Zephyr version: 2.7.2 (D:/zephyr_pro/zephyrproject/zephyr), build:
-- Found Python3: C:/Program Files/Python311/python.exe (found suitable exact version "3.11.4") found components: Interpreter
-- Found west (found suitable version "1.2.0", minimum required is "0.7.1")
-- Board: s32r418aaevb_a53
-- Cache files will be written to: D:/zephyr_pro/zephyrproject/zephyr/.cache
-- Found dtc: C:/ProgramData/chocolatey/bin/dtc.exe (found suitable version "1.5.0", minimum required is "1.4.6")
-- Found toolchain: gnuarmnxp (D:/NXP/S32DS.3.5/S32DS/build_tools/gcc_v9.2/gcc-9.2-arm64-eabi)
-- Found BOARD.dts: D:/zephyr_pro/zephyrproject/zephyr/boards/arm64/s32r41evb_a53/s32r418aaevb_a53.dts
-- Generated zephyr.dts: D:/zephyr_pro/zephyrproject/zephyr/build/zephyr/zephyr.dts
-- Generated devicetree_unfixed.h: D:/zephyr_pro/zephyrproject/zephyr/build/zephyr/include/generated/devicetree_unfixed.h
-- Generated device_extern.h: D:/zephyr_pro/zephyrproject/zephyr/build/zephyr/include/generated/device_extern.h
-- Including generated dts.cmake file: D:/zephyr_pro/zephyrproject/zephyr/build/zephyr/dts.cmake
Parsing D:/zephyr_pro/zephyrproject/zephyr/Kconfig
Loaded configuration 'D:/zephyr_pro/zephyrproject/zephyr/boards/arm64/s32r41evb_a53/s32r418aaevb_a53_defconfig'
Merged configuration 'D:/NXP/SWS32R41_Radar_SDK_0_9_0/Apps/RSDK_offline_example/project/S32R41/zephyr/prj.conf'
Configuration saved to 'D:/zephyr_pro/zephyrproject/zephyr/build/zephyr/.config'
Kconfig header saved to 'D:/zephyr_pro/zephyrproject/zephyr/build/zephyr/include/generated/autoconf.h'
-- The C compiler identification is GNU 9.2.0
-- The CXX compiler identification is GNU 9.2.0
-- The ASM compiler identification is GNU
-- Found assembler: D:/NXP/S32DS.3.5/S32DS/build_tools/gcc_v9.2/gcc-9.2-arm64-eabi/bin/aarch64-none-elf-gcc.exe
CMake Deprecation Warning at D:/zephyr_pro/zephyrproject/modules/lib/civetweb/CMakeLists.txt:4 (cmake_policy):
Compatibility with CMake < 3.5 will be removed from a future version of
CMake.

Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.


-- RTD_PATH = D:\NXP\S32DS.3.5\S32DS\software\PlatformSDK_SAF85_S32R41_2022_08\SW32R_RTD_4_4_0_9_0_D2208
-- S32DS_PROJECT_PATH = D:\NXP\SWS32R41_Radar_SDK_0_9_0\platform_setup\RTD\S32R418AA\A53
-- Configuring done (3.4s)
-- Generating done (0.1s)
-- Build files have been written to: D:/zephyr_pro/zephyrproject/zephyr/build
-- west build: building application
[4/214] Generating include/generated/driver-validation.h
D:\zephyr_pro\zephyrproject\zephyr\scripts\gen_kobject_list.py:66: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
if LooseVersion(elftools.__version__) < LooseVersion('0.24'):
[5/214] Generating include/generated/kobj-types-enum.h, include/generated/otype-to-str.h, include/generated/otype-to-size.h
D:\zephyr_pro\zephyrproject\zephyr\scripts\gen_kobject_list.py:66: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
if LooseVersion(elftools.__version__) < LooseVersion('0.24'):
[15/214] Building C object CMakeFiles/app.dir/D_/NXP/SWS32R41_Radar_SDK_0_9_0/Tools/Debug_tools/cache.c.obj
In file included from D:/zephyr_pro/zephyrproject/zephyr/include/fs/fs.h:14,
from D:/zephyr_pro/zephyrproject/zephyr/include/posix/unistd.h:17,
from D:/zephyr_pro/zephyrproject/zephyr/include/posix/pthread.h:13,
from d:\nxp\sws32r41_radar_sdk_0_9_0\oal\include\zephyr\os_utils.h:12,
from d:\nxp\sws32r41_radar_sdk_0_9_0\oal\include\oal_utils.h:10,
from d:\nxp\sws32r41_radar_sdk_0_9_0\oal\include\oal_memory_allocator.h:9,
from D:/NXP/SWS32R41_Radar_SDK_0_9_0/Tools/Debug_tools/cache.c:22:
D:/zephyr_pro/zephyrproject/zephyr/include/fs/fs_interface.h:16:6: warning: "CONFIG_FILE_SYSTEM_MAX_FILE_NAME" is not defined, evaluates to 0 [-Wundef]
16 | #if (CONFIG_FILE_SYSTEM_MAX_FILE_NAME - 0) > 0
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[16/214] Building C object CMakeFiles/app.dir/D_/NXP/SWS32R41_Radar_SDK_0_9_0/Tools/Debug_tools/app_cond_flag_oal.c.obj
In file included from D:/zephyr_pro/zephyrproject/zephyr/include/fs/fs.h:14,
from D:/zephyr_pro/zephyrproject/zephyr/include/posix/unistd.h:17,
from D:/zephyr_pro/zephyrproject/zephyr/include/posix/pthread.h:13,
from d:\nxp\sws32r41_radar_sdk_0_9_0\oal\include\zephyr\os_utils.h:12,
from d:\nxp\sws32r41_radar_sdk_0_9_0\oal\include\oal_utils.h:10,
from d:\nxp\sws32r41_radar_sdk_0_9_0\oal\include\oal_semaphore.h:10,
from D:/NXP/SWS32R41_Radar_SDK_0_9_0/Tools/Debug_tools/app_cond_flag.h:30,
from D:/NXP/SWS32R41_Radar_SDK_0_9_0/Tools/Debug_tools/app_cond_flag_oal.c:21:
D:/zephyr_pro/zephyrproject/zephyr/include/fs/fs_interface.h:16:6: warning: "CONFIG_FILE_SYSTEM_MAX_FILE_NAME" is not defined, evaluates to 0 [-Wundef]
16 | #if (CONFIG_FILE_SYSTEM_MAX_FILE_NAME - 0) > 0
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[17/214] Building C object CMakeFiles/app.dir/D_/NXP/SWS32R41_Radar_SDK_0_9_0/Tools/Debug_tools/app_mem_mgr_oal.c.obj
In file included from D:/zephyr_pro/zephyrproject/zephyr/include/fs/fs.h:14,
from D:/zephyr_pro/zephyrproject/zephyr/include/posix/unistd.h:17,
from D:/zephyr_pro/zephyrproject/zephyr/include/posix/pthread.h:13,
from d:\nxp\sws32r41_radar_sdk_0_9_0\oal\include\zephyr\os_utils.h:12,
from d:\nxp\sws32r41_radar_sdk_0_9_0\oal\include\oal_utils.h:10,
from d:\nxp\sws32r41_radar_sdk_0_9_0\oal\include\oal_memory_allocator.h:9,
from D:/NXP/SWS32R41_Radar_SDK_0_9_0/Tools/Debug_tools/app_mem_mgr_oal.c:22:
D:/zephyr_pro/zephyrproject/zephyr/include/fs/fs_interface.h:16:6: warning: "CONFIG_FILE_SYSTEM_MAX_FILE_NAME" is not defined, evaluates to 0 [-Wundef]
16 | #if (CONFIG_FILE_SYSTEM_MAX_FILE_NAME - 0) > 0
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[19/214] Building C object CMakeFiles/app.dir/D_/NXP/SWS32R41_Radar_SDK_0_9_0/platform_setup/src/ARM/S32R41/platform_setup_basic.c.obj
D:/NXP/SWS32R41_Radar_SDK_0_9_0/platform_setup/src/ARM/S32R41/platform_setup_basic.c:627:13: warning: 'siul2_dspi' defined but not used [-Wunused-function]
627 | static void siul2_dspi(void)
| ^~~~~~~~~~
[29/214] Building C object CMakeFiles/app.dir/D_/NXP/SWS32R41_Radar_SDK_0_9_0/Apps/RSDK_offline_example/src/core0/radar_functions_core0.c.obj
In file included from D:/zephyr_pro/zephyrproject/zephyr/include/fs/fs.h:14,
from D:/zephyr_pro/zephyrproject/zephyr/include/posix/unistd.h:17,
from D:/zephyr_pro/zephyrproject/zephyr/include/posix/pthread.h:13,
from d:\nxp\sws32r41_radar_sdk_0_9_0\oal\include\zephyr\os_utils.h:12,
from d:\nxp\sws32r41_radar_sdk_0_9_0\oal\include\oal_utils.h:10,
from d:\nxp\sws32r41_radar_sdk_0_9_0\oal\include\oal_semaphore.h:10,
from d:\nxp\sws32r41_radar_sdk_0_9_0\tools\debug_tools\app_cond_flag.h:30,
from D:/NXP/SWS32R41_Radar_SDK_0_9_0/Apps/RSDK_offline_example/src/core0/radar_functions_core0.c:27:
D:/zephyr_pro/zephyrproject/zephyr/include/fs/fs_interface.h:16:6: warning: "CONFIG_FILE_SYSTEM_MAX_FILE_NAME" is not defined, evaluates to 0 [-Wundef]
16 | #if (CONFIG_FILE_SYSTEM_MAX_FILE_NAME - 0) > 0
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[101/214] Building C object zephyr/soc/arm64/nxp_s32/s32r/CMakeFiles/soc__arm64__nxp_s32__s32r.dir/mmu_regions.c.obj
FAILED: zephyr/soc/arm64/nxp_s32/s32r/CMakeFiles/soc__arm64__nxp_s32__s32r.dir/mmu_regions.c.obj
D:\NXP\S32DS.3.5\S32DS\build_tools\gcc_v9.2\gcc-9.2-arm64-eabi\bin\aarch64-none-elf-gcc.exe -DCPU_CORTEX_A53 -DKERNEL -D_FORTIFY_SOURCE=2 -D__PROGRAM_START -D__ZEPHYR__=1 -ID:/zephyr_pro/zephyrproject/zephyr/include -ID:/zephyr_pro/zephyrproject/zephyr/build/zephyr/include/generated -ID:/zephyr_pro/zephyrproject/zephyr/soc/arm64/nxp_s32/s32r -ID:/zephyr_pro/zephyrproject/modules/hal/cmsis/CMSIS/Core_A/Include -ID:/NXP/S32DS.3.5/S32DS/software/PlatformSDK_SAF85_S32R41_2022_08/SW32R_RTD_4_4_0_9_0_D2208/BaseNXP_TS_T40D47M9I0R0/include -ID:/NXP/S32DS.3.5/S32DS/software/PlatformSDK_SAF85_S32R41_2022_08/SW32R_RTD_4_4_0_9_0_D2208/BaseNXP_TS_T40D47M9I0R0/header -ID:/NXP/SWS32R41_Radar_SDK_0_9_0/platform_setup/RTD/S32R418AA/A53/board -ID:/NXP/SWS32R41_Radar_SDK_0_9_0/platform_setup/RTD/S32R418AA/A53/generate/include -ID:/NXP/SWS32R41_Radar_SDK_0_9_0/platform_setup/RTD/S32R418AA/A53/RTD/include -ID:/NXP/SWS32R41_Radar_SDK_0_9_0/Apps/RSDK_offline_example/project/S32R41/zephyr/../../../include -ID:/NXP/SWS32R41_Radar_SDK_0_9_0/Apps/RSDK_offline_example/project/S32R41/zephyr/../../../../../api -ID:/NXP/SWS32R41_Radar_SDK_0_9_0/Apps/RSDK_offline_example/project/S32R41/zephyr/../../../../../platform_setup/include/ARM -ID:/NXP/SWS32R41_Radar_SDK_0_9_0/Apps/RSDK_offline_example/project/S32R41/zephyr/../../../../../platform_setup/include/ARM/A53 -ID:/NXP/SWS32R41_Radar_SDK_0_9_0/Apps/RSDK_offline_example/project/S32R41/zephyr/../../../../../platform_setup/include/ARM/S32R41 -ID:/NXP/SWS32R41_Radar_SDK_0_9_0/Apps/RSDK_offline_example/project/S32R41/zephyr/../../../../../Tools/Debug_tools -ID:/NXP/SWS32R41_Radar_SDK_0_9_0/Apps/RSDK_offline_example/project/S32R41/zephyr/../../../../../Tools/Trace/api -ID:/NXP/SWS32R41_Radar_SDK_0_9_0/Apps/RSDK_offline_example/project/S32R41/zephyr/../../../../../SPT/SPT_driver/api -ID:/NXP/SWS32R41_Radar_SDK_0_9_0/Apps/RSDK_offline_example/project/S32R41/zephyr/../../../../../SPT/SPT_driver/include -ID:/NXP/SWS32R41_Radar_SDK_0_9_0/Apps/RSDK_offline_example/project/S32R41/zephyr/../../../../../SPT/SPT_kernels/api -ID:/NXP/SWS32R41_Radar_SDK_0_9_0/Apps/RSDK_offline_example/project/S32R41/zephyr/../../../../../DSP/DSP_radar_bb_algos/api -ID:/NXP/SWS32R41_Radar_SDK_0_9_0/Apps/RSDK_offline_example/project/S32R41/zephyr/../../../../../DSP/DSP_host_driver/api -ID:/NXP/SWS32R41_Radar_SDK_0_9_0/Apps/RSDK_offline_example/project/S32R41/zephyr/../../../../../DSP/DSP_lal/DSP_lal_demos/vectorAdd/include -ID:/NXP/SWS32R41_Radar_SDK_0_9_0/Apps/RSDK_offline_example/project/S32R41/zephyr/../../../../DSP_Dispatcher_example/src/host_integration -ID:/NXP/SWS32R41_Radar_SDK_0_9_0/Apps/RSDK_offline_example/project/S32R41/zephyr/../../../../../oal/include -ID:/NXP/SWS32R41_Radar_SDK_0_9_0/Apps/RSDK_offline_example/project/S32R41/zephyr/../../../../../oal/include/zephyr -isystem D:/zephyr_pro/zephyrproject/zephyr/lib/libc/minimal/include -isystem d:/nxp/s32ds.3.5/s32ds/build_tools/gcc_v9.2/gcc-9.2-arm64-eabi/bin/../lib/gcc/aarch64-none-elf/9.2.0/include -isystem d:/nxp/s32ds.3.5/s32ds/build_tools/gcc_v9.2/gcc-9.2-arm64-eabi/bin/../lib/gcc/aarch64-none-elf/9.2.0/include-fixed -Os -imacros D:/zephyr_pro/zephyrproject/zephyr/build/zephyr/include/generated/autoconf.h -ffreestanding -fno-common -ggdb3 -fdiagnostics-color=always --sysroot=D:/NXP/S32DS.3.5/S32DS/build_tools/gcc_v9.2/gcc-9.2-arm64-eabi/aarch64-none-elf -mcpu=cortex-a53 -mabi=lp64 -imacros D:/zephyr_pro/zephyrproject/zephyr/include/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wno-main -Wno-pointer-sign -Wpointer-arith -Wexpansion-to-defined -Wno-address-of-packed-member -Wno-unused-but-set-variable -Werror=implicit-int -fno-asynchronous-unwind-tables -fno-pie -fno-pic -fno-strict-overflow -fno-reorder-functions -fno-defer-pop -fstack-usage -fmacro-prefix-map=D:/NXP/SWS32R41_Radar_SDK_0_9_0/Apps/RSDK_offline_example/project/S32R41/zephyr=CMAKE_SOURCE_DIR -fmacro-prefix-map=D:/zephyr_pro/zephyrproject/zephyr=ZEPHYR_BASE -fmacro-prefix-map=D:/zephyr_pro/zephyrproject=WEST_TOPDIR -ffunction-sections -fdata-sections -specs=nosys.specs -mtune=cortex-a53 -march=armv8-a -mlittle-endian -mstrict-align -Wunused -Wdouble-promotion -Wno-incompatible-pointer-types -fdump-ipa-all -funsigned-char -funsigned-bitfields -fstrict-volatile-bitfields -fno-short-enums -fvisibility=hidden -imacros D:/zephyr_pro/zephyrproject/zephyr/build/zephyr/include/generated/s32ct_define.h -std=c99 -nostdinc -MD -MT zephyr/soc/arm64/nxp_s32/s32r/CMakeFiles/soc__arm64__nxp_s32__s32r.dir/mmu_regions.c.obj -MF zephyr\soc\arm64\nxp_s32\s32r\CMakeFiles\soc__arm64__nxp_s32__s32r.dir\mmu_regions.c.obj.d -o zephyr/soc/arm64/nxp_s32/s32r/CMakeFiles/soc__arm64__nxp_s32__s32r.dir/mmu_regions.c.obj -c D:/zephyr_pro/zephyrproject/zephyr/soc/arm64/nxp_s32/s32r/mmu_regions.c
In file included from D:/zephyr_pro/zephyrproject/zephyr/include/arch/arm64/arch.h:33,
from D:/zephyr_pro/zephyrproject/zephyr/include/arch/cpu.h:17,
from D:/zephyr_pro/zephyrproject/zephyr/include/kernel_includes.h:33,
from D:/zephyr_pro/zephyrproject/zephyr/include/kernel.h:17,
from D:/zephyr_pro/zephyrproject/zephyr/include/init.h:11,
from D:/zephyr_pro/zephyrproject/zephyr/include/device.h:29,
from D:/zephyr_pro/zephyrproject/zephyr/soc/arm64/nxp_s32/s32r/mmu_regions.c:10:
D:/zephyr_pro/zephyrproject/zephyr/include/devicetree.h:1544:32: error: 'DT_CHOSEN_zephyr_ipc_shm_REG_IDX_0_VAL_ADDRESS' undeclared here (not in a function); did you mean 'DT_N_S_cpus_S_cpu_0_REG_IDX_0_VAL_ADDRESS'?
1544 | #define DT_CHOSEN(prop) DT_CAT(DT_CHOSEN_, prop)
| ^~~~~~~~~~
D:/zephyr_pro/zephyrproject/zephyr/include/arch/arm64/arm_mmu.h:180:14: note: in definition of macro 'MMU_REGION_ENTRY'
180 | .base_pa = _base_pa, \
| ^~~~~~~~
D:/zephyr_pro/zephyrproject/zephyr/soc/arm64/nxp_s32/s32r/mmu_regions.c:25:2: note: in expansion of macro 'MMU_REGION_FLAT_ENTRY'
25 | MMU_REGION_FLAT_ENTRY("SHM0",
| ^~~~~~~~~~~~~~~~~~~~~
D:/zephyr_pro/zephyrproject/zephyr/include/devicetree.h:1332:2: note: in expansion of macro 'DT_CAT'
1332 | DT_CAT(node_id, _REG_IDX_##idx##_VAL_ADDRESS)
| ^~~~~~
D:/zephyr_pro/zephyrproject/zephyr/include/devicetree.h:1355:30: note: in expansion of macro 'DT_REG_ADDR_BY_IDX'
1355 | #define DT_REG_ADDR(node_id) DT_REG_ADDR_BY_IDX(node_id, 0)
| ^~~~~~~~~~~~~~~~~~
D:/zephyr_pro/zephyrproject/zephyr/soc/arm64/nxp_s32/s32r/mmu_regions.c:26:19: note: in expansion of macro 'DT_REG_ADDR'
26 | DT_REG_ADDR(DT_CHOSEN(zephyr_ipc_shm)),
| ^~~~~~~~~~~
D:/zephyr_pro/zephyrproject/zephyr/include/devicetree.h:1544:25: note: in expansion of macro 'DT_CAT'
1544 | #define DT_CHOSEN(prop) DT_CAT(DT_CHOSEN_, prop)
| ^~~~~~
D:/zephyr_pro/zephyrproject/zephyr/soc/arm64/nxp_s32/s32r/mmu_regions.c:26:31: note: in expansion of macro 'DT_CHOSEN'
26 | DT_REG_ADDR(DT_CHOSEN(zephyr_ipc_shm)),
| ^~~~~~~~~
D:/zephyr_pro/zephyrproject/zephyr/include/devicetree.h:1544:32: error: 'DT_CHOSEN_zephyr_ipc_shm_REG_IDX_0_VAL_SIZE' undeclared here (not in a function)
1544 | #define DT_CHOSEN(prop) DT_CAT(DT_CHOSEN_, prop)
| ^~~~~~~~~~
D:/zephyr_pro/zephyrproject/zephyr/include/arch/arm64/arm_mmu.h:182:11: note: in definition of macro 'MMU_REGION_ENTRY'
182 | .size = _size, \
| ^~~~~
D:/zephyr_pro/zephyrproject/zephyr/soc/arm64/nxp_s32/s32r/mmu_regions.c:25:2: note: in expansion of macro 'MMU_REGION_FLAT_ENTRY'
25 | MMU_REGION_FLAT_ENTRY("SHM0",
| ^~~~~~~~~~~~~~~~~~~~~
D:/zephyr_pro/zephyrproject/zephyr/include/devicetree.h:1346:2: note: in expansion of macro 'DT_CAT'
1346 | DT_CAT(node_id, _REG_IDX_##idx##_VAL_SIZE)
| ^~~~~~
D:/zephyr_pro/zephyrproject/zephyr/include/devicetree.h:1364:30: note: in expansion of macro 'DT_REG_SIZE_BY_IDX'
1364 | #define DT_REG_SIZE(node_id) DT_REG_SIZE_BY_IDX(node_id, 0)
| ^~~~~~~~~~~~~~~~~~
D:/zephyr_pro/zephyrproject/zephyr/soc/arm64/nxp_s32/s32r/mmu_regions.c:27:19: note: in expansion of macro 'DT_REG_SIZE'
27 | DT_REG_SIZE(DT_CHOSEN(zephyr_ipc_shm)),
| ^~~~~~~~~~~
D:/zephyr_pro/zephyrproject/zephyr/include/devicetree.h:1544:25: note: in expansion of macro 'DT_CAT'
1544 | #define DT_CHOSEN(prop) DT_CAT(DT_CHOSEN_, prop)
| ^~~~~~
D:/zephyr_pro/zephyrproject/zephyr/soc/arm64/nxp_s32/s32r/mmu_regions.c:27:31: note: in expansion of macro 'DT_CHOSEN'
27 | DT_REG_SIZE(DT_CHOSEN(zephyr_ipc_shm)),
| ^~~~~~~~~
[114/214] Building C object zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_handlers.c.obj
ninja: build stopped: subcommand failed.
FATAL ERROR: command exited with status 1: 'C:\Program Files\CMake\bin\cmake.EXE' --build 'D:\zephyr_pro\zephyrproject\zephyr\build'
"Got ERRORS when compiling demo. Abort !"

Tags (1)
0 Kudos
10 Replies

1,110 Views
sinetech
Contributor II

The application works fine in S32R41\S32DS\S32R41_TEF82_APP_A53 ,but the other doesn't in NXP\SWS32R41_Radar_SDK_0_9_0\Apps\RSDK_offline_example\project

0 Kudos

1,138 Views
sinetech
Contributor II
how to compile the offline example in SWS32R41_Radar_SDK_0_9_0 APP without BBE lisence?
0 Kudos

1,104 Views
Mehul_Patel_NXP
NXP Employee
NXP Employee

Hi, @sinetech ,
Please can you try installing the latest release of SDK for S32R41.

The RSDK 090 for R41 is quite an old release (Nov 2022) done with Zephyr OS supporting the device drivers on the A53 core.


Then we have change in the design and we moved all drivers to the M7 core, made them AUTOSAR compatible, on top of the NXP RTOS. The Latest release was 0.8.3 Code Drop in July 2023.

Please can you try installing the latest SDK package.

And let us know the update the issue.

Thank you. Kind regards.


- Mehul Patel

0 Kudos

1,049 Views
sinetech
Contributor II

Hi,Mehul Patel

Are older versions of zephyr no longer supported? Since I don't have a Lauterbach emulator, I can't use the new sdk released  0.8.3 Code Drop in July 2023 .

0 Kudos

1,075 Views
sinetech
Contributor II

how to modify driver in this demo? For example,I need "uart_printf"  and tftp_client. Do you have any documentation ,thanks!

0 Kudos

1,091 Views
sinetech
Contributor II

Hi, Mehul Patel

I installed the RSDK SWS32R41_Radar_SDK_0_8_3_CD according to what you said, but I had some problems。File not found in /RSDK_offline_example_S32R41/src/os/

0 Kudos

1,089 Views
sinetech
Contributor II
In Design Studio tip:
File not found: /RSDK_offline_example_S32R41/src/os/Os_task.c.

The os folder is also not found in /RSDK_offline_example_S32R41/src/ directory
0 Kudos

1,079 Views
sinetech
Contributor II

The demo program compiles fine,thanks!

0 Kudos

1,011 Views
Mehul_Patel_NXP
NXP Employee
NXP Employee

Hi, @sinetech , 

 

Great, that you were able to resolve the issue.

 

Kindly let us know what was the issue, that caused error. That may help to improve the tools. 

 

Thank you. Best regards, 

 

-Mehul Patel 

0 Kudos

1,154 Views
sinetech
Contributor II

error: 'DT_CHOSEN_zephyr_ipc_shm_REG_IDX_0_VAL_ADDRESS' undeclared 

The problem is exactly where this error occurred?

0 Kudos