Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compilation Error for Newer ESP32 #76

Open
bitscoper opened this issue Jun 8, 2024 · 0 comments
Open

Compilation Error for Newer ESP32 #76

bitscoper opened this issue Jun 8, 2024 · 0 comments

Comments

@bitscoper
Copy link

Compiling library "LiquidCrystal_I2C"
/home/bitscoper/.arduino15/packages/esp32/tools/xtensa-esp32-elf-gcc/esp-12.2.0_20230208/bin/xtensa-esp32-elf-g++ -MMD -c @/home/bitscoper/.arduino15/packages/esp32/tools/esp32-arduino-libs/idf-release_v5.1-442a798083/esp32/flags/cpp_flags -Wall -Wextra -Os -DF_CPU=240000000L -DARDUINO=10819 -DARDUINO_ESP32_DEV -DARDUINO_ARCH_ESP32 "-DARDUINO_BOARD=\"ESP32_DEV\"" "-DARDUINO_VARIANT=\"esp32\"" -DARDUINO_PARTITION_huge_app "-DARDUINO_HOST_OS=\"linux\"" "-DARDUINO_FQBN=\"esp32:esp32:esp32:JTAGAdapter=default,PSRAM=disabled,PartitionScheme=huge_app,CPUFreq=240,FlashMode=dio,FlashFreq=40,FlashSize=4M,UploadSpeed=921600,LoopCore=1,EventsCore=1,DebugLevel=warn,EraseFlash=none,ZigbeeMode=default\"" -DESP32 -DCORE_DEBUG_LEVEL=2 -DARDUINO_RUNNING_CORE=1 -DARDUINO_EVENT_RUNNING_CORE=1 -DARDUINO_USB_CDC_ON_BOOT=0 @/home/bitscoper/.arduino15/packages/esp32/tools/esp32-arduino-libs/idf-release_v5.1-442a798083/esp32/flags/defines "-I/home/bitscoper/Software Laboratory/Bitscoper_IoT/Master" -iprefix /home/bitscoper/.arduino15/packages/esp32/tools/esp32-arduino-libs/idf-release_v5.1-442a798083/esp32/include/ @/home/bitscoper/.arduino15/packages/esp32/tools/esp32-arduino-libs/idf-release_v5.1-442a798083/esp32/flags/includes -I/home/bitscoper/.arduino15/packages/esp32/tools/esp32-arduino-libs/idf-release_v5.1-442a798083/esp32/dio_qspi/include -I/home/bitscoper/.arduino15/packages/esp32/hardware/esp32/3.0.0/cores/esp32 -I/home/bitscoper/.arduino15/packages/esp32/hardware/esp32/3.0.0/variants/esp32 -I/home/bitscoper/.arduino15/packages/esp32/hardware/esp32/3.0.0/libraries/FS/src -I/home/bitscoper/.arduino15/packages/esp32/hardware/esp32/3.0.0/libraries/SPIFFS/src -I/home/bitscoper/Arduino/libraries/LiquidCrystal_I2C -I/home/bitscoper/.arduino15/packages/esp32/hardware/esp32/3.0.0/libraries/Wire/src -I/home/bitscoper/Arduino/libraries/ESP32Servo/src -I/home/bitscoper/Arduino/libraries/rdm6300-master/src -I/home/bitscoper/Arduino/libraries/MPU9250_WE/src -I/home/bitscoper/.arduino15/packages/esp32/hardware/esp32/3.0.0/libraries/SPI/src -I/home/bitscoper/Arduino/libraries/BH1750/src -I/home/bitscoper/Arduino/libraries/Grove_-_Barometer_Sensor_BME280 -I/home/bitscoper/Arduino/libraries/TinyGPSPlus-ESP32/src -I/home/bitscoper/Arduino/libraries/Lewis/src -I/home/bitscoper/.arduino15/packages/esp32/hardware/esp32/3.0.0/libraries/WiFi/src -I/home/bitscoper/.arduino15/packages/esp32/hardware/esp32/3.0.0/libraries/Network/src -I/home/bitscoper/Arduino/libraries/AsyncTCP-master/src -I/home/bitscoper/Arduino/libraries/ESPAsyncWebServer-master/src -I/home/bitscoper/Arduino/libraries/ArduinoJson/src @/tmp/arduino_build_14758/build_opt.h @/tmp/arduino_build_14758/file_opts /home/bitscoper/Arduino/libraries/LiquidCrystal_I2C/LiquidCrystal_I2C.cpp -o /tmp/arduino_build_14758/libraries/LiquidCrystal_I2C/LiquidCrystal_I2C.cpp.o
In file included from /home/bitscoper/Arduino/libraries/LiquidCrystal_I2C/LiquidCrystal_I2C.cpp:3:
/home/bitscoper/Arduino/libraries/LiquidCrystal_I2C/LiquidCrystal_I2C.cpp: In member function 'virtual size_t LiquidCrystal_I2C::write(uint8_t)':
/home/bitscoper/Arduino/libraries/LiquidCrystal_I2C/LiquidCrystal_I2C.h:53:12: warning: 'B00000001' is deprecated: use 0b00000001 instead [-Wdeprecated-declarations]
   53 | #define Rs B00000001  // Register select bit
      |            ^~~~~~~~~
