Arm Mbed OS support forum

"No linker script found"

Just a “public service announcement”…if you’re porting a board to mbed (v15.5.5), and you modify to targets.json file to include new folders, and you get the error “No linker script found,” be sure to triple check your spelling on your “extra_labels” field. mbed cli will silently skip over any misspelled names (ie, folders it can’t find), so your error will sound like it’s related to your linker file, but actually, that just happens to be the first thing the export tool looks for, and if you misspell (also, it’s case sensitive, even on Windows!) anything, your problem is just that the exporter isn’t seeing all the folders it’s supposed to