1435 views|5 replies

46

Posts

0

Resources
The OP
 

【Child care machine】+ ESP32S3-BOX factory_demo source code download, compilation and flashing process record [Copy link]

 

Preface: Because esp32s3 depends on several repositories, the download always times out and the download is incomplete, which leads to various errors in the compilation process. Next, I will record how to completely download the code and the process of successful compilation.

1. Code download, git https download

Unsuccessful past: In vscode, git download was incomplete, so I switched to gitbash to download command git clone --recursive https://github.com/espressif/esp-box.git, but there were always various errors, such as Timeout and GPL. I couldn't find a solution to the various problems, so I looked carefully at the downloaded code and found a file .gitlab-ci.yml, which had a paragraph

before_script:

# add gitlab ssh key

- mkdir -p ~/.ssh

- chmod 700 ~/.ssh

- echo -n $GITLAB_KEY > ~/.ssh/id_rsa_base64

- base64 --decode --ignore-garbage ~/.ssh/id_rsa_base64 > ~/.ssh/id_rsa

- chmod 600 ~/.ssh/id_rsa

- echo -e "Host gitlab.espressif.cn\n\tStrictHostKeyChecking no\n" >> ~/.ssh/config

- git --version

- git submodule update --init --recursive --force

So I typed the above command into GitBash. The last line needs to be executed in your esp-idf path. Of course, this is the directory where I went through various unsuccessful git clones. Then I executed the last line, git submodule update --init --recursive --force, and all the libraries needed for subsequent compilation were available.

2. Compile the code

The code compilation file mentioned earlier is also in .gitlab-ci.yml. Go to the examples directory under the directory and select a demo to compile. I will compile it with factory_demo.

First, enter the factory_demo directory. My environment is under vscode. Enter directly from the vscode terminal. As shown in the figure, perform clearing and compiling.

It is best to turn off the anti-virus software when compiling, otherwise it will be very slow. The compilation output is shown in the figure.

3. Download the code

Then execute idf.py -p COM45 flash. Downloading via the serial port takes a lot of time, as shown in the figure.

4. Display

The program line on the board shows the latest firmware downloaded.

This post is from DigiKey Technology Zone

Latest reply

Awesome, this voice explanation makes sense. Children have trouble expressing themselves and if they can express themselves clearly and accurately, they may not need a caregiver. This way, they may fall into a vicious circle.   Details Published on 2022-9-26 16:22
 
 

4764

Posts

12

Resources
2
 

What is the function of accompanying children ~ English for foreign children?

This post is from DigiKey Technology Zone

Comments

This is a Chinese voice control, I downloaded the English version. The caregiver can use Baidu's voice cloud to talk to the children, answer questions, play stories and music, or communicate with parents through specific programs. Espressif has basically achieved these, and has mature products. This BOX is mainly LAN control  Details Published on 2022-9-26 13:41
 
 
 

6742

Posts

2

Resources
3
 

What functions does this official routine have? Can you briefly introduce it~!

This post is from DigiKey Technology Zone
 
 
 

46

Posts

0

Resources
4
 
Azuma Simeng posted on 2022-9-13 23:32 What is the function of accompanying care? English is suitable for foreign children?

This is a Chinese voice control, I downloaded the English version. The caregiver can use Baidu's voice cloud to talk to the children, answer questions, play stories and music, or communicate with parents through specific programs. Espressif has basically achieved these and has mature products. This BOX is mainly for LAN control, conference center, etc.

This post is from DigiKey Technology Zone

Comments

Awesome, this voice explanation makes sense. Children have trouble expressing themselves and if they can express themselves clearly and accurately, they may not need a caregiver. This way, they may fall into a vicious circle.  Details Published on 2022-9-26 16:22
 
 
 

4764

Posts

12

Resources
5
 
lingxin_yuhe posted on 2022-9-26 13:41 This is Chinese voice control, I downloaded the English version. The caregiver can use Baidu's voice cloud to talk to the children, answer questions, and play stories...

Awesome, this voice explanation makes sense. Children have trouble expressing themselves and if they can express themselves clearly and accurately, they may not need a caregiver. This way, they may fall into a vicious circle.

This post is from DigiKey Technology Zone

Comments

Yes, now my children are all in school, and the expression is OK. I hope I can make it myself with the help of Baidu.  Details Published on 2022-10-17 12:01
 
 
 

46

Posts

0

Resources
6
 
Azuma Simeng posted on 2022-9-26 16:22 Awesome, this voice explanation is really interesting. Children can’t express themselves clearly. If they can express themselves clearly and accurately, they may not need to accompany...

Yes, now my children are all in school, and the expression is OK. I hope I can make it myself with the help of Baidu.

This post is from DigiKey Technology Zone
 
 
 

Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list