Skip to content

Instantly share code, notes, and snippets.

@neuberfran
Created December 19, 2023 22:06
Show Gist options
  • Save neuberfran/7fea2adcc911556b3c5ae70c16668f30 to your computer and use it in GitHub Desktop.
Save neuberfran/7fea2adcc911556b3c5ae70c16668f30 to your computer and use it in GitHub Desktop.
west build -b pico_pi_m4 remote_echo/
ERROR: Build directory "/home/neuberfran/diegosueiro7/rpmsg-lite-zephyr-support/zephyr/samples/subsys/ipc/zephyr/build" is for application "/home/neuberfran/diegosueiro7/rpmsg-lite-zephyr-support/zephyr/samples/subsys/ipc/zephyr/samples/drivers/ipm/ipm_imx", but source directory "/home/neuberfran/diegosueiro7/rpmsg-lite-zephyr-support/zephyr/samples/subsys/ipc/zephyr/remote_echo" was specified; please clean it, use --pristine, or use --build-dir to set another build directory
FATAL ERROR: refusing to proceed without --force due to above error
neuberfran@neuberfran2004:~/diegosueiro7/rpmsg-lite-zephyr-support/zephyr/samples/subsys/ipc/zephyr$ west build -p auto -b pico_pi_m4 remote_echo
-- west build: making build dir /home/neuberfran/diegosueiro7/rpmsg-lite-zephyr-support/zephyr/samples/subsys/ipc/zephyr/build pristine
-- west build: generating a build system
CMake Warning at /home/neuberfran/diegosueiro7/rpmsg-lite-zephyr-support/zephyr/samples/subsys/ipc/zephyr/zephyr/cmake/app/boilerplate.cmake:20 (message):
Loading of Zephyr boilerplate.cmake directly is deprecated, please use
'find_package(Zephyr)'
Call Stack (most recent call first):
CMakeLists.txt:4 (include)
Loading Zephyr default modules (Zephyr base).
-- Application: /home/neuberfran/diegosueiro7/rpmsg-lite-zephyr-support/zephyr/samples/subsys/ipc/zephyr/remote_echo
-- CMake version: 3.24.1
-- Found Python3: /usr/bin/python3 (found suitable version "3.8.10", minimum required is "3.8") found components: Interpreter
-- Cache files will be written to: /home/neuberfran/.cache/zephyr
-- Zephyr version: 3.5.99 (/home/neuberfran/diegosueiro7/rpmsg-lite-zephyr-support/zephyr/samples/subsys/ipc/zephyr/zephyr)
-- Found west (found suitable version "1.0.0", minimum required is "0.14.0")
-- Board: pico_pi_m4
-- ZEPHYR_TOOLCHAIN_VARIANT not set, trying to locate Zephyr SDK
-- Found host-tools: zephyr 0.16.0 (/home/neuberfran/zephyr-sdk-0.16.0)
-- Found toolchain: zephyr 0.16.0 (/home/neuberfran/zephyr-sdk-0.16.0)
-- Found Dtc: /home/neuberfran/zephyr-sdk-0.16.0/sysroots/x86_64-pokysdk-linux/usr/bin/dtc (found suitable version "1.6.0", minimum required is "1.4.6")
-- Found BOARD.dts: /home/neuberfran/diegosueiro7/rpmsg-lite-zephyr-support/zephyr/samples/subsys/ipc/zephyr/zephyr/boards/arm/pico_pi_m4/pico_pi_m4.dts
-- Generated zephyr.dts: /home/neuberfran/diegosueiro7/rpmsg-lite-zephyr-support/zephyr/samples/subsys/ipc/zephyr/build/zephyr/zephyr.dts
-- Generated devicetree_generated.h: /home/neuberfran/diegosueiro7/rpmsg-lite-zephyr-support/zephyr/samples/subsys/ipc/zephyr/build/zephyr/include/generated/devicetree_generated.h
-- Including generated dts.cmake file: /home/neuberfran/diegosueiro7/rpmsg-lite-zephyr-support/zephyr/samples/subsys/ipc/zephyr/build/zephyr/dts.cmake
Parsing /home/neuberfran/diegosueiro7/rpmsg-lite-zephyr-support/zephyr/samples/subsys/ipc/zephyr/remote_echo/Kconfig
Loaded configuration '/home/neuberfran/diegosueiro7/rpmsg-lite-zephyr-support/zephyr/samples/subsys/ipc/zephyr/zephyr/boards/arm/pico_pi_m4/pico_pi_m4_defconfig'
Merged configuration '/home/neuberfran/diegosueiro7/rpmsg-lite-zephyr-support/zephyr/samples/subsys/ipc/zephyr/remote_echo/prj.conf'
Configuration saved to '/home/neuberfran/diegosueiro7/rpmsg-lite-zephyr-support/zephyr/samples/subsys/ipc/zephyr/build/zephyr/.config'
Kconfig header saved to '/home/neuberfran/diegosueiro7/rpmsg-lite-zephyr-support/zephyr/samples/subsys/ipc/zephyr/build/zephyr/include/generated/autoconf.h'
warning: IPM_IMX (defined at soc/arm/nxp_imx/mimx8ml8_m7/Kconfig.defconfig.mimx8ml8_m7:19,
soc/arm/nxp_imx/mimx8mm6_m4/Kconfig.defconfig.mimx8mm6_m4:16, drivers/ipm/Kconfig.imx:11) was
assigned the value 'y' but got the value 'n'. Check these unsatisfied dependencies: ((IPM &&
SOC_MIMX8ML8 && SOC_SERIES_IMX8ML_M7) || (IPM && SOC_MIMX8MM6 && SOC_SERIES_IMX8MM_M4) ||
(DT_HAS_NXP_IMX_MU_ENABLED && IPM)) (=n). See
http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_IPM_IMX and/or look up IPM_IMX 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.
-- Found GnuLd: /home/neuberfran/zephyr-sdk-0.16.0/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd (found version "2.38")
-- The C compiler identification is GNU 12.2.0
-- The CXX compiler identification is GNU 12.2.0
-- The ASM compiler identification is GNU
-- Found assembler: /home/neuberfran/zephyr-sdk-0.16.0/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc
CMake Warning at /home/neuberfran/diegosueiro7/rpmsg-lite-zephyr-support/zephyr/samples/subsys/ipc/zephyr/zephyr/CMakeLists.txt:853 (message):
No SOURCES given to Zephyr library: drivers__clock_control
Excluding target from build.
CMake Warning at /home/neuberfran/diegosueiro7/rpmsg-lite-zephyr-support/zephyr/samples/subsys/ipc/zephyr/zephyr/CMakeLists.txt:853 (message):
No SOURCES given to Zephyr library: drivers__ipm
Excluding target from build.
-- Configuring done
-- Generating done
-- Build files have been written to: /home/neuberfran/diegosueiro7/rpmsg-lite-zephyr-support/zephyr/samples/subsys/ipc/zephyr/build
-- west build: building application
[1/119] Preparing syscall dependency handling
[3/119] Generating include/generated/version.h
-- Zephyr version: 3.5.99 (/home/neuberfran/diegosueiro7/rpmsg-lite-zephyr-support/zephyr/samples/subsys/ipc/zephyr/zephyr), build: zephyr-v3.5.0-3323-g60a9f33f37ae
[13/119] Building C object CMakeFiles/app.dir/src/main_remote_echo.c.obj
/home/neuberfran/diegosueiro7/rpmsg-lite-zephyr-support/zephyr/samples/subsys/ipc/zephyr/remote_echo/src/main_remote_echo.c:126:6: warning: return type of 'main' is not 'int' [-Wmain]
126 | void main(void)
| ^~~~
[16/119] Building C object CMakeFiles/app.dir/home/neuberfran/diegosueiro7/rpmsg-lite-zephyr-support/lib/rpmsg_lite/porting/platform/imx7d_m4/rpmsg_platform_zephyr_ipm.c.obj
/home/neuberfran/diegosueiro7/rpmsg-lite-zephyr-support/lib/rpmsg_lite/porting/platform/imx7d_m4/rpmsg_platform_zephyr_ipm.c: In function 'platform_init':
/home/neuberfran/diegosueiro7/rpmsg-lite-zephyr-support/lib/rpmsg_lite/porting/platform/imx7d_m4/rpmsg_platform_zephyr_ipm.c:249:16: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
249 | ipm_handle = device_get_binding("MU_B");
| ^
/home/neuberfran/diegosueiro7/rpmsg-lite-zephyr-support/lib/rpmsg_lite/porting/platform/imx7d_m4/rpmsg_platform_zephyr_ipm.c:256:39: warning: passing argument 2 of 'ipm_register_callback' from incompatible pointer type [-Wincompatible-pointer-types]
256 | ipm_register_callback(ipm_handle, platform_ipm_callback, NULL);
| ^~~~~~~~~~~~~~~~~~~~~
| |
| void (*)(void *, uint32_t, volatile void *) {aka void (*)(void *, unsigned int, volatile void *)}
In file included from /home/neuberfran/diegosueiro7/rpmsg-lite-zephyr-support/lib/rpmsg_lite/porting/platform/imx7d_m4/rpmsg_platform_zephyr_ipm.c:42:
/home/neuberfran/diegosueiro7/rpmsg-lite-zephyr-support/zephyr/samples/subsys/ipc/zephyr/zephyr/include/zephyr/drivers/ipm.h:166:57: note: expected 'ipm_callback_t' {aka 'void (*)(const struct device *, void *, unsigned int, volatile void *)'} but argument is of type 'void (*)(void *, uint32_t, volatile void *)' {aka 'void (*)(void *, unsigned int, volatile void *)'}
166 | ipm_callback_t cb, void *user_data)
| ~~~~~~~~~~~~~~~^~
[17/119] Building C object CMakeFiles/app.dir/home/neuberfran/diegosueiro7/rpmsg-lite-zephyr-support/lib/rpmsg_lite/rpmsg_lite.c.obj
/home/neuberfran/diegosueiro7/rpmsg-lite-zephyr-support/lib/rpmsg_lite/rpmsg_lite.c: In function 'rpmsg_lite_rx_callback':
/home/neuberfran/diegosueiro7/rpmsg-lite-zephyr-support/lib/rpmsg_lite/rpmsg_lite.c:146:49: warning: taking address of packed member of 'struct rpmsg_std_hdr' may result in an unaligned pointer value [-Waddress-of-packed-member]
146 | rsvd = (struct rpmsg_hdr_reserved *)&rpmsg_msg->hdr.reserved;
| ^~~~~~~~~~~~~~~~~~~~~~~~
/home/neuberfran/diegosueiro7/rpmsg-lite-zephyr-support/lib/rpmsg_lite/rpmsg_lite.c: In function 'rpmsg_lite_alloc_tx_buffer':
/home/neuberfran/diegosueiro7/rpmsg-lite-zephyr-support/lib/rpmsg_lite/rpmsg_lite.c:685:45: warning: taking address of packed member of 'struct rpmsg_std_hdr' may result in an unaligned pointer value [-Waddress-of-packed-member]
685 | reserved = (struct rpmsg_hdr_reserved *)&rpmsg_msg->hdr.reserved;
| ^~~~~~~~~~~~~~~~~~~~~~~~
/home/neuberfran/diegosueiro7/rpmsg-lite-zephyr-support/lib/rpmsg_lite/rpmsg_lite.c: In function 'rpmsg_lite_send_nocopy':
/home/neuberfran/diegosueiro7/rpmsg-lite-zephyr-support/lib/rpmsg_lite/rpmsg_lite.c:729:45: warning: taking address of packed member of 'struct rpmsg_std_hdr' may result in an unaligned pointer value [-Waddress-of-packed-member]
729 | reserved = (struct rpmsg_hdr_reserved *)&rpmsg_msg->hdr.reserved;
| ^~~~~~~~~~~~~~~~~~~~~~~~
/home/neuberfran/diegosueiro7/rpmsg-lite-zephyr-support/lib/rpmsg_lite/rpmsg_lite.c: In function 'rpmsg_lite_release_rx_buffer':
/home/neuberfran/diegosueiro7/rpmsg-lite-zephyr-support/lib/rpmsg_lite/rpmsg_lite.c:770:45: warning: taking address of packed member of 'struct rpmsg_std_hdr' may result in an unaligned pointer value [-Waddress-of-packed-member]
770 | reserved = (struct rpmsg_hdr_reserved *)&rpmsg_msg->hdr.reserved;
| ^~~~~~~~~~~~~~~~~~~~~~~~
[118/119] Linking C executable zephyr/zephyr.elf
Memory region Used Size Region Size %age Used
FLASH: 22664 B 32 KB 69.17%
RAM: 21496 B 32 KB 65.60%
IDT_LIST: 0 GB 2 KB 0.00%
Generating files from /home/neuberfran/diegosueiro7/rpmsg-lite-zephyr-support/zephyr/samples/subsys/ipc/zephyr/build/zephyr/zephyr.elf for board: pico_pi_m4
[119/119] cd /home/neuberfran/diegosueiro7/rpmsg-lite-zephyr-support/zephyr/samples/subsys/ipc/zephy...fran/diegosueiro7/rpmsg-lite-zephyr-support/zephyr/samples/subsys/ipc/zephyr/build/zephyr/zephyr.elf
neuberfran@neuberfran2004:~/diegosueiro7/rpmsg-lite-zephyr-support/zephyr/samples/subsys/ipc/zephyr$ cd zephyr/
neuberfran@neuberfran2004:~/diegosueiro7/rpmsg-lite-zephyr-support/zephyr/samples/subsys/ipc/zephyr/zephyr$ cd ..
neuberfran@neuberfran2004:~/diegosueiro7/rpmsg-lite-zephyr-support/zephyr/samples/subsys/ipc/zephyr$ cd build/zephyr/
neuberfran@neuberfran2004:~/diegosueiro7/rpmsg-lite-zephyr-support/zephyr/samples/subsys/ipc/zephyr/build/zephyr$ xdg-open .
neuberfran@neuberfran2004:~/diegosueiro7/rpmsg-lite-zephyr-support/zephyr/samples/subsys/ipc/zephyr/build/zephyr$ west build -p auto -b pico_pi_m4 samples/drivers/ipm/ipm_imx
ERROR: source directory samples/drivers/ipm/ipm_imx does not exist
FATAL ERROR: refusing to proceed without --force due to above error
neuberfran@neuberfran2004:~/diegosueiro7/rpmsg-lite-zephyr-support/zephyr/samples/subsys/ipc/zephyr/build/zephyr$ cd ..
neuberfran@neuberfran2004:~/diegosueiro7/rpmsg-lite-zephyr-support/zephyr/samples/subsys/ipc/zephyr/build$ cd ..
neuberfran@neuberfran2004:~/diegosueiro7/rpmsg-lite-zephyr-support/zephyr/samples/subsys/ipc/zephyr$ west build -p auto -b pico_pi_m4 samples/drivers/ipm/ipm_imx
-- west build: making build dir /home/neuberfran/diegosueiro7/rpmsg-lite-zephyr-support/zephyr/samples/subsys/ipc/zephyr/build pristine
-- west build: generating a build system
Loading Zephyr default modules (Zephyr base).
-- Application: /home/neuberfran/diegosueiro7/rpmsg-lite-zephyr-support/zephyr/samples/subsys/ipc/zephyr/samples/drivers/ipm/ipm_imx
-- CMake version: 3.24.1
-- Found Python3: /usr/bin/python3 (found suitable version "3.8.10", minimum required is "3.8") found components: Interpreter
-- Cache files will be written to: /home/neuberfran/.cache/zephyr
-- Zephyr version: 3.5.99 (/home/neuberfran/diegosueiro7/rpmsg-lite-zephyr-support/zephyr/samples/subsys/ipc/zephyr/zephyr)
-- Found west (found suitable version "1.0.0", minimum required is "0.14.0")
-- Board: pico_pi_m4
-- ZEPHYR_TOOLCHAIN_VARIANT not set, trying to locate Zephyr SDK
-- Found host-tools: zephyr 0.16.0 (/home/neuberfran/zephyr-sdk-0.16.0)
-- Found toolchain: zephyr 0.16.0 (/home/neuberfran/zephyr-sdk-0.16.0)
-- Found Dtc: /home/neuberfran/zephyr-sdk-0.16.0/sysroots/x86_64-pokysdk-linux/usr/bin/dtc (found suitable version "1.6.0", minimum required is "1.4.6")
-- Found BOARD.dts: /home/neuberfran/diegosueiro7/rpmsg-lite-zephyr-support/zephyr/samples/subsys/ipc/zephyr/zephyr/boards/arm/pico_pi_m4/pico_pi_m4.dts
-- Generated zephyr.dts: /home/neuberfran/diegosueiro7/rpmsg-lite-zephyr-support/zephyr/samples/subsys/ipc/zephyr/build/zephyr/zephyr.dts
-- Generated devicetree_generated.h: /home/neuberfran/diegosueiro7/rpmsg-lite-zephyr-support/zephyr/samples/subsys/ipc/zephyr/build/zephyr/include/generated/devicetree_generated.h
-- Including generated dts.cmake file: /home/neuberfran/diegosueiro7/rpmsg-lite-zephyr-support/zephyr/samples/subsys/ipc/zephyr/build/zephyr/dts.cmake
Parsing /home/neuberfran/diegosueiro7/rpmsg-lite-zephyr-support/zephyr/samples/subsys/ipc/zephyr/zephyr/Kconfig
Loaded configuration '/home/neuberfran/diegosueiro7/rpmsg-lite-zephyr-support/zephyr/samples/subsys/ipc/zephyr/zephyr/boards/arm/pico_pi_m4/pico_pi_m4_defconfig'
Merged configuration '/home/neuberfran/diegosueiro7/rpmsg-lite-zephyr-support/zephyr/samples/subsys/ipc/zephyr/samples/drivers/ipm/ipm_imx/prj.conf'
Configuration saved to '/home/neuberfran/diegosueiro7/rpmsg-lite-zephyr-support/zephyr/samples/subsys/ipc/zephyr/build/zephyr/.config'
Kconfig header saved to '/home/neuberfran/diegosueiro7/rpmsg-lite-zephyr-support/zephyr/samples/subsys/ipc/zephyr/build/zephyr/include/generated/autoconf.h'
warning: The choice symbol IPM_IMX_MAX_DATA_SIZE_4 (defined at drivers/ipm/Kconfig.imx:26) was
selected (set =y), but no symbol ended up as the choice selection. See
http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_IPM_IMX_MAX_DATA_SIZE_4 and/or look up
IPM_IMX_MAX_DATA_SIZE_4 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.
-- Found GnuLd: /home/neuberfran/zephyr-sdk-0.16.0/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd (found version "2.38")
-- The C compiler identification is GNU 12.2.0
-- The CXX compiler identification is GNU 12.2.0
-- The ASM compiler identification is GNU
-- Found assembler: /home/neuberfran/zephyr-sdk-0.16.0/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc
CMake Warning at /home/neuberfran/diegosueiro7/rpmsg-lite-zephyr-support/zephyr/samples/subsys/ipc/zephyr/zephyr/CMakeLists.txt:853 (message):
No SOURCES given to Zephyr library: drivers__clock_control
Excluding target from build.
CMake Warning at /home/neuberfran/diegosueiro7/rpmsg-lite-zephyr-support/zephyr/samples/subsys/ipc/zephyr/zephyr/CMakeLists.txt:853 (message):
No SOURCES given to Zephyr library: drivers__ipm
Excluding target from build.
-- Configuring done
-- Generating done
-- Build files have been written to: /home/neuberfran/diegosueiro7/rpmsg-lite-zephyr-support/zephyr/samples/subsys/ipc/zephyr/build
-- west build: building application
[1/112] Preparing syscall dependency handling
[3/112] Generating include/generated/version.h
-- Zephyr version: 3.5.99 (/home/neuberfran/diegosueiro7/rpmsg-lite-zephyr-support/zephyr/samples/subsys/ipc/zephyr/zephyr), build: zephyr-v3.5.0-3323-g60a9f33f37ae
[17/112] Building C object CMakeFiles/app.dir/src/main.c.obj
FAILED: CMakeFiles/app.dir/src/main.c.obj
/home/neuberfran/zephyr-sdk-0.16.0/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc -DKERNEL -DPICOLIBC_LONG_LONG_PRINTF_SCANF -D_FORTIFY_SOURCE=1 -D_POSIX_C_SOURCE=200809 -D__LINUX_ERRNO_EXTENSIONS__ -D__PROGRAM_START -D__ZEPHYR__=1 -I/home/neuberfran/diegosueiro7/rpmsg-lite-zephyr-support/zephyr/samples/subsys/ipc/zephyr/zephyr/drivers -I/home/neuberfran/diegosueiro7/rpmsg-lite-zephyr-support/zephyr/samples/subsys/ipc/zephyr/zephyr/include -I/home/neuberfran/diegosueiro7/rpmsg-lite-zephyr-support/zephyr/samples/subsys/ipc/zephyr/build/zephyr/include/generated -I/home/neuberfran/diegosueiro7/rpmsg-lite-zephyr-support/zephyr/samples/subsys/ipc/zephyr/zephyr/soc/arm/nxp_imx/mcimx7_m4 -I/home/neuberfran/diegosueiro7/rpmsg-lite-zephyr-support/zephyr/samples/subsys/ipc/zephyr/modules/hal/cmsis/CMSIS/Core/Include -I/home/neuberfran/diegosueiro7/rpmsg-lite-zephyr-support/zephyr/samples/subsys/ipc/zephyr/zephyr/modules/cmsis/. -I/home/neuberfran/diegosueiro7/rpmsg-lite-zephyr-support/zephyr/samples/subsys/ipc/zephyr/modules/hal/nxp/imx/drivers/. -I/home/neuberfran/diegosueiro7/rpmsg-lite-zephyr-support/zephyr/samples/subsys/ipc/zephyr/modules/hal/nxp/imx/devices/. -I/home/neuberfran/diegosueiro7/rpmsg-lite-zephyr-support/zephyr/samples/subsys/ipc/zephyr/modules/hal/nxp/imx/devices/MCIMX7D/. -I/home/neuberfran/diegosueiro7/rpmsg-lite-zephyr-support/zephyr/samples/subsys/ipc/zephyr/zephyr/modules/hal_nxp/. -isystem /home/neuberfran/diegosueiro7/rpmsg-lite-zephyr-support/zephyr/samples/subsys/ipc/zephyr/zephyr/lib/libc/common/include -fno-strict-aliasing -Os -imacros /home/neuberfran/diegosueiro7/rpmsg-lite-zephyr-support/zephyr/samples/subsys/ipc/zephyr/build/zephyr/include/generated/autoconf.h -fno-printf-return-value -fno-common -g -gdwarf-4 -fdiagnostics-color=always -mcpu=cortex-m4 -mthumb -mabi=aapcs -mfp16-format=ieee -mtp=soft --sysroot=/home/neuberfran/zephyr-sdk-0.16.0/arm-zephyr-eabi/arm-zephyr-eabi -imacros /home/neuberfran/diegosueiro7/rpmsg-lite-zephyr-support/zephyr/samples/subsys/ipc/zephyr/zephyr/include/zephyr/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wno-pointer-sign -Wpointer-arith -Wexpansion-to-defined -Wno-unused-but-set-variable -Werror=implicit-int -fno-pic -fno-pie -fno-asynchronous-unwind-tables -ftls-model=local-exec -fno-reorder-functions --param=min-pagesize=0 -fno-defer-pop -fmacro-prefix-map=/home/neuberfran/diegosueiro7/rpmsg-lite-zephyr-support/zephyr/samples/subsys/ipc/zephyr/samples/drivers/ipm/ipm_imx=CMAKE_SOURCE_DIR -fmacro-prefix-map=/home/neuberfran/diegosueiro7/rpmsg-lite-zephyr-support/zephyr/samples/subsys/ipc/zephyr/zephyr=ZEPHYR_BASE -fmacro-prefix-map=/home/neuberfran/diegosueiro7/rpmsg-lite-zephyr-support/zephyr/samples/subsys/ipc/zephyr=WEST_TOPDIR -ffunction-sections -fdata-sections --specs=picolibc.specs -std=c99 -MD -MT CMakeFiles/app.dir/src/main.c.obj -MF CMakeFiles/app.dir/src/main.c.obj.d -o CMakeFiles/app.dir/src/main.c.obj -c /home/neuberfran/diegosueiro7/rpmsg-lite-zephyr-support/zephyr/samples/subsys/ipc/zephyr/samples/drivers/ipm/ipm_imx/src/main.c
/home/neuberfran/diegosueiro7/rpmsg-lite-zephyr-support/zephyr/samples/subsys/ipc/zephyr/samples/drivers/ipm/ipm_imx/src/main.c: In function 'ipm_callback':
/home/neuberfran/diegosueiro7/rpmsg-lite-zephyr-support/zephyr/samples/subsys/ipc/zephyr/samples/drivers/ipm/ipm_imx/src/main.c:20:26: error: 'CONFIG_IPM_IMX_MAX_DATA_SIZE' undeclared (first use in this function)
20 | for (i = 0; i < (CONFIG_IPM_IMX_MAX_DATA_SIZE / 4); i++) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/neuberfran/diegosueiro7/rpmsg-lite-zephyr-support/zephyr/samples/subsys/ipc/zephyr/samples/drivers/ipm/ipm_imx/src/main.c:20:26: note: each undeclared identifier is reported only once for each function it appears in
In file included from /home/neuberfran/diegosueiro7/rpmsg-lite-zephyr-support/zephyr/samples/subsys/ipc/zephyr/zephyr/includ
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment