CommunityGD32Cores / ArduinoCore-GD32

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

Is there any arduino update for the GD32E23x board now? #116

Closed mayjack0312 closed 9 months ago

mayjack0312 commented 9 months ago

I triedhttps://raw.githubusercontent.com/CommunityGD32Cores/GD32Core-New/main/package_gd32_index.json However, no support related to GD32E23x was found in the development board manager.

maxgerhardt commented 9 months ago

The URL should be https://raw.githubusercontent.com/CommunityGD32Cores/ArduinoCore-GD32/main/package_gd32_index.json.

mayjack0312 commented 9 months ago

I imported the URL you provided image However, when searching for the development board, there was a problem that it could not be found. image

maxgerhardt commented 9 months ago

We definitely have E23x support per

https://github.com/CommunityGD32Cores/ArduinoCore-GD32/blob/047bc6f7c338f3e7619bfde433a313a2c98e6e4b/boards.txt#L666-L680

The core is called "GigaDevice GD32".

It might have a problem with the older version of the core still installed now. Did you remove it before switching to the new URL? If not, try and find your Arduino installation folder and delete anything GD32 from it. (C:\Users\User\AppData\Local\Arduino15\packages, hardware, ..)

maxgerhardt commented 9 months ago

Ah. Arduino IDE 2 is special, my bad. It needs the SHA hash to be valid. Let me double check.

mayjack0312 commented 9 months ago

I checked all the contents of the subordinate folders and found the content containing gd32 in stm32duino. I have deleted it, but the development board information is still not found. It may also be related to the version. The IDE2.2.1 version has changed a lot.

maxgerhardt commented 9 months ago

Can you try this board URL:

https://raw.githubusercontent.com/CommunityGD32Cores/arduino-board-index/main/package_gd32_index.json

and search for "GD32" as the core.

mayjack0312 commented 9 months ago

Can you try this board URL:

https://raw.githubusercontent.com/CommunityGD32Cores/arduino-board-index/main/package_gd32_index.json

and search for "GD32" as the core.

Okay, I tried the new link and it came out with something, but it didn’t seem to be the GD32E23x I wanted. image

maxgerhardt commented 9 months ago

The first one is still correct. We have not yet included all boards in the description.

Edit: I am seeing a checksum error, will try to fix shortly...

mayjack0312 commented 9 months ago

The first one is still correct. We have not yet included all boards in the description.

Okay, that's great, thank you for helping me solve this big problem

mayjack0312 commented 9 months ago

The first one is still correct. We have not yet included all boards in the description.

Edit: I am seeing a checksum error, will try to fix shortly...

Thanks for following up on this question, this is a meaningful update

mayjack0312 commented 9 months ago

now this error image I have to reopen this issues O(∩_∩)O~

maxgerhardt commented 9 months ago

This should be working now after I made the updates.

grafik

  1. Remove the GD32 URL from File -> Preferences -> Board Manager URLs
  2. Close VSCode
  3. Delete C:\Users\<user>\AppData\Local\Arduino15\package_gd32_index.json
  4. Delete all files in C:\Users\<user>\AppData\Local\Arduino15\staging\packages
  5. Restart VSCode
  6. Add back GD32 URL
  7. Install GD32 again
mayjack0312 commented 9 months ago

This should be working now after I made the updates.

grafik

  1. Remove the GD32 URL from File -> Preferences -> Board Manager URLs
  2. Close VSCode
  3. Delete C:\Users\<user>\AppData\Local\Arduino15\package_gd32_index.json
  4. Delete all files in C:\Users\<user>\AppData\Local\Arduino15\staging\packages
  5. Restart VSCode
  6. Add back GD32 URL
  7. Install GD32 again

A very perfect solution, it can be successfully installed after this operation. image Currently it solves my problem Thanks♪(・ω・)ノ

maxgerhardt commented 9 months ago

Great, just remember to select the right board, chip and upload method, too.

grafik

mayjack0312 commented 9 months ago

Great, just remember to select the right board, chip and upload method, too.

grafik

Okay (^o^)/~