When I upload to a FireBeetle 2 ESP-32E I get the following error:
Property 'upload.tool.serial' is undefined
Edit: I am using Arduino IDE version 2.1.0
I have installed the board package provided by DFrobot.
I had a problem with that package so I installed the package found in the link below.
The link also has a solution for the problem, but the solution is for Windows( I am using macOS).
I followed the advice there until I came to part where I need to edit a file called "boards.txt".
There I got stuck because I do not know where that file is on MacOS.
Please let me know if you need more information.
Sorry if this is in the wrong section.
Thank you in advance .
I am currently using Arduino IDE 2.1.0.
I also have one of the older IDE’s installed. I haven’t checked which one that is.
Let me know if you need more information.
OK, I'm going to ask you to post the full output from the upload when in verbose mode.
NOTE: These instructions will not solve the problem. They are only intended to gather more information which might provide a clue that eventually leads to a solution.
Please do this:
Start Arduino IDE 2.1.0.
Select File > Preferences from the Arduino IDE menus.
Check the box next to Show verbose output during: ☐ compilation
Check the box next to Show verbose output during: ☐ upload.
Click the OK button.
Attempt an upload, as you did before.
Wait for the upload to fail.
You will see a "Upload error: ..." notification at the bottom right corner of the Arduino IDE window. Click the COPY ERROR MESSAGES button on that notification.
Open a forum reply here by clicking the Reply button.
Click the <CODE/> icon on the post composer toolbar.
This will add the forum's code block markup (```) to your reply to make sure the error messages are correctly formatted.
Press Ctrl+V.
This will paste the error output from the upload into the code block.
Move the cursor outside of the code tags before you add any additional text to your reply.
Click the Reply button to post the output.
In case the output is longer than the forum software will allow to be added to a post, you can instead save it to a .txt file and then attach that file to a reply here:
Open a forum reply here by clicking the Reply button.
Click the "Upload" icon () on the post composer toolbar:
Select the .txt file you saved.
Click the Open button.
Click the Reply button to publish the post.
Alternatively, instead of using the "Upload" icon on the post composer toolbar as described in steps (5) - (7) above, you can simply drag and drop the .txt file onto the post composer field to attach it.
Thank you.
I have followed your instructions with the Mac OS equivalents.
I have also turned the setting "complier warnings" to all.
Please let me know if this is a bad idea.
The error was to long so I placed it in a text file as requested.
Thank you again.
Here is the file(it's pretty large at 358.6 KB):
Hi, @ptillisch
Thank you so much!
The solution works.
I only wanted to add that I could not open the file by doing the following.
I used the App TextEdit. After that I tried opening the file with the terminal.
It said access denied.
I solved that problem by manually going through the listed locations.
And changing the listed file.
You are welcome. I'm glad it is working now. Thanks for taking the time to share your findings.
I should add that the fix I submitted to the ESP32 boards platform was accepted by the developers and included in the 2.0.9 release of the platform. So those using the latest version of the platform will not be affected by the bug you discovered, and anyone who is still affected can solve it in a more convenient manner by using the Arduino IDE Boards Manager to update to the latest version of the platform.