Hi all, this is an answer for those who see this when using SDK14 (and maybe even before):
As one tries to use the micro-ecc library when creating DFU applications, on Unix or MacOS, one will see an error when trying to use the build_all.sh script. That's because it contains Windows end of line characters.
I have no idea if this is true of the original library or if this was introduced when packaged by Nordic but the fact and the matter is, you need to remove these characters for the script to work.
solution : sed -i 's/\r//g' build_all.sh