Closed danny1209 closed 6 months ago
after adding this into prj.conf it can be successfully built.
CONFIG_MCUMGR_TRANSPORT_UART=y CONFIG_CRC=y
but after flash the dfu_application.zip to thingy53, nothing happens, according to the function the LED should blink.
@nmaroof
sorry, it´s working. my configuration was wrong.
[266/277] Building C object zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_nrfx_uarte.c.obj [267/277] Linking C static library zephyr\drivers\serial\libdrivers__serial.a [268/277] Building C object modules/mbedtls/CMakeFiles/mbedTLSBase.dir/C_/nordic/myapps/my-workspace/modules/crypto/mbedtls/library/bignum.c.obj [269/277] Linking C static library modules\mbedtls\libmbedTLSBase.a [270/277] Linking C static library modules\mbedtls\libmodules__mbedtls.a [271/277] Linking C executable zephyr\zephyr_pre0.elf FAILED: zephyr/zephyr_pre0.elf zephyr/zephyr_pre0.map C:/nordic/myapps/ncs-inter/lesson8/inter_less8_exer3_solution/build/mcuboot/zephyr/zephyr_pre0.map cmd.exe /C "cd . && C:\ncs\toolchains\cf2149caf2\opt\zephyr-sdk\arm-zephyr-eabi\bin\arm-zephyr-eabi-gcc.exe -gdwarf-4 zephyr/CMakeFiles/zephyr_pre0.dir/misc/empty_file.c.obj -o zephyr\zephyr_pre0.elf zephyr/CMakeFiles/offsets.dir/./arch/arm/core/offsets/offsets.c.obj -fuse-ld=bfd -T zephyr/linker_zephyr_pre0.cmd -Wl,-Map=C:/nordic/myapps/ncs-inter/lesson8/inter_less8_exer3_solution/build/mcuboot/zephyr/zephyr_pre0.map -Wl,--whole-archive app/libapp.a zephyr/libzephyr.a zephyr/arch/common/libarch__common.a zephyr/arch/arch/arm/core/libarch__arm__core.a zephyr/arch/arch/arm/core/cortex_m/libarch__arm__core__cortex_m.a zephyr/arch/arch/arm/core/cortex_m/cmse/libarch__arm__core__cortex_m__cmse.a zephyr/lib/libc/minimal/liblib__libc__minimal.a zephyr/lib/libc/common/liblib__libc__common.a zephyr/soc/soc/arm/nordic_nrf/libsoc__arm__nordic_nrf.a zephyr/drivers/clock_control/libdrivers__clock_control.a zephyr/drivers/console/libdrivers__console.a zephyr/drivers/flash/libdrivers__flash.a zephyr/drivers/gpio/libdrivers__gpio.a zephyr/drivers/pinctrl/libdrivers__pinctrl.a zephyr/drivers/serial/libdrivers__serial.a zephyr/drivers/timer/libdrivers__timer.a modules/nrf/lib/fprotect/lib..__nrf__lib__fprotect.a modules/nrf/lib/fatal_error/lib..__nrf__lib__fatal_error.a modules/nrf/subsys/pcd/lib..__nrf__subsys__pcd.a modules/nrf/modules/mcuboot/hooks/lib..__nrf__modules__mcuboot__hooks.a modules/nrf/drivers/hw_cc3xx/lib..__nrf__drivers__hw_cc3xx.a modules/mcuboot/boot/bootutil/zephyr/libmcuboot_util.a modules/mbedtls/libmbedTLSBase.a modules/mbedtls/libmbedTLSCrypto.a modules/mbedtls/libmbedTLSX509.a modules/mbedtls/libmodules__mbedtls.a modules/hal_nordic/nrfx/libmodules__hal_nordic__nrfx.a -Wl,--no-whole-archive zephyr/kernel/libkernel.a -L"c:/ncs/toolchains/cf2149caf2/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/thumb/v8-m.main/nofp" -LC:/nordic/myapps/ncs-inter/lesson8/inter_less8_exer3_solution/build/mcuboot/zephyr -lgcc zephyr/arch/common/libisr_tables.a modules/mbedtls/libmbedTLSBase.a modules/mbedtls/libmbedTLSCrypto.a modules/mbedtls/libmbedTLSX509.a -mcpu=cortex-m33 -mthumb -mabi=aapcs -mfp16-format=ieee -Wl,--gc-sections -Wl,--build-id=none -Wl,--sort-common=descending -Wl,--sort-section=alignment -Wl,-u,_OffsetAbsSyms -Wl,-u,_ConfigAbsSyms -nostdlib -static -Wl,-X -Wl,-N -Wl,--orphan-handling=warn -Wl,-no-pie C:/nordic/myapps/my-workspace/nrfxlib/crypto/nrf_cc312_platform/lib/cortex-m33/soft-float/no-interrupts/libnrf_cc312_platform_0.9.19.a && cmd.exe /C "cd /D C:\nordic\myapps\ncs-inter\lesson8\inter_less8_exer3_solution\build\mcuboot\zephyr && C:\ncs\toolchains\cf2149caf2\opt\bin\cmake.exe -E true"" c:/ncs/toolchains/cf2149caf2/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: zephyr\zephyr_pre0.elf section
bss' will not fit in regionRAM' c:/ncs/toolchains/cf2149caf2/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: region
RAM' overflowed by 250224 bytes collect2.exe: error: ld returned 1 exit status ninja: build stopped: subcommand failed. [26/378] Generating ../../zephyr/net_core_app_update.bin image.py: sign the payload[27/378] Generating ../../zephyr/net_core_app_signed.hex image.py: sign the payload
[28/378] Generating ../../zephyr/net_core_app_test_update.hex image.py: sign the payload
[29/378] Generating ../../zephyr/net_core_app_moved_test_update.hex FAILED: modules/mcuboot/mcuboot_subimage-prefix/src/mcuboot_subimage-stamp/mcuboot_subimage-build mcuboot/zephyr/zephyr.hex mcuboot/zephyr/zephyr.elf C:/nordic/myapps/ncs-inter/lesson8/inter_less8_exer3_solution/build/modules/mcuboot/mcuboot_subimage-prefix/src/mcuboot_subimage-stamp/mcuboot_subimage-build C:/nordic/myapps/ncs-inter/lesson8/inter_less8_exer3_solution/build/mcuboot/zephyr/zephyr.hex C:/nordic/myapps/ncs-inter/lesson8/inter_less8_exer3_solution/build/mcuboot/zephyr/zephyr.elf cmd.exe /C "cd /D C:\nordic\myapps\ncs-inter\lesson8\inter_less8_exer3_solution\build\mcuboot && C:\ncs\toolchains\cf2149caf2\opt\bin\cmake.exe --build . --" ninja: build stopped: subcommand failed. FATAL ERROR: command exited with status 1: 'C:\ncs\toolchains\cf2149caf2\opt\bin\cmake.EXE' --build 'c:\nordic\myapps\ncs-inter\lesson8\inter_less8_exer3_solution\build'