I'm afraid it's a compiler issue. I think 4.9 should work, but if not, go ingot the Makefile, search for where -flto is (outside of the ESP8266 stuff) and comment the two lines about link time optimisation. That should fix it..
You don't need all the environment vars any more (did you read that somewhere? it should probably be corrected) - just do:
NRF51822DK=1 RELEASE=1 make
Once running, you can communicate at 9600 baud on the UART and can also connect via BLE and use Nordic's BLE UART app to control it/send code to it (you just need to add a newline to the end of each command :) )
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Hi Colin,
I'm afraid it's a compiler issue. I think 4.9 should work, but if not, go ingot the Makefile, search for where
-flto
is (outside of the ESP8266 stuff) and comment the two lines about link time optimisation. That should fix it..You don't need all the environment vars any more (did you read that somewhere? it should probably be corrected) - just do:
Once running, you can communicate at 9600 baud on the UART and can also connect via BLE and use Nordic's BLE UART app to control it/send code to it (you just need to add a newline to the end of each command :) )
Hope that helps!