STM32G4 DAC support

2020-10-30 Thread Nathan Hartman
For STM32 family, DAC register mappings are defined in arch/arm/src/stm32/hardware/stm32_dac.h. In STM32Gx parts, the DAC has additional features and registers not in STM32Fx and STM32Lx parts. I propose to handle this as follows: * Rename stm32_dac.h to stm32fx_dac.h * Create a n

Re: Problems and a bug in samd2l2 ADC code

2020-10-30 Thread Bernd Walter
On Thu, Oct 29, 2020 at 07:39:16PM -0300, Alan Carvalho de Assis wrote: > Ok, now I understood the issue you found > > Yes, arch/arm/include/samd2l2/sam_adc.h is wrong. > > I think this file shouldn't exit, it doesn't exist to other arches. OK - I will take a look into this and change it to matc