rzeldent / esp32-smartdisplay-demo

Demo project for esp32-smartdisplay
61 stars 20 forks source link

How to use this demo ? #35

Closed eagl1 closed 2 days ago

eagl1 commented 2 weeks ago

Hi,

I don't know where to run the git command you provided:

git clone --recurse-submodules

I opened the project in platformio, but don't know where is the location to run the command.

I build the code and got this result:


 *  Executing task: C:\Users\eagle\.platformio\penv\Scripts\platformio.exe run --environment esp32-8048S043C 

Processing esp32-8048S043C (board: esp32-8048S043C; platform: espressif32; framework: arduino)
--------------------------------------------------------------------------------------------UnknownBoard: Unknown board ID 'esp32-8048S043C'

 *  The terminal process "C:\Users\eagle\.platformio\penv\Scripts\platformio.exe 'run', '--environment', 'esp32-8048S043C'" terminated with exit code: 1. 
 *  Terminal will be reused by tasks, press any key to close it. 
rzeldent commented 2 weeks ago

Hi Abdul,

You have to run the command git clone --recurse-submodules https://github.com/rzeldent/esp32-smartdisplay-demo.git in a normal command window from the prompt.

Make sure you have installed git.

Good luck

rzeldent commented 2 weeks ago

Hi Abdul,

You need to do this before opening the project. Remove everything from the directory, run the command above and then op it in visual studion code.

Good luck!

eagl1 commented 2 weeks ago

I did it and I get this result:

Microsoft Windows [Version 10.0.19045.4529]

(c) Microsoft Corporation. All rights reserved.

E:\projects_electronics_programming\tft\platformio projects\New folder>git clone --recurse-submodules fatal: You must specify a repository to clone.

usage: git clone [] [--] [

]

-v, --[no-]verbose    be more verbose
-q, --[no-]quiet      be more quiet
--[no-]progress       force progress reporting
--[no-]reject-shallow don't clone shallow repository
-n, --no-checkout     don't create a checkout
--checkout            opposite of --no-checkout
--[no-]bare           create a bare repository
--[no-]mirror         create a mirror repository (implies --bare)
-l, --[no-]local      to clone from a local repository
--no-hardlinks        don't use local hardlinks, always copy
--hardlinks           opposite of --no-hardlinks
-s, --[no-]shared     setup as shared repository
--[no-]recurse-submodules[=<pathspec>]
                      initialize submodules in the clone
--[no-]recursive ...  alias of --recurse-submodules
-j, --[no-]jobs <n>   number of submodules cloned in parallel
--[no-]template <template-directory>
                      directory from which templates will be used
--[no-]reference <repo>
                      reference repository
--[no-]reference-if-able <repo>
                      reference repository
--[no-]dissociate     use --reference only while cloning
-o, --[no-]origin <name>
                      use <name> instead of 'origin' to track upstream
-b, --[no-]branch <branch>
                      checkout <branch> instead of the remote's HEAD
-u, --[no-]upload-pack <path>
                      path to git-upload-pack on the remote
--[no-]depth <depth>  create a shallow clone of that depth
--[no-]shallow-since <time>
                      create a shallow clone since a specific time
--[no-]shallow-exclude <revision>
                      deepen history of shallow clone, excluding rev
--[no-]single-branch  clone only one branch, HEAD or --branch
--no-tags             don't clone any tags, and make later fetches not

to follow them --tags opposite of --no-tags --[no-]shallow-submodules any cloned submodules will be shallow --[no-]separate-git-dir separate git dir from working tree --[no-]ref-format specify the reference format to use -c, --[no-]config set config inside the new repository --[no-]server-option option to transmit -4, --ipv4 use IPv4 addresses only -6, --ipv6 use IPv6 addresses only --[no-]filter object filtering --[no-]also-filter-submodules apply partial clone filters to submodules --[no-]remote-submodules any cloned submodules will use their remote-tracking branch --[no-]sparse initialize sparse-checkout file to include only files at root --[no-]bundle-uri a URI for downloading bundles before fetching from origin remote

E:\projects_electronics_programming\tft\platformio projects\New folder>

On Sun, Jun 16, 2024 at 1:42 PM Rene @.***> wrote:

Hi Abdul,

You need to do this before opening the project. Remove everything from the directory, run the command above and then op it in visual studion code.

Good luck!

— Reply to this email directly, view it on GitHub https://github.com/rzeldent/esp32-smartdisplay-demo/issues/35#issuecomment-2171427841, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADNK2JLR7SJBUOOTVBACSJDZHVT2LAVCNFSM6AAAAABJMAWHOSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNZRGQZDOOBUGE . You are receiving this because you authored the thread.Message ID: @.***>

eagl1 commented 2 weeks ago

Another try in the demo folder:

[image: image.png]

On Sun, Jun 16, 2024 at 4:51 PM Wolves of Passion @.***> wrote:

