Blinkinlabs / ch554_sdcc

CH554 software development kit for SDCC
295 stars 70 forks source link

Chinese characters #43

Closed mumbaiverve closed 2 years ago

mumbaiverve commented 2 years ago

Hello good people, Not an issue with SDCC or CH554 per se , but ... I downloaded the SDCC source from the blinkinlabs repo. When I open the code with VScode, i am able to see the chinese comments which I am able to translate with google. when I download the code repo from the WCH website (for Keil) the chinese comments are not rendered properly. Is there any advice on how to get the comments in a translatable format ? I am trying to use CH554 as a logger with a USB pen drive. I think udrive is still not ported to SDCC. TIA

mumbaiverve commented 2 years ago

I managed to solve the issue. In VSCODE at the bottom there is an encoding selection. I clicked on the UT-8 and it gave me an option to select Chinese encoding. Sorry if this thread offends someone as irrelevant, you may delete it. I am new to github.

cibomahto commented 2 years ago

Glad you figured it out! If the Chinese text in this version doesn't match the Chinese encoding in VSCODE, please let me know.

cibomahto commented 2 years ago

And you're correct that the pen drive example isn't ported- WCH only provides an object file for the fat32 library, which unfortunately isn't compatible with SDCC. It would be cool if you figured something out for that!

mumbaiverve commented 2 years ago

And you're correct that the pen drive example isn't ported- WCH only provides an object file for the fat32 library, which unfortunately isn't compatible with SDCC. Oh ok... Am an utter noob for USB. Was just getting started using CH554. This kind of puts a stopper on it :( . Also I dont know if CH554 might work well since it does not allow to connect a crystal (timing issues) . I was using their CH376 modules and thought this might be a cheaper and smaller solution.