Closed errolt closed 1 year ago
Must be something on my setup, as I'm the only one with this issue.
Must be something on my setup, as I'm the only one with this issue.
Perhaps not, I am just back home and tired from jet lag so give me some time to fix this... It could well be due to a breaking change. BTW were you building with the Web Builder?
No, building locally. If I build with the web builder then the probe pin works, but the web builder has an option to Enable the probe pin, while the CMakeList.txt has an option to Disable the probe pin(NOPROBE).
Looking at the code there seems to be two #defines that "affect" probe availability.
Defining PROBE_ENABLE will enable the probe, and this is not defined by default. Defining NOPROBE will "disable" the probe, but this does not seem to be referenced anywhere in the code.
Changing CMakeList.txt to this:
if(NOPROBE)
target_compile_definitions("${COMPONENT_LIB}" PUBLIC NOPROBE)
else()
target_compile_definitions("${COMPONENT_LIB}" PUBLIC PROBE_ENABLE)
endif()
does fix the issue for me, but I suspect that NOPROBE can be removed completely, and just PROBE_ENABLE used.
The latest commit fixes this issue.
Works. Thanks.
I'm trying to get Probing enabled on the DLC32. After compiling and uploading this is what $pins gives me:
Looking at $I I get this, looks like NOPROBE is set:
Digging through the code probing seems to be disabled here: https://github.com/grblHAL/ESP32/blob/4ec36b75264ea119bb4c0fe19cca3c7f60043901/main/driver.h#L128
Am I missing a PROBE_ENABLE somewhere? I don't see a PROBE_ENABLE for any other board?
CMakeLists.txt