Hi,
Iam getting this error when i declare the following:
uint8_t tx_buffer[0x2000] _attribute_((section(".spim3_tx_buffer")));
[52/63] Linking C static library zephyr\kernel\libkernel.a [53/63] Linking C executable zephyr\zephyr_pre0.elf FAILED: zephyr/zephyr_pre0.elf zephyr/zephyr_pre0.map cmd.exe /C "cd . && C:\ncs\toolchains\v2.0.2\opt\zephyr-sdk\arm-zephyr-eabi\bin\arm-zephyr-eabi-gcc.exe zephyr/CMakeFiles/zephyr_pre0.dir/misc/empty_file.c.obj -o zephyr\zephyr_pre0.elf -Wl,-T zephyr/linker_zephyr_pre0.cmd -Wl,-Map=D:/VS_CODE/minimal_radar/build/zephyr/zephyr_pre0.map -Wl,--whole-archive app/libapp.a zephyr/libzephyr.a zephyr/arch/common/libarch_common.a zephyr/arch/arch/arm/core/aarch32/libarcharmcoreaarch32.a zephyr/arch/arch/arm/core/aarch32/cortex_m/libarcharmcoreaarch32cortex_m.a zephyr/arch/arch/arm/core/aarch32/mpu/libarcharmcoreaarch32mpu.a zephyr/lib/libc/minimal/libliblibcminimal.a zephyr/lib/posix/liblibposix.a zephyr/soc/arm/common/cortex_m/libsocarmcommoncortex_m.a zephyr/soc/arm/nordic_nrf/nrf52/libsocarmnordic_nrfnrf52.a zephyr/drivers/clock_control/libdriversclock_control.a zephyr/drivers/console/libdriversconsole.a zephyr/drivers/gpio/libdriversgpio.a zephyr/drivers/spi/libdriversspi.a zephyr/drivers/serial/libdriversserial.a zephyr/drivers/timer/libdriverstimer.a zephyr/drivers/pinctrl/libdriverspinctrl.a modules/nrf/lib/fatal_error/lib..nrflibfatal_error.a modules/nrf/drivers/hw_cc310/lib..nrfdrivershw_cc310.a modules/hal_nordic/nrfx/libmoduleshal_nordicnrfx.a modules/segger/libmodules_segger.a -Wl,--no-whole-archive zephyr/kernel/libkernel.a zephyr/CMakeFiles/offsets.dir/./arch/arm/core/offsets/offsets.c.obj -L"c:/ncs/toolchains/v2.0.2/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/10.3.0/thumb/v7e-m+fp/hard" -LD:/VS_CODE/minimal_radar/build/zephyr -lgcc ../lib_xm/libacc_detector_distance.a ../lib_xm/libacconeer.a ../lib_xm/libacc_detector_obstacle.a ../lib_xm/libacc_detector_presence.a ../lib_xm/libacc_module_software.a ../lib_xm/libacc_rf_certification_test_a111.a zephyr/arch/common/libisr_tables.a -no-pie -mcpu=cortex-m4 -mthumb -mabi=aapcs -mfpu=fpv4-sp-d16 -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 C:/ncs/v2.0.2/nrfxlib/crypto/nrf_cc310_platform/lib/cortex-m4/hard-float/no-interrupts/libnrf_cc310_platform_0.9.14.a && cmd.exe /C "cd /D D:\VS_CODE\minimal_radar\build\zephyr && C:\ncs\toolchains\v2.0.2\opt\bin\cmake.exe -E echo "" c:/ncs/toolchains/v2.0.2/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/10.3.0/../../../../arm-zephyr-eabi/bin/ld.exe: warning: orphan section `.spim3_tx_buffer' from `app/libapp.a(acc_hal_integration_single_thread_xm122.c.obj)' being placed in section `.spim3_tx_buffer' c:/ncs/toolchains/v2.0.2/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/10.3.0/../../../../arm-zephyr-eabi/bin/ld.exe: zephyr\zephyr_pre0.elf section `.spim3_tx_buffer' will not fit in region `IDT_LIST' c:/ncs/toolchains/v2.0.2/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/10.3.0/../../../../arm-zephyr-eabi/bin/ld.exe: section .spim3_tx_buffer VMA wraps around address space c:/ncs/toolchains/v2.0.2/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/10.3.0/../../../../arm-zephyr-eabi/bin/ld.exe: region `IDT_LIST' overflowed by 6281 bytes collect2.exe: error: ld returned 1 exit status ninja: build stopped: subcommand failed. FATAL ERROR: command exited with status 1: 'c:\ncs\toolchains\v2.0.2\opt\bin\cmake.EXE' --build 'd:\VS_CODE\minimal_radar\build' * The terminal process terminated with exit code: 1. * Terminal will be reused by tasks, press any key to close it.When using nRF5 SDK i could able to edit the flash_placement.xml as :
<ProgramSection alignment="4" load="No" size="8192" name=".spim3_tx_buffer" />
How do i do the same in VSCode using nRF Connect SDK.??
TIA.