I did it and I get this result:

Microsoft Windows [Version 10.0.19045.4529]

(c) Microsoft Corporation. All rights reserved.

E:\projects_electronics_programming\tft\platformio projects\New folder>git clone --recurse-submodules fatal: You must specify a repository to clone.

usage: git clone [] [--] [

]

-v, --[no-]verbose    be more verbose
-q, --[no-]quiet      be more quiet
--[no-]progress       force progress reporting
--[no-]reject-shallow don't clone shallow repository
-n, --no-checkout     don't create a checkout
--checkout            opposite of --no-checkout
--[no-]bare           create a bare repository
--[no-]mirror         create a mirror repository (implies --bare)
-l, --[no-]local      to clone from a local repository
--no-hardlinks        don't use local hardlinks, always copy
--hardlinks           opposite of --no-hardlinks
-s, --[no-]shared     setup as shared repository
--[no-]recurse-submodules[=<pathspec>]
                      initialize submodules in the clone
--[no-]recursive ...  alias of --recurse-submodules
-j, --[no-]jobs <n>   number of submodules cloned in parallel
--[no-]template <template-directory>
                      directory from which templates will be used
--[no-]reference <repo>
                      reference repository
--[no-]reference-if-able <repo>
                      reference repository
--[no-]dissociate     use --reference only while cloning
-o, --[no-]origin <name>
                      use <name> instead of 'origin' to track upstream
-b, --[no-]branch <branch>
                      checkout <branch> instead of the remote's HEAD
-u, --[no-]upload-pack <path>
                      path to git-upload-pack on the remote
--[no-]depth <depth>  create a shallow clone of that depth
--[no-]shallow-since <time>
                      create a shallow clone since a specific time
--[no-]shallow-exclude <revision>
                      deepen history of shallow clone, excluding rev
--[no-]single-branch  clone only one branch, HEAD or --branch
--no-tags             don't clone any tags, and make later fetches

not to follow them --tags opposite of --no-tags --[no-]shallow-submodules any cloned submodules will be shallow --[no-]separate-git-dir separate git dir from working tree --[no-]ref-format specify the reference format to use -c, --[no-]config set config inside the new repository --[no-]server-option option to transmit -4, --ipv4 use IPv4 addresses only -6, --ipv6 use IPv6 addresses only --[no-]filter object filtering --[no-]also-filter-submodules apply partial clone filters to submodules --[no-]remote-submodules any cloned submodules will use their remote-tracking branch --[no-]sparse initialize sparse-checkout file to include only files at root --[no-]bundle-uri a URI for downloading bundles before fetching from origin remote

E:\projects_electronics_programming\tft\platformio projects\New folder>

On Sun, Jun 16, 2024 at 1:42 PM Rene @.***> wrote:

Hi Abdul,

You need to do this before opening the project. Remove everything from the directory, run the command above and then op it in visual studion code.

Good luck!

— Reply to this email directly, view it on GitHub https://github.com/rzeldent/esp32-smartdisplay-demo/issues/35#issuecomment-2171427841, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADNK2JLR7SJBUOOTVBACSJDZHVT2LAVCNFSM6AAAAABJMAWHOSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNZRGQZDOOBUGE . You are receiving this because you authored the thread.Message ID: @.***>

rzeldent commented 2 weeks ago

If you carefully read the output you see: E:\projects_electronics_programming\tft\platformio projects\New

folder>git clone --recurse-submodules fatal: You must specify a repository to clone.

so you did not specify the url. Type (see above):

git clone --recurse-submodules https://github.com/rzeldent/esp32-smartdisplay-demo.git

eagl1 commented 2 weeks ago

Yep, it worked :)

[image: image.png]

So I'm new to projects done in platformio, certainly it's more advanced than Arduino IDE.

I want to do two tasks:

  1. Do my own GUI project, on the platformio IDE
  2. Copy the necessary source code and embed it in the TFT_eSPI library because this display isn't supported there. And it will be a difficult task to do because the coding system in this project and in the TFT_eSPI is totally different. I hope you can help me with that. And I will pay you.

Regards,

On Sun, Jun 16, 2024 at 7:11 PM Rene @.***> wrote:

If you carefully read the output you see: E:\projects_electronics_programming\tft\platformio projects\New

folder>git clone --recurse-submodules fatal: You must specify a repository to clone.

so you did not specify the url. Type (see above):

git clone --recurse-submodules https://github.com/rzeldent/esp32-smartdisplay-demo.git https://github.com/rzeldent/esp32-smartdisplay-demo.git

— Reply to this email directly, view it on GitHub https://github.com/rzeldent/esp32-smartdisplay-demo/issues/35#issuecomment-2171755510, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADNK2JLRO7HZB3V5IYGQTB3ZHW2LLAVCNFSM6AAAAABJMAWHOSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNZRG42TKNJRGA . You are receiving this because you authored the thread.Message ID: @.***>