OpenBCI / OpenBCI_WIFI

Firmware library that runs on the OpenBCI WiFi Shield
https://shop.openbci.com/collections/frontpage/products/wifi-shield?variant=44534009550
MIT License
34 stars 30 forks source link

linux environment script to help build #55

Closed jnaulty closed 6 years ago

andrewjaykeller commented 6 years ago

Ah that's cool. This seems like magic

jnaulty commented 6 years ago

this helps linux users setup a linux-specific build environment

andrewjaykeller commented 6 years ago

I can't test this for a while sooo you let me know when it's good to merge lol

jnaulty commented 6 years ago

ok. This will make it easier too to switch between different builds. example: if you add a new environment file like: env/your_cool_new_sketch.env and inside this file is export SKETCH=way-cooler-examples/CoolestSketchEver/CoolestSketchEver.ino and run

source env/your_cool_new_sketch.env
make clean
make

It will build the sketch located in: way-cooler-examples/CoolestSketchEver/CoolestSketchEver.ino Same applies to any other variable in the Makefile, e.g. BOARD, HTTP_ADDR, UPLOAD_PORT, etc

andrewjaykeller commented 6 years ago

should i merge this?