jaydcarlson / microcontroller-test-code

Test code I used for development of the Amazing $1 Microcontroller series
MIT License
97 stars 11 forks source link

Latest stc.cdb, quick question ... examples for stc8 #1

Open RandoSY opened 6 years ago

RandoSY commented 6 years ago

Hi!

This has been so valuable, thanks so much for your hard work!

I was working at getting your examples for the STC8 to compile under Keil 5, and noticed that the Nuvoton N76E003 was selected as the chip, so I struggled through the Chinese documentation to find out how to add the newer STC15W, and STC8 to Keil via the correct stc.cdb. That like a lot of things, is hosted by the most recent STC-ISP (6.68O). I attach that to share.

There were a few issue with compiling you examples, just wondering if a few header files are misplaced, or are there specific instructions on what I need to setup before I attempt to compile them?

stc.zip

R.

jaydcarlson commented 6 years ago

Hey @RandoSY, sorry I missed this GitHub issue. I don't have a Keil workspace available right now (I did these tests several months ago), but if I remember correctly, I spent quite a bit of time building an English-language version of an STC8 header file. I've always just used the STC-ISP tool to add the correct files to Keil, but the STC-ISP version I had did not add an STC8 header file with English comments in it. I will attempt to track this down and post it!

RandoSY commented 6 years ago

Thanks, that would be great! Any help with getting the STC software in line for Keil would be much appreciated. I'm waiting on all manner of STC hardware to test on...