I'm evaluating Puck.js for a project that would require modifying existing custom firmware with jswrap. To get started I figured I would start with the basic steps of re-building the libraries.
After following the instructions within /master/README_Building.md and installing BASH under Windows 10 I can successfully build for Espruino, but I am running into problems for cross compilation for Puck.js.
sudo apt-get update
sudo pip install nrfutil
sudo apt-get install -y \
lib32z1 lib32ncurses5
wget https://launchpad.net/gcc-arm-embedded/5.0/5-2016-q3-update/+download/gcc-arm-none-eabi-5_4-2016q3-20160926-linux.tar.bz2
tar xjf gcc-arm-none-eabi-5_4-2016q3-20160926-linux.tar.bz2
sudo mv gcc-arm-none-eabi-5_4-2016q3-20160926 /usr/local
export PATH=/usr/local/gcc-arm-none-eabi-5_4-2016q3/bin:$PATH
cd ~/source/repos/github/espruino/Espruino
make clean && DFU_UPDATE_BUILD=1 BOARD=PUCKJS RELEASE=1 make
ls -l *puckjs*
First I assume line 8 should read since that is the folder that is created from the prior step:
sudo mv gcc-arm-none-eabi-5_4-2016q3 /usr/local
The error I'm encountering during the build process:
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.
I'm evaluating Puck.js for a project that would require modifying existing custom firmware with jswrap. To get started I figured I would start with the basic steps of re-building the libraries.
After following the instructions within /master/README_Building.md and installing BASH under Windows 10 I can successfully build for Espruino, but I am running into problems for cross compilation for Puck.js.
First I assume line 8 should read since that is the folder that is created from the prior step:
sudo mv gcc-arm-none-eabi-5_4-2016q3 /usr/local
The error I'm encountering during the build process:
Any help would be appreciated.
Regards