openwch / arduino_core_ch32

Core library for CH32duino
236 stars 41 forks source link

Can't find wch board in board manages, arduino 2.3.2 #130

Open kylongmu opened 2 weeks ago

kylongmu commented 2 weeks ago

Add this in the Preferences: https://github.com/openwch/board_manager_files/raw/main/package_ch32v_index.json But can't find whc board in the board manages, my arduino version is 2.3.2

vimalb commented 2 weeks ago

Might be related to the issue reported here - try searching for "CH32" instead of "WCH" to find the this core.

Also be aware of this issue that causes 1.0.4 to fail to install on all versions of Windows - there are some workarounds in the thread including running as admin or manually tweaking/installing the core

kylongmu commented 1 week ago

Might be related to the issue reported here - try searching for "CH32" instead of "WCH" to find the this core.

Also be aware of this issue that causes 1.0.4 to fail to install on all versions of Windows - there are some workarounds in the thread including running as admin or manually tweaking/installing the core

Can't find CH32 also, and tried running arduino as admin, but has nothing happen.

kylongmu commented 1 week ago

https://github.com/openwch/board_manager_files/raw/main/package_ch32v_index.json is this file losted? can't open it. search the site I get this file location: https://github.com/openwch/board_manager_files/blob/main/package_ch32v_index.json

maxint-rd commented 1 week ago

If I open your first link, it can open, but it's redirected to this: https://raw.githubusercontent.com/openwch/board_manager_files/main/package_ch32v_index.json

vimalb commented 1 week ago

The redirects shouldn't matter - Arduino IDE should follow them automatically and resolve to the final content.

As an experiment, I did a clean install of Arduino IDE 2.3.2 on Windows 10

I then added the board manager URL per the installation instructions: image

After that, I was able to search for "CH" and see the "CH32 MCU EVT Boards" core come up: image

I'm quite convinced this core is published correctly and Arduino IDE 2.3.2 should be able to find and install it.

One more thing to check - is this your only board manager URL, or do you have multiple? If you have multiple, are they all separated by newlines (not commas or anything like that)? Have you made sure there aren't any hidden whitespace or other characters in the URL when you copied-and-pasted it?

kylongmu commented 1 week ago

The redirects shouldn't matter - Arduino IDE should follow them automatically and resolve to the final content.

As an experiment, I did a clean install of Arduino IDE 2.3.2 on Windows 10

I then added the board manager URL per the installation instructions: image

After that, I was able to search for "CH" and see the "CH32 MCU EVT Boards" core come up: image

I'm quite convinced this core is published correctly and Arduino IDE 2.3.2 should be able to find and install it.

One more thing to check - is this your only board manager URL, or do you have multiple? If you have multiple, are they all separated by newlines (not commas or anything like that)? Have you made sure there aren't any hidden whitespace or other characters in the URL when you copied-and-pasted it?

My OS is win11, do a clean install arduino 2.3.2 get this error:

image

My ardunio work well with ESP32, STM32 etc. https://github.com/stm32duino/BoardManagerFiles/raw/main/package_stmicroelectronics_index.json https://espressif.github.io/arduino-esp32/package_esp32_dev_index.json https://github.com/earlephilhower/arduino-pico/releases/download/global/package_rp2040_index.json

TianpeiLee commented 6 days ago

Add this in the Preferences: https://github.com/openwch/board_manager_files/raw/main/package_ch32v_index.json But can't find whc board in the board manages, my arduino version is 2.3.2

image

No matter how I test, everything is normal