Even though I already had VSCode and Plarformio installed on my Windows 10 machine, I noticed there were newer versions, so I followed the instructions to install vsCode and platformio.without purging the old ones, my thinking was that they would just be updated. I did everything as instructed.
Next I created a new blink project using my ESP32-WROVER-IE on a ESP32_Devkitc_v4 board.
I had to use the devkit v1 Board in my .ini file since I could not find a v4
I updated main.cc and told it to load.
Problem 1: I got all kinds of file not found errors – I think from library file .o types.
It turned out that even though I had told the install I trusted what it was installing, my virus protection was protecting me from various runtime programs used by the assembler/compilers. I had to fix those problems.
Problem 2: With those problems gone I was still getting lots of errors. After about the third try, I noticed a notice in the output that said something about doing a pio purge to save space and get rid of un-needed files.
I did the purge (sorry, I didn’t think to save the command) and viola, it worked, aside from the age old problem of getting the board to go into boot mode. (just need to hold the boot button during the first few dots of the load sequence.
Summery: virus protection problems and junk left over from my previous platformio install.
People doing a fresh install might still have the virus protection problem. For me it was under the Windows10 security feature of Ransomeware protection – controlled folder access – for each of the apps used by the assembler/compiler which got an error access must be granted.
I hope this explains the problems I have had so far.
Thanks,
Dave
Hi.
David.
Thanks for sharing those problems and the fixes.
I’ll take that into account if someone comes across a similar problem.
That didn’t happen to us while testing.
But, now I know that other users may get different results.
Regards,
Sara
Sara,
The command I used to clean up my platformio re-install -when I was getting compile errors from files I didn’t need –
was : pio system prune –dry-run
I ran it from the Platformio CLI
To actually do it remove the –dry -run
Dave