Am trying to club USB and BLE functionality into one QN908x projects and able to do so in the source , compiler, assembler configuration section. But am not clear how to configure the linker file and startup file.
Linker file : In the case of QN908x USB sample projects Linker scripts get dynamically generated and in the BLE sample project linker script is pointed to QN908XC_connectivity.ld. Added the below section into the QN908XC_connectivity.ld apart from this everything else looks vert similar
GROUP (
"libgcc.a"
"libc.a"
"libm.a"
"libcr_newlib_nohost.a"
)
And then used "startup_qn908xc.c" of USB example as a startup but this build resulted in 43 linker errors like "undefined reference to `__start_NVM_TABLE'".
After this tried "startup_QN908XC.S" of BLE example in the startup and the result was 53 errors , in that 43 errors which was reported earlier is also part in the later.
please guide me on the right way to config the linker script and the startup source file.