This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision | |||
|
cs:firmware:start [2017/01/22 11:06] Ryan Summers |
cs:firmware:start [2017/01/22 11:06] (current) Ryan Summers |
||
|---|---|---|---|
| Line 6: | Line 6: | ||
| <code bash> | <code bash> | ||
| platformio lib | platformio lib | ||
| - | </code bash> | + | </code> |
| Most projects rely on external libraries to function. Once all libraries are in place and the project is ready for binary creation, it can be compiled using the command | Most projects rely on external libraries to function. Once all libraries are in place and the project is ready for binary creation, it can be compiled using the command | ||
| Line 12: | Line 12: | ||
| <code bash> | <code bash> | ||
| platformio run | platformio run | ||
| - | </code bash> | + | </code> |
| This will only compile the necessary source files into a binary image. To load the image onto the micrcontroller, use the command | This will only compile the necessary source files into a binary image. To load the image onto the micrcontroller, use the command | ||
| <code bash> | <code bash> | ||
| platformio run --target upload | platformio run --target upload | ||
| - | </code bash> | + | </code> |