@RL_berk I uninstalled and reinstalled. Worked fine after that.
Posts made by RL_berk
-
RE: Issue with Eclipse build for RRF2.05.1
-
Issue with Eclipse build for RRF2.05.1
I am attempting to build RRF2.05.1. I downloaded from the duet3 github, imported to eclipse (version 2018-09) and had some errors, worked through most of them but am stuck on one in particular. The error is line 353 of RRFLibraries/src/RTOSIface/RTOSIface.h which is the following:
static_assert(std::atomic_uint8_t::is_always_lock_free);
error is:
'is_always_lock_free' is not a member of 'std::atomic_uint8_t {aka std::atomic<unsigned char>}'I looked up the error and the function exists for c++17 and newer, I tried adding -std=c++17, -std=c++11, and -stdc++20 to the Cross GCC Compiler/Miscellaneous/Other flags and to Cross G++ Compiler/Miscellaneous/Other flags found in Properties/C/C++ Build/Settings/Tool Settings. I also tried freshening and rebuilding the eclipse index, and restarting. There are other errors present, but they are all make errors or recipe for target failed, and I am assuming they are because of the above described error. Thanks in advance for help.
-
Need some guidance on custom toolboard
I have a custom PCB modeled after the Toolboard 1LC that is meant to replace it. I still have this connected to a Mainboard 6HC and all running the original Duet3d cpp code. I want to modify the cpp code that runs on the original Toolboard 1LC so that it works with my custom board. Side note: I am new to cpp, so the raw duet code is a bit complicated for me to dig at it alone. I would like help knowing what to write and where to write it.
One thing I added is the MAX31865 RTD-to-digital converter onto my board. The way I would like to tackle this code wise is to use the existing code for the PT100 daughterboards duet uses and add that functionality to the Toolboard 1LC code. My question is this: How do I add functionality to retrieve the PT100 temperature onboard my custom board? I have a custom heating function (which is set up as a GCodeResult function) that will control an external heater, but needs to retrieve the temperature from the MAX31865 continuously. I also do not see anywhere in the code where I can define the input pins of the RTD converter, where is this definition on the PT100 daughterboards? The current files I have been looking at are 'TemperatureSensor.cpp' and 'RtdSensor31865.cpp' which are both in RepRapFirmware/src/Heating/sensors . There are also copies of the same two files in Duet3Expansion/src/heating/sensors , but are slightly different. Am I in the right place here?
Any recommendations on how to proceed or a pointer in the right direction would be awesome. Thanks!