CommunityGD32Cores / ArduinoCore-GD32

Arduino core for GD32 devices, community developed, based on original GigaDevice's core
Other
86 stars 33 forks source link

No GD32E23x MCUs in Arduino #67

Closed ospilos closed 2 years ago

ospilos commented 2 years ago

Dear Sir, first of all: Many thanks for your great work! My problem is that although there are lots of GD32XNNN micros supported in Plaformio, there are only around 5 in Arduino. As I tend to prefer to use the Eclipse based Sloeber IDE against the Platformio, I would greatly appreciate if I can program and debug GD32E230 micros there. Unfortunately, the Sloeber plugin only accepts Arduino-style .json file. I would geratly appreciate if you update the Arduino plugin in order to support more MCUs, namely the GD32E230K8T6, should it provided no major difficulty for you. Best regards, Tomáš Jíra

maxgerhardt commented 2 years ago

We have not yet created an automation for creating the Arduino core's boards.txt, which this Sloeber plugin probably builds on for detecting the boards. It will still take us some time to do so.

However, please just use PlatformIO to export an Eclipse project if you want to use that IDE. This is documented and works perfectly fine -- there's no need to wait on anything from us.

grafik

^-- created by pio init -b genericGD32E230K8 -O "framework = arduino" --ide=eclipse on the commandline and File -> Import -> Existing Projects into Workspace in Eclipse.

ospilos commented 2 years ago

Dear mister Erhard, Many thanks for your suggestion; it really solved my issue. Wish you good health and happines. Tomáš

ospilos commented 2 years ago

Working workaroud suggested.

maxgerhardt commented 2 years ago

FYI, the recent commits (https://github.com/CommunityGD32Cores/ArduinoCore-GD32/commit/48f9436d25cd3ed4b3252b4865a796d985e10969, https://github.com/CommunityGD32Cores/ArduinoCore-GD32/commit/4f31b65c0f25895645fd18b206b9157db6e52545 etc.) add the auto generated boards to the board list, so all E23x boards too. In the Arduino IDE, you would need to uninstall and reinstall the GD32 core in the board manager to get the update.

However, I would still recommend PlatformIO as the underlying build system, and not usage of the Arduino IDE or Sloeber. PlatformIO is better tested right now.

ospilos commented 2 years ago

Dear Mr. Erhard, many thanks for your effort; my GD32E230 really works fine in the Sloeber. I am so happy now! I do not use Platformio as the VSC seems to use the display area real estate somewhat wasteful in my opinion. Maybe it is because I do not know how to customise the UI properly, but I simply like the Eclipse's thinner borders and smaller fonts more. Best regards and thank you once more! Tomáš Jíra