Could you try creating the Flowcode project in a directory path that does not contain spaces.
Try somewhere on drive F: if you can.
ESP32 Compiling error
-
- Valued Contributor
- Posts: 447
- http://meble-kuchenne.info.pl
- Joined: Mon Dec 07, 2020 1:00 pm
- Has thanked: 81 times
- Been thanked: 243 times
-
- Valued Contributor
- Posts: 1003
- Joined: Wed Dec 02, 2020 10:53 am
- Has thanked: 191 times
- Been thanked: 217 times
Re: ESP32 Compiling error
Hi to All
I have on a (new) pc the same problem
I used
esp-idf-tools-setup-offline-2.10
The instalation was without an error
But it cant fount the Python
regards
Stefan
I have on a (new) pc the same problem
I used
esp-idf-tools-setup-offline-2.10
The instalation was without an error
But it cant fount the Python
regards
Stefan
-
- Valued Contributor
- Posts: 1003
- Joined: Wed Dec 02, 2020 10:53 am
- Has thanked: 191 times
- Been thanked: 217 times
-
- Posts: 136
- Joined: Mon Mar 08, 2021 11:25 am
- Location: Cape Town South Africa
- Has thanked: 41 times
- Been thanked: 12 times
Re: ESP32 Compiling error
Hi Ben
I think i found the problem the esp-idf-tools folder it was loading into the esp-idf-tools\.espressif when i changed that and took out the \.espressif it now works.
As I'm very new to this esp32 I have now compiled a simple blinker app to try get every thing going but it fails i'm not sure if it could be the board rate which is set at 115200 i'm not sure where i can change this to check
I think i found the problem the esp-idf-tools folder it was loading into the esp-idf-tools\.espressif when i changed that and took out the \.espressif it now works.
As I'm very new to this esp32 I have now compiled a simple blinker app to try get every thing going but it fails i'm not sure if it could be the board rate which is set at 115200 i'm not sure where i can change this to check
-
- Matrix Staff
- Posts: 1923
- Joined: Wed Dec 02, 2020 11:07 pm
- Has thanked: 623 times
- Been thanked: 645 times
Re: ESP32 Compiling error
Hi, Brian.
That looks like a communication issue between your PC and ESP32board.
Have you checked within the device manager to see if your board can be seen within the Ports (COM & LPT) section?
With some boards I have, there was a need to press the reset button on the board before it would program.
Have you selected the ESP32 Programmer Port within project options?
That looks like a communication issue between your PC and ESP32board.
Have you checked within the device manager to see if your board can be seen within the Ports (COM & LPT) section?
With some boards I have, there was a need to press the reset button on the board before it would program.
Have you selected the ESP32 Programmer Port within project options?
Martin
-
- Posts: 136
- Joined: Mon Mar 08, 2021 11:25 am
- Location: Cape Town South Africa
- Has thanked: 41 times
- Been thanked: 12 times
Re: ESP32 Compiling error
Hi, guys
Thanks for all the help I now have a blinking board so we up and running, the reason that it was not communicating is that i had a bridge on the development board pulling RX down just one question do i need to put the C code with OSCCON=0x50; in the beginning of my esp32 projects? and another thing do I set the clock speed in project options to 240Mhz or 40Mhz
Thanks for all the help I now have a blinking board so we up and running, the reason that it was not communicating is that i had a bridge on the development board pulling RX down just one question do i need to put the C code with OSCCON=0x50; in the beginning of my esp32 projects? and another thing do I set the clock speed in project options to 240Mhz or 40Mhz
-
- Valued Contributor
- Posts: 447
- Joined: Mon Dec 07, 2020 1:00 pm
- Has thanked: 81 times
- Been thanked: 243 times
Re: ESP32 Compiling error
Nodo i need to put the C code with OSCCON=0x50
240MHz, but I don't think it matters, the delays are done by the OSdo I set the clock speed in project options to 240Mhz or 40Mhz
-
- Valued Contributor
- Posts: 1003
- Joined: Wed Dec 02, 2020 10:53 am
- Has thanked: 191 times
- Been thanked: 217 times
Re: ESP32 Compiling error
Hi to All
On my computer it's working after I started the following batch file (again)
Desktop\esp-idf\install.bat
@jollybv I hope you have a lot of fun with the ESP32 like me. Together with the Appdevelopper you have so many options to connect and use the ESP32.
regards
Stefan
On my computer it's working after I started the following batch file (again)
Desktop\esp-idf\install.bat
@jollybv I hope you have a lot of fun with the ESP32 like me. Together with the Appdevelopper you have so many options to connect and use the ESP32.
regards
Stefan
-
- Valued Contributor
- Posts: 1003
- Joined: Wed Dec 02, 2020 10:53 am
- Has thanked: 191 times
- Been thanked: 217 times
Re: ESP32 Compiling error
Hi Ben
On a second computer I have again this Python is not installed problem even the test give a OK.
In this computer it does not help to run the install.bat again
regards
Stefan
On a second computer I have again this Python is not installed problem even the test give a OK.
In this computer it does not help to run the install.bat again
regards
Stefan
C:\ProgramData\MatrixTSL\FlowcodeV9\FCD\ESP\Batch\esp32_build.bat "C:\esp-idf\" "test_install" "C:\FC9_esp32\4install\" esp32s_sdkconfig
C:\FC9_esp32\4install>REM CRC: 0796FC1E6A776AF9156B257209C35258CE7C28B3EC20AEA2C632DB392A0E4BFD5B3F53B21811978F7B21FE4085045A7E774D1D3D69D8A99EE7320EAE740A5DB6FE0D8D4660AC0314F98C28BCA92AF856EFD1DB5B777140BC4D00059D795899827D9F76D89626FBC8B199900461C78937B42DEF8219F63A24580137A2F6C8FDB7553324EFF791947E8AB6FFD612B81BAA97C798A8F1CFC189DE5D38517747C774AF2DD6F839BAECF83F7F994C7164CE77868F480396BDEF2F2C3050DA273BE4EE6FE0BB589D1229A5E37B217FF86DBD72A01B8FBC49BE02BFA3608A0B0CE69F969622A912E6E6A2FB
C:\FC9_esp32\4install>REM REVISION: 4.0
C:\FC9_esp32\4install>REM GUID: 955EA920-4961-4C53-BA6B-EF4AF66BB4C2
C:\FC9_esp32\4install>REM DATE: 29\03\2021
C:\FC9_esp32\4install>REM DIR: FCD\ESP\Batch\esp32_build.bat
Building test_install ...
Error: The following tools are not installed in your environment.
python
Please use the Windows Tool installer for setting up your environment.
Download link: https://dl.espressif.com/dl/esp-idf/
For more details please visit our website: https://docs.espressif.com/projects/esp ... setup.html
'idf.py' is not recognized as an internal or external command,
operable program or batch file.
Build Failed
C:\ProgramData\MatrixTSL\FlowcodeV9\FCD\ESP\Batch\esp32_build.bat reported error code 0x1
Autoclose turned off
FINISHED
- Attachments
-
- Ok.JPG (95.6 KiB) Viewed 7066 times
-
- Valued Contributor
- Posts: 447
- Joined: Mon Dec 07, 2020 1:00 pm
- Has thanked: 81 times
- Been thanked: 243 times
Re: ESP32 Compiling error
Hi,
Could you run the ESP-IDF command prompt, then type
Could you run the ESP-IDF command prompt, then type
Code: Select all
export