IOsetting
IOsetting
I wrote one according to the i2c example in stc8h user manual, but I hadn't test it yet. Let me know if there are anything wrong.
There was a demo of UART1 tx and rx, but the implementation was not quite right, so I rewrote it and changed the lib a little bit. You can find...
I am wondering that it didn't build and flash your code -- maybe you edit the code in a wrong place? Could you add some obvious error in the code...
USB peripheral share the same clock source with MCU, so the answer is yes if the MCU is clocked from an external OSC, but if you mean a separate clock...
It's similar while the syntax/methods are different, in you code ```c void main() { GPIO_Init(); SYS_SetClock(); // Not needed if you just want to drive a led, wrong trim values...
Thanks for the report, this has been fixed.
I get the same problem. My workaround is add a new macro before SDCC ```c #if defined (__SDCC_SYNTAX_FIX) #include #include # warning unrecognized compiler #define __BIT bool #define __IDATA #define...
Yes these examples are very helpful. Because they are Keil MDK projects, they need to be tested on GCC before being added to the repository, I might do it later.
Hi Ralph, is it feasible to add a new startup file e.g. "startup_hk32f030mf4p6_compact.s"? Then user can choose different options in Makefile for compiling.
Hi Ralph, I got your point. In a fixed scenario, a smaller init would be preferred, users will benefit from these hacks. This is a project template for a rarely...