Navigation

    LILYGO

    • Register
    • Login
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups

    Arduino compile problems

    Build environment
    4
    4
    1437
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      MikeMcg last edited by

      I just got my T-RGB I'm trying to compile the sketch example factory.ino I'm getting an error
      Arduino: 1.8.19 (Mac OS X), Board: "ESP32S3 Dev Module, Disabled, OPI PSRAM, QIO 80MHz, 16MB (128Mb), Core 1, Core 1, Hardware CDC and JTAG, Enabled, Disabled, Disabled, UART0 / Hardware CDC, Default 4MB with spiffs (1.2MB APP/1.5MB SPIFFS), 240MHz (WiFi), 115200, None, Disabled"

      Multiple libraries were found for "WiFiClient.h"
      Used: /Users/mikemcguire/Library/Arduino15/packages/esp32/hardware/esp32/2.0.12/libraries/WiFi
      Not used: /Applications/Arduino.app/Contents/Java/libraries/WiFi
      In file included from /Users/mikemcguire/Documents/Arduino/libraries/lvgl-master/src/../src/lv_init.h:17,
      from /Users/mikemcguire/Documents/Arduino/libraries/lvgl-master/src/../lvgl.h:24,
      from /Users/mikemcguire/Documents/Arduino/libraries/lvgl-master/src/lvgl.h:16,
      from /Users/mikemcguire/Documents/Arduino/T-RGB-main/examples/factory/factory.ino:12:
      /Users/mikemcguire/Documents/Arduino/libraries/lvgl-master/src/../src/lv_conf_internal.h:41:18: fatal error: ../../lv_conf.h: No such file or directory
      #include "../../lv_conf.h" /Else assume lv_conf.h is next to the lvgl folder/
      ^~~~~~~~~~~~~~~~~
      compilation terminated.
      exit status 1
      Error compiling for board ESP32S3 Dev Module.

      So far nothing but a black screen is that normal I am in boot mode and all of my settings are good
      Thanks for your help

      teastain2 1 Reply Last reply Reply Quote 0
      • teastain2
        teastain2 @MikeMcg last edited by teastain2

        @mikemcg I don't have a T-RGB to use, but I'll try to help.
        But, most LilyGO boards' hardest to compile sketch is the factory.ino!
        I can compile the GFX.ino for the T-RGB with no problems.
        You might try a simple generic Serial.print test program to debug your rig.

        //words preceded by "//"" are comments and are not executed
        bool ticktock; //declare ticktock as a boolean flag
        
        void setup() {          //runs once on start up
        Serial.begin (115200); //open the serial port for USB cable
        }
        
        void loop() {         //runs in circles!
        ticktock = !ticktock; //every pass through reverse the flag
          if (ticktock) {     //test current value of the ticktock flag
            Serial.println("tick");  
          } else {             //prints one or the other to the USB port
            Serial.println("tock");
          }
        delay (1000);           //wait for a second and run again!
        }
        

        I am using:
        -(MacOS, M1)
        -Arduino IDE 2.2.1 , but 1.8.19 is fine but you must update all libraries
        -ESP 2.0.11 (Board definition)
        -I used Github to down load (clone) the complete set of files.
        You really should copy all of the files (from the downloaded repository) folder marked Lib into your 'libraries' folder, overwriting and replacing the originals, but don't do a Arduino library update after that! LilyGO boards are very fussy about using THEIR versions of some standard libraries, not good form, tho'.
        -All my libraries are current, except the aforementioned LilyGO supplied set.

        -and the comm setup is:

        "ESP32S3 Dev Module"
        Upload Speed: "921600"
        USB Mode: "Hardware CDC and JAG"
        USB CDC On Boot: "Enabled"
        USB Firmware MSC On Boot: "Disabled"
        USB DFU On Boot: "Disabled"
        Upload Mode: "UARTO / Hardware CDC"
        CPU Frequency: "240MHz (WiFi)"
        Flash Mode: "QIO 80MHz"
        Flash Size: "16MB (128Mb)"
        Partition Scheme: "Default 4MB with spiffs (1.2MB APP/1.5MB SPIFFS)"
        Core Debug Level: "F' PSRAM: "OPI PSRAM"
        Arduino Runs On: "Core 1"
        Events Run On: "Core 1"

        Hope that helps -Terry

        1 Reply Last reply Reply Quote 0
        • Rihana69
          Rihana69 last edited by

          https://raginigupta.com
          https://www.ravina.in/
          https://www.jeshika.com/
          https://www.riyana.co.in/
          https://www.callgirlsjaipurescorts.com/
          https://www.rjescort.co.in
          https://www.jaipurmodelescort.com/
          https://www.ranisharma.in/
          https://www.tanyadesai.in/
          https://www.russianmodels.in/
          https://www.sweetyjain.com/

          F 1 Reply Last reply Reply Quote 0
          • F
            Ferran @Rihana69 last edited by Ferran

            En Jugabet, descubre la increíble selección de juegos de casino de 3 Oaks. Disfruta de tragamonedas únicas con gráficos espectaculares y grandes premios. Sumérgete en una experiencia de juego inolvidable y empieza a ganar hoy mismo. read more

            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            Powered by NodeBB | Contributors