Experimentalist
Well-known member
Hi All
It's been a while. I am trying to compile Uncanny Eyes for Teensy LC from:
origin https://github.com/adafruit/Uncanny_Eyes.git (fetch)origin https://github.com/adafruit/Uncanny_Eyes.git (push)
I am getting the following:
[Starting] Uploading sketch 'uncannyEyes.ino'
Please see the build logs in output path: u:\Git\Uncanny_Eyes\uncannyEyes\build
U:\Git\Uncanny_Eyes\uncannyEyes\uncannyEyes.ino: In function 'void drawEye(uint8_t, uint16_t, uint8_t, uint8_t, uint8_t, uint8_t)':
U:\Git\Uncanny_Eyes\uncannyEyes\uncannyEyes.ino:466:13: error: 'KINETISK_SPI0' was not declared in this scope
466 | while(KINETISK_SPI0.SR & 0xC000); // Wait for space in FIFO
| ^~~~~~~~~~~~~
U:\Git\Uncanny_Eyes\uncannyEyes\uncannyEyes.ino:467:7: error: 'KINETISK_SPI0' was not declared in this scope
467 | KINETISK_SPI0.PUSHR = p | SPI_PUSHR_CTAS(1) | SPI_PUSHR_CONT;
| ^~~~~~~~~~~~~
U:\Git\Uncanny_Eyes\uncannyEyes\uncannyEyes.ino:467:33: error: 'SPI_PUSHR_CTAS' was not declared in this scope
467 | KINETISK_SPI0.PUSHR = p | SPI_PUSHR_CTAS(1) | SPI_PUSHR_CONT;
| ^~~~~~~~~~~~~~
U:\Git\Uncanny_Eyes\uncannyEyes\uncannyEyes.ino:467:53: error: 'SPI_PUSHR_CONT' was not declared in this scope
467 | KINETISK_SPI0.PUSHR = p | SPI_PUSHR_CTAS(1) | SPI_PUSHR_CONT;
| ^~~~~~~~~~~~~~
U:\Git\Uncanny_Eyes\uncannyEyes\uncannyEyes.ino:504:3: error: 'KINETISK_SPI0' was not declared in this scope
504 | KINETISK_SPI0.SR |= SPI_SR_TCF; // Clear transfer flag
| ^~~~~~~~~~~~~
U:\Git\Uncanny_Eyes\uncannyEyes\uncannyEyes.ino:504:23: error: 'SPI_SR_TCF' was not declared in this scope; did you mean 'LPSPI_SR_TCF'?
504 | KINETISK_SPI0.SR |= SPI_SR_TCF; // Clear transfer flag
| ^~~~~~~~~~
| LPSPI_SR_TCF
Error during build: exit status 1
IntelliSense configuration already up to date. To manually rebuild your IntelliSense configuration run "Ctrl+Alt+I"
[Error] Uploading sketch 'uncannyEyes.ino': Exit with code=1
Any ideas greatly appreciated
It's been a while. I am trying to compile Uncanny Eyes for Teensy LC from:
origin https://github.com/adafruit/Uncanny_Eyes.git (fetch)origin https://github.com/adafruit/Uncanny_Eyes.git (push)
I am getting the following:
[Starting] Uploading sketch 'uncannyEyes.ino'
Please see the build logs in output path: u:\Git\Uncanny_Eyes\uncannyEyes\build
U:\Git\Uncanny_Eyes\uncannyEyes\uncannyEyes.ino: In function 'void drawEye(uint8_t, uint16_t, uint8_t, uint8_t, uint8_t, uint8_t)':
U:\Git\Uncanny_Eyes\uncannyEyes\uncannyEyes.ino:466:13: error: 'KINETISK_SPI0' was not declared in this scope
466 | while(KINETISK_SPI0.SR & 0xC000); // Wait for space in FIFO
| ^~~~~~~~~~~~~
U:\Git\Uncanny_Eyes\uncannyEyes\uncannyEyes.ino:467:7: error: 'KINETISK_SPI0' was not declared in this scope
467 | KINETISK_SPI0.PUSHR = p | SPI_PUSHR_CTAS(1) | SPI_PUSHR_CONT;
| ^~~~~~~~~~~~~
U:\Git\Uncanny_Eyes\uncannyEyes\uncannyEyes.ino:467:33: error: 'SPI_PUSHR_CTAS' was not declared in this scope
467 | KINETISK_SPI0.PUSHR = p | SPI_PUSHR_CTAS(1) | SPI_PUSHR_CONT;
| ^~~~~~~~~~~~~~
U:\Git\Uncanny_Eyes\uncannyEyes\uncannyEyes.ino:467:53: error: 'SPI_PUSHR_CONT' was not declared in this scope
467 | KINETISK_SPI0.PUSHR = p | SPI_PUSHR_CTAS(1) | SPI_PUSHR_CONT;
| ^~~~~~~~~~~~~~
U:\Git\Uncanny_Eyes\uncannyEyes\uncannyEyes.ino:504:3: error: 'KINETISK_SPI0' was not declared in this scope
504 | KINETISK_SPI0.SR |= SPI_SR_TCF; // Clear transfer flag
| ^~~~~~~~~~~~~
U:\Git\Uncanny_Eyes\uncannyEyes\uncannyEyes.ino:504:23: error: 'SPI_SR_TCF' was not declared in this scope; did you mean 'LPSPI_SR_TCF'?
504 | KINETISK_SPI0.SR |= SPI_SR_TCF; // Clear transfer flag
| ^~~~~~~~~~
| LPSPI_SR_TCF
Error during build: exit status 1
IntelliSense configuration already up to date. To manually rebuild your IntelliSense configuration run "Ctrl+Alt+I"
[Error] Uploading sketch 'uncannyEyes.ino': Exit with code=1
Any ideas greatly appreciated