Hi Bernd,

It was "working" few mont ago. I put working covered by quotes because
the ADC convertion wasn't linear. I think the calibration process was
failing.

I tested it on Arduino Zero board (SAMD21).

BR,

Alan

On 10/29/20, Bernd Walter <ti...@cicely7.cicely.de> wrote:
> arch/arm/src/samd2l2/sam_adc.c requires two files to be includes:
> arch/arm/src/samd2l2/sam_adc.h
> and
> arch/arm/include/samd2l2/sam_adc.h
>
> Both however use the same inlcude protector define.
> I've changed one of them locally.
>
> When I try to register as /dev/adc0 I get error 17.
> I could trace it further down to the inode_reserve() call in
> register_driver().
> However, so far I couldn't see why it delivers an error yet.
>
> --
> B.Walter <be...@bwct.de> http://www.bwct.de
> Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm.
>

Reply via email to