RE: i.MX RT 1060 ADC

2020-09-15 Thread David Sidrane
Hi Thomas, If you structure the driver like any of the other ADC drivers in tree you should be able to reference px4_arch_adc_init and px4_arch_adc_sample from https://github.com/PX4/Firmware/blob/master/platforms/nuttx/src/px4/nxp/im xrt/adc/adc.cpp to get the required logic. To fill in the

i.MX RT 1060 ADC

2020-09-15 Thread Thomas Axelsson
Hi, I'm looking into using the ADC on IMXRT 1060. I have found imxrt_adc.h and some examples in nuttx-apps using /dev/adcXX. However, it seems that the actual functionality is not yet implemented for IMXRT. So I'm looking into implementing this driver, based on e.g. lpc17_40_adc.c (diffing

Fwd: Configuration Specific ROMFS rcS Files

2020-09-15 Thread Anthony Merlino
Forwarding Xiang's solution. This should work for me. Maybe it will help others. -- Forwarded message - From: Xiang Xiao Date: Tue, Sep 15, 2020 at 1:48 PM Subject: Re: Configuration Specific ROMFS rcS Files To: Anthony Merlino Since all files in RCSRCS is processed by c