KNOMI icon indicating copy to clipboard operation
KNOMI copied to clipboard

Unable to compile latest firmware Knomi V2

Open rahsaankcole opened this issue 2 years ago • 10 comments

image

rahsaankcole avatar Dec 24 '23 00:12 rahsaankcole

can confirm. on latest commit something is broken

LovesDonuts avatar Dec 24 '23 01:12 LovesDonuts

Use 2.1.1 release to fix it: AsyncTCP=esphome/AsyncTCP-esphome@^2.1.1

so use (something like) this in platformio.ini:

lib_deps    =
              LIS2DW12=https://github.com/stm32duino/LIS2DW12/archive/refs/tags/2.1.0.zip
              Adafruit_SHT4X=https://github.com/adafruit/Adafruit_SHT4X/archive/refs/tags/1.0.3.zip
              lvgl=https://github.com/lvgl/lvgl/archive/refs/tags/v8.3.11.zip
              bblanchon/ArduinoJson@^6.19.4
              TFT_eSPI=https://github.com/Bodmer/TFT_eSPI/archive/refs/tags/v2.5.0.zip
              ; https://github.com/me-no-dev/ESPAsyncWebServer.git
              ; https://github.com/ayushsharma82/AsyncElegantOTA.git
              ottowinter/ESPAsyncWebServer-esphome @ ^3.1.0
              https://github.com/bigtreetech/AsyncElegantOTA.git
              AsyncTCP=esphome/AsyncTCP-esphome@^2.1.1

thijstriemstra avatar Dec 30 '23 15:12 thijstriemstra

I had these errors when attempting to compile. I have had compilation errors when trying to compile to both a V1 & a V2 Knomi displays. Shame the PR merge just before Christmas seems to have fixed all the homing\knomi status problems in the V2 but the same firmware would not install on to the V1 display. Screenshot 2024-01-11 140409

BoothyBoothy avatar Jan 11 '24 14:01 BoothyBoothy

I had these errors when attempting to compile. I

I also ran into that issue, seems it's broken with 6.5.0 platform so use 6.4.0 instead:

platform = [email protected]

thijstriemstra avatar Jan 11 '24 17:01 thijstriemstra

I also ran into that issue, seems it's broken with 6.5.0 platform so use 6.4.0 instead

Thank you, I will give it a try later

BoothyBoothy avatar Jan 11 '24 18:01 BoothyBoothy

Thank you again, that worked to an extent but now get the error you previously commented on in the thrtead. I am really still not quite sure how you implement the suggested PR? Is it simply a matter of copying the lib_deps info to a specific file? I could not see an obvious place to paste? Thanks again Boothy Screenshot 2024-01-11 183344

BoothyBoothy avatar Jan 11 '24 18:01 BoothyBoothy

put url in lib_deps in platformio.ini like I showed in comment above: https://github.com/bigtreetech/KNOMI/issues/51#issuecomment-1872545192

thijstriemstra avatar Jan 11 '24 18:01 thijstriemstra

Thank you thank you........I was being really thick there:) Has now complied successfully!

BoothyBoothy avatar Jan 11 '24 19:01 BoothyBoothy

I also ran into that issue, seems it's broken with 6.5.0 platform so use 6.4.0 instead:

platform = [email protected]

@thijstriemstra , you saved my day!

mkryuchkov avatar May 26 '24 18:05 mkryuchkov