IOsetting
                                            IOsetting
                                        
                                    Thank you for the information, I am still using 0.34.3 so I didn't notice the issue. probe-rs looks quite nice, I will have a try later.
Adding `extern "C" { }` around C function declarations? e.g. [AIR32F10xLib](https://github.com/IOsetting/air32f103-template/tree/master/Libraries/AIR32F10xLib)
new and delete operators are not included in gcc-arm-none-eabi, use malloc and free instead.
I haven't tried I2C DMA, in my work I use timer to trigger I2C reading. Have you tried the I2C DMA examples in Puya's SDK? https://github.com/OpenPuya/PY32F0xx_Firmware/tree/master/Projects/PY32F030-STK/Example_LL/I2C
For F002A, F003 and F030, use the following code to enter stop mode ```c LL_APB1_GRP1_EnableClock(LL_APB1_GRP1_PERIPH_PWR); /* * Set STOP voltage to 1.0V (default 1.2V) * For PY32F030 1.0V -> 4.5uA~4.8uA,...
I haven't bought PY32L020, but by comparing the register definitions, I would say F002B and L020 are the same chip. Setting `MCU_TYPE = PY32F002Bx5` will work on PY32L020
PY32F002B also supports DEEP STOP in my test, the test code is at [Examples/PY32F002B/LL/PWR/PWR_DeepStop](https://github.com/IOsetting/py32f0-template/tree/main/Examples/PY32F002B/LL/PWR/PWR_DeepStop)
> Can support ST-Link V2 to download F200A how to setup on windows ? Yes, but only if you use Keil MDK. This repository is for GNU GCC toolchain(mostly for...
> Stlink firmware is locked to stm mcus - so, no. I think some older versions might be unlocked, but i dont know which, or if they'd be compatible. >...
Thanks for the links. The JLink OB I am using looks like this one, https://www.aliexpress.us/item/3256803434277250.html The DAPLink I am using is actually an AIR32F103 board([link](https://www.aliexpress.us/item/3256804448776969.html)) with DAPLink firmware ([link](https://github.com/openLuat/luatos-soc-air32f103/tree/master/AIR_Jlink_Keil)), they...