nrf5340 ble full stack in network core

hello there was a problem configuring the project.

i want build uart central, peripheral project with rpc_host.

The uart peripheral project built fine with -DCONFIG_BT_RPC_STACK=y, but the uart central project failed to build even with DCONFIG_BT_RPC_STACK=y added.

Is there something wrong with this? Or is this not supported for all projects yet?

this is build error log.

it looks like flash memory overflow.

[278/291] Linking C static library zephyr\kernel\libkernel.a

[279/291] Linking C executable zephyr\zephyr_pre0.elf

FAILED: zephyr/zephyr_pre0.elf zephyr/zephyr_pre0.map

cmd.exe /C "cd . && C:\Users\jaesun\Desktop\work\NORDIC\toolchains\v2.3.0\opt\zephyr-sdk\arm-zephyr-eabi\bin\arm-zephyr-eabi-gcc.exe  -gdwarf-4 @CMakeFiles\zephyr_pre0.rsp -o zephyr\zephyr_pre0.elf  && cmd.exe /C "cd /D C:\Users\jaesun\Desktop\work\NORDIC\ble_full_stack\central_uart\build\rpc_host\zephyr && C:\Users\jaesun\Desktop\work\NORDIC\toolchains\v2.3.0\opt\bin\cmake.exe -E echo ""

c:/users/jaesun/desktop/work/nordic/toolchains/v2.3.0/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.1.0/../../../../arm-zephyr-eabi/bin/ld.exe: zephyr\zephyr_pre0.elf section `rodata' will not fit in region `FLASH'

c:/users/jaesun/desktop/work/nordic/toolchains/v2.3.0/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.1.0/../../../../arm-zephyr-eabi/bin/ld.exe: region `FLASH' overflowed by 19289 bytes

collect2.exe: error: ld returned 1 exit status

ninja: build stopped: subcommand failed.

[6/286] Generating include/generated/version.h

-- Zephyr version: 3.2.99 (C:/Users/jaesun/Desktop/work/NORDIC/v2.3.0/zephyr), build: v3.2.99-ncs2

[271/286] Linking C executable zephyr\zephyr_pre0.elf

FAILED: modules/nrf/samples/rpc_host_subimage-prefix/src/rpc_host_subimage-stamp/rpc_host_subimage-build rpc_host/zephyr/zephyr.hex rpc_host/zephyr/zephyr.elf rpc_host/zephyr/merged_CPUNET.hex

cmd.exe /C "cd /D C:\Users\jaesun\Desktop\work\NORDIC\ble_full_stack\central_uart\build\rpc_host && C:\Users\jaesun\Desktop\work\NORDIC\toolchains\v2.3.0\opt\bin\cmake.exe --build . --"

[273/286] Generating dev_handles.c

ninja: build stopped: subcommand failed.

FATAL ERROR: command exited with status 1: 'c:\Users\jaesun\Desktop\work\NORDIC\toolchains\v2.3.0\opt\bin\cmake.EXE' --build 'c:\Users\jaesun\Desktop\work\NORDIC\ble_full_stack\central_uart\build'

*  The terminal process terminated with exit code: 1.

*  Terminal will be reused by tasks, press any key to close it.

Parents Reply Children
No Data
Related