This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Error: L6915E: Library reports error: __use_no_semihosting was requested, but a semihosting fputc was linked in

I am working on SDK V10.0.0 because I need S310 softdevice. I like SEGGER_RTT I used in SDK V11 and V12.

But I got the Error in the subject line. I had to uncheck use_microlib to get the linker to pass.

I have project V11 and V12 using Segger_RTT with use_microlib checked, no problem. I even found an example in SDK V10, ble_app_hrs_rscs_relay_pca10028 will pass the linker with use_microlib checked.

I compared ble_app_hrs_rscs_relay_pca10028 (SDK V10) and my project, I couldn't find the reason why the example can pass with "use_microlib" checked, but my project can only pass with "use_microlib" unchecked.

It seems to me that I missed some simple setting somewhere.

Thanks

Paul

Related