mrjohnk / ADNS-9800

Avago ADNS-9800 Test
94 stars 41 forks source link

upload arduino example error #14

Open ccc9909 opened 1 year ago

ccc9909 commented 1 year ago

hi, I buy this in tindie. When I try to upload the 'ADNS9800test-serial.ino' to arduino uno, it appear below error:

'C:\Users\86150\AppData\Local\Temp\cchAhD27.ltrans0.ltrans.o: In function adns_upload_firmware': C:\CAD\arduino\ADNS-9800-master\ADNS-9800-master\Arduino Example Sketches\ADNS9800test-serial/ADNS9800test-serial.ino:140: undefined reference tofirmware_length' C:\CAD\arduino\ADNS-9800-master\ADNS-9800-master\Arduino Example Sketches\ADNS9800test-serial/ADNS9800test-serial.ino:140: undefined reference to firmware_length' C:\CAD\arduino\ADNS-9800-master\ADNS-9800-master\Arduino Example Sketches\ADNS9800test-serial/ADNS9800test-serial.ino:141: undefined reference tofirmware_data' C:\CAD\arduino\ADNS-9800-master\ADNS-9800-master\Arduino Example Sketches\ADNS9800test-serial/ADNS9800test-serial.ino:141: undefined reference to `firmware_data' collect2.exe: error: ld returned 1 exit status

exit status 1

Compilation error: exit status 1'