Welcome to MattzoBricks › Forums › MattzoLayoutController (MLC) › Cant upload firmware
- This topic has 7 replies, 4 voices, and was last updated 2 years, 2 months ago by Matthias Runte.
-
AuthorPosts
-
-
July 22, 2022 at 19:45 #5356Denis MajrichParticipant
Hello, I have downloaded the firmware and all of the required libraries but when I try to upload the firmware to the ESP it gives me this error:
call of overloaded ‘abs(unsigned int)’ is ambiguous
At this line:
levelCrossing.servoAngleIncrementPerSec = abs(levelCrossingConfiguration.bbAnglePrimaryUp – levelCrossingConfiguration.bbAnglePrimaryDown) * 1000 / levelCrossingConfiguration.bbClosingPeriod_ms;
-
July 31, 2022 at 15:37 #5369Andrew HewittParticipant
I have the same problems with the file that i must place in the correct folder
-
August 8, 2022 at 08:25 #5374Matthias RunteKeymaster
I believe that this problem was reported before, and I also believe that the problem had to do with board manager version. Can you check if this forum thread helps you?
Search for “abs()” and you’ll find the post(s).
Thanks!
-
August 8, 2022 at 08:25 #5375Matthias RunteKeymaster
I believe that this problem was reported before, and I also believe that the problem had to do with board manager version. Can you check if this forum thread helps you?
Search for “abs()” and you’ll find the post(s).
Thanks!
-
September 24, 2022 at 22:09 #5413Károly LónichParticipant
Update: I was careless. The referred thread above and the General firmware section also describe that the 2.4.7 board manager version is supported only. Indeed with this version it compiles without error.
Hi,
I’m trying to upload the latest firmware but this error is still comming up. If I comment out the realted level crossing lines then it compiles without error. Could anybody resolve this issue?
Thanks,
Karoly- This reply was modified 2 years, 2 months ago by Károly Lónich. Reason: Update
-
October 3, 2022 at 22:30 #5460Matthias RunteKeymaster
Hello Karoly,
we investigated the abs() problem again and we found the solution for it (or Hilbert did, to be precisely).I have just released firmware 0.6. The problem should be fixed now.
Cheers,
Mattze-
October 5, 2022 at 14:26 #5470Károly LónichParticipant
Awesome! Everything works now. Thank you.
-
-
October 5, 2022 at 14:31 #5471Matthias RunteKeymaster
Happy to hear that. Thank you for the feedback.
-
-
AuthorPosts
- You must be logged in to reply to this topic.