firmata / spark Goto Github PK
View Code? Open in Web Editor NEWfirmata firmware for Spark
License: GNU Lesser General Public License v2.1
firmata firmware for Spark
License: GNU Lesser General Public License v2.1
Hey! So I have really tried. I've gotten to the point of making the code and it's throwing this error:
Building file: ../src/application.cpp
Invoking: ARM GCC CPP Compiler
mkdir -p obj/src/
arm-none-eabi-gcc -g3 -gdwarf-2 -Os -mcpu=cortex-m3 -mthumb -I../inc -I../libraries/Serial2 -I../../core-common-lib/CMSIS/Include -I../../core-common-lib/CMSIS/Device/ST/STM32F10x/Include -I../../core-common-lib/STM32F10x_StdPeriph_Driver/inc -I../../core-common-lib/STM32_USB-FS-Device_Driver/inc -I../../core-common-lib/CC3000_Host_Driver -I../../core-common-lib/SPARK_Firmware_Driver/inc -I../../core-common-lib/SPARK_Services/inc -I../../core-communication-lib/lib/tropicssl/include -I../../core-communication-lib/src -I. -ffunction-sections -Wall -fmessage-length=0 -Werror=deprecated-declarations -MD -MP -MF obj/src/application.o.d -DUSE_STDPERIPH_DRIVER -DSTM32F10X_MD -DDFU_BUILD_ENABLE -DSPARK=1 -DRELEASE_BUILD -fno-rtti -fno-exceptions -c -o obj/src/application.o ../src/application.cpp
In file included from ../inc/Firmata.h:16:0,
from ../src/application.cpp:33:
../inc/Boards.h: In function 'unsigned char writePort(byte, byte, byte)':
../inc/Boards.h:172:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
../src/application.cpp: In function 'void sysexCallback(byte, byte, byte*)':
../src/application.cpp:400:58: warning: 'queryIndexToSkip' may be used uninitialized in this function [-Wmaybe-uninitialized]
for (byte i = queryIndexToSkip; i<queryIndex + 1; i++) {
^
make: *** No rule to make target `obj/src/Firmata.o', needed by `core-firmware.elf'. Stop.
From here I recopied all of the files of github into the right files and I might of gotten rid of some of these errors?
Now I get this:
Phoenixs-MacBook-Pro:build phoenix$ make
Building core-common-lib
make[1]: Nothing to be done for `all'.
Building core-communication-lib
make[1]: Nothing to be done for `all'.
make: *** No rule to make target obj/src/Firmata.o', needed by
core-firmware.elf'. Stop.
How do I tell if this worked? That message looks like to me that the object file never got linked in or something? HELP!
Forgive the ignorance of this question ... I am using my Photon with Snap4Arduino (thanks to your most excellent software), but am wondering if, once this firmware is loaded, it is possible to still take advantage of Photon's capabilities (event publishing, particle function calls, particle variable access, etc.).
I'm looking for information about how to use firmata on an arduino UNO and send the api messages through a wi-fi module. Do you know where to start from?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.