I tried compiling the firmware today.
I downloaded MDK-Lite Version 5.10
I cloned the pixy git repository.
I opened the video master project and compiled the sub projects in the order libpixy_m4,libpixy_mo, and video. The compile fails with the following errors.
Not quite sure what I did wrong.
Build Project ‘video’ - Target ‘Flash’
compiling main_m4.cpp…
compiling conncomp.cpp…
compiling exec.cpp…
C:\Users\hanrahan\Desktop\git\device\video\exec.cpp(94): warning: #550-D: variable “g_runningM0” was set but never used
static ChirpProc g_runningM0 = -1;
exec.cpp: 1 warning, 0 errors
compiling progblobs.cpp…
C:\Users\hanrahan\Desktop\git\device\video\progblobs.cpp(107): error: #165: too few arguments in function call
g_blobs->getBlobs(&blobs, &numBlobs);
progblobs.cpp: 0 warnings, 1 error
compiling progvideo.cpp…
compiling progpt.cpp…
C:\Users\hanrahan\Desktop\git\device\video\progpt.cpp(162): error: #165: too few arguments in function call
g_blobs->getBlobs(&blobs, &numBlobs);
progpt.cpp: 0 warnings, 1 error
compiling button.cpp…
compiling blob.cpp…
compiling blobs.cpp…
C:\Users\hanrahan\Desktop\git\common\blobs.cpp(619): warning: #550-D: variable “models” was set but never used
uint16_t models[MAX_COLOR_CODE_MODELS];
C:\Users\hanrahan\Desktop\git\common\blobs.cpp(760): error: #20: identifier “qDebug” is undefined
qDebug(“count=%d %d”, count, j);
…\common\blobs.cpp: 1 warning, 1 error
compiling colorlut.cpp…
compiling qqueue.cpp…
compiling lpc43xx_i2c.c…
compiling i2c.cpp…
compiling serial.cpp…
compiling analogdig.cpp…
compiling spi.cpp…
compiling uart.cpp…
compiling progchase.cpp…
C:\Users\hanrahan\Desktop\git\device\video\progchase.cpp(189): error: #165: too few arguments in function call
g_blobs->getBlobs(&blobs, &numBlobs);
progchase.cpp: 0 warnings, 1 error
“.\spifi\video.axf” - 4 Error(s), 2 Warning(s).
Target not created