hi folks
I received a few Lonan-Nano devices a few weeks ago.
I am using Linux, a text editor, Makefile and the installed DFU bootloader
The example code and firmware driver code is quite well laid out and
seems to have an examples for all the peripherals and a most of the
capabilites of the peripherals. The SDK seems to be Eclipse based
but that is not my cup of tea.
One thing that caught me out was that you need a modified 'dfu-util'
program to suppoet this chip (at least for Linux). See this fork
https://github.com/riscv-mcu/gd32-dfu-utils I did a pin-toggle speed test and with some unravelling of the example
code 27 MHz can be done in a while loop with the default 108 MHz system
clock. (Might be possible to do 54 MHz but my inline assembly is not
doing it yet - should be just one line if it is possible)
ADC, DAC, USART, DMA, timer - so fae everything seem to work
At the moment I am having issues getting printf working properly. After
testing and some thought, I feel the problem is likely to be that I an idiot.
cheers
phil