Upload failed with Arduino IDE 2.0.0-rc08

Hi everybody,
I’m using Arduino IDE 2.0.0-rc8 on Linux 64 bit,
I’m using this version because I need to develop on 2 devices at the same time, for me it is more comfortable than 1.8.19 in this case.
I have a M5Stick Plus and M5 Paper.

I have the following behavior:

  • M5 Stick : compile and upload OK
  • M5 Paper : compile OK but the upload failed

The upload failed with: “Property 'upload.tool.serial' is undefined” error.

I have tried to check boards.txt, but without luck.

I have found some posts about this issue, but they are not useful for me.

Be patient with me, I'm newbie in Arduino and my English is poor :frowning:

Thanks in advance
CP71

PS: I am also new to this forum, so I hope I write in the correct category

Hi all,
I have found the solution of the upload failed, or so it seems,
thanks to the previous posts that have brought me on the right way, or so I hope ;).

To fix this issue I have followed these steps:

  • I compile the M5Stack-C plus, then I have found the board ( I have found the “Using board 'm5stick-c-plus’” in the compile log )
  • I compile the M5 Paper, then I have found the board ( I have found the Using board 'm5stack-paper'” in the compile log )
  • I have made a copy of the boards.txt in boards.txt.ORIG )
  • I have edited the boards.txt
  • I have updated these fields as look at the m5stick-c-plus board:
m5stack-paper.upload.tool=esptool_py
m5stack-paper.bootloader.tool.default=esptool_py

m5stack-paper.upload.tool=esptool_py
m5stack-paper.upload.tool.default=esptool_py
m5stack-paper.upload.tool.network=esp_ota
  • I have saved the boards.txt
  • I have closed all Arduino IDE
  • I have opened again Arduino IDE, then the M5 Paper code compiles and upload correctly

Now, the question is:
does anyone sees anything wrong in these steps?

In the fields that I have updated in the m5stack-paper, is there one or more fields not correct for this device?

Once again thanks in advance
CP71

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.