You are reading a single comment by @DrAzzy and its replies. Click here to read the full conversation.
  • UPDATE: There is now a new instance

    I've got an Amazon Web Services AMI for building Espruino code, if anyone wants it. If you're familiar with AWS, using this will be a snap. If you've got linux machines at home and aren't familiar with AWS, this is probably more work :-P

    ami-7022c018
    

    From EC2 Control Panel:

    • Instances, click Launch Instance.
    • On left, choose "Community AMIs"
    • Search for ami-7022c018, and one result will show, select it.
    • On next screen, make sure Micro Instances is selected (these are cheapest - and eligible for free tier if you're in your first year of AWS).
    • Skip ahead to step 6: Configure security group. Make sure that port 22 is open for SSH, and nothing else is open.
    • Then launch the instance and select (or create, if you don't have one) the keypair for authentication (Click the help links on the keypair screen for more info - Amazon has a nice explanation of how these work). The instance will start deploying.
    • From EC2 control panel, choose Elastic IPs. Click Allocate New Address. Select that address, and click Associate Address, and select the instance you deployed above.
    • Connect to your instance via PuTTY (or equiv - again, see the keypair help if you don't know how to use the private key for authentication), transfer files using SCP (I use WinSCP). Username is ec2-user (the default for Amazon EC2 instances) and has sudo if you need it.

    Everything is then set up to build Espruino. You do not need to adjust the CCPREFIX or anything - though you may need to tweak the CCFLAGS in the Makefile (see above), plus making any changes you might need.

    Just do something like:

    git clone https://github.com/espruino/Espruino.git
    cd Espruino
    scripts/scripts/create_espruino_image_1v3.sh
    
About

Avatar for DrAzzy @DrAzzy started