On Fri, Oct 30, 2020 at 12:26:33PM +0100, Bernd Walter wrote: > 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 match other arches. > But I like to find the other ADC problem before I rearrange the code. > Might take a few days.
Since the ADC works on the zero, I wanted to change the include to match the stm32. But it turns out that the declarations in arch/arm/include/samd2l2/sam_adc.h don't have a companion in stm32. Those are IOCTL related definitions for userland. I couldn't find anything related in stm32. So I'm again uncertain where the declarations from this file belongs. As I wrote before, cxd56xx has a similar setup, but with the file still named adc.h. -- B.Walter <be...@bwct.de> http://www.bwct.de Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm.