compile fail (python?)

userHead Bal.Sama 2022-11-02 22:06:35 1098 Views3 Replies

Hi there,

 

I have a DFRobot Beetle ESP32 V1.0 board. I am trying to program it with Arduino IDE; board selected: FireBeetle-ESP32. Compilation, including code verification fails with the following traceback:

 

Traceback (most recent call last):
 File "/home/bazs/.arduino15/packages/esp32/hardware/DFRobot_FireBeetle-ESP32/0.0.5/tools/gen_esp32part.py", line 356, in <module>
   main()
 File "/home/bazs/.arduino15/packages/esp32/hardware/DFRobot_FireBeetle-ESP32/0.0.5/tools/gen_esp32part.py", line 345, in main
   table.verify()
 File "/home/bazs/.arduino15/packages/esp32/hardware/DFRobot_FireBeetle-ESP32/0.0.5/tools/gen_esp32part.py", line 83, in verify
   for p in sorted(self):
TypeError: '<' not supported between instances of 'PartitionDefinition' and 'PartitionDefinition'
exit status 1
Error compiling for board FireBeetle-ESP32.

 

 

Board manager url used:

https://git.oschina.net/dfrobot/FireBeetle-ESP32/raw/master/package_esp32_index.json

 

Arduino ide ver 1.8.19

 

OS: Manjaro linux

 

Python on system: 3.10.7

 

Selected board: FireBeetle-ESP32 

 

 

How do I fix the issue? Any help appreciated.

 

 

2022-11-17 16:37:00

Success, now it's working!

Thank you

userHeadPic Bal.Sama
2022-11-03 11:30:55

Hi! Please try the Board manager url:

http://download.dfrobot.top/FireBeetle/package_DFRobot_index.json

 

Please select the blink code in examples to upload. 

userHeadPic jenna
2022-11-02 22:28:53

I tried in “Boards Manager” FireBeetle-ESP32 Mainboard version 0.0.6 and 0.0.5 but had the same result.

userHeadPic Bal.Sama