-
Notifications
You must be signed in to change notification settings - Fork 167
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compile BrickPiFW_Compressed_Communication.ino get error. #20
Comments
I fixed this by deleting the definition of nxt_debounce in the BrickPiA.cpp. It isn't referenced anywhere in that file, so seems like a typo... |
Sure?I fixed following your solution, but the compiled firmware can't work. |
can you include a bit more info? are you saying that it compiled? but that when you try to use it, it doesn't work? (did you burn the new firmware onto your device? etc?) Honestly I'm not sure what the state of this codebase is. Since it has compile problems, it is possible that the head version that is checked in is bad in more than just this one way... |
Hey Zhang, you said the firmware doesn't work? How so? @chahld , I will open up the code and try to find the problem, recompile to make sure we didn't mess it up with a checkin or something. |
Reopened because I would like to know what happened: Is it still a compile issue, or is it an operational issue? Also, just pushed another commit with @chahld 's recommendation, stripped out the duplicate. |
It's still a compile issue, As a temporary measure, I remark some code in BrickPiEV3.cpp to fixed this issue. but compiled firmware can't work up to date. and I believe this is independent of the compile issue. |
I just notice the latest fixed has removed duplicated debounce variable, so I think the compile issue is fixed. |
Compile issues are still present
I tried to change name of nxt_debounce, comment it in BrickPi_A, but issues are still present |
I tried to compile BrickPi/Firmware_BrickPi/Firmware_2.0/BrickPiFW_Compressed_Communication/BrickPiFW_Compressed_Communication.ino, but always get below error messages:
BrickPiEV3/BrickPiEV3.cpp.o: In function
EV3_Setup_Touch(unsigned char)': /Users/timesong/Documents/Arduino/libraries/BrickPiEV3/BrickPiEV3.cpp:246: multiple definition of
nxt_debounce'BrickPiA/BrickPiA.cpp.o:/Users/timesong/Documents/Arduino/libraries/BrickPiA/BrickPiA.cpp:33: first defined here
Is this a issue?
The text was updated successfully, but these errors were encountered: