I created a fresh "empty" project on WorkBench and added the OneWire library.
It won't compile. The HAL_Pin_Mode macro used in the OneWire.h file is not defined.
home/terje/Projects/ManseLTE/lib/OneWire/src/OneWire.h:136:7: error: 'HAL_Pin_Mode' was not declared in this scope
136 | HAL_Pin_Mode(_pin, OUTPUT);
In any case, it appears that the library is not currently compatible with Device OS 6.x. You can either target Device OS 5.9.0, or use the instructions for using a locally modified library and just change HAL_Pin_Mode to pinMode, which I think will allow it to compile.
thanks for the help! I'm using a Boron 404X. I guess I should try the same OS version (4.2.0) as what the WEB IDE defaults to. At any rate, your help will get me passed this problem.