12345678910111213141516171819202122232425 |
- var Builder = require('../');
- var builder = new Builder('./', {
- 'main.ino': '#include <stdio.h>\n\nvoid setup()\n{\n\n}\n\n\nvoid loop()\n{\n\n}'
- });
- console.log('Initialize');
- builder.init(function() {
- console.log('Scanning libraries');
- builder.scanLibraries(function() {
- console.log(builder.libs);
- console.log('Generating source files');
- builder.generateSources(function() {
- builder.generateMakefile(function() {
- return;
- builder.compile(function(err, hexPath) {
- console.log(hexPath);
- });
- });
- });
- });
- });
|