I just decided to give it one more shot, starting from screatch, with a fresh download.
Surprisingly, the link in the Wiki now points back to the Matrix toolchain page and downloads version 2.3 again.
Let's see what that does now. 4.2.
Jan
Installing and setting up of ESP32 toolchain
-
- Posts: 113
- http://meble-kuchenne.info.pl
- Joined: Mon Feb 13, 2023 7:56 pm
- Has thanked: 28 times
- Been thanked: 12 times
Re: Installing and setting up of ESP32 toolchain
Ahhh! The old 'Error: No such option: --no-hints Did you mean --no-warnings?'- That no-hints was added to prevent the 'async not supported'.
Where was that again??
Jan
Where was that again??
Jan
-
- Matrix Staff
- Posts: 1999
- Joined: Wed Dec 02, 2020 11:07 pm
- Has thanked: 630 times
- Been thanked: 669 times
Re: Installing and setting up of ESP32 toolchain
Hi Jan.
I replied to your PM about this at 7.46 this morning, and the message is still showing in the outbox. As you have not read it, can you check that you can see the PM?
Many thanks for the spot.
That has now been corrected as the toolchain should only be downloaded from our website here
I replied to your PM about this at 7.46 this morning, and the message is still showing in the outbox. As you have not read it, can you check that you can see the PM?
Many thanks for the spot.
That has now been corrected as the toolchain should only be downloaded from our website here
Martin
Re: Installing and setting up of ESP32 toolchain
Fixing that, hoping that the 'async not supported' doesn't come back.
Sit back, tense -
I will be drunk the rest of the day, also declare the PC off limits.
I should probably have gone to church more as a kid.
@Martin/medelec35 - sorry I hadn't seen your PM.
Thanks for all -
Jan
Sit back, tense -
Code: Select all
Build completed successfully
I should probably have gone to church more as a kid.
@Martin/medelec35 - sorry I hadn't seen your PM.
Thanks for all -
Jan
Re: Installing and setting up of ESP32 toolchain
Addendum: it's not just the toolchain that cannot handle spaces in filenames for it's own stuff, also the target project file cannot be in a directory with spaces in the path. But you probably already knew that.
Jan
Jan
-
- Matrix Staff
- Posts: 1999
- Joined: Wed Dec 02, 2020 11:07 pm
- Has thanked: 630 times
- Been thanked: 669 times
Re: Installing and setting up of ESP32 toolchain
Hi, Jan it might just be the folder has not got the required permission.
I have just compiled this successfully.
I just placed the project file into a random folder with spaces.
Also, you can see the project name has spaces.
The last part of the results, compiling to hex:
I have just compiled this successfully.
Code: Select all
Source name: D:\App Developer RTC Prog V1.1 Working\XLoader\Test the new istallaion of esp32\BME280 Altitude v1a TTGO.fcfx
I just placed the project file into a random folder with spaces.
Also, you can see the project name has spaces.
The last part of the results, compiling to hex:
Code: Select all
[4/6] Generating ld/esp32.project.ld
[5/6] Linking CXX executable esp-project.elf
[6/6] Generating binary image from built executable
esptool.py v3.1-dev
Merged 2 ELF sections
Generated D:/App_Developer_RTC_Prog_V1.1_Working/XLoader/Test_the_new_istallaion_of_esp32/BME280_Altitude_v1a_TTGO/build/esp-project.bin
Executing action: all (aliases: build)
Running ninja in directory d:\app_developer_rtc_prog_v1.1_working\xloader\test_the_new_istallaion_of_esp32\bme280_altitude_v1a_ttgo\build
Executing "ninja all"...
Project build complete. To flash, run this command:
C:\esp-idf-tools\python_env\idf4.2_py3.7_env\Scripts\python.exe C:\esp-idf\components\esptool_py\esptool\esptool.py -p (PORT) -b 460800 --before default_reset --after hard_reset --chip esp32 write_flash --flash_mode dio --flash_size detect --flash_freq 26m 0x1000 build\bootloader\bootloader.bin 0x8000 build\partition_table\partition-table.bin 0x10000 build\esp-project.bin
or run 'idf.py -p (PORT) flash'
Build completed successfully
Using FCD settings for linker
Launching the linker/assembler...
D:\Flowcode v10.0.3.28\tools\DoNothing\DoNothing.exe
Martin
Re: Installing and setting up of ESP32 toolchain
Interesting. I also thought that it worked beginning of the year before the meltdown. But now it definitely has issues on my system with spaces. The 'with spaces' folder is a OneDrive folder, but that was also in the beginning, no change.
I just got another Gotcha - if you put an ampersand '&' in the filename it also fails, with pieces of file paths inserted in some places that are completely wrong.
Edit: it may be the difference between a OneDrive file on the local PC or in the cloud. Normally that doesn't make a difference - the system just downloads any file it needs to the local PC if needed.
Maybe FC doesn't? Although I would think it is a file system function, not FC.
Jan
I just got another Gotcha - if you put an ampersand '&' in the filename it also fails, with pieces of file paths inserted in some places that are completely wrong.
Edit: it may be the difference between a OneDrive file on the local PC or in the cloud. Normally that doesn't make a difference - the system just downloads any file it needs to the local PC if needed.
Maybe FC doesn't? Although I would think it is a file system function, not FC.
Jan
Re: Installing and setting up of ESP32 toolchain
I'll be d*mmed. Took one of the charts that compiled successfully. Saved it in the OneDrive folder with spaces.
Still compiles successfully.
Edit: after I set that particular folder to 'keep local copy on this machine'.
Put an & in the filename: build failed
Replaced the & by aaa: build successfully.
Jan
Still compiles successfully.
Edit: after I set that particular folder to 'keep local copy on this machine'.
Put an & in the filename: build failed
Replaced the & by aaa: build successfully.
Jan