From: Ken S. <ksa...@in...> - 2012-10-30 00:29:37
|
Hi All I don't think the header provided by Matthew Lai was ever merged. I've been working on the F4 adc for a while and have now put up Matthew's header with some accompanying code for possible merging. A simple test was done with ADC using DMA but a lot of it still needs testing. I've also been looking at removing duplication in the STM32 peripheral code. For the adc about two thirds of the F4 API can be done in common with the F1 (F2 looks identical to F4). Similarly for other peripherals where commonality is quite high. My proposal is to create a common directory under stm32 and split up the files between the common and the family specific directories. A first attempt at this seems to work OK, but new contributions for subfamilies such as the L1 and F0 may muddy things a bit. cheers, Ken |