This demo is based on adc12_polling example , and so far I just tested it with FRDM-KE15Z, so please download SDK_2.0_FRDM-KE15Z.zip from Welcome to MCUXpresso | MCUXpresso Config Tools before you try that demo.
After opening the project, you have to import edma and dmamux driver code as below:
then you may replace adc12_polling.c with the attached one.
compiling and run, you may see the console output ADC results like this.
Hope that helps,
-Kan
Original Attachment has been moved to: adc12_polling.c.zip