OpenBCI_WIFI
OpenBCI_WIFI copied to clipboard
How to build with PlatformIO
Is it possible to build this with the PlatformIO tool? If yes, where can we find detailed instructions? The command line tool pio is very convenient to use in a SSH terminal. If it is possible but only the instructions doc is missing, I can help to draft one if someone can share the essential steps.
I can build Cython firmware smoothly with PIO since "openbci" board is available for Platform microchippic32 already. So it is easier to try. However, for this device, which PlatformIO "board" should be used? I can build the firmware.bin by specifying board as "esp12e" with some warnings, but not sure where this is right?
I generally use make
to build this project which is a command line tool :) and I avoid arduino IDE unless I need a stack trace debug.
Instructions for using the command line tools are found here.
All that being said, if you can get this to work on platformio, please consider a pull request to update this repository with detailed build instructions!
I've been able to build the project with PlatformIO. However, I utilized a hack, linking one of the examples into src
directory, as that is the only place PlatformIO can use for sources. It probably breaks normal build procedure.
I think I could add a custom script to PlatformIO setup to create such a link only during the build process, if someone is interested.
https://github.com/krcz/OpenBCI_WIFI/commit/1b1ec8ec11cf97c4dc80ab81dd0708ea88228110