/home/bitscoper/Arduino/libraries/LiquidCrystal_I2C/LiquidCrystal_I2C.cpp:11:21: note: in expansion of macro 'Rs'
   11 |         send(value, Rs);
      |                     ^~
In file included from /home/bitscoper/.arduino15/packages/esp32/hardware/esp32/3.0.0/cores/esp32/Arduino.h:41,
                 from /home/bitscoper/Arduino/libraries/LiquidCrystal_I2C/LiquidCrystal_I2C.cpp:7:
/home/bitscoper/.arduino15/packages/esp32/hardware/esp32/3.0.0/cores/esp32/binary.h:53:3: note: declared here
   53 |   B00000001 DEPRECATED(0b00000001) = 1,
      |   ^~~~~~~~~
/home/bitscoper/Arduino/libraries/LiquidCrystal_I2C/LiquidCrystal_I2C.cpp: In member function 'void LiquidCrystal_I2C::pulseEnable(uint8_t)':
/home/bitscoper/Arduino/libraries/LiquidCrystal_I2C/LiquidCrystal_I2C.h:51:12: warning: 'B00000100' is deprecated: use 0b00000100 instead [-Wdeprecated-declarations]
   51 | #define En B00000100  // Enable bit
      |            ^~~~~~~~~
/home/bitscoper/Arduino/libraries/LiquidCrystal_I2C/LiquidCrystal_I2C.cpp:259:31: note: in expansion of macro 'En'
  259 |         expanderWrite(_data | En);      // En high
      |                               ^~
/home/bitscoper/.arduino15/packages/esp32/hardware/esp32/3.0.0/cores/esp32/binary.h:73:3: note: declared here
   73 |   B00000100 DEPRECATED(0b00000100) = 4,
      |   ^~~~~~~~~
/home/bitscoper/Arduino/libraries/LiquidCrystal_I2C/LiquidCrystal_I2C.h:51:12: warning: 'B00000100' is deprecated: use 0b00000100 instead [-Wdeprecated-declarations]
   51 | #define En B00000100  // Enable bit
      |            ^~~~~~~~~
/home/bitscoper/Arduino/libraries/LiquidCrystal_I2C/LiquidCrystal_I2C.cpp:262:32: note: in expansion of macro 'En'
  262 |         expanderWrite(_data & ~En);     // En low
      |                                ^~
/home/bitscoper/.arduino15/packages/esp32/hardware/esp32/3.0.0/cores/esp32/binary.h:73:3: note: declared here
   73 |   B00000100 DEPRECATED(0b00000100) = 4,
      |   ^~~~~~~~~
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant