Heltec v3 and Onewire problem

Help please
I need to program the heltec wireless stick v3. I can program it with examples->heltec esp32 dev-boards->LoRaWAN->LoRaWan. But i need to add ds14b20 sensor’s data. So i need to use onewire library. I can use examples->onewire->ds18x20_Temperature. But when try to compile sketch that includes both “LoRaWan_APP.h” and <OneWire.h> i have the error described below
And there is an interesting moment. I can compile my sketch using onewire.h using 2.3.3 version of library. But i cannot get data from ds18b20 with this version with any esp32. Everything i get is “No more addresses”

Library Heltec ESP32 Dev-Boards has been declared precompiled:
Using precompiled library in \Heltec_ESP32_Dev-Boards\src\esp32s3
In file included from C:\Users\nik0\AppData\Local\Arduino15\packages\Heltec-esp32\hardware\esp32\3.0.2\cores\esp32/esp32-hal.h:75,
                 from C:\Users\nik0\AppData\Local\Arduino15\packages\Heltec-esp32\hardware\esp32\3.0.2\cores\esp32/Arduino.h:36,
                 from c:\Users\nik0\OneDrive\Documents\Arduino\libraries\OneWire\OneWire.cpp:147:
c:\Users\nik0\OneDrive\Documents\Arduino\libraries\OneWire\util/OneWire_direct_gpio.h: In function 'void directModeInput(uint32_t)':
C:\Users\nik0\AppData\Local\Arduino15\packages\Heltec-esp32\hardware\esp32\3.0.2\cores\esp32/esp32-hal-gpio.h:67:34: error: 'GPIO_IS_VALID_GPIO' was not declared in this scope; did you mean 'RTC_GPIO_IS_VALID_GPIO'?
   67 | #define digitalPinIsValid(pin)   GPIO_IS_VALID_GPIO(pin)
      |                                  ^~~~~~~~~~~~~~~~~~
c:\Users\nik0\OneDrive\Documents\Arduino\libraries\OneWire\util/OneWire_direct_gpio.h:214:10: note: in expansion of macro 'digitalPinIsValid'
  214 |     if ( digitalPinIsValid(pin) )
      |          ^~~~~~~~~~~~~~~~~
c:\Users\nik0\OneDrive\Documents\Arduino\libraries\OneWire\util/OneWire_direct_gpio.h: In function 'void directModeOutput(uint32_t)':
C:\Users\nik0\AppData\Local\Arduino15\packages\Heltec-esp32\hardware\esp32\3.0.2\cores\esp32/esp32-hal-gpio.h:67:34: error: 'GPIO_IS_VALID_GPIO' was not declared in this scope; did you mean 'RTC_GPIO_IS_VALID_GPIO'?
   67 | #define digitalPinIsValid(pin)   GPIO_IS_VALID_GPIO(pin)
      |                                  ^~~~~~~~~~~~~~~~~~
c:\Users\nik0\OneDrive\Documents\Arduino\libraries\OneWire\util/OneWire_direct_gpio.h:240:10: note: in expansion of macro 'digitalPinIsValid'
  240 |     if ( digitalPinIsValid(pin) && pin <= 33 ) // pins above 33 can be only inputs
      |          ^~~~~~~~~~~~~~~~~

exit status 1

Compilation error: exit status 1

The following is an extract from I sketch I have that uses both the DS18B20 and LoRa. It compiles without error in my [Arduino IDE] environment—I don’t currently have a spare hardware configuration with which to test whether or not this cut-down version of my sketch actually works (the DS18B20 and LoRa communications work just fine together in the ‘parent’ sketch).

#include <LoRaWan_APP.h>
#include <OneWire.h>            // Required for Dallas Temperature
#include <DallasTemperature.h>  // DS18B20 Library

// DS18B20
const int oneWireBus = 33;

// Setup a oneWire instance to communicate with any OneWire devices (not just Maxim/Dallas temperature ICs)
OneWire oneWire(oneWireBus);

// Pass our oneWire reference to Dallas Temperature.
DallasTemperature ds18b20Sensor(&oneWire);

void setup() {
  Serial.begin(115200);
  Serial.print("[setup] Temperature (x10): ");
  Serial.println(readDS18B20Sensor());
}

void loop() {
}

int16_t readDS18B20Sensor() {
  int16_t temperature = 0;
//  Serial.println("[readDS18B20Sensor] Read sensor...");
  ds18b20Sensor.requestTemperatures(); // Send the command to get temperatures
  
  // After we get the temperature(s), we can print it/them here.
  // We use the function ByIndex and get the temperature from the first sensor (there's only one at the moment).
//  Serial.println("[readDS18B20Sensor] Device 1 (index 0)");
  float sensorValue = ds18b20Sensor.getTempCByIndex(0);
//  Serial.print("[readDS18B20Sensor] Returned value: ");
//  Serial.println(sensorValue);

  temperature = (int) (10*(sensorValue + 0.05));  // °C x 10
//  Serial.print("[readDS18B20Sensor] Temperature: ");
//  Serial.println((float) temperature/10, 1);

  return temperature;
}

If this won’t compile in your environment, there’s something wrong with your set-up and we’ll need a bit more info on that front to be able to help further. If it will, you should then be able to work out why your sketch isn’t compiling.