I am trying to get use the Zephyr console sample for nrf52840dongle but when I have configured the following in my prj.conf file I get a link error.
CONFIG_SHELL=y CONFIG_USB=y CONFIG_USB_DEVICE_STACK=y CONFIG_USB_DEVICE_PRODUCT="USB console" CONFIG_USB_UART_CONSOLE=y CONFIG_UART_INTERRUPT_DRIVEN=y CONFIG_UART_LINE_CTRL=y CONFIG_UART_CONSOLE=y
When I reload the project in SES and build i get a strange link error
1> Linking ‘zephyr_prebuilt.elf’
1> c:/users/mattias/ncs/v1.6.0-rc2/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld.exe: zephyr/arch/arch/arm/core/aarch32/libarch__arm__core__aarch32.a(prep_c.c.obj): in function `z_arm_prep_c':
1> C:/Users/Mattias/ncs/v1.6.0-rc2/zephyr/arch/arm/core/aarch32/prep_c.c:189: undefined reference to `_vector_start'
1> c:/users/mattias/ncs/v1.6.0-rc2/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld.exe: zephyr/arch/arch/arm/core/aarch32/mpu/libarch__arm__core__aarch32__mpu.a(arm_core_mpu.c.obj):C:/Users/Mattias/ncs/v1.6.0-rc2/zephyr/arch/arm/core/aarch32/mpu/arm_core_mpu.c:63: undefined reference to `_ramfunc_ram_start'
1> c:/users/mattias/ncs/v1.6.0-rc2/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld.exe: zephyr/arch/arch/arm/core/aarch32/mpu/libarch__arm__core__aarch32__mpu.a(arm_core_mpu.c.obj):(.rodata.static_regions+0x4): undefined reference to `_ramfunc_ram_size'
1> c:/users/mattias/ncs/v1.6.0-rc2/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld.exe: zephyr/kernel/libkernel.a(xip.c.obj): in function `z_data_copy':
1> C:/Users/Mattias/ncs/v1.6.0-rc2/zephyr/kernel/xip.c:31: undefined reference to `_ramfunc_ram_size'
1> c:/users/mattias/ncs/v1.6.0-rc2/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld.exe: C:/Users/Mattias/ncs/v1.6.0-rc2/zephyr/kernel/xip.c:31: undefined reference to `_ramfunc_rom_start'
1> c:/users/mattias/ncs/v1.6.0-rc2/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld.exe: C:/Users/Mattias/ncs/v1.6.0-rc2/zephyr/kernel/xip.c:31: undefined reference to `_ramfunc_ram_start'
1> collect2.exe: error: ld returned 1 exit status
Build failed
Any idea what this depends